Package co.permify.sdk.model
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
Get type- Returns:
- type
-
setType
-
id
-
getId
Get id- Returns:
- id
-
setId
-
relation
-
getRelation
Get relation- Returns:
- relation
-
setRelation
-
equals
Return true if this Subject 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
-