Sha256: 2ad7fb0ecc4b3dcead7502af484d5f37f62f56ea328c57e42c0b8a0ff3e74be7
Contents?: true
Size: 1.8 KB
Versions: 6
Compression:
Stored size: 1.8 KB
Contents
# TalonOne::Giveaway ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **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: GIVEAWAY1, pool_id: 1, start_date: null, end_date: null, attributes: null, used: true, import_id: 4, profile_integration_id: R195412, profile_id: 1) ```
Version data entries
6 entries across 6 versions & 1 rubygems