Files
openapi-go-answer/docs/SchemaUpdateSMTPConfigReq.md
2023-08-18 10:03:31 +08:00

7.7 KiB

SchemaUpdateSMTPConfigReq

Properties

Name Type Description Notes
Encryption Pointer to string "" SSL [optional]
FromEmail Pointer to string [optional]
FromName Pointer to string [optional]
SmtpAuthentication Pointer to bool [optional]
SmtpHost Pointer to string [optional]
SmtpPassword Pointer to string [optional]
SmtpPort Pointer to int32 [optional]
SmtpUsername Pointer to string [optional]
TestEmailRecipient Pointer to string [optional]

Methods

NewSchemaUpdateSMTPConfigReq

func NewSchemaUpdateSMTPConfigReq() *SchemaUpdateSMTPConfigReq

NewSchemaUpdateSMTPConfigReq instantiates a new SchemaUpdateSMTPConfigReq 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

NewSchemaUpdateSMTPConfigReqWithDefaults

func NewSchemaUpdateSMTPConfigReqWithDefaults() *SchemaUpdateSMTPConfigReq

NewSchemaUpdateSMTPConfigReqWithDefaults instantiates a new SchemaUpdateSMTPConfigReq 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

GetEncryption

func (o *SchemaUpdateSMTPConfigReq) GetEncryption() string

GetEncryption returns the Encryption field if non-nil, zero value otherwise.

GetEncryptionOk

func (o *SchemaUpdateSMTPConfigReq) GetEncryptionOk() (*string, bool)

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

SetEncryption

func (o *SchemaUpdateSMTPConfigReq) SetEncryption(v string)

SetEncryption sets Encryption field to given value.

HasEncryption

func (o *SchemaUpdateSMTPConfigReq) HasEncryption() bool

HasEncryption returns a boolean if a field has been set.

GetFromEmail

func (o *SchemaUpdateSMTPConfigReq) GetFromEmail() string

GetFromEmail returns the FromEmail field if non-nil, zero value otherwise.

GetFromEmailOk

func (o *SchemaUpdateSMTPConfigReq) GetFromEmailOk() (*string, bool)

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

SetFromEmail

func (o *SchemaUpdateSMTPConfigReq) SetFromEmail(v string)

SetFromEmail sets FromEmail field to given value.

HasFromEmail

func (o *SchemaUpdateSMTPConfigReq) HasFromEmail() bool

HasFromEmail returns a boolean if a field has been set.

GetFromName

func (o *SchemaUpdateSMTPConfigReq) GetFromName() string

GetFromName returns the FromName field if non-nil, zero value otherwise.

GetFromNameOk

func (o *SchemaUpdateSMTPConfigReq) GetFromNameOk() (*string, bool)

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

SetFromName

func (o *SchemaUpdateSMTPConfigReq) SetFromName(v string)

SetFromName sets FromName field to given value.

HasFromName

func (o *SchemaUpdateSMTPConfigReq) HasFromName() bool

HasFromName returns a boolean if a field has been set.

GetSmtpAuthentication

func (o *SchemaUpdateSMTPConfigReq) GetSmtpAuthentication() bool

GetSmtpAuthentication returns the SmtpAuthentication field if non-nil, zero value otherwise.

GetSmtpAuthenticationOk

func (o *SchemaUpdateSMTPConfigReq) GetSmtpAuthenticationOk() (*bool, bool)

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

SetSmtpAuthentication

func (o *SchemaUpdateSMTPConfigReq) SetSmtpAuthentication(v bool)

SetSmtpAuthentication sets SmtpAuthentication field to given value.

HasSmtpAuthentication

func (o *SchemaUpdateSMTPConfigReq) HasSmtpAuthentication() bool

HasSmtpAuthentication returns a boolean if a field has been set.

GetSmtpHost

func (o *SchemaUpdateSMTPConfigReq) GetSmtpHost() string

GetSmtpHost returns the SmtpHost field if non-nil, zero value otherwise.

GetSmtpHostOk

func (o *SchemaUpdateSMTPConfigReq) GetSmtpHostOk() (*string, bool)

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

SetSmtpHost

func (o *SchemaUpdateSMTPConfigReq) SetSmtpHost(v string)

SetSmtpHost sets SmtpHost field to given value.

HasSmtpHost

func (o *SchemaUpdateSMTPConfigReq) HasSmtpHost() bool

HasSmtpHost returns a boolean if a field has been set.

GetSmtpPassword

func (o *SchemaUpdateSMTPConfigReq) GetSmtpPassword() string

GetSmtpPassword returns the SmtpPassword field if non-nil, zero value otherwise.

GetSmtpPasswordOk

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

SetSmtpPassword

func (o *SchemaUpdateSMTPConfigReq) SetSmtpPassword(v string)

SetSmtpPassword sets SmtpPassword field to given value.

HasSmtpPassword

func (o *SchemaUpdateSMTPConfigReq) HasSmtpPassword() bool

HasSmtpPassword returns a boolean if a field has been set.

GetSmtpPort

func (o *SchemaUpdateSMTPConfigReq) GetSmtpPort() int32

GetSmtpPort returns the SmtpPort field if non-nil, zero value otherwise.

GetSmtpPortOk

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

SetSmtpPort

func (o *SchemaUpdateSMTPConfigReq) SetSmtpPort(v int32)

SetSmtpPort sets SmtpPort field to given value.

HasSmtpPort

func (o *SchemaUpdateSMTPConfigReq) HasSmtpPort() bool

HasSmtpPort returns a boolean if a field has been set.

GetSmtpUsername

func (o *SchemaUpdateSMTPConfigReq) GetSmtpUsername() string

GetSmtpUsername returns the SmtpUsername field if non-nil, zero value otherwise.

GetSmtpUsernameOk

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

SetSmtpUsername

func (o *SchemaUpdateSMTPConfigReq) SetSmtpUsername(v string)

SetSmtpUsername sets SmtpUsername field to given value.

HasSmtpUsername

func (o *SchemaUpdateSMTPConfigReq) HasSmtpUsername() bool

HasSmtpUsername returns a boolean if a field has been set.

GetTestEmailRecipient

func (o *SchemaUpdateSMTPConfigReq) GetTestEmailRecipient() string

GetTestEmailRecipient returns the TestEmailRecipient field if non-nil, zero value otherwise.

GetTestEmailRecipientOk

func (o *SchemaUpdateSMTPConfigReq) GetTestEmailRecipientOk() (*string, bool)

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

SetTestEmailRecipient

func (o *SchemaUpdateSMTPConfigReq) SetTestEmailRecipient(v string)

SetTestEmailRecipient sets TestEmailRecipient field to given value.

HasTestEmailRecipient

func (o *SchemaUpdateSMTPConfigReq) HasTestEmailRecipient() bool

HasTestEmailRecipient returns a boolean if a field has been set.

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