@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateDomainOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateDomainOptions.CustomTypeAdapterFactory |
static class |
CreateDomainOptions.DomainTypeEnum
Type of domain.
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_CATCH_ALL_INBOX |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_DOMAIN |
static String |
SERIALIZED_NAME_DOMAIN_TYPE |
Constructor and Description |
---|
CreateDomainOptions() |
Modifier and Type | Method and Description |
---|---|
CreateDomainOptions |
createdCatchAllInbox(Boolean createdCatchAllInbox) |
CreateDomainOptions |
description(String description) |
CreateDomainOptions |
domain(String domain) |
CreateDomainOptions |
domainType(CreateDomainOptions.DomainTypeEnum domainType) |
boolean |
equals(Object o) |
static CreateDomainOptions |
fromJson(String jsonString)
Create an instance of CreateDomainOptions given an JSON string
|
Boolean |
getCreatedCatchAllInbox()
Whether to create a catch all inbox for the domain.
|
String |
getDescription()
Optional description of the domain.
|
String |
getDomain()
The top level domain you wish to use with MailSlurp.
|
CreateDomainOptions.DomainTypeEnum |
getDomainType()
Type of domain.
|
int |
hashCode() |
void |
setCreatedCatchAllInbox(Boolean createdCatchAllInbox) |
void |
setDescription(String description) |
void |
setDomain(String domain) |
void |
setDomainType(CreateDomainOptions.DomainTypeEnum domainType) |
String |
toJson()
Convert an instance of CreateDomainOptions 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_DOMAIN
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_CREATED_CATCH_ALL_INBOX
public static final String SERIALIZED_NAME_DOMAIN_TYPE
public CreateDomainOptions domain(String domain)
@Nonnull public String getDomain()
public void setDomain(String domain)
public CreateDomainOptions description(String description)
@Nullable public String getDescription()
public void setDescription(String description)
public CreateDomainOptions createdCatchAllInbox(Boolean createdCatchAllInbox)
@Nullable public Boolean getCreatedCatchAllInbox()
public void setCreatedCatchAllInbox(Boolean createdCatchAllInbox)
public CreateDomainOptions domainType(CreateDomainOptions.DomainTypeEnum domainType)
@Nullable public CreateDomainOptions.DomainTypeEnum getDomainType()
public void setDomainType(CreateDomainOptions.DomainTypeEnum domainType)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateDomainOptionspublic static CreateDomainOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateDomainOptionspublic String toJson()
Copyright © 2023. All rights reserved.