Name | Type | Description | Notes |
---|---|---|---|
Sender | Pointer to NullableString | Address of the sender, e.g. an e-mail address | [optional] |
Recipients | []string | A list of recipient addresses to receive this message | |
CopyRecipients | Pointer to []string | A list of recipient addresses to receive this message as copy | [optional] |
BlindCopyRecipients | Pointer to []string | A list of recipient addresses to receive this message as blind copy without any other recipient information | [optional] |
Subject | Pointer to string | The subject for this message | [optional] |
Content | string | The content of the message. If template is used, the content is embedded in the template. | |
Attachments | Pointer to []Attachment | A list of files attached to the message | [optional] |
func NewMessage(recipients []string, content string, ) *Message
NewMessage instantiates a new Message 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 NewMessageWithDefaults() *Message
NewMessageWithDefaults instantiates a new Message 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 *Message) GetSender() string
GetSender returns the Sender field if non-nil, zero value otherwise.
func (o *Message) GetSenderOk() (*string, bool)
GetSenderOk returns a tuple with the Sender field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Message) SetSender(v string)
SetSender sets Sender field to given value.
func (o *Message) HasSender() bool
HasSender returns a boolean if a field has been set.
func (o *Message) SetSenderNil(b bool)
SetSenderNil sets the value for Sender to be an explicit nil
func (o *Message) UnsetSender()
UnsetSender ensures that no value is present for Sender, not even an explicit nil
func (o *Message) GetRecipients() []string
GetRecipients returns the Recipients field if non-nil, zero value otherwise.
func (o *Message) GetRecipientsOk() (*[]string, bool)
GetRecipientsOk returns a tuple with the Recipients field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Message) SetRecipients(v []string)
SetRecipients sets Recipients field to given value.
func (o *Message) GetCopyRecipients() []string
GetCopyRecipients returns the CopyRecipients field if non-nil, zero value otherwise.
func (o *Message) GetCopyRecipientsOk() (*[]string, bool)
GetCopyRecipientsOk returns a tuple with the CopyRecipients field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Message) SetCopyRecipients(v []string)
SetCopyRecipients sets CopyRecipients field to given value.
func (o *Message) HasCopyRecipients() bool
HasCopyRecipients returns a boolean if a field has been set.
func (o *Message) SetCopyRecipientsNil(b bool)
SetCopyRecipientsNil sets the value for CopyRecipients to be an explicit nil
func (o *Message) UnsetCopyRecipients()
UnsetCopyRecipients ensures that no value is present for CopyRecipients, not even an explicit nil
func (o *Message) GetBlindCopyRecipients() []string
GetBlindCopyRecipients returns the BlindCopyRecipients field if non-nil, zero value otherwise.
func (o *Message) GetBlindCopyRecipientsOk() (*[]string, bool)
GetBlindCopyRecipientsOk returns a tuple with the BlindCopyRecipients field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Message) SetBlindCopyRecipients(v []string)
SetBlindCopyRecipients sets BlindCopyRecipients field to given value.
func (o *Message) HasBlindCopyRecipients() bool
HasBlindCopyRecipients returns a boolean if a field has been set.
func (o *Message) SetBlindCopyRecipientsNil(b bool)
SetBlindCopyRecipientsNil sets the value for BlindCopyRecipients to be an explicit nil
func (o *Message) UnsetBlindCopyRecipients()
UnsetBlindCopyRecipients ensures that no value is present for BlindCopyRecipients, not even an explicit nil
func (o *Message) GetSubject() string
GetSubject returns the Subject field if non-nil, zero value otherwise.
func (o *Message) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Message) SetSubject(v string)
SetSubject sets Subject field to given value.
func (o *Message) HasSubject() bool
HasSubject returns a boolean if a field has been set.
func (o *Message) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
func (o *Message) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Message) SetContent(v string)
SetContent sets Content field to given value.
func (o *Message) GetAttachments() []Attachment
GetAttachments returns the Attachments field if non-nil, zero value otherwise.
func (o *Message) GetAttachmentsOk() (*[]Attachment, bool)
GetAttachmentsOk returns a tuple with the Attachments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Message) SetAttachments(v []Attachment)
SetAttachments sets Attachments field to given value.
func (o *Message) HasAttachments() bool
HasAttachments returns a boolean if a field has been set.
func (o *Message) SetAttachmentsNil(b bool)
SetAttachmentsNil sets the value for Attachments to be an explicit nil
func (o *Message) UnsetAttachments()
UnsetAttachments ensures that no value is present for Attachments, not even an explicit nil