Class RelationDefinition
java.lang.Object
co.permify.sdk.model.RelationDefinition
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RelationDefinition
extends Object
The RelationDefinition message provides detailed information about a specific relation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRelationReferencesItem(RelationReference relationReferencesItem) booleanReturn true if this RelationDefinition object is equal to o.getName()The name of the relation, which follows a specific string pattern and has a maximum byte size.A list of references to other relations.inthashCode()relationReferences(List<RelationReference> relationReferences) voidvoidsetRelationReferences(List<RelationReference> relationReferences) toString()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_RELATION_REFERENCES
- See Also:
-
-
Constructor Details
-
RelationDefinition
public RelationDefinition()
-
-
Method Details
-
name
-
getName
The name of the relation, which follows a specific string pattern and has a maximum byte size.- Returns:
- name
-
setName
-
relationReferences
-
addRelationReferencesItem
-
getRelationReferences
A list of references to other relations.- Returns:
- relationReferences
-
setRelationReferences
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-