Class AttributeBufferHeader


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2022-09-14T18:46:41.869452+03:00[Europe/Athens]")
    public class AttributeBufferHeader
    extends java.lang.Object
    Represents an attribute buffer header information
    • Field Detail

      • SERIALIZED_NAME_NAME

        public static final java.lang.String SERIALIZED_NAME_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_FIXED_LEN_BUFFER_SIZE_IN_BYTES

        public static final java.lang.String SERIALIZED_NAME_FIXED_LEN_BUFFER_SIZE_IN_BYTES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VAR_LEN_BUFFER_SIZE_IN_BYTES

        public static final java.lang.String SERIALIZED_NAME_VAR_LEN_BUFFER_SIZE_IN_BYTES
        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

      • AttributeBufferHeader

        public AttributeBufferHeader()
    • Method Detail

      • getName

        @Nonnull
        public java.lang.String getName()
        Attribute name
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • fixedLenBufferSizeInBytes

        public AttributeBufferHeader fixedLenBufferSizeInBytes​(java.lang.Integer fixedLenBufferSizeInBytes)
      • getFixedLenBufferSizeInBytes

        @Nonnull
        public java.lang.Integer getFixedLenBufferSizeInBytes()
        Number of bytes in the fixed-length attribute data buffer (offsets for var-len attributes)
        Returns:
        fixedLenBufferSizeInBytes
      • setFixedLenBufferSizeInBytes

        public void setFixedLenBufferSizeInBytes​(java.lang.Integer fixedLenBufferSizeInBytes)
      • varLenBufferSizeInBytes

        public AttributeBufferHeader varLenBufferSizeInBytes​(java.lang.Integer varLenBufferSizeInBytes)
      • getVarLenBufferSizeInBytes

        @Nonnull
        public java.lang.Integer getVarLenBufferSizeInBytes()
        Number of bytes in the var-length attribute data buffer
        Returns:
        varLenBufferSizeInBytes
      • setVarLenBufferSizeInBytes

        public void setVarLenBufferSizeInBytes​(java.lang.Integer varLenBufferSizeInBytes)
      • 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 AttributeBufferHeader
      • fromJson

        public static AttributeBufferHeader fromJson​(java.lang.String jsonString)
                                              throws java.io.IOException
        Create an instance of AttributeBufferHeader given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AttributeBufferHeader
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to AttributeBufferHeader
      • toJson

        public java.lang.String toJson()
        Convert an instance of AttributeBufferHeader to an JSON string
        Returns:
        JSON string