Package io.lakefs.clients.sdk.model
Class RepositoryDumpStatus
- java.lang.Object
-
- io.lakefs.clients.sdk.model.RepositoryDumpStatus
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RepositoryDumpStatus extends Object
RepositoryDumpStatus
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepositoryDumpStatus.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DONEstatic StringSERIALIZED_NAME_ERRORstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_REFSstatic StringSERIALIZED_NAME_UPDATE_TIME
-
Constructor Summary
Constructors Constructor Description RepositoryDumpStatus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryDumpStatusdone(Boolean done)booleanequals(Object o)RepositoryDumpStatuserror(String error)static RepositoryDumpStatusfromJson(String jsonString)Create an instance of RepositoryDumpStatus given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.BooleangetDone()Get doneStringgetError()Get errorStringgetId()ID of the taskRefsDumpgetRefs()Get refsOffsetDateTimegetUpdateTime()Get updateTimeinthashCode()RepositoryDumpStatusid(String id)RepositoryDumpStatusputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.RepositoryDumpStatusrefs(RefsDump refs)voidsetDone(Boolean done)voidsetError(String error)voidsetId(String id)voidsetRefs(RefsDump refs)voidsetUpdateTime(OffsetDateTime updateTime)StringtoJson()Convert an instance of RepositoryDumpStatus to an JSON stringStringtoString()RepositoryDumpStatusupdateTime(OffsetDateTime updateTime)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DONE
public static final String SERIALIZED_NAME_DONE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UPDATE_TIME
public static final String SERIALIZED_NAME_UPDATE_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_ERROR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFS
public static final String SERIALIZED_NAME_REFS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public RepositoryDumpStatus id(String id)
-
setId
public void setId(String id)
-
done
public RepositoryDumpStatus done(Boolean done)
-
setDone
public void setDone(Boolean done)
-
updateTime
public RepositoryDumpStatus updateTime(OffsetDateTime updateTime)
-
getUpdateTime
@Nonnull public OffsetDateTime getUpdateTime()
Get updateTime- Returns:
- updateTime
-
setUpdateTime
public void setUpdateTime(OffsetDateTime updateTime)
-
error
public RepositoryDumpStatus error(String error)
-
setError
public void setError(String error)
-
refs
public RepositoryDumpStatus refs(RefsDump refs)
-
setRefs
public void setRefs(RefsDump refs)
-
putAdditionalProperty
public RepositoryDumpStatus 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 RepositoryDumpStatus 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 RepositoryDumpStatus
-
fromJson
public static RepositoryDumpStatus fromJson(String jsonString) throws IOException
Create an instance of RepositoryDumpStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RepositoryDumpStatus
- Throws:
IOException- if the JSON string is invalid with respect to RepositoryDumpStatus
-
toJson
public String toJson()
Convert an instance of RepositoryDumpStatus to an JSON string- Returns:
- JSON string
-
-