Skip to content

Latest commit

 

History

History
325 lines (174 loc) · 8.97 KB

Collection.md

File metadata and controls

325 lines (174 loc) · 8.97 KB

Collection

Properties

Name Type Description Notes
Id Pointer to int32 Internal ID of this entity.
Created Pointer to time.Time The time this entity was created.
AccountId Pointer to int32 The ID of the account that owns this entity.
Modified Pointer to time.Time The time this entity was last modified.
Description Pointer to string A short description of the purpose of this collection. [optional]
SubscribedApplicationsIds Pointer to []int32 A list of the IDs of the Applications where this collection is enabled. [optional]
Name Pointer to string The name of this collection.
ModifiedBy Pointer to int32 ID of the user who last updated this effect if available. [optional]
CreatedBy Pointer to int32 ID of the user who created this effect.
ApplicationId Pointer to int32 The ID of the Application that owns this entity. [optional]
CampaignId Pointer to int32 The ID of the campaign that owns this entity. [optional]
Payload Pointer to []string The content of the collection. [optional]

Methods

GetId

func (o *Collection) GetId() int32

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

GetIdOk

func (o *Collection) GetIdOk() (int32, 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.

HasId

func (o *Collection) HasId() bool

HasId returns a boolean if a field has been set.

SetId

func (o *Collection) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

GetCreated

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

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

GetCreatedOk

func (o *Collection) 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.

HasCreated

func (o *Collection) HasCreated() bool

HasCreated returns a boolean if a field has been set.

SetCreated

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

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

GetAccountId

func (o *Collection) GetAccountId() int32

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

GetAccountIdOk

func (o *Collection) GetAccountIdOk() (int32, 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.

HasAccountId

func (o *Collection) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

SetAccountId

func (o *Collection) SetAccountId(v int32)

SetAccountId gets a reference to the given int32 and assigns it to the AccountId field.

GetModified

func (o *Collection) GetModified() time.Time

GetModified returns the Modified field if non-nil, zero value otherwise.

GetModifiedOk

func (o *Collection) GetModifiedOk() (time.Time, bool)

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

HasModified

func (o *Collection) HasModified() bool

HasModified returns a boolean if a field has been set.

SetModified

func (o *Collection) SetModified(v time.Time)

SetModified gets a reference to the given time.Time and assigns it to the Modified field.

GetDescription

func (o *Collection) GetDescription() string

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

GetDescriptionOk

func (o *Collection) 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.

HasDescription

func (o *Collection) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *Collection) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

GetSubscribedApplicationsIds

func (o *Collection) GetSubscribedApplicationsIds() []int32

GetSubscribedApplicationsIds returns the SubscribedApplicationsIds field if non-nil, zero value otherwise.

GetSubscribedApplicationsIdsOk

func (o *Collection) GetSubscribedApplicationsIdsOk() ([]int32, bool)

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

HasSubscribedApplicationsIds

func (o *Collection) HasSubscribedApplicationsIds() bool

HasSubscribedApplicationsIds returns a boolean if a field has been set.

SetSubscribedApplicationsIds

func (o *Collection) SetSubscribedApplicationsIds(v []int32)

SetSubscribedApplicationsIds gets a reference to the given []int32 and assigns it to the SubscribedApplicationsIds field.

GetName

func (o *Collection) GetName() string

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

GetNameOk

func (o *Collection) 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.

HasName

func (o *Collection) HasName() bool

HasName returns a boolean if a field has been set.

SetName

func (o *Collection) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

GetModifiedBy

func (o *Collection) GetModifiedBy() int32

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

func (o *Collection) GetModifiedByOk() (int32, bool)

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

HasModifiedBy

func (o *Collection) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

SetModifiedBy

func (o *Collection) SetModifiedBy(v int32)

SetModifiedBy gets a reference to the given int32 and assigns it to the ModifiedBy field.

GetCreatedBy

func (o *Collection) GetCreatedBy() int32

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *Collection) GetCreatedByOk() (int32, bool)

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

HasCreatedBy

func (o *Collection) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

SetCreatedBy

func (o *Collection) SetCreatedBy(v int32)

SetCreatedBy gets a reference to the given int32 and assigns it to the CreatedBy field.

GetApplicationId

func (o *Collection) GetApplicationId() int32

GetApplicationId returns the ApplicationId field if non-nil, zero value otherwise.

GetApplicationIdOk

func (o *Collection) GetApplicationIdOk() (int32, bool)

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

HasApplicationId

func (o *Collection) HasApplicationId() bool

HasApplicationId returns a boolean if a field has been set.

SetApplicationId

func (o *Collection) SetApplicationId(v int32)

SetApplicationId gets a reference to the given int32 and assigns it to the ApplicationId field.

GetCampaignId

func (o *Collection) GetCampaignId() int32

GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.

GetCampaignIdOk

func (o *Collection) GetCampaignIdOk() (int32, bool)

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

HasCampaignId

func (o *Collection) HasCampaignId() bool

HasCampaignId returns a boolean if a field has been set.

SetCampaignId

func (o *Collection) SetCampaignId(v int32)

SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.

GetPayload

func (o *Collection) GetPayload() []string

GetPayload returns the Payload field if non-nil, zero value otherwise.

GetPayloadOk

func (o *Collection) GetPayloadOk() ([]string, bool)

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

HasPayload

func (o *Collection) HasPayload() bool

HasPayload returns a boolean if a field has been set.

SetPayload

func (o *Collection) SetPayload(v []string)

SetPayload gets a reference to the given []string and assigns it to the Payload field.

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