Name | Type | Description | Notes |
---|---|---|---|
Enabled | bool | [default to false] | |
AuthenticationType | string | ||
ConnectionSettings | Pointer to SmtpConnectionSettings | [optional] | |
SenderSettings | SmtpSenderSettings | ||
BasicAuthCredentials | Pointer to SmtpBasicCredentials | [optional] | |
GraphApiCredentials | Pointer to SmtpGraphApiCredentials | [optional] |
func NewSmtpServerV2(enabled bool, authenticationType string, senderSettings SmtpSenderSettings, ) *SmtpServerV2
NewSmtpServerV2 instantiates a new SmtpServerV2 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 NewSmtpServerV2WithDefaults() *SmtpServerV2
NewSmtpServerV2WithDefaults instantiates a new SmtpServerV2 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 *SmtpServerV2) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *SmtpServerV2) 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 *SmtpServerV2) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *SmtpServerV2) GetAuthenticationType() string
GetAuthenticationType returns the AuthenticationType field if non-nil, zero value otherwise.
func (o *SmtpServerV2) GetAuthenticationTypeOk() (*string, bool)
GetAuthenticationTypeOk returns a tuple with the AuthenticationType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpServerV2) SetAuthenticationType(v string)
SetAuthenticationType sets AuthenticationType field to given value.
func (o *SmtpServerV2) GetConnectionSettings() SmtpConnectionSettings
GetConnectionSettings returns the ConnectionSettings field if non-nil, zero value otherwise.
func (o *SmtpServerV2) GetConnectionSettingsOk() (*SmtpConnectionSettings, bool)
GetConnectionSettingsOk returns a tuple with the ConnectionSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpServerV2) SetConnectionSettings(v SmtpConnectionSettings)
SetConnectionSettings sets ConnectionSettings field to given value.
func (o *SmtpServerV2) HasConnectionSettings() bool
HasConnectionSettings returns a boolean if a field has been set.
func (o *SmtpServerV2) GetSenderSettings() SmtpSenderSettings
GetSenderSettings returns the SenderSettings field if non-nil, zero value otherwise.
func (o *SmtpServerV2) GetSenderSettingsOk() (*SmtpSenderSettings, bool)
GetSenderSettingsOk returns a tuple with the SenderSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpServerV2) SetSenderSettings(v SmtpSenderSettings)
SetSenderSettings sets SenderSettings field to given value.
func (o *SmtpServerV2) GetBasicAuthCredentials() SmtpBasicCredentials
GetBasicAuthCredentials returns the BasicAuthCredentials field if non-nil, zero value otherwise.
func (o *SmtpServerV2) GetBasicAuthCredentialsOk() (*SmtpBasicCredentials, bool)
GetBasicAuthCredentialsOk returns a tuple with the BasicAuthCredentials field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpServerV2) SetBasicAuthCredentials(v SmtpBasicCredentials)
SetBasicAuthCredentials sets BasicAuthCredentials field to given value.
func (o *SmtpServerV2) HasBasicAuthCredentials() bool
HasBasicAuthCredentials returns a boolean if a field has been set.
func (o *SmtpServerV2) GetGraphApiCredentials() SmtpGraphApiCredentials
GetGraphApiCredentials returns the GraphApiCredentials field if non-nil, zero value otherwise.
func (o *SmtpServerV2) GetGraphApiCredentialsOk() (*SmtpGraphApiCredentials, bool)
GetGraphApiCredentialsOk returns a tuple with the GraphApiCredentials field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SmtpServerV2) SetGraphApiCredentials(v SmtpGraphApiCredentials)
SetGraphApiCredentials sets GraphApiCredentials field to given value.
func (o *SmtpServerV2) HasGraphApiCredentials() bool
HasGraphApiCredentials returns a boolean if a field has been set.