Package co.permify.sdk.model
Class Attribute
java.lang.Object
co.permify.sdk.model.Attribute
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Attribute
extends Object
Attribute represents an attribute of an entity with a specific type and value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this Attribute object is equal to o.Get attributeGet entitygetValue()Get valueinthashCode()voidsetAttribute(String attribute) voidvoidtoString()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_ATTRIBUTE
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
Attribute
public Attribute()
-
-
Method Details
-
entity
-
getEntity
Get entity- Returns:
- entity
-
setEntity
-
attribute
-
getAttribute
Get attribute- Returns:
- attribute
-
setAttribute
-
value
-
getValue
Get value- Returns:
- value
-
setValue
-
equals
Return true if this Attribute 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
-