Skip to content

Latest commit

 

History

History
143 lines (76 loc) · 4.96 KB

EventV2.md

File metadata and controls

143 lines (76 loc) · 4.96 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 []int32 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

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.

HasProfileId

func (o *EventV2) HasProfileId() bool

HasProfileId returns a boolean if a field has been set.

SetProfileId

func (o *EventV2) SetProfileId(v string)

SetProfileId gets a reference to the given string and assigns it to the ProfileId field.

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.

HasStoreIntegrationId

func (o *EventV2) HasStoreIntegrationId() bool

HasStoreIntegrationId returns a boolean if a field has been set.

SetStoreIntegrationId

func (o *EventV2) SetStoreIntegrationId(v string)

SetStoreIntegrationId gets a reference to the given string and assigns it to the StoreIntegrationId field.

GetEvaluableCampaignIds

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

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

GetEvaluableCampaignIdsOk

func (o *EventV2) GetEvaluableCampaignIdsOk() ([]int32, 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.

HasEvaluableCampaignIds

func (o *EventV2) HasEvaluableCampaignIds() bool

HasEvaluableCampaignIds returns a boolean if a field has been set.

SetEvaluableCampaignIds

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

SetEvaluableCampaignIds gets a reference to the given []int32 and assigns it to the EvaluableCampaignIds field.

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.

HasType

func (o *EventV2) HasType() bool

HasType returns a boolean if a field has been set.

SetType

func (o *EventV2) SetType(v string)

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

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.

HasAttributes

func (o *EventV2) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

SetAttributes

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

SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.

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