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. |
func (o *NewEvent) GetProfileId() string
GetProfileId returns the ProfileId field if non-nil, zero value otherwise.
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.
func (o *NewEvent) HasProfileId() bool
HasProfileId returns a boolean if a field has been set.
func (o *NewEvent) SetProfileId(v string)
SetProfileId gets a reference to the given string and assigns it to the ProfileId field.
func (o *NewEvent) GetStoreIntegrationId() string
GetStoreIntegrationId returns the StoreIntegrationId field if non-nil, zero value otherwise.
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.
func (o *NewEvent) HasStoreIntegrationId() bool
HasStoreIntegrationId returns a boolean if a field has been set.
func (o *NewEvent) SetStoreIntegrationId(v string)
SetStoreIntegrationId gets a reference to the given string and assigns it to the StoreIntegrationId field.
func (o *NewEvent) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *NewEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (o *NewEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (o *NewEvent) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
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.
func (o *NewEvent) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
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.
func (o *NewEvent) GetSessionId() string
GetSessionId returns the SessionId field if non-nil, zero value otherwise.
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.
func (o *NewEvent) HasSessionId() bool
HasSessionId returns a boolean if a field has been set.
func (o *NewEvent) SetSessionId(v string)
SetSessionId gets a reference to the given string and assigns it to the SessionId field.