Package co.permify.sdk.model
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
Get entity- Returns:
- entity
-
setEntity
-
permission
-
getPermission
permission is the permission applied to the entity.- Returns:
- permission
-
setPermission
-
arguments
-
addArgumentsItem
-
getArguments
arguments are the additional information or context used to evaluate permissions.- Returns:
- arguments
-
setArguments
-
expand
-
getExpand
Get expand- Returns:
- expand
-
setExpand
-
leaf
-
getLeaf
Get leaf- Returns:
- leaf
-
setLeaf
-
equals
Return true if this v1.Expand object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-