Package dev.openfga.sdk.api.model
Class Store
- java.lang.Object
-
- dev.openfga.sdk.api.model.Store
-
public class Store extends java.lang.Object
Store
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JSON_PROPERTY_CREATED_AT
static java.lang.String
JSON_PROPERTY_DELETED_AT
static java.lang.String
JSON_PROPERTY_ID
static java.lang.String
JSON_PROPERTY_NAME
static java.lang.String
JSON_PROPERTY_UPDATED_AT
-
Constructor Summary
Constructors Constructor Description Store()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Store
createdAt(java.time.OffsetDateTime createdAt)
Store
deletedAt(java.time.OffsetDateTime deletedAt)
boolean
equals(java.lang.Object o)
Return true if this Store object is equal to o.java.time.OffsetDateTime
getCreatedAt()
Get createdAtjava.time.OffsetDateTime
getDeletedAt()
Get deletedAtjava.lang.String
getId()
Get idjava.lang.String
getName()
Get namejava.time.OffsetDateTime
getUpdatedAt()
Get updatedAtint
hashCode()
Store
id(java.lang.String id)
Store
name(java.lang.String name)
void
setCreatedAt(java.time.OffsetDateTime createdAt)
void
setDeletedAt(java.time.OffsetDateTime deletedAt)
void
setId(java.lang.String id)
void
setName(java.lang.String name)
void
setUpdatedAt(java.time.OffsetDateTime updatedAt)
java.lang.String
toString()
java.lang.String
toUrlQueryString()
Convert the instance into URL query string.java.lang.String
toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.Store
updatedAt(java.time.OffsetDateTime updatedAt)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final java.lang.String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final java.lang.String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final java.lang.String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_AT
public static final java.lang.String JSON_PROPERTY_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DELETED_AT
public static final java.lang.String JSON_PROPERTY_DELETED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public Store id(java.lang.String id)
-
getId
@Nonnull public java.lang.String getId()
Get id- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
name
public Store name(java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
Get name- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
createdAt
public Store createdAt(java.time.OffsetDateTime createdAt)
-
getCreatedAt
@Nonnull public java.time.OffsetDateTime getCreatedAt()
Get createdAt- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(java.time.OffsetDateTime createdAt)
-
updatedAt
public Store updatedAt(java.time.OffsetDateTime updatedAt)
-
getUpdatedAt
@Nonnull public java.time.OffsetDateTime getUpdatedAt()
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(java.time.OffsetDateTime updatedAt)
-
deletedAt
public Store deletedAt(java.time.OffsetDateTime deletedAt)
-
getDeletedAt
@Nullable public java.time.OffsetDateTime getDeletedAt()
Get deletedAt- Returns:
- deletedAt
-
setDeletedAt
public void setDeletedAt(java.time.OffsetDateTime deletedAt)
-
equals
public boolean equals(java.lang.Object o)
Return true if this Store object is equal to o.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toUrlQueryString
public java.lang.String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
public java.lang.String toUrlQueryString(java.lang.String prefix)
Convert the instance into URL query string.- Parameters:
prefix
- prefix of the query string- Returns:
- URL query string
-
-