Class LookupEntityBody

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class LookupEntityBody extends Object
PermissionLookupEntityRequest is the request message for the LookupEntity method in the Permission service.
  • Field Details

  • Constructor Details

    • LookupEntityBody

      public LookupEntityBody()
  • Method Details

    • metadata

      public LookupEntityBody metadata(@Nullable PermissionLookupEntityRequestMetadata metadata)
    • getMetadata

      @Nullable public PermissionLookupEntityRequestMetadata getMetadata()
      Get metadata
      Returns:
      metadata
    • setMetadata

      public void setMetadata(@Nullable PermissionLookupEntityRequestMetadata metadata)
    • entityType

      public LookupEntityBody entityType(@Nullable String entityType)
    • getEntityType

      @Nullable public String getEntityType()
      Type of the entity to lookup, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
      Returns:
      entityType
    • setEntityType

      public void setEntityType(@Nullable String entityType)
    • permission

      public LookupEntityBody permission(@Nullable String permission)
    • getPermission

      @Nullable public String getPermission()
      Name of the permission to check, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
      Returns:
      permission
    • setPermission

      public void setPermission(@Nullable String permission)
    • subject

      public LookupEntityBody subject(@Nullable Subject subject)
    • getSubject

      @Nullable public Subject getSubject()
      Get subject
      Returns:
      subject
    • setSubject

      public void setSubject(@Nullable Subject subject)
    • context

      public LookupEntityBody context(@Nullable Context context)
    • getContext

      @Nullable public Context getContext()
      Get context
      Returns:
      context
    • setContext

      public void setContext(@Nullable Context context)
    • pageSize

      public LookupEntityBody pageSize(@Nullable Long pageSize)
    • getPageSize

      @Nullable public Long getPageSize()
      page_size is the number of tenants to be returned in the response. The value should be between 1 and 100.
      Returns:
      pageSize
    • setPageSize

      public void setPageSize(@Nullable Long pageSize)
    • continuousToken

      public LookupEntityBody continuousToken(@Nullable String continuousToken)
    • getContinuousToken

      @Nullable public String getContinuousToken()
      continuous_token is an optional parameter used for pagination. It should be the value received in the previous response.
      Returns:
      continuousToken
    • setContinuousToken

      public void setContinuousToken(@Nullable String continuousToken)
    • equals

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