Class LookupEntityStreamBody

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class LookupEntityStreamBody extends Object
PermissionLookupEntityRequest is the request message for the LookupEntity method in the Permission service.
  • Field Details

  • Constructor Details

    • LookupEntityStreamBody

      public LookupEntityStreamBody()
  • Method Details

    • metadata

    • getMetadata

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

      public void setMetadata(PermissionLookupEntityRequestMetadata metadata)
    • entityType

      public LookupEntityStreamBody entityType(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(String entityType)
    • permission

      public LookupEntityStreamBody permission(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(String permission)
    • subject

      public LookupEntityStreamBody subject(Subject subject)
    • getSubject

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

      public void setSubject(Subject subject)
    • context

      public LookupEntityStreamBody context(Context context)
    • getContext

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

      public void setContext(Context context)
    • scope

    • putScopeItem

      public LookupEntityStreamBody putScopeItem(String key, StringArrayValue scopeItem)
    • getScope

      @Nullable public Map<String,StringArrayValue> getScope()
      Scope: A map that associates entity types with lists of identifiers. Each entry helps filter requests by specifying which entities are relevant to the operation.
      Returns:
      scope
    • setScope

      public void setScope(Map<String,StringArrayValue> scope)
    • pageSize

      public LookupEntityStreamBody pageSize(Long pageSize)
    • getPageSize

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

      public void setPageSize(Long pageSize)
    • continuousToken

      public LookupEntityStreamBody continuousToken(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(String continuousToken)
    • equals

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