Class 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
    • 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
    • Constructor Detail

      • Attribute

        public Attribute()
    • 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)
      • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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