Skip to content

Latest commit

 

History

History
195 lines (104 loc) · 5.56 KB

CampaignCopy.md

File metadata and controls

195 lines (104 loc) · 5.56 KB

CampaignCopy

Properties

Name Type Description Notes
Name Pointer to string Name of the copied campaign (Defaults to "Copy of original campaign name"). [optional]
ApplicationIds Pointer to []int32 Application IDs of the applications to which a campaign should be copied to.
Description Pointer to string A detailed description of the campaign. [optional]
StartTime Pointer to time.Time Timestamp when the campaign will become active. [optional]
EndTime Pointer to time.Time Timestamp when the campaign will become inactive. [optional]
Tags Pointer to []string A list of tags for the campaign. [optional]
EvaluationGroupId Pointer to int32 The ID of the campaign evaluation group the campaign belongs to. [optional]

Methods

GetName

func (o *CampaignCopy) GetName() string

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

GetNameOk

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

HasName returns a boolean if a field has been set.

SetName

func (o *CampaignCopy) SetName(v string)

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

GetApplicationIds

func (o *CampaignCopy) GetApplicationIds() []int32

GetApplicationIds returns the ApplicationIds field if non-nil, zero value otherwise.

GetApplicationIdsOk

func (o *CampaignCopy) GetApplicationIdsOk() ([]int32, bool)

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

HasApplicationIds

func (o *CampaignCopy) HasApplicationIds() bool

HasApplicationIds returns a boolean if a field has been set.

SetApplicationIds

func (o *CampaignCopy) SetApplicationIds(v []int32)

SetApplicationIds gets a reference to the given []int32 and assigns it to the ApplicationIds field.

GetDescription

func (o *CampaignCopy) GetDescription() string

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

GetDescriptionOk

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

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *CampaignCopy) SetDescription(v string)

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

GetStartTime

func (o *CampaignCopy) GetStartTime() time.Time

GetStartTime returns the StartTime field if non-nil, zero value otherwise.

GetStartTimeOk

func (o *CampaignCopy) GetStartTimeOk() (time.Time, bool)

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

HasStartTime

func (o *CampaignCopy) HasStartTime() bool

HasStartTime returns a boolean if a field has been set.

SetStartTime

func (o *CampaignCopy) SetStartTime(v time.Time)

SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.

GetEndTime

func (o *CampaignCopy) GetEndTime() time.Time

GetEndTime returns the EndTime field if non-nil, zero value otherwise.

GetEndTimeOk

func (o *CampaignCopy) GetEndTimeOk() (time.Time, bool)

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

HasEndTime

func (o *CampaignCopy) HasEndTime() bool

HasEndTime returns a boolean if a field has been set.

SetEndTime

func (o *CampaignCopy) SetEndTime(v time.Time)

SetEndTime gets a reference to the given time.Time and assigns it to the EndTime field.

GetTags

func (o *CampaignCopy) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *CampaignCopy) GetTagsOk() ([]string, bool)

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

HasTags

func (o *CampaignCopy) HasTags() bool

HasTags returns a boolean if a field has been set.

SetTags

func (o *CampaignCopy) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

GetEvaluationGroupId

func (o *CampaignCopy) GetEvaluationGroupId() int32

GetEvaluationGroupId returns the EvaluationGroupId field if non-nil, zero value otherwise.

GetEvaluationGroupIdOk

func (o *CampaignCopy) GetEvaluationGroupIdOk() (int32, bool)

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

HasEvaluationGroupId

func (o *CampaignCopy) HasEvaluationGroupId() bool

HasEvaluationGroupId returns a boolean if a field has been set.

SetEvaluationGroupId

func (o *CampaignCopy) SetEvaluationGroupId(v int32)

SetEvaluationGroupId gets a reference to the given int32 and assigns it to the EvaluationGroupId field.

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