Class LookupEntityBody
java.lang.Object
co.permify.sdk.model.LookupEntityBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
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 entities 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.getScope()Scope: A map that associates entity types with lists of identifiers.Get subjectinthashCode()permission(String permission) putScopeItem(String key, StringArrayValue scopeItem) scope(Map<String, StringArrayValue> scope) voidsetContext(Context context) voidsetContinuousToken(String continuousToken) voidsetEntityType(String entityType) voidvoidsetPageSize(Long pageSize) voidsetPermission(String permission) voidsetScope(Map<String, StringArrayValue> scope) 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_SCOPE
- 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
-
scope
-
putScopeItem
-
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
-
pageSize
-
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
-
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
-