Class AttributeDefinition

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class AttributeDefinition extends Object
The AttributeDefinition message provides detailed information about a specific attribute.
  • Field Details

  • Constructor Details

    • AttributeDefinition

      public AttributeDefinition()
  • Method Details

    • name

      public AttributeDefinition name(String name)
    • getName

      @Nullable public String getName()
      The name of the attribute, which follows a specific string pattern and has a maximum byte size.
      Returns:
      name
    • setName

      public void setName(String name)
    • type

      public AttributeDefinition type(AttributeType type)
    • getType

      @Nullable public AttributeType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(AttributeType type)
    • equals

      public boolean equals(Object o)
      Return true if this AttributeDefinition 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