Package com.exoscale.sdk.model
Class SMTPServerSettings
- java.lang.Object
-
- com.exoscale.sdk.model.SMTPServerSettings
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class SMTPServerSettings extends Object
SMTPServerSettings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SMTPServerSettings.StarttlsPolicyEnum
Gets or Sets starttlsPolicy
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_FROM_ADDRESS
static String
JSON_PROPERTY_FROM_NAME
static String
JSON_PROPERTY_HOST
static String
JSON_PROPERTY_PASSWORD
static String
JSON_PROPERTY_PORT
static String
JSON_PROPERTY_SKIP_VERIFY
static String
JSON_PROPERTY_STARTTLS_POLICY
static String
JSON_PROPERTY_USERNAME
-
Constructor Summary
Constructors Constructor Description SMTPServerSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this SMTP_server_settings object is equal to o.SMTPServerSettings
fromAddress(String fromAddress)
SMTPServerSettings
fromName(String fromName)
String
getFromAddress()
Get fromAddressString
getFromName()
Get fromNameorg.openapitools.jackson.nullable.JsonNullable<String>
getFromName_JsonNullable()
String
getHost()
Get hostString
getPassword()
Get passwordorg.openapitools.jackson.nullable.JsonNullable<String>
getPassword_JsonNullable()
Integer
getPort()
Get port minimum: 1 maximum: 65535Boolean
getSkipVerify()
Get skipVerifySMTPServerSettings.StarttlsPolicyEnum
getStarttlsPolicy()
Get starttlsPolicyString
getUsername()
Get usernameorg.openapitools.jackson.nullable.JsonNullable<String>
getUsername_JsonNullable()
int
hashCode()
SMTPServerSettings
host(String host)
SMTPServerSettings
password(String password)
SMTPServerSettings
port(Integer port)
void
setFromAddress(String fromAddress)
void
setFromName(String fromName)
void
setFromName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> fromName)
void
setHost(String host)
void
setPassword(String password)
void
setPassword_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> password)
void
setPort(Integer port)
void
setSkipVerify(Boolean skipVerify)
void
setStarttlsPolicy(SMTPServerSettings.StarttlsPolicyEnum starttlsPolicy)
void
setUsername(String username)
void
setUsername_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> username)
SMTPServerSettings
skipVerify(Boolean skipVerify)
SMTPServerSettings
starttlsPolicy(SMTPServerSettings.StarttlsPolicyEnum starttlsPolicy)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.SMTPServerSettings
username(String username)
-
-
-
Field Detail
-
JSON_PROPERTY_FROM_ADDRESS
public static final String JSON_PROPERTY_FROM_ADDRESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FROM_NAME
public static final String JSON_PROPERTY_FROM_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_HOST
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SKIP_VERIFY
public static final String JSON_PROPERTY_SKIP_VERIFY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STARTTLS_POLICY
public static final String JSON_PROPERTY_STARTTLS_POLICY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USERNAME
public static final String JSON_PROPERTY_USERNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromAddress
public SMTPServerSettings fromAddress(String fromAddress)
-
getFromAddress
@Nonnull public String getFromAddress()
Get fromAddress- Returns:
- fromAddress
-
setFromAddress
public void setFromAddress(String fromAddress)
-
fromName
public SMTPServerSettings fromName(String fromName)
-
getFromName
@Nullable public String getFromName()
Get fromName- Returns:
- fromName
-
getFromName_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getFromName_JsonNullable()
-
setFromName_JsonNullable
public void setFromName_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> fromName)
-
setFromName
public void setFromName(String fromName)
-
host
public SMTPServerSettings host(String host)
-
getHost
@Nonnull public String getHost()
Get host- Returns:
- host
-
setHost
public void setHost(String host)
-
password
public SMTPServerSettings password(String password)
-
getPassword
@Nullable public String getPassword()
Get password- Returns:
- password
-
getPassword_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getPassword_JsonNullable()
-
setPassword_JsonNullable
public void setPassword_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> password)
-
setPassword
public void setPassword(String password)
-
port
public SMTPServerSettings port(Integer port)
-
getPort
@Nonnull public Integer getPort()
Get port minimum: 1 maximum: 65535- Returns:
- port
-
setPort
public void setPort(Integer port)
-
skipVerify
public SMTPServerSettings skipVerify(Boolean skipVerify)
-
getSkipVerify
@Nullable public Boolean getSkipVerify()
Get skipVerify- Returns:
- skipVerify
-
setSkipVerify
public void setSkipVerify(Boolean skipVerify)
-
starttlsPolicy
public SMTPServerSettings starttlsPolicy(SMTPServerSettings.StarttlsPolicyEnum starttlsPolicy)
-
getStarttlsPolicy
@Nullable public SMTPServerSettings.StarttlsPolicyEnum getStarttlsPolicy()
Get starttlsPolicy- Returns:
- starttlsPolicy
-
setStarttlsPolicy
public void setStarttlsPolicy(SMTPServerSettings.StarttlsPolicyEnum starttlsPolicy)
-
username
public SMTPServerSettings username(String username)
-
getUsername
@Nullable public String getUsername()
Get username- Returns:
- username
-
getUsername_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getUsername_JsonNullable()
-
setUsername_JsonNullable
public void setUsername_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> username)
-
setUsername
public void setUsername(String username)
-
equals
public boolean equals(Object o)
Return true if this SMTP_server_settings object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-