Package io.lakefs.clients.api.model
Class TagCreation
- java.lang.Object
-
- io.lakefs.clients.api.model.TagCreation
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class TagCreation extends Object
TagCreation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTagCreation.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_REF
-
Constructor Summary
Constructors Constructor Description TagCreation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static TagCreationfromJson(String jsonString)Create an instance of TagCreation given an JSON stringStringgetId()Get idStringgetRef()Get refinthashCode()TagCreationid(String id)TagCreationref(String ref)voidsetId(String id)voidsetRef(String ref)StringtoJson()Convert an instance of TagCreation to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object 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_REF
public static final String SERIALIZED_NAME_REF
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public TagCreation id(String id)
-
setId
public void setId(String id)
-
ref
public TagCreation ref(String ref)
-
setRef
public void setRef(String ref)
-
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 TagCreation
-
fromJson
public static TagCreation fromJson(String jsonString) throws IOException
Create an instance of TagCreation given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TagCreation
- Throws:
IOException- if the JSON string is invalid with respect to TagCreation
-
toJson
public String toJson()
Convert an instance of TagCreation to an JSON string- Returns:
- JSON string
-
-