Package co.permify.sdk.model
Class Tuple
java.lang.Object
co.permify.sdk.model.Tuple
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Tuple
extends Object
Tuple is a structure that includes an entity, a relation, and a subject.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Tuple object is equal to o.Get entityGet relationGet subjectinthashCode()voidvoidsetRelation(String relation) voidsetSubject(Subject subject) 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_RELATION
- See Also:
-
JSON_PROPERTY_SUBJECT
- See Also:
-
-
Constructor Details
-
Tuple
public Tuple()
-
-
Method Details
-
entity
-
getEntity
Get entity- Returns:
- entity
-
setEntity
-
relation
-
getRelation
Get relation- Returns:
- relation
-
setRelation
-
subject
-
getSubject
Get subject- Returns:
- subject
-
setSubject
-
equals
Return true if this Tuple 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
-