@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class UpdateInboxOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UpdateInboxOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_EXPIRES_AT |
static String |
SERIALIZED_NAME_FAVOURITE |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TAGS |
Constructor and Description |
---|
UpdateInboxOptions() |
Modifier and Type | Method and Description |
---|---|
UpdateInboxOptions |
addTagsItem(String tagsItem) |
UpdateInboxOptions |
description(String description) |
boolean |
equals(Object o) |
UpdateInboxOptions |
expiresAt(OffsetDateTime expiresAt) |
UpdateInboxOptions |
favourite(Boolean favourite) |
static UpdateInboxOptions |
fromJson(String jsonString)
Create an instance of UpdateInboxOptions given an JSON string
|
String |
getDescription()
Description of an inbox for labelling and searching purposes
|
OffsetDateTime |
getExpiresAt()
Inbox expiration time.
|
Boolean |
getFavourite()
Is the inbox a favorite inbox.
|
String |
getName()
Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
|
List<String> |
getTags()
Tags that inbox has been tagged with.
|
int |
hashCode() |
UpdateInboxOptions |
name(String name) |
void |
setDescription(String description) |
void |
setExpiresAt(OffsetDateTime expiresAt) |
void |
setFavourite(Boolean favourite) |
void |
setName(String name) |
void |
setTags(List<String> tags) |
UpdateInboxOptions |
tags(List<String> tags) |
String |
toJson()
Convert an instance of UpdateInboxOptions 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_NAME
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_EXPIRES_AT
public static final String SERIALIZED_NAME_FAVOURITE
public UpdateInboxOptions name(String name)
@Nullable public String getName()
public void setName(String name)
public UpdateInboxOptions description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public UpdateInboxOptions tags(List<String> tags)
public UpdateInboxOptions addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public UpdateInboxOptions expiresAt(OffsetDateTime expiresAt)
@Nullable public OffsetDateTime getExpiresAt()
public void setExpiresAt(OffsetDateTime expiresAt)
public UpdateInboxOptions favourite(Boolean favourite)
@Nullable public Boolean getFavourite()
public void setFavourite(Boolean favourite)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to UpdateInboxOptionspublic static UpdateInboxOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to UpdateInboxOptionspublic String toJson()
Copyright © 2023. All rights reserved.