Package io.lakefs.clients.sdk.model
Class CompletePresignMultipartUpload
- java.lang.Object
-
- io.lakefs.clients.sdk.model.CompletePresignMultipartUpload
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CompletePresignMultipartUpload extends Object
CompletePresignMultipartUpload
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompletePresignMultipartUpload.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CONTENT_TYPEstatic StringSERIALIZED_NAME_PARTSstatic StringSERIALIZED_NAME_PHYSICAL_ADDRESSstatic StringSERIALIZED_NAME_USER_METADATA
-
Constructor Summary
Constructors Constructor Description CompletePresignMultipartUpload()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletePresignMultipartUploadaddPartsItem(UploadPart partsItem)CompletePresignMultipartUploadcontentType(String contentType)booleanequals(Object o)static CompletePresignMultipartUploadfromJson(String jsonString)Create an instance of CompletePresignMultipartUpload given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetContentType()Object media typeList<UploadPart>getParts()List of uploaded parts, should be ordered by ascending part numberStringgetPhysicalAddress()Get physicalAddressMap<String,String>getUserMetadata()Get userMetadatainthashCode()CompletePresignMultipartUploadparts(List<UploadPart> parts)CompletePresignMultipartUploadphysicalAddress(String physicalAddress)CompletePresignMultipartUploadputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.CompletePresignMultipartUploadputUserMetadataItem(String key, String userMetadataItem)voidsetContentType(String contentType)voidsetParts(List<UploadPart> parts)voidsetPhysicalAddress(String physicalAddress)voidsetUserMetadata(Map<String,String> userMetadata)StringtoJson()Convert an instance of CompletePresignMultipartUpload to an JSON stringStringtoString()CompletePresignMultipartUploaduserMetadata(Map<String,String> userMetadata)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_PARTS
public static final String SERIALIZED_NAME_PARTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USER_METADATA
public static final String SERIALIZED_NAME_USER_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 CompletePresignMultipartUpload physicalAddress(String physicalAddress)
-
getPhysicalAddress
@Nonnull public String getPhysicalAddress()
Get physicalAddress- Returns:
- physicalAddress
-
setPhysicalAddress
public void setPhysicalAddress(String physicalAddress)
-
parts
public CompletePresignMultipartUpload parts(List<UploadPart> parts)
-
addPartsItem
public CompletePresignMultipartUpload addPartsItem(UploadPart partsItem)
-
getParts
@Nonnull public List<UploadPart> getParts()
List of uploaded parts, should be ordered by ascending part number- Returns:
- parts
-
setParts
public void setParts(List<UploadPart> parts)
-
userMetadata
public CompletePresignMultipartUpload userMetadata(Map<String,String> userMetadata)
-
putUserMetadataItem
public CompletePresignMultipartUpload putUserMetadataItem(String key, String userMetadataItem)
-
getUserMetadata
@Nullable public Map<String,String> getUserMetadata()
Get userMetadata- Returns:
- userMetadata
-
contentType
public CompletePresignMultipartUpload contentType(String contentType)
-
setContentType
public void setContentType(String contentType)
-
putAdditionalProperty
public CompletePresignMultipartUpload 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 CompletePresignMultipartUpload 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 CompletePresignMultipartUpload
-
fromJson
public static CompletePresignMultipartUpload fromJson(String jsonString) throws IOException
Create an instance of CompletePresignMultipartUpload given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CompletePresignMultipartUpload
- Throws:
IOException- if the JSON string is invalid with respect to CompletePresignMultipartUpload
-
toJson
public String toJson()
Convert an instance of CompletePresignMultipartUpload to an JSON string- Returns:
- JSON string
-
-