Simplified campaign data.
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | Campaign ID. | [optional] |
| Name | string | Campaign name. | [optional] |
| CampaignType | string | Type of campaign. | [optional] |
| Type | string | Defines whether the campaign can be updated with new vouchers after campaign creation or if the campaign consists of generic (standalone) vouchers. - `AUTO_UPDATE`: the campaign is dynamic, i.e. vouchers will generate based on set criteria - `STATIC`: vouchers need to be manually published - `STANDALONE`: campaign for single vouchers | [optional] |
| IsReferralCode | bool? | Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`. | [optional] |
| Voucher | SimpleCampaignVoucher | [optional] | |
| ReferralProgram | ReferralProgram | [optional] | |
| AutoJoin | bool? | Indicates whether customers will be able to auto-join the campaign if any earning rule is fulfilled. | [optional] |
| JoinOnce | bool? | If this value is set to `true`, customers will be able to join the campaign only once. It is always `false` for generic (standalone) vouchers campaigns and it cannot be changed in them. It is always `true` for loyalty campaigns and it cannot be changed in them. | [optional] |
| Active | bool? | Indicates whether the campaign is active. | [optional] |
| CategoryId | string | The unique category ID that this campaign belongs to. | [optional] |
| Category | string | Unique category name. | [optional] |
| Categories | List<Category> | Contains details about the category. | [optional] |
| Metadata | Object | A set of custom key/value pairs that you can attach to a campaign. The metadata object stores all custom attributes assigned to the campaign. | [optional] |
| StartDate | DateTimeOffset? | Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is inactive before this date. | [optional] |
| ExpirationDate | DateTimeOffset? | Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is inactive after this date. | [optional] |
| Description | string | An optional field to keep extra textual information about the campaign such as a campaign description and details. | [optional] |
| CreatedAt | DateTimeOffset? | Timestamp representing the date and time when the campaign was created. The value is shown in the ISO 8601 format. | [optional] |
| UpdatedAt | DateTimeOffset? | Timestamp representing the date and time when the campaign was updated in the ISO 8601 format. | [optional] |
| Object | string | The type of the object represented by JSON. This object stores information about the campaign. | [optional] |