Class Tenant

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Tenant extends Object
Tenant represents a tenant with an id, a name, and a timestamp indicating when it was created.
  • Field Details

  • Constructor Details

    • Tenant

      public Tenant()
  • Method Details

    • id

      public Tenant id(String id)
    • getId

      @Nullable public String getId()
      The ID of the tenant.
      Returns:
      id
    • setId

      public void setId(String id)
    • name

      public Tenant name(String name)
    • getName

      @Nullable public String getName()
      The name of the tenant.
      Returns:
      name
    • setName

      public void setName(String name)
    • createdAt

      public Tenant createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      The time at which the tenant was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • equals

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