Files
sdk/docs/MarketingEnrollInput.md

4.1 KiB

MarketingEnrollInput

Properties

Name Type Description Notes
Address Pointer to string Address is a single recipient, normalized (lower-cased, trimmed) before use. Give this OR audienceId, never both and never neither. [optional]
AudienceId Pointer to string AudienceID fans the sequence out over an audience: a saved cohort (aud_…), resolved live to the org's mailable customers, or a list (lst_…) or a saved segment of one (seg_…), resolved to its subscribed members. Email only. [optional]
Channel Pointer to string Channel is the delivery surface; empty means email. An audience resolves mailboxes, so an audience enroll must be email. [optional]
Id Pointer to string ID is the sequence id from the path. [optional]

Methods

NewMarketingEnrollInput

func NewMarketingEnrollInput() *MarketingEnrollInput

NewMarketingEnrollInput instantiates a new MarketingEnrollInput 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

NewMarketingEnrollInputWithDefaults

func NewMarketingEnrollInputWithDefaults() *MarketingEnrollInput

NewMarketingEnrollInputWithDefaults instantiates a new MarketingEnrollInput 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

GetAddress

func (o *MarketingEnrollInput) GetAddress() string

GetAddress returns the Address field if non-nil, zero value otherwise.

GetAddressOk

func (o *MarketingEnrollInput) GetAddressOk() (*string, bool)

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

SetAddress

func (o *MarketingEnrollInput) SetAddress(v string)

SetAddress sets Address field to given value.

HasAddress

func (o *MarketingEnrollInput) HasAddress() bool

HasAddress returns a boolean if a field has been set.

GetAudienceId

func (o *MarketingEnrollInput) GetAudienceId() string

GetAudienceId returns the AudienceId field if non-nil, zero value otherwise.

GetAudienceIdOk

func (o *MarketingEnrollInput) GetAudienceIdOk() (*string, bool)

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

SetAudienceId

func (o *MarketingEnrollInput) SetAudienceId(v string)

SetAudienceId sets AudienceId field to given value.

HasAudienceId

func (o *MarketingEnrollInput) HasAudienceId() bool

HasAudienceId returns a boolean if a field has been set.

GetChannel

func (o *MarketingEnrollInput) GetChannel() string

GetChannel returns the Channel field if non-nil, zero value otherwise.

GetChannelOk

func (o *MarketingEnrollInput) GetChannelOk() (*string, bool)

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

SetChannel

func (o *MarketingEnrollInput) SetChannel(v string)

SetChannel sets Channel field to given value.

HasChannel

func (o *MarketingEnrollInput) HasChannel() bool

HasChannel returns a boolean if a field has been set.

GetId

func (o *MarketingEnrollInput) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *MarketingEnrollInput) GetIdOk() (*string, bool)

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

SetId

func (o *MarketingEnrollInput) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *MarketingEnrollInput) HasId() bool

HasId returns a boolean if a field has been set.

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