Name | Type | Description | Notes |
---|---|---|---|
Alias | string | Human-readable name for your SMTP server | |
Enabled | Pointer to bool | If `true`, routes all email traffic through your SMTP server | [optional] |
Host | string | Hostname or IP address of your SMTP server | |
Port | int32 | Port number of your SMTP server | |
Username | string | Username used to access your SMTP server | |
Password | string | Password used to access your SMTP server |
func NewEmailServerPost(alias string, host string, port int32, username string, password string, ) *EmailServerPost
NewEmailServerPost instantiates a new EmailServerPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEmailServerPostWithDefaults() *EmailServerPost
NewEmailServerPostWithDefaults instantiates a new EmailServerPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *EmailServerPost) GetAlias() string
GetAlias returns the Alias field if non-nil, zero value otherwise.
func (o *EmailServerPost) GetAliasOk() (*string, bool)
GetAliasOk returns a tuple with the Alias field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmailServerPost) SetAlias(v string)
SetAlias sets Alias field to given value.
func (o *EmailServerPost) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *EmailServerPost) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmailServerPost) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *EmailServerPost) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *EmailServerPost) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *EmailServerPost) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmailServerPost) SetHost(v string)
SetHost sets Host field to given value.
func (o *EmailServerPost) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *EmailServerPost) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmailServerPost) SetPort(v int32)
SetPort sets Port field to given value.
func (o *EmailServerPost) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *EmailServerPost) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmailServerPost) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *EmailServerPost) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *EmailServerPost) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EmailServerPost) SetPassword(v string)
SetPassword sets Password field to given value.