Package io.lakefs.clients.api.model
Class ObjectStageCreation
- java.lang.Object
-
- io.lakefs.clients.api.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_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)static ObjectStageCreationfromJson(String jsonString)Create an instance of ObjectStageCreation given an JSON stringStringgetChecksum()Get checksumStringgetContentType()Object media typeMap<String,String>getMetadata()Get metadataLonggetMtime()Unix Epoch in secondsStringgetPhysicalAddress()Get physicalAddressLonggetSizeBytes()Get sizeBytesinthashCode()ObjectStageCreationmetadata(Map<String,String> metadata)ObjectStageCreationmtime(Long mtime)ObjectStageCreationphysicalAddress(String physicalAddress)ObjectStageCreationputMetadataItem(String key, String metadataItem)voidsetChecksum(String checksum)voidsetContentType(String contentType)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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object 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
-
-
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)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-
-