Name | Type | Description | Notes |
---|---|---|---|
EmailFrom | Pointer to string | SMTP email 'from' address | [optional] |
SmtpPassword | Pointer to string | SMTP password | [optional] |
SmtpPort | Pointer to int32 | SMTP port number | [optional] |
SmtpServer | Pointer to string | SMTP server | [optional] |
SmtpUsername | Pointer to string | SMTP email username | [optional] |
UseSSL | Pointer to bool | Connect to SMTP server using SSL | [optional] |
UseTLS | Pointer to bool | Connect to SMTP server using TLS | [optional] |
func NewSmtpData() *SmtpData
NewSmtpData instantiates a new SmtpData 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 NewSmtpDataWithDefaults() *SmtpData
NewSmtpDataWithDefaults instantiates a new SmtpData 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 *SmtpData) GetEmailFrom() string
GetEmailFrom returns the EmailFrom field if non-nil, zero value otherwise.
func (o *SmtpData) GetEmailFromOk() (*string, bool)
GetEmailFromOk returns a tuple with the EmailFrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpData) SetEmailFrom(v string)
SetEmailFrom sets EmailFrom field to given value.
func (o *SmtpData) HasEmailFrom() bool
HasEmailFrom returns a boolean if a field has been set.
func (o *SmtpData) GetSmtpPassword() string
GetSmtpPassword returns the SmtpPassword field if non-nil, zero value otherwise.
func (o *SmtpData) GetSmtpPasswordOk() (*string, bool)
GetSmtpPasswordOk returns a tuple with the SmtpPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpData) SetSmtpPassword(v string)
SetSmtpPassword sets SmtpPassword field to given value.
func (o *SmtpData) HasSmtpPassword() bool
HasSmtpPassword returns a boolean if a field has been set.
func (o *SmtpData) GetSmtpPort() int32
GetSmtpPort returns the SmtpPort field if non-nil, zero value otherwise.
func (o *SmtpData) GetSmtpPortOk() (*int32, bool)
GetSmtpPortOk returns a tuple with the SmtpPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpData) SetSmtpPort(v int32)
SetSmtpPort sets SmtpPort field to given value.
func (o *SmtpData) HasSmtpPort() bool
HasSmtpPort returns a boolean if a field has been set.
func (o *SmtpData) GetSmtpServer() string
GetSmtpServer returns the SmtpServer field if non-nil, zero value otherwise.
func (o *SmtpData) GetSmtpServerOk() (*string, bool)
GetSmtpServerOk returns a tuple with the SmtpServer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpData) SetSmtpServer(v string)
SetSmtpServer sets SmtpServer field to given value.
func (o *SmtpData) HasSmtpServer() bool
HasSmtpServer returns a boolean if a field has been set.
func (o *SmtpData) GetSmtpUsername() string
GetSmtpUsername returns the SmtpUsername field if non-nil, zero value otherwise.
func (o *SmtpData) GetSmtpUsernameOk() (*string, bool)
GetSmtpUsernameOk returns a tuple with the SmtpUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpData) SetSmtpUsername(v string)
SetSmtpUsername sets SmtpUsername field to given value.
func (o *SmtpData) HasSmtpUsername() bool
HasSmtpUsername returns a boolean if a field has been set.
func (o *SmtpData) GetUseSSL() bool
GetUseSSL returns the UseSSL field if non-nil, zero value otherwise.
func (o *SmtpData) GetUseSSLOk() (*bool, bool)
GetUseSSLOk returns a tuple with the UseSSL field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpData) SetUseSSL(v bool)
SetUseSSL sets UseSSL field to given value.
func (o *SmtpData) HasUseSSL() bool
HasUseSSL returns a boolean if a field has been set.
func (o *SmtpData) GetUseTLS() bool
GetUseTLS returns the UseTLS field if non-nil, zero value otherwise.
func (o *SmtpData) GetUseTLSOk() (*bool, bool)
GetUseTLSOk returns a tuple with the UseTLS field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpData) SetUseTLS(v bool)
SetUseTLS sets UseTLS field to given value.
func (o *SmtpData) HasUseTLS() bool
HasUseTLS returns a boolean if a field has been set.