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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontinuousToken(String continuousToken) entityType(String entityType) booleanReturn true if this LookupEntityBody object is equal to o.Get contextcontinuous_token is an optional parameter used for pagination.Type of the entity to lookup, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.Get metadatapage_size is the number of tenants to be returned in the response.Name of the permission to check, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.Get subjectinthashCode()permission(String permission) voidsetContext(Context context) voidsetContinuousToken(String continuousToken) voidsetEntityType(String entityType) voidvoidsetPageSize(Long pageSize) voidsetPermission(String permission) voidsetSubject(Subject subject) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_ENTITY_TYPE
- See Also:
-
JSON_PROPERTY_PERMISSION
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
JSON_PROPERTY_CONTEXT
- See Also:
-
JSON_PROPERTY_PAGE_SIZE
- See Also:
-
JSON_PROPERTY_CONTINUOUS_TOKEN
- See Also:
-
-
Constructor Details
-
LookupEntityBody
public LookupEntityBody()
-
-
Method Details
-
metadata
-
getMetadata
-
setMetadata
-
entityType
-
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
-
permission
-
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
-
subject
-
getSubject
-
setSubject
-
context
-
getContext
-
setContext
-
pageSize
-
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
-
continuousToken
-
getContinuousToken
continuous_token is an optional parameter used for pagination. It should be the value received in the previous response.- Returns:
- continuousToken
-
setContinuousToken
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-