Package io.lakefs.clients.api.model
Class ResetCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.ResetCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ResetCreation extends Object
ResetCreation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResetCreation.CustomTypeAdapterFactorystatic classResetCreation.TypeEnumGets or Sets type
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PATHstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description ResetCreation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ResetCreationfromJson(String jsonString)Create an instance of ResetCreation given an JSON stringStringgetPath()Get pathResetCreation.TypeEnumgetType()Get typeinthashCode()ResetCreationpath(String path)voidsetPath(String path)voidsetType(ResetCreation.TypeEnum type)StringtoJson()Convert an instance of ResetCreation to an JSON stringStringtoString()ResetCreationtype(ResetCreation.TypeEnum type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PATH
public static final String SERIALIZED_NAME_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public ResetCreation type(ResetCreation.TypeEnum type)
-
getType
@Nonnull public ResetCreation.TypeEnum getType()
Get type- Returns:
- type
-
setType
public void setType(ResetCreation.TypeEnum type)
-
path
public ResetCreation path(String path)
-
setPath
public void setPath(String path)
-
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 ResetCreation
-
fromJson
public static ResetCreation fromJson(String jsonString) throws IOException
Create an instance of ResetCreation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResetCreation
- Throws:
IOException- if the JSON string is invalid with respect to ResetCreation
-
toJson
public String toJson()
Convert an instance of ResetCreation to an JSON string- Returns:
- JSON string
-
-