Class UpdateDataAttributeRequest


  • public final class UpdateDataAttributeRequest
    extends java.lang.Object
    • Method Detail

      • getId

        public int getId()
        Returns:
        The data attribute id
      • getArchived

        public java.util.Optional<java.lang.Boolean> getArchived()
        Returns:
        Whether the attribute is to be archived or not.
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Returns:
        The readable description you see in the UI for the attribute.
      • getOptions

        public java.util.Optional<java.util.List<java.lang.String>> getOptions()
        Returns:
        To create list attributes. Provide a set of hashes with value as the key of the options you want to make. data_type must be string.
      • getMessengerWritable

        public java.util.Optional<java.lang.Boolean> getMessengerWritable()
        Returns:
        Can this attribute be updated by the Messenger
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object