Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

Latest commit

 

History

History
150 lines (81 loc) · 4.89 KB

File metadata and controls

150 lines (81 loc) · 4.89 KB

TransactionalRequest

Properties

Name Type Description Notes
Email 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]

Methods

NewTransactionalRequest

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

NewTransactionalRequestWithDefaults

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

GetEmail

func (o *TransactionalRequest) GetEmail() string

GetEmail returns the Email field if non-nil, zero value otherwise.

GetEmailOk

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.

SetEmail

func (o *TransactionalRequest) SetEmail(v string)

SetEmail sets Email field to given value.

GetTransactionalId

func (o *TransactionalRequest) GetTransactionalId() string

GetTransactionalId returns the TransactionalId field if non-nil, zero value otherwise.

GetTransactionalIdOk

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.

SetTransactionalId

func (o *TransactionalRequest) SetTransactionalId(v string)

SetTransactionalId sets TransactionalId field to given value.

GetAddToAudience

func (o *TransactionalRequest) GetAddToAudience() bool

GetAddToAudience returns the AddToAudience field if non-nil, zero value otherwise.

GetAddToAudienceOk

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.

SetAddToAudience

func (o *TransactionalRequest) SetAddToAudience(v bool)

SetAddToAudience sets AddToAudience field to given value.

HasAddToAudience

func (o *TransactionalRequest) HasAddToAudience() bool

HasAddToAudience returns a boolean if a field has been set.

GetDataVariables

func (o *TransactionalRequest) GetDataVariables() map[string]interface{}

GetDataVariables returns the DataVariables field if non-nil, zero value otherwise.

GetDataVariablesOk

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.

SetDataVariables

func (o *TransactionalRequest) SetDataVariables(v map[string]interface{})

SetDataVariables sets DataVariables field to given value.

HasDataVariables

func (o *TransactionalRequest) HasDataVariables() bool

HasDataVariables returns a boolean if a field has been set.

GetAttachments

func (o *TransactionalRequest) GetAttachments() []TransactionalRequestAttachmentsInner

GetAttachments returns the Attachments field if non-nil, zero value otherwise.

GetAttachmentsOk

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.

SetAttachments

func (o *TransactionalRequest) SetAttachments(v []TransactionalRequestAttachmentsInner)

SetAttachments sets Attachments field to given value.

HasAttachments

func (o *TransactionalRequest) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

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