Package io.lakefs.clients.sdk.model
Class RefsRestore
- java.lang.Object
-
- io.lakefs.clients.sdk.model.RefsRestore
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class RefsRestore extends Object
RefsRestore
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRefsRestore.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_BRANCHES_META_RANGE_IDstatic StringSERIALIZED_NAME_COMMITS_META_RANGE_IDstatic StringSERIALIZED_NAME_FORCEstatic StringSERIALIZED_NAME_TAGS_META_RANGE_ID
-
Constructor Summary
Constructors Constructor Description RefsRestore()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RefsRestorebranchesMetaRangeId(String branchesMetaRangeId)RefsRestorecommitsMetaRangeId(String commitsMetaRangeId)booleanequals(Object o)RefsRestoreforce(Boolean force)static RefsRestorefromJson(String jsonString)Create an instance of RefsRestore given an JSON stringMap<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetBranchesMetaRangeId()Get branchesMetaRangeIdStringgetCommitsMetaRangeId()Get commitsMetaRangeIdBooleangetForce()Get forceStringgetTagsMetaRangeId()Get tagsMetaRangeIdinthashCode()RefsRestoreputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetBranchesMetaRangeId(String branchesMetaRangeId)voidsetCommitsMetaRangeId(String commitsMetaRangeId)voidsetForce(Boolean force)voidsetTagsMetaRangeId(String tagsMetaRangeId)RefsRestoretagsMetaRangeId(String tagsMetaRangeId)StringtoJson()Convert an instance of RefsRestore 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_COMMITS_META_RANGE_ID
public static final String SERIALIZED_NAME_COMMITS_META_RANGE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS_META_RANGE_ID
public static final String SERIALIZED_NAME_TAGS_META_RANGE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BRANCHES_META_RANGE_ID
public static final String SERIALIZED_NAME_BRANCHES_META_RANGE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORCE
public static final String SERIALIZED_NAME_FORCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
commitsMetaRangeId
public RefsRestore commitsMetaRangeId(String commitsMetaRangeId)
-
getCommitsMetaRangeId
@Nonnull public String getCommitsMetaRangeId()
Get commitsMetaRangeId- Returns:
- commitsMetaRangeId
-
setCommitsMetaRangeId
public void setCommitsMetaRangeId(String commitsMetaRangeId)
-
tagsMetaRangeId
public RefsRestore tagsMetaRangeId(String tagsMetaRangeId)
-
getTagsMetaRangeId
@Nonnull public String getTagsMetaRangeId()
Get tagsMetaRangeId- Returns:
- tagsMetaRangeId
-
setTagsMetaRangeId
public void setTagsMetaRangeId(String tagsMetaRangeId)
-
branchesMetaRangeId
public RefsRestore branchesMetaRangeId(String branchesMetaRangeId)
-
getBranchesMetaRangeId
@Nonnull public String getBranchesMetaRangeId()
Get branchesMetaRangeId- Returns:
- branchesMetaRangeId
-
setBranchesMetaRangeId
public void setBranchesMetaRangeId(String branchesMetaRangeId)
-
force
public RefsRestore force(Boolean force)
-
setForce
public void setForce(Boolean force)
-
putAdditionalProperty
public RefsRestore 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 RefsRestore 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 RefsRestore
-
fromJson
public static RefsRestore fromJson(String jsonString) throws IOException
Create an instance of RefsRestore given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RefsRestore
- Throws:
IOException- if the JSON string is invalid with respect to RefsRestore
-
toJson
public String toJson()
Convert an instance of RefsRestore to an JSON string- Returns:
- JSON string
-
-