docs/Giveaway.md in talon_one-2.5.1 vs docs/Giveaway.md in talon_one-3.0.0
- old
+ new
@@ -2,32 +2,36 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**id** | **Integer** | Unique ID for this entity. |
-**created** | **DateTime** | The exact moment this entity was created. |
+**id** | **Integer** | Internal ID of this entity. |
+**created** | **DateTime** | The time this entity was created. |
**code** | **String** | The code value of this giveaway. |
**pool_id** | **Integer** | The ID of the pool to return giveaway codes from. |
**start_date** | **DateTime** | Timestamp at which point the giveaway becomes valid. | [optional]
**end_date** | **DateTime** | Timestamp at which point the giveaway becomes invalid. | [optional]
**attributes** | [**Object**](.md) | Arbitrary properties associated with this giveaway. | [optional]
**used** | **Boolean** | Indicates whether this giveaway code was given before. | [optional]
**import_id** | **Integer** | The ID of the Import which created this giveaway. | [optional]
+**profile_integration_id** | **String** | The third-party integration ID of the customer profile that was awarded the giveaway, if the giveaway was awarded. | [optional]
+**profile_id** | **Integer** | The internal ID of the customer profile that was awarded the giveaway, if the giveaway was awarded and an internal ID exists. | [optional]
## Code Sample
```ruby
require 'TalonOne'
instance = TalonOne::Giveaway.new(id: 6,
created: 2020-06-10T09:05:27.993483Z,
- code: null,
- pool_id: null,
+ code: GIVEAWAY1,
+ pool_id: 1,
start_date: null,
end_date: null,
attributes: null,
- used: null,
- import_id: null)
+ used: true,
+ import_id: 4,
+ profile_integration_id: R195412,
+ profile_id: 1)
```