Package co.permify.sdk.model
Class TupleFilter
java.lang.Object
co.permify.sdk.model.TupleFilter
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TupleFilter
extends Object
TupleFilter is used to filter tuples based on the entity, relation and the subject.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentity(EntityFilter entity) booleanReturn true if this TupleFilter object is equal to o.Get entityGet relationGet subjectinthashCode()voidsetEntity(EntityFilter entity) voidsetRelation(String relation) voidsetSubject(SubjectFilter subject) subject(SubjectFilter 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
-
TupleFilter
public TupleFilter()
-
-
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 TupleFilter 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
-