Class V1Expand
java.lang.Object
co.permify.sdk.model.V1Expand
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class V1Expand
extends Object
Expand is used to define a hierarchical structure for permissions. It has an entity, permission, and arguments. The node can be either another hierarchical structure or a set of subjects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArgumentsItem(Argument argumentsItem) booleanReturn true if this v1.Expand object is equal to o.expand(ExpandTreeNode expand) arguments are the additional information or context used to evaluate permissions.Get entityGet expandgetLeaf()Get leafpermission is the permission applied to the entity.inthashCode()leaf(ExpandLeaf leaf) permission(String permission) voidsetArguments(List<Argument> arguments) voidvoidsetExpand(ExpandTreeNode expand) voidsetLeaf(ExpandLeaf leaf) voidsetPermission(String permission) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ENTITY
- See Also:
-
JSON_PROPERTY_PERMISSION
- See Also:
-
JSON_PROPERTY_ARGUMENTS
- See Also:
-
JSON_PROPERTY_EXPAND
- See Also:
-
JSON_PROPERTY_LEAF
- See Also:
-
-
Constructor Details
-
V1Expand
public V1Expand()
-
-
Method Details
-
entity
-
getEntity
-
setEntity
-
permission
-
getPermission
permission is the permission applied to the entity.- Returns:
- permission
-
setPermission
-
arguments
-
addArgumentsItem
-
getArguments
-
setArguments
-
expand
-
getExpand
-
setExpand
-
leaf
-
getLeaf
-
setLeaf
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-