Name | Type | Description | Notes |
---|---|---|---|
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 *NewAdditionalCost) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NewAdditionalCost) 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 *NewAdditionalCost) HasName() bool
HasName returns a boolean if a field has been set.
func (o *NewAdditionalCost) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *NewAdditionalCost) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *NewAdditionalCost) 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 *NewAdditionalCost) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *NewAdditionalCost) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *NewAdditionalCost) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *NewAdditionalCost) 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 *NewAdditionalCost) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *NewAdditionalCost) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *NewAdditionalCost) GetSubscribedApplicationsIds() []int32
GetSubscribedApplicationsIds returns the SubscribedApplicationsIds field if non-nil, zero value otherwise.
func (o *NewAdditionalCost) 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 *NewAdditionalCost) HasSubscribedApplicationsIds() bool
HasSubscribedApplicationsIds returns a boolean if a field has been set.
func (o *NewAdditionalCost) SetSubscribedApplicationsIds(v []int32)
SetSubscribedApplicationsIds gets a reference to the given []int32 and assigns it to the SubscribedApplicationsIds field.
func (o *NewAdditionalCost) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *NewAdditionalCost) 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 *NewAdditionalCost) HasType() bool
HasType returns a boolean if a field has been set.
func (o *NewAdditionalCost) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.