Class LookupSubjectBody
java.lang.Object
co.permify.sdk.model.LookupSubjectBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LookupSubjectBody
extends Object
PermissionLookupSubjectRequest is the request message for the LookupSubject method in the Permission service.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArgumentsItem(Argument argumentsItem) continuousToken(String continuousToken) booleanReturn true if this LookupSubjectBody object is equal to o.Additional arguments associated with this request.Get contextcontinuous_token is an optional parameter used for pagination.Get entityGet metadatapage_size is the number of subjects to be returned in the response.Permission to be checked, can be a permission or relation.Get subjectReferenceinthashCode()permission(String permission) voidsetArguments(List<Argument> arguments) voidsetContext(Context context) voidsetContinuousToken(String continuousToken) voidvoidvoidsetPageSize(Long pageSize) voidsetPermission(String permission) voidsetSubjectReference(RelationReference subjectReference) subjectReference(RelationReference subjectReference) 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
- See Also:
-
JSON_PROPERTY_PERMISSION
- See Also:
-
JSON_PROPERTY_SUBJECT_REFERENCE
- See Also:
-
JSON_PROPERTY_CONTEXT
- See Also:
-
JSON_PROPERTY_ARGUMENTS
- See Also:
-
JSON_PROPERTY_PAGE_SIZE
- See Also:
-
JSON_PROPERTY_CONTINUOUS_TOKEN
- See Also:
-
-
Constructor Details
-
LookupSubjectBody
public LookupSubjectBody()
-
-
Method Details
-
metadata
-
getMetadata
Get metadata- Returns:
- metadata
-
setMetadata
-
entity
-
getEntity
-
setEntity
-
permission
-
getPermission
Permission to be checked, can be a permission or relation. Required, and must match the pattern \"^([a-zA-Z][a-zA-Z0-9_]{1,62}[a-zA-Z0-9])$\", max 64 bytes.- Returns:
- permission
-
setPermission
-
subjectReference
-
getSubjectReference
Get subjectReference- Returns:
- subjectReference
-
setSubjectReference
-
context
-
getContext
-
setContext
-
arguments
-
addArgumentsItem
-
getArguments
-
setArguments
-
pageSize
-
getPageSize
page_size is the number of subjects 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
-