Package io.tiledb.cloud.rest_api.model
Class ArrayFavorite
- java.lang.Object
-
- io.tiledb.cloud.rest_api.model.ArrayFavorite
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-09-14T18:46:41.869452+03:00[Europe/Athens]") public class ArrayFavorite extends java.lang.Object
A user-favorite array item
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArrayFavorite.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>
openapiFields
static java.util.HashSet<java.lang.String>
openapiRequiredFields
static java.lang.String
SERIALIZED_NAME_ARRAY_UUID
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_NAMESPACE
-
Constructor Summary
Constructors Constructor Description ArrayFavorite()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayFavorite
arrayUuid(java.lang.String arrayUuid)
boolean
equals(java.lang.Object o)
static ArrayFavorite
fromJson(java.lang.String jsonString)
Create an instance of ArrayFavorite given an JSON stringjava.lang.String
getArrayUuid()
unique UUID of the arrayjava.lang.String
getName()
the name of the arrayjava.lang.String
getNamespace()
the namespace of the arrayint
hashCode()
ArrayFavorite
name(java.lang.String name)
ArrayFavorite
namespace(java.lang.String namespace)
void
setArrayUuid(java.lang.String arrayUuid)
void
setName(java.lang.String name)
void
setNamespace(java.lang.String namespace)
java.lang.String
toJson()
Convert an instance of ArrayFavorite to an JSON stringjava.lang.String
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ARRAY_UUID
public static final java.lang.String SERIALIZED_NAME_ARRAY_UUID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAMESPACE
public static final java.lang.String SERIALIZED_NAME_NAMESPACE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
arrayUuid
public ArrayFavorite arrayUuid(java.lang.String arrayUuid)
-
getArrayUuid
@Nullable public java.lang.String getArrayUuid()
unique UUID of the array- Returns:
- arrayUuid
-
setArrayUuid
public void setArrayUuid(java.lang.String arrayUuid)
-
namespace
public ArrayFavorite namespace(java.lang.String namespace)
-
getNamespace
@Nullable public java.lang.String getNamespace()
the namespace of the array- Returns:
- namespace
-
setNamespace
public void setNamespace(java.lang.String namespace)
-
name
public ArrayFavorite name(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
the name of the array- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
java.io.IOException
- if the JSON Object is invalid with respect to ArrayFavorite
-
fromJson
public static ArrayFavorite fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of ArrayFavorite given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ArrayFavorite
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to ArrayFavorite
-
toJson
public java.lang.String toJson()
Convert an instance of ArrayFavorite to an JSON string- Returns:
- JSON string
-
-