Skip to content

Latest commit

 

History

History
221 lines (118 loc) · 6.61 KB

AccountAdditionalCost.md

File metadata and controls

221 lines (118 loc) · 6.61 KB

AccountAdditionalCost

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.
Name Pointer to string The internal name used in API requests.
Title Pointer to string The human-readable name for the additional cost that will be shown in the Campaign Manager. Like `name`, the combination of entity and title must also be unique.
Description Pointer to string A description of this additional cost.
SubscribedApplicationsIds Pointer to []int32 A list of the IDs of the applications that are subscribed to this additional cost. [optional]
Type Pointer to string The type of additional cost. Possible value: - `session`: Additional cost will be added per session. - `item`: Additional cost will be added per item. - `both`: Additional cost will be added per item and session. [optional] [default to TYPE_SESSION]

Methods

GetId

func (o *AccountAdditionalCost) GetId() int32

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

GetIdOk

func (o *AccountAdditionalCost) 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 *AccountAdditionalCost) HasId() bool

HasId returns a boolean if a field has been set.

SetId

func (o *AccountAdditionalCost) SetId(v int32)

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

GetCreated

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

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

GetCreatedOk

func (o *AccountAdditionalCost) 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 *AccountAdditionalCost) HasCreated() bool

HasCreated returns a boolean if a field has been set.

SetCreated

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

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

GetAccountId

func (o *AccountAdditionalCost) GetAccountId() int32

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

GetAccountIdOk

func (o *AccountAdditionalCost) 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 *AccountAdditionalCost) HasAccountId() bool

HasAccountId returns a boolean if a field has been set.

SetAccountId

func (o *AccountAdditionalCost) SetAccountId(v int32)

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

GetName

func (o *AccountAdditionalCost) GetName() string

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

GetNameOk

func (o *AccountAdditionalCost) 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 *AccountAdditionalCost) HasName() bool

HasName returns a boolean if a field has been set.

SetName

func (o *AccountAdditionalCost) SetName(v string)

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

GetTitle

func (o *AccountAdditionalCost) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *AccountAdditionalCost) GetTitleOk() (string, bool)

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

HasTitle

func (o *AccountAdditionalCost) HasTitle() bool

HasTitle returns a boolean if a field has been set.

SetTitle

func (o *AccountAdditionalCost) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

GetDescription

func (o *AccountAdditionalCost) GetDescription() string

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

GetDescriptionOk

func (o *AccountAdditionalCost) 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 *AccountAdditionalCost) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *AccountAdditionalCost) SetDescription(v string)

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

GetSubscribedApplicationsIds

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

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

GetSubscribedApplicationsIdsOk

func (o *AccountAdditionalCost) 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 *AccountAdditionalCost) HasSubscribedApplicationsIds() bool

HasSubscribedApplicationsIds returns a boolean if a field has been set.

SetSubscribedApplicationsIds

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

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

GetType

func (o *AccountAdditionalCost) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *AccountAdditionalCost) GetTypeOk() (string, bool)

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

HasType

func (o *AccountAdditionalCost) HasType() bool

HasType returns a boolean if a field has been set.

SetType

func (o *AccountAdditionalCost) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

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