Class AddAttributeRequest

  • All Implemented Interfaces:
    Serializable

    public class AddAttributeRequest
    extends Object
    implements Serializable
    The properties of the asset to be added.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static AddAttributeRequest.Builder builder()  
      protected boolean canEqual​(Object other)  
      boolean equals​(Object o)  
      @NotNull UUID getAssetId()
      Required. The ID of the asset this attribute should belong to.
      @NotNull UUID getTypeId()
      Required. The ID of the attribute type for the new attribute.
      @NotNull Object getValue()
      Required. The value of this attribute.
      int hashCode()  
      void setAssetId​(@NotNull UUID assetId)
      Required. The ID of the asset this attribute should belong to.
      void setTypeId​(@NotNull UUID typeId)
      Required. The ID of the attribute type for the new attribute.
      void setValue​(@NotNull Object value)
      Required. The value of this attribute.
      String toString()  
      • Methods inherited from class Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AddAttributeRequest

        public AddAttributeRequest()
    • Method Detail

      • getAssetId

        @NotNull
        public @NotNull UUID getAssetId()
        Required. The ID of the asset this attribute should belong to.
      • getTypeId

        @NotNull
        public @NotNull UUID getTypeId()
        Required. The ID of the attribute type for the new attribute.
      • getValue

        @NotNull
        public @NotNull Object getValue()
        Required. The value of this attribute. Expected type of the value depends on the type of the attribute.

        The following list presents type of the value depending on the kind of the attribute.

      • setAssetId

        public void setAssetId​(@NotNull
                               @NotNull UUID assetId)
        Required. The ID of the asset this attribute should belong to.
      • setTypeId

        public void setTypeId​(@NotNull
                              @NotNull UUID typeId)
        Required. The ID of the attribute type for the new attribute.
      • setValue

        public void setValue​(@NotNull
                             @NotNull Object value)
        Required. The value of this attribute. Expected type of the value depends on the type of the attribute.

        The following list presents type of the value depending on the kind of the attribute.

      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

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

        public String toString()
        Overrides:
        toString in class Object