@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateConnectorImapOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateConnectorImapOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_HOST |
static String |
SERIALIZED_NAME_PASSWORD |
static String |
SERIALIZED_NAME_PORT |
static String |
SERIALIZED_NAME_USE_S_S_L |
static String |
SERIALIZED_NAME_USERNAME |
Constructor and Description |
---|
CreateConnectorImapOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static CreateConnectorImapOptions |
fromJson(String jsonString)
Create an instance of CreateConnectorImapOptions given an JSON string
|
String |
getHost()
Get host
|
String |
getPassword()
Get password
|
Integer |
getPort()
Get port
|
String |
getUsername()
Get username
|
Boolean |
getUseSSL()
Get useSSL
|
int |
hashCode() |
CreateConnectorImapOptions |
host(String host) |
CreateConnectorImapOptions |
password(String password) |
CreateConnectorImapOptions |
port(Integer port) |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPort(Integer port) |
void |
setUsername(String username) |
void |
setUseSSL(Boolean useSSL) |
String |
toJson()
Convert an instance of CreateConnectorImapOptions to an JSON string
|
String |
toString() |
CreateConnectorImapOptions |
username(String username) |
CreateConnectorImapOptions |
useSSL(Boolean useSSL) |
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_HOST
public static final String SERIALIZED_NAME_PORT
public static final String SERIALIZED_NAME_USERNAME
public static final String SERIALIZED_NAME_PASSWORD
public static final String SERIALIZED_NAME_USE_S_S_L
public CreateConnectorImapOptions host(String host)
public void setHost(String host)
public CreateConnectorImapOptions port(Integer port)
public void setPort(Integer port)
public CreateConnectorImapOptions username(String username)
public void setUsername(String username)
public CreateConnectorImapOptions password(String password)
public void setPassword(String password)
public CreateConnectorImapOptions useSSL(Boolean useSSL)
public void setUseSSL(Boolean useSSL)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateConnectorImapOptionspublic static CreateConnectorImapOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateConnectorImapOptionspublic String toJson()
Copyright © 2023. All rights reserved.