Skip to content

Latest commit

 

History

History
143 lines (76 loc) · 4.18 KB

NewEvent.md

File metadata and controls

143 lines (76 loc) · 4.18 KB

NewEvent

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]
Type Pointer to string A string representing the event. Must not be a reserved event name.
Attributes Pointer to map[string]interface{} Arbitrary additional JSON data associated with the event.
SessionId Pointer to string The ID of the session that this event occurred in.

Methods

GetProfileId

func (o *NewEvent) GetProfileId() string

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

GetProfileIdOk

func (o *NewEvent) 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 *NewEvent) HasProfileId() bool

HasProfileId returns a boolean if a field has been set.

SetProfileId

func (o *NewEvent) SetProfileId(v string)

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

GetStoreIntegrationId

func (o *NewEvent) GetStoreIntegrationId() string

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

GetStoreIntegrationIdOk

func (o *NewEvent) 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 *NewEvent) HasStoreIntegrationId() bool

HasStoreIntegrationId returns a boolean if a field has been set.

SetStoreIntegrationId

func (o *NewEvent) SetStoreIntegrationId(v string)

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

GetType

func (o *NewEvent) GetType() string

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

GetTypeOk

func (o *NewEvent) 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 *NewEvent) HasType() bool

HasType returns a boolean if a field has been set.

SetType

func (o *NewEvent) SetType(v string)

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

GetAttributes

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

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

GetAttributesOk

func (o *NewEvent) 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 *NewEvent) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

SetAttributes

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

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

GetSessionId

func (o *NewEvent) GetSessionId() string

GetSessionId returns the SessionId field if non-nil, zero value otherwise.

GetSessionIdOk

func (o *NewEvent) GetSessionIdOk() (string, bool)

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

HasSessionId

func (o *NewEvent) HasSessionId() bool

HasSessionId returns a boolean if a field has been set.

SetSessionId

func (o *NewEvent) SetSessionId(v string)

SetSessionId gets a reference to the given string and assigns it to the SessionId field.

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