Package io.lakefs.clients.sdk.model
Class PresignMultipartUpload
- java.lang.Object
-
- io.lakefs.clients.sdk.model.PresignMultipartUpload
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class PresignMultipartUpload extends Object
PresignMultipartUpload
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPresignMultipartUpload.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PHYSICAL_ADDRESSstatic StringSERIALIZED_NAME_PRESIGNED_URLSstatic StringSERIALIZED_NAME_UPLOAD_ID
-
Constructor Summary
Constructors Constructor Description PresignMultipartUpload()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PresignMultipartUploadaddPresignedUrlsItem(String presignedUrlsItem)booleanequals(Object o)static PresignMultipartUploadfromJson(String jsonString)Create an instance of PresignMultipartUpload given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetPhysicalAddress()Get physicalAddressList<String>getPresignedUrls()Get presignedUrlsStringgetUploadId()Get uploadIdinthashCode()PresignMultipartUploadphysicalAddress(String physicalAddress)PresignMultipartUploadpresignedUrls(List<String> presignedUrls)PresignMultipartUploadputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetPhysicalAddress(String physicalAddress)voidsetPresignedUrls(List<String> presignedUrls)voidsetUploadId(String uploadId)StringtoJson()Convert an instance of PresignMultipartUpload to an JSON stringStringtoString()PresignMultipartUploaduploadId(String uploadId)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_UPLOAD_ID
public static final String SERIALIZED_NAME_UPLOAD_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PHYSICAL_ADDRESS
public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRESIGNED_URLS
public static final String SERIALIZED_NAME_PRESIGNED_URLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
uploadId
public PresignMultipartUpload uploadId(String uploadId)
-
setUploadId
public void setUploadId(String uploadId)
-
physicalAddress
public PresignMultipartUpload physicalAddress(String physicalAddress)
-
getPhysicalAddress
@Nonnull public String getPhysicalAddress()
Get physicalAddress- Returns:
- physicalAddress
-
setPhysicalAddress
public void setPhysicalAddress(String physicalAddress)
-
presignedUrls
public PresignMultipartUpload presignedUrls(List<String> presignedUrls)
-
addPresignedUrlsItem
public PresignMultipartUpload addPresignedUrlsItem(String presignedUrlsItem)
-
getPresignedUrls
@Nullable public List<String> getPresignedUrls()
Get presignedUrls- Returns:
- presignedUrls
-
putAdditionalProperty
public PresignMultipartUpload 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 PresignMultipartUpload 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 PresignMultipartUpload
-
fromJson
public static PresignMultipartUpload fromJson(String jsonString) throws IOException
Create an instance of PresignMultipartUpload given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PresignMultipartUpload
- Throws:
IOException- if the JSON string is invalid with respect to PresignMultipartUpload
-
toJson
public String toJson()
Convert an instance of PresignMultipartUpload to an JSON string- Returns:
- JSON string
-
-