# KlaviyoAPI::EventCreateQueryV2ResourceObjectAttributes ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **properties** | **Object** | Properties of this event. Any top level property (that are not objects) can be used to create segments. The $extra property is a special property. This records any non-segmentable values that can be referenced later. For example, HTML templates are useful on a segment but are not used to create a segment. There are limits placed onto the size of the data present. This must not exceed 5 MB. This must not exceed 300 event properties. A single string cannot be larger than 100 KB. Each array must not exceed 4000 elements. The properties cannot contain more than 10 nested levels. | | | **time** | **Time** | When this event occurred. By default, the time the request was received will be used. The time is truncated to the second. The time must be after the year 2000 and can only be up to 1 year in the future. | [optional] | | **value** | **Float** | A numeric, monetary value to associate with this event. For example, the dollar amount of a purchase. | [optional] | | **value_currency** | **String** | The ISO 4217 currency code of the value associated with the event. | [optional] | | **unique_id** | **String** | A unique identifier for an event. If the unique_id is repeated for the same profile and metric, only the first processed event will be recorded. If this is not present, this will use the time to the second. Using the default, this limits only one event per profile per second. | [optional] | | **metric** | [**EventCreateQueryV2ResourceObjectAttributesMetric**](EventCreateQueryV2ResourceObjectAttributesMetric.md) | | | | **profile** | [**EventCreateQueryV2ResourceObjectAttributesProfile**](EventCreateQueryV2ResourceObjectAttributesProfile.md) | | | ## Example ```ruby require 'klaviyo-api-sdk' instance = KlaviyoAPI::EventCreateQueryV2ResourceObjectAttributes.new( properties: {"Brand":"Kids Book","Categories":["Fiction","Children"],"ProductID":1111,"ProductName":"Winnie the Pooh","$extra":{"URL":"http://www.example.com/path/to/product","ImageURL":"http://www.example.com/path/to/product/image.png"}}, time: 2022-11-08T00:00Z, value: 9.99, value_currency: USD, unique_id: null, metric: null, profile: null ) ```