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] |
func (o *AccountAdditionalCost) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasId() bool
HasId returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *AccountAdditionalCost) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *AccountAdditionalCost) GetAccountId() int32
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetAccountId(v int32)
SetAccountId gets a reference to the given int32 and assigns it to the AccountId field.
func (o *AccountAdditionalCost) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasName() bool
HasName returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *AccountAdditionalCost) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *AccountAdditionalCost) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *AccountAdditionalCost) GetSubscribedApplicationsIds() []int32
GetSubscribedApplicationsIds returns the SubscribedApplicationsIds field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasSubscribedApplicationsIds() bool
HasSubscribedApplicationsIds returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetSubscribedApplicationsIds(v []int32)
SetSubscribedApplicationsIds gets a reference to the given []int32 and assigns it to the SubscribedApplicationsIds field.
func (o *AccountAdditionalCost) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *AccountAdditionalCost) HasType() bool
HasType returns a boolean if a field has been set.
func (o *AccountAdditionalCost) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.