Skip to content

Latest commit

 

History

History
270 lines (145 loc) · 7.66 KB

File metadata and controls

270 lines (145 loc) · 7.66 KB

Audience

Properties

Name Type Description Notes
AccountId Pointer to int64 The ID of the account that owns this entity.
Id Pointer to int64 The internal ID of this entity.
Created Pointer to time.Time The time this entity was created.
Name Pointer to string The human-friendly display name for this audience.
Sandbox Pointer to bool Indicates if this is a live or sandbox Application. [optional]
Description Pointer to string A description of the audience. [optional]
Integration Pointer to string The Talon.One-supported 3rd-party platform that this audience was created in. For example, `mParticle`, `Segment`, `Shopify`, `Braze`, or `Iterable`. Note: If you do not integrate with any of these platforms, do not use this property. [optional]
IntegrationId Pointer to string The ID of this audience in the third-party integration. Note: To create an audience that doesn't come from a 3rd party platform, do not use this property. [optional]
CreatedIn3rdParty Pointer to bool Determines if this audience is a 3rd party audience or not. [optional]
LastUpdate Pointer to time.Time The last time that the audience memberships changed. [optional]

Methods

NewAudience

func NewAudience(accountId int64, id int64, created time.Time, name string, ) *Audience

NewAudience instantiates a new Audience 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

NewAudienceWithDefaults

func NewAudienceWithDefaults() *Audience

NewAudienceWithDefaults instantiates a new Audience 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

GetAccountId

func (o *Audience) GetAccountId() int64

GetAccountId returns the AccountId field if non-nil, zero value otherwise.

GetAccountIdOk

func (o *Audience) GetAccountIdOk() (*int64, bool)

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

SetAccountId

func (o *Audience) SetAccountId(v int64)

SetAccountId sets AccountId field to given value.

GetId

func (o *Audience) GetId() int64

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

GetIdOk

func (o *Audience) GetIdOk() (*int64, 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 *Audience) SetId(v int64)

SetId sets Id field to given value.

GetCreated

func (o *Audience) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *Audience) GetCreatedOk() (*time.Time, bool)

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

SetCreated

func (o *Audience) SetCreated(v time.Time)

SetCreated sets Created field to given value.

GetName

func (o *Audience) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Audience) GetNameOk() (*string, bool)

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

SetName

func (o *Audience) SetName(v string)

SetName sets Name field to given value.

GetSandbox

func (o *Audience) GetSandbox() bool

GetSandbox returns the Sandbox field if non-nil, zero value otherwise.

GetSandboxOk

func (o *Audience) GetSandboxOk() (*bool, bool)

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

SetSandbox

func (o *Audience) SetSandbox(v bool)

SetSandbox sets Sandbox field to given value.

HasSandbox

func (o *Audience) HasSandbox() bool

HasSandbox returns a boolean if a field has been set.

GetDescription

func (o *Audience) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Audience) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *Audience) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Audience) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetIntegration

func (o *Audience) GetIntegration() string

GetIntegration returns the Integration field if non-nil, zero value otherwise.

GetIntegrationOk

func (o *Audience) GetIntegrationOk() (*string, bool)

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

SetIntegration

func (o *Audience) SetIntegration(v string)

SetIntegration sets Integration field to given value.

HasIntegration

func (o *Audience) HasIntegration() bool

HasIntegration returns a boolean if a field has been set.

GetIntegrationId

func (o *Audience) GetIntegrationId() string

GetIntegrationId returns the IntegrationId field if non-nil, zero value otherwise.

GetIntegrationIdOk

func (o *Audience) GetIntegrationIdOk() (*string, bool)

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

SetIntegrationId

func (o *Audience) SetIntegrationId(v string)

SetIntegrationId sets IntegrationId field to given value.

HasIntegrationId

func (o *Audience) HasIntegrationId() bool

HasIntegrationId returns a boolean if a field has been set.

GetCreatedIn3rdParty

func (o *Audience) GetCreatedIn3rdParty() bool

GetCreatedIn3rdParty returns the CreatedIn3rdParty field if non-nil, zero value otherwise.

GetCreatedIn3rdPartyOk

func (o *Audience) GetCreatedIn3rdPartyOk() (*bool, bool)

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

SetCreatedIn3rdParty

func (o *Audience) SetCreatedIn3rdParty(v bool)

SetCreatedIn3rdParty sets CreatedIn3rdParty field to given value.

HasCreatedIn3rdParty

func (o *Audience) HasCreatedIn3rdParty() bool

HasCreatedIn3rdParty returns a boolean if a field has been set.

GetLastUpdate

func (o *Audience) GetLastUpdate() time.Time

GetLastUpdate returns the LastUpdate field if non-nil, zero value otherwise.

GetLastUpdateOk

func (o *Audience) GetLastUpdateOk() (*time.Time, bool)

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

SetLastUpdate

func (o *Audience) SetLastUpdate(v time.Time)

SetLastUpdate sets LastUpdate field to given value.

HasLastUpdate

func (o *Audience) HasLastUpdate() bool

HasLastUpdate returns a boolean if a field has been set.

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