Class Subject
java.lang.Object
co.permify.sdk.model.Subject
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Subject
extends Object
Subject represents an entity subject with a type, an identifier, and a relation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Subject object is equal to o.getId()Get idGet relationgetType()Get typeinthashCode()voidvoidsetRelation(String relation) voidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATION
- See Also:
-
-
Constructor Details
-
Subject
public Subject()
-
-
Method Details
-
type
-
getType
-
setType
-
id
-
getId
-
setId
-
relation
-
getRelation
-
setRelation
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-