Package co.permify.sdk.model
Class Entity
java.lang.Object
co.permify.sdk.model.Entity
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Entity
extends Object
Entity represents an entity with a type and an identifier.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
-
Constructor Details
-
Entity
public Entity()
-
-
Method Details
-
type
-
getType
Get type- Returns:
- type
-
setType
-
id
-
getId
Get id- Returns:
- id
-
setId
-
equals
Return true if this Entity 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
-