Skip to content

Latest commit

 

History

History
155 lines (84 loc) · 5.25 KB

File metadata and controls

155 lines (84 loc) · 5.25 KB

EventV2

Properties

Name Type Description Notes
ProfileId Pointer to string ID of the customer profile set by your integration layer. Note: If the customer does not yet have a known `profileId`, we recommend you use a guest `profileId`. [optional]
StoreIntegrationId Pointer to string The integration ID of the store. You choose this ID when you create a store. [optional]
EvaluableCampaignIds Pointer to []int64 When using the `dry` query parameter, use this property to list the campaign to be evaluated by the Rule Engine. These campaigns will be evaluated, even if they are disabled, allowing you to test specific campaigns before activating them. [optional]
Type Pointer to string A string representing the event name. Must not be a reserved event name. You create this value when you create an attribute of type `event` in the Campaign Manager.
Attributes Pointer to map[string]interface{} Arbitrary additional JSON properties associated with the event. They must be created in the Campaign Manager before setting them with this property. See creating custom attributes. [optional]

Methods

NewEventV2

func NewEventV2(type_ string, ) *EventV2

NewEventV2 instantiates a new EventV2 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewEventV2WithDefaults

func NewEventV2WithDefaults() *EventV2

NewEventV2WithDefaults instantiates a new EventV2 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetProfileId

func (o *EventV2) GetProfileId() string

GetProfileId returns the ProfileId field if non-nil, zero value otherwise.

GetProfileIdOk

func (o *EventV2) GetProfileIdOk() (*string, bool)

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

SetProfileId

func (o *EventV2) SetProfileId(v string)

SetProfileId sets ProfileId field to given value.

HasProfileId

func (o *EventV2) HasProfileId() bool

HasProfileId returns a boolean if a field has been set.

GetStoreIntegrationId

func (o *EventV2) GetStoreIntegrationId() string

GetStoreIntegrationId returns the StoreIntegrationId field if non-nil, zero value otherwise.

GetStoreIntegrationIdOk

func (o *EventV2) GetStoreIntegrationIdOk() (*string, bool)

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

SetStoreIntegrationId

func (o *EventV2) SetStoreIntegrationId(v string)

SetStoreIntegrationId sets StoreIntegrationId field to given value.

HasStoreIntegrationId

func (o *EventV2) HasStoreIntegrationId() bool

HasStoreIntegrationId returns a boolean if a field has been set.

GetEvaluableCampaignIds

func (o *EventV2) GetEvaluableCampaignIds() []int64

GetEvaluableCampaignIds returns the EvaluableCampaignIds field if non-nil, zero value otherwise.

GetEvaluableCampaignIdsOk

func (o *EventV2) GetEvaluableCampaignIdsOk() (*[]int64, bool)

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

SetEvaluableCampaignIds

func (o *EventV2) SetEvaluableCampaignIds(v []int64)

SetEvaluableCampaignIds sets EvaluableCampaignIds field to given value.

HasEvaluableCampaignIds

func (o *EventV2) HasEvaluableCampaignIds() bool

HasEvaluableCampaignIds returns a boolean if a field has been set.

GetType

func (o *EventV2) GetType() string

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

GetTypeOk

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

SetType

func (o *EventV2) SetType(v string)

SetType sets Type field to given value.

GetAttributes

func (o *EventV2) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field if non-nil, zero value otherwise.

GetAttributesOk

func (o *EventV2) GetAttributesOk() (*map[string]interface{}, bool)

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

SetAttributes

func (o *EventV2) SetAttributes(v map[string]interface{})

SetAttributes sets Attributes field to given value.

HasAttributes

func (o *EventV2) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

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