@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ExpirationDefaults extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ExpirationDefaults.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CAN_PERMANENT_INBOX |
static String |
SERIALIZED_NAME_DEFAULT_EXPIRATION_MILLIS |
static String |
SERIALIZED_NAME_DEFAULT_EXPIRES_AT |
static String |
SERIALIZED_NAME_MAX_EXPIRATION_MILLIS |
static String |
SERIALIZED_NAME_NEXT_INBOX_ALLOWS_PERMANENT |
Constructor and Description |
---|
ExpirationDefaults() |
Modifier and Type | Method and Description |
---|---|
ExpirationDefaults |
canPermanentInbox(Boolean canPermanentInbox) |
ExpirationDefaults |
defaultExpirationMillis(Long defaultExpirationMillis) |
ExpirationDefaults |
defaultExpiresAt(OffsetDateTime defaultExpiresAt) |
boolean |
equals(Object o) |
static ExpirationDefaults |
fromJson(String jsonString)
Create an instance of ExpirationDefaults given an JSON string
|
Boolean |
getCanPermanentInbox()
Get canPermanentInbox
|
Long |
getDefaultExpirationMillis()
Get defaultExpirationMillis
|
OffsetDateTime |
getDefaultExpiresAt()
Get defaultExpiresAt
|
Long |
getMaxExpirationMillis()
Get maxExpirationMillis
|
Boolean |
getNextInboxAllowsPermanent()
Get nextInboxAllowsPermanent
|
int |
hashCode() |
ExpirationDefaults |
maxExpirationMillis(Long maxExpirationMillis) |
ExpirationDefaults |
nextInboxAllowsPermanent(Boolean nextInboxAllowsPermanent) |
void |
setCanPermanentInbox(Boolean canPermanentInbox) |
void |
setDefaultExpirationMillis(Long defaultExpirationMillis) |
void |
setDefaultExpiresAt(OffsetDateTime defaultExpiresAt) |
void |
setMaxExpirationMillis(Long maxExpirationMillis) |
void |
setNextInboxAllowsPermanent(Boolean nextInboxAllowsPermanent) |
String |
toJson()
Convert an instance of ExpirationDefaults to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_DEFAULT_EXPIRATION_MILLIS
public static final String SERIALIZED_NAME_MAX_EXPIRATION_MILLIS
public static final String SERIALIZED_NAME_DEFAULT_EXPIRES_AT
public static final String SERIALIZED_NAME_CAN_PERMANENT_INBOX
public static final String SERIALIZED_NAME_NEXT_INBOX_ALLOWS_PERMANENT
public ExpirationDefaults defaultExpirationMillis(Long defaultExpirationMillis)
@Nullable public Long getDefaultExpirationMillis()
public void setDefaultExpirationMillis(Long defaultExpirationMillis)
public ExpirationDefaults maxExpirationMillis(Long maxExpirationMillis)
@Nullable public Long getMaxExpirationMillis()
public void setMaxExpirationMillis(Long maxExpirationMillis)
public ExpirationDefaults defaultExpiresAt(OffsetDateTime defaultExpiresAt)
@Nullable public OffsetDateTime getDefaultExpiresAt()
public void setDefaultExpiresAt(OffsetDateTime defaultExpiresAt)
public ExpirationDefaults canPermanentInbox(Boolean canPermanentInbox)
@Nonnull public Boolean getCanPermanentInbox()
public void setCanPermanentInbox(Boolean canPermanentInbox)
public ExpirationDefaults nextInboxAllowsPermanent(Boolean nextInboxAllowsPermanent)
@Nonnull public Boolean getNextInboxAllowsPermanent()
public void setNextInboxAllowsPermanent(Boolean nextInboxAllowsPermanent)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ExpirationDefaultspublic static ExpirationDefaults fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ExpirationDefaultspublic String toJson()
Copyright © 2023. All rights reserved.