Class RuleDefinition
java.lang.Object
co.permify.sdk.model.RuleDefinition
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RuleDefinition
extends Object
The RuleDefinition message provides detailed information about a specific rule.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarguments(Map<String, AttributeType> arguments) booleanReturn true if this RuleDefinition object is equal to o.expression(CheckedExpr expression) Map of arguments for this rule.Get expressiongetName()The name of the rule, which follows a specific string pattern and has a maximum byte size.inthashCode()putArgumentsItem(String key, AttributeType argumentsItem) voidsetArguments(Map<String, AttributeType> arguments) voidsetExpression(CheckedExpr expression) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ARGUMENTS
- See Also:
-
JSON_PROPERTY_EXPRESSION
- See Also:
-
-
Constructor Details
-
RuleDefinition
public RuleDefinition()
-
-
Method Details
-
name
-
getName
The name of the rule, which follows a specific string pattern and has a maximum byte size.- Returns:
- name
-
setName
-
arguments
-
putArgumentsItem
-
getArguments
Map of arguments for this rule. The key is the attribute name, and the value is the AttributeType.- Returns:
- arguments
-
setArguments
-
expression
-
getExpression
-
setExpression
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-