Package io.tiledb.cloud.rest_api.model
Class Attribute
- java.lang.Object
-
- io.tiledb.cloud.rest_api.model.Attribute
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-02T12:25:58.319138+03:00[Europe/Athens]") public class Attribute extends java.lang.Object
Attribute of array
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attribute.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_CELL_VAL_NUM
static java.lang.String
SERIALIZED_NAME_FILL_VALUE
static java.lang.String
SERIALIZED_NAME_FILTER_PIPELINE
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_NULLABLE
static java.lang.String
SERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Attribute
addFillValueItem(java.lang.Integer fillValueItem)
Attribute
cellValNum(java.lang.Integer cellValNum)
boolean
equals(java.lang.Object o)
Attribute
fillValue(java.util.List<java.lang.Integer> fillValue)
Attribute
filterPipeline(FilterPipeline filterPipeline)
static Attribute
fromJson(java.lang.String jsonString)
Create an instance of Attribute given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
Return the additional (undeclared) property.java.lang.Object
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.java.lang.Integer
getCellValNum()
Attribute number of values per celljava.util.List<java.lang.Integer>
getFillValue()
The default fill valueFilterPipeline
getFilterPipeline()
Get filterPipelinejava.lang.String
getName()
Attribute namejava.lang.Boolean
getNullable()
Is attribute nullableDatatype
getType()
Get typeint
hashCode()
Attribute
name(java.lang.String name)
Attribute
nullable(java.lang.Boolean nullable)
Attribute
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.void
setCellValNum(java.lang.Integer cellValNum)
void
setFillValue(java.util.List<java.lang.Integer> fillValue)
void
setFilterPipeline(FilterPipeline filterPipeline)
void
setName(java.lang.String name)
void
setNullable(java.lang.Boolean nullable)
void
setType(Datatype type)
java.lang.String
toJson()
Convert an instance of Attribute to an JSON stringjava.lang.String
toString()
Attribute
type(Datatype type)
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final java.lang.String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILTER_PIPELINE
public static final java.lang.String SERIALIZED_NAME_FILTER_PIPELINE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CELL_VAL_NUM
public static final java.lang.String SERIALIZED_NAME_CELL_VAL_NUM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NULLABLE
public static final java.lang.String SERIALIZED_NAME_NULLABLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILL_VALUE
public static final java.lang.String SERIALIZED_NAME_FILL_VALUE
- 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
-
name
public Attribute name(java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
Attribute name- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
getType
@Nonnull public Datatype getType()
Get type- Returns:
- type
-
setType
public void setType(Datatype type)
-
filterPipeline
public Attribute filterPipeline(FilterPipeline filterPipeline)
-
getFilterPipeline
@Nonnull public FilterPipeline getFilterPipeline()
Get filterPipeline- Returns:
- filterPipeline
-
setFilterPipeline
public void setFilterPipeline(FilterPipeline filterPipeline)
-
cellValNum
public Attribute cellValNum(java.lang.Integer cellValNum)
-
getCellValNum
@Nonnull public java.lang.Integer getCellValNum()
Attribute number of values per cell- Returns:
- cellValNum
-
setCellValNum
public void setCellValNum(java.lang.Integer cellValNum)
-
nullable
public Attribute nullable(java.lang.Boolean nullable)
-
getNullable
@Nullable public java.lang.Boolean getNullable()
Is attribute nullable- Returns:
- nullable
-
setNullable
public void setNullable(java.lang.Boolean nullable)
-
fillValue
public Attribute fillValue(java.util.List<java.lang.Integer> fillValue)
-
addFillValueItem
public Attribute addFillValueItem(java.lang.Integer fillValueItem)
-
getFillValue
@Nullable public java.util.List<java.lang.Integer> getFillValue()
The default fill value- Returns:
- fillValue
-
setFillValue
public void setFillValue(java.util.List<java.lang.Integer> fillValue)
-
putAdditionalProperty
public Attribute putAdditionalProperty(java.lang.String key, java.lang.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.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified 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 Attribute
-
fromJson
public static Attribute fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of Attribute given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Attribute
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to Attribute
-
toJson
public java.lang.String toJson()
Convert an instance of Attribute to an JSON string- Returns:
- JSON string
-
-