Class Attribute

java.lang.Object
co.permify.sdk.model.Attribute

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Attribute extends Object
Attribute represents an attribute of an entity with a specific type and value.
  • Field Details

  • Constructor Details

    • Attribute

      public Attribute()
  • Method Details

    • entity

      public Attribute entity(Entity entity)
    • getEntity

      @Nullable public Entity getEntity()
      Get entity
      Returns:
      entity
    • setEntity

      public void setEntity(Entity entity)
    • attribute

      public Attribute attribute(String attribute)
    • getAttribute

      @Nullable public String getAttribute()
      Get attribute
      Returns:
      attribute
    • setAttribute

      public void setAttribute(String attribute)
    • value

      public Attribute value(Any value)
    • getValue

      @Nullable public Any getValue()
      Get value
      Returns:
      value
    • setValue

      public void setValue(Any value)
    • equals

      public boolean equals(Object o)
      Return true if this Attribute object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string