| Name | Type | Description | Notes |
|---|---|---|---|
| string | |||
| TransactionalId | string | The ID of the transactional email to send. | |
| AddToAudience | Pointer to bool | If `true`, a contact will be created in your audience using the `email` value (if a matching contact doesn't already exist). | [optional] |
| DataVariables | Pointer to map[string]interface{} | An object containing contact data as defined by the data variables added to the transactional email template. | [optional] |
| Attachments | Pointer to []TransactionalRequestAttachmentsInner | A list containing file objects to be sent along with an email message. | [optional] |
func NewTransactionalRequest(email string, transactionalId string, ) *TransactionalRequest
NewTransactionalRequest instantiates a new TransactionalRequest 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 NewTransactionalRequestWithDefaults() *TransactionalRequest
NewTransactionalRequestWithDefaults instantiates a new TransactionalRequest 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 *TransactionalRequest) GetEmail() string
GetEmail returns the Email field if non-nil, zero value otherwise.
func (o *TransactionalRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionalRequest) SetEmail(v string)
SetEmail sets Email field to given value.
func (o *TransactionalRequest) GetTransactionalId() string
GetTransactionalId returns the TransactionalId field if non-nil, zero value otherwise.
func (o *TransactionalRequest) GetTransactionalIdOk() (*string, bool)
GetTransactionalIdOk returns a tuple with the TransactionalId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionalRequest) SetTransactionalId(v string)
SetTransactionalId sets TransactionalId field to given value.
func (o *TransactionalRequest) GetAddToAudience() bool
GetAddToAudience returns the AddToAudience field if non-nil, zero value otherwise.
func (o *TransactionalRequest) GetAddToAudienceOk() (*bool, bool)
GetAddToAudienceOk returns a tuple with the AddToAudience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionalRequest) SetAddToAudience(v bool)
SetAddToAudience sets AddToAudience field to given value.
func (o *TransactionalRequest) HasAddToAudience() bool
HasAddToAudience returns a boolean if a field has been set.
func (o *TransactionalRequest) GetDataVariables() map[string]interface{}
GetDataVariables returns the DataVariables field if non-nil, zero value otherwise.
func (o *TransactionalRequest) GetDataVariablesOk() (*map[string]interface{}, bool)
GetDataVariablesOk returns a tuple with the DataVariables field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionalRequest) SetDataVariables(v map[string]interface{})
SetDataVariables sets DataVariables field to given value.
func (o *TransactionalRequest) HasDataVariables() bool
HasDataVariables returns a boolean if a field has been set.
func (o *TransactionalRequest) GetAttachments() []TransactionalRequestAttachmentsInner
GetAttachments returns the Attachments field if non-nil, zero value otherwise.
func (o *TransactionalRequest) GetAttachmentsOk() (*[]TransactionalRequestAttachmentsInner, 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 *TransactionalRequest) SetAttachments(v []TransactionalRequestAttachmentsInner)
SetAttachments sets Attachments field to given value.
func (o *TransactionalRequest) HasAttachments() bool
HasAttachments returns a boolean if a field has been set.