Package io.lakefs.clients.sdk.model
Class ObjectStageCreation
- java.lang.Object
-
- io.lakefs.clients.sdk.model.ObjectStageCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ObjectStageCreation extends Object
ObjectStageCreation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classObjectStageCreation.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CHECKSUMstatic StringSERIALIZED_NAME_CONTENT_TYPEstatic StringSERIALIZED_NAME_FORCEstatic StringSERIALIZED_NAME_METADATAstatic StringSERIALIZED_NAME_MTIMEstatic StringSERIALIZED_NAME_PHYSICAL_ADDRESSstatic StringSERIALIZED_NAME_SIZE_BYTES
-
Constructor Summary
Constructors Constructor Description ObjectStageCreation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectStageCreationchecksum(String checksum)ObjectStageCreationcontentType(String contentType)booleanequals(Object o)ObjectStageCreationforce(Boolean force)static ObjectStageCreationfromJson(String jsonString)Create an instance of ObjectStageCreation given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetChecksum()Get checksumStringgetContentType()Object media typeBooleangetForce()Get forceMap<String,String>getMetadata()Get metadataLonggetMtime()Unix Epoch in secondsStringgetPhysicalAddress()Get physicalAddressLonggetSizeBytes()Get sizeBytesinthashCode()ObjectStageCreationmetadata(Map<String,String> metadata)ObjectStageCreationmtime(Long mtime)ObjectStageCreationphysicalAddress(String physicalAddress)ObjectStageCreationputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.ObjectStageCreationputMetadataItem(String key, String metadataItem)voidsetChecksum(String checksum)voidsetContentType(String contentType)voidsetForce(Boolean force)voidsetMetadata(Map<String,String> metadata)voidsetMtime(Long mtime)voidsetPhysicalAddress(String physicalAddress)voidsetSizeBytes(Long sizeBytes)ObjectStageCreationsizeBytes(Long sizeBytes)StringtoJson()Convert an instance of ObjectStageCreation to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PHYSICAL_ADDRESS
public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHECKSUM
public static final String SERIALIZED_NAME_CHECKSUM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SIZE_BYTES
public static final String SERIALIZED_NAME_SIZE_BYTES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MTIME
public static final String SERIALIZED_NAME_MTIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_METADATA
public static final String SERIALIZED_NAME_METADATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTENT_TYPE
public static final String SERIALIZED_NAME_CONTENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORCE
public static final String SERIALIZED_NAME_FORCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
physicalAddress
public ObjectStageCreation physicalAddress(String physicalAddress)
-
getPhysicalAddress
@Nonnull public String getPhysicalAddress()
Get physicalAddress- Returns:
- physicalAddress
-
setPhysicalAddress
public void setPhysicalAddress(String physicalAddress)
-
checksum
public ObjectStageCreation checksum(String checksum)
-
setChecksum
public void setChecksum(String checksum)
-
sizeBytes
public ObjectStageCreation sizeBytes(Long sizeBytes)
-
setSizeBytes
public void setSizeBytes(Long sizeBytes)
-
mtime
public ObjectStageCreation mtime(Long mtime)
-
setMtime
public void setMtime(Long mtime)
-
metadata
public ObjectStageCreation metadata(Map<String,String> metadata)
-
putMetadataItem
public ObjectStageCreation putMetadataItem(String key, String metadataItem)
-
contentType
public ObjectStageCreation contentType(String contentType)
-
setContentType
public void setContentType(String contentType)
-
force
public ObjectStageCreation force(Boolean force)
-
setForce
public void setForce(Boolean force)
-
putAdditionalProperty
public ObjectStageCreation putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the ObjectStageCreation instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ObjectStageCreation
-
fromJson
public static ObjectStageCreation fromJson(String jsonString) throws IOException
Create an instance of ObjectStageCreation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ObjectStageCreation
- Throws:
IOException- if the JSON string is invalid with respect to ObjectStageCreation
-
toJson
public String toJson()
Convert an instance of ObjectStageCreation to an JSON string- Returns:
- JSON string
-
-