Skip to content

ModifyMailServerOpenApiVO

Properties

Name Type Description Notes
AuthEnable bool Whether the SMTP email server uses basic authentication.
Password Pointer to string The user's email password used for authentication. [optional]
Port int32 The port of the SMTP mailbox server,xxxx should be within the range of 1-65535
Receiver Pointer to string The email address where the message will be received. [optional]
SenderAddress Pointer to string The email address from which the message was sent. [optional]
SmtpEnable Pointer to bool Enable SMTP mail server [optional]
SmtpServer string The domain name of the SMTP mailbox server.
SslEnable bool Whether the SMTP mailbox server uses SSL encryption.
Username Pointer to string The user's email address used for authentication. [optional]

Methods

NewModifyMailServerOpenApiVO

func NewModifyMailServerOpenApiVO(authEnable bool, port int32, smtpServer string, sslEnable bool, ) *ModifyMailServerOpenApiVO

NewModifyMailServerOpenApiVO instantiates a new ModifyMailServerOpenApiVO 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

NewModifyMailServerOpenApiVOWithDefaults

func NewModifyMailServerOpenApiVOWithDefaults() *ModifyMailServerOpenApiVO

NewModifyMailServerOpenApiVOWithDefaults instantiates a new ModifyMailServerOpenApiVO 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

GetAuthEnable

func (o *ModifyMailServerOpenApiVO) GetAuthEnable() bool

GetAuthEnable returns the AuthEnable field if non-nil, zero value otherwise.

GetAuthEnableOk

func (o *ModifyMailServerOpenApiVO) GetAuthEnableOk() (*bool, bool)

GetAuthEnableOk returns a tuple with the AuthEnable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAuthEnable

func (o *ModifyMailServerOpenApiVO) SetAuthEnable(v bool)

SetAuthEnable sets AuthEnable field to given value.

GetPassword

func (o *ModifyMailServerOpenApiVO) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

func (o *ModifyMailServerOpenApiVO) 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.

SetPassword

func (o *ModifyMailServerOpenApiVO) SetPassword(v string)

SetPassword sets Password field to given value.

HasPassword

func (o *ModifyMailServerOpenApiVO) HasPassword() bool

HasPassword returns a boolean if a field has been set.

GetPort

func (o *ModifyMailServerOpenApiVO) GetPort() int32

GetPort returns the Port field if non-nil, zero value otherwise.

GetPortOk

func (o *ModifyMailServerOpenApiVO) 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.

SetPort

func (o *ModifyMailServerOpenApiVO) SetPort(v int32)

SetPort sets Port field to given value.

GetReceiver

func (o *ModifyMailServerOpenApiVO) GetReceiver() string

GetReceiver returns the Receiver field if non-nil, zero value otherwise.

GetReceiverOk

func (o *ModifyMailServerOpenApiVO) GetReceiverOk() (*string, bool)

GetReceiverOk returns a tuple with the Receiver field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReceiver

func (o *ModifyMailServerOpenApiVO) SetReceiver(v string)

SetReceiver sets Receiver field to given value.

HasReceiver

func (o *ModifyMailServerOpenApiVO) HasReceiver() bool

HasReceiver returns a boolean if a field has been set.

GetSenderAddress

func (o *ModifyMailServerOpenApiVO) GetSenderAddress() string

GetSenderAddress returns the SenderAddress field if non-nil, zero value otherwise.

GetSenderAddressOk

func (o *ModifyMailServerOpenApiVO) GetSenderAddressOk() (*string, bool)

GetSenderAddressOk returns a tuple with the SenderAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSenderAddress

func (o *ModifyMailServerOpenApiVO) SetSenderAddress(v string)

SetSenderAddress sets SenderAddress field to given value.

HasSenderAddress

func (o *ModifyMailServerOpenApiVO) HasSenderAddress() bool

HasSenderAddress returns a boolean if a field has been set.

GetSmtpEnable

func (o *ModifyMailServerOpenApiVO) GetSmtpEnable() bool

GetSmtpEnable returns the SmtpEnable field if non-nil, zero value otherwise.

GetSmtpEnableOk

func (o *ModifyMailServerOpenApiVO) GetSmtpEnableOk() (*bool, bool)

GetSmtpEnableOk returns a tuple with the SmtpEnable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSmtpEnable

func (o *ModifyMailServerOpenApiVO) SetSmtpEnable(v bool)

SetSmtpEnable sets SmtpEnable field to given value.

HasSmtpEnable

func (o *ModifyMailServerOpenApiVO) HasSmtpEnable() bool

HasSmtpEnable returns a boolean if a field has been set.

GetSmtpServer

func (o *ModifyMailServerOpenApiVO) GetSmtpServer() string

GetSmtpServer returns the SmtpServer field if non-nil, zero value otherwise.

GetSmtpServerOk

func (o *ModifyMailServerOpenApiVO) 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.

SetSmtpServer

func (o *ModifyMailServerOpenApiVO) SetSmtpServer(v string)

SetSmtpServer sets SmtpServer field to given value.

GetSslEnable

func (o *ModifyMailServerOpenApiVO) GetSslEnable() bool

GetSslEnable returns the SslEnable field if non-nil, zero value otherwise.

GetSslEnableOk

func (o *ModifyMailServerOpenApiVO) GetSslEnableOk() (*bool, bool)

GetSslEnableOk returns a tuple with the SslEnable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSslEnable

func (o *ModifyMailServerOpenApiVO) SetSslEnable(v bool)

SetSslEnable sets SslEnable field to given value.

GetUsername

func (o *ModifyMailServerOpenApiVO) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

func (o *ModifyMailServerOpenApiVO) 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.

SetUsername

func (o *ModifyMailServerOpenApiVO) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *ModifyMailServerOpenApiVO) HasUsername() bool

HasUsername returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]