|
| 1 | +<?php |
| 2 | + |
| 3 | +// Generated file. Do not edit by hand. Use update.php in project root. |
| 4 | + |
| 5 | +namespace PHPFUI\ConstantContact\Definition; |
| 6 | + |
| 7 | +/** |
| 8 | + * @property string $description Provides the event description. |
| 9 | + * @property string $title The title for the event. The title does not have to be unique for an account. |
| 10 | + * @property string $name The name of the event, has to be unique for the account. |
| 11 | + * @property \PHPFUI\ConstantContact\UUID $event_id The ID that uniquely identifies the event. |
| 12 | + * @property \PHPFUI\ConstantContact\UUID $campaign_id The system assigned ID that uniquely identifies the event and is identical to the `event_id`. |
| 13 | + * @property string $event_start The date the event starts. |
| 14 | + * @property string $event_end The date the event ends. |
| 15 | + * @property string $event_type Identifies the event type. |
| 16 | + * @property string $eso The encrypted SOId. |
| 17 | + * @property \PHPFUI\ConstantContact\Definition\ContactDto $contact The contact information associated with the event. |
| 18 | + * @property string $create_time The time the event was created, in ISO format. Read-only. |
| 19 | + * @property string $active_time The time the event was published, in ISO format. |
| 20 | + * @property string $cancelled_time The time the event was cancelled, in ISO format. Read-only. |
| 21 | + * @property string $deleted_time The time the event was deleted, in ISO format. Read-only. |
| 22 | + * @property string $last_update_time The date and time the event was last modified. |
| 23 | + * @property \PHPFUI\ConstantContact\Definition\AddressDto $address |
| 24 | + * @property string $currency_type The accepted currency for payments. Required for events collecting payments ['AUD','BRL','CAD','CHF','CZK','DKK','EUR','GBP','HKD','HUF','ILS','JPY','MXN','MYR','NOK','NZD','PHP','PLN','RUB','SEK','SGD','THB','TRY','TWD','USD'] |
| 25 | + * @property \PHPFUI\ConstantContact\Definition\TrackDto $default_track |
| 26 | + * @property bool $display_contact_flag Display or hide event contact information on the registration form and registration confirmation message. |
| 27 | + * @property bool $display_end_time_flag Display or hide the event end time on the registration form and registration confirmation message. |
| 28 | + * @property bool $display_on_calendar_flag Display the event on the Event Calendar. |
| 29 | + * @property bool $display_time_zone_flag Display the time zone on the registration form and registration confirmation message. |
| 30 | + * @property string $event_calendar_url The event calendar URL. |
| 31 | + * @property \PHPFUI\ConstantContact\Definition\EventMetaDataDto $event_metadata Includes additional event information. |
| 32 | + * @property string $event_code The short code to use for the event. |
| 33 | + * @property array<\PHPFUI\ConstantContact\Definition\EventPromotionDto> $event_promotions List of event promotions. |
| 34 | + * @property \PHPFUI\ConstantContact\Definition\EventSettingsDto $event_settings |
| 35 | + * @property string $event_widget_url The event widget URL. |
| 36 | + * @property array<\PHPFUI\ConstantContact\UUID> $failed_campaign_activities List of failed campaign activities. |
| 37 | + * @property string $location_type Specifies if the event is physical and/or virtual, or to be determined. |
| 38 | + * @property bool $notify_owner_on_reg If `true`, sends an email to the event owner when a registration is made. |
| 39 | + * @property \PHPFUI\ConstantContact\Definition\OnlineMeetingDto $online_meeting The online meeting information for a virtual event. |
| 40 | + * @property \PHPFUI\ConstantContact\Definition\PaymentConfigurationDto $payment_configuration The virtual event's payment configuration information. |
| 41 | + * @property string $registration_url The event registration URL. |
| 42 | + * @property string $status Specifies the event's current status. |
| 43 | + * @property string $time_zone The time zone where the event takes place. |
| 44 | + * @property string $time_zone_abbreviation The abbreviation to use to indicate the time zone where the event takes place. |
| 45 | + */ |
| 46 | +class EventDto extends \PHPFUI\ConstantContact\Definition\Base |
| 47 | + { |
| 48 | + protected static array $fields = [ |
| 49 | + 'description' => 'string', |
| 50 | + 'title' => 'string', |
| 51 | + 'name' => 'string', |
| 52 | + 'event_id' => '\PHPFUI\ConstantContact\UUID', |
| 53 | + 'campaign_id' => '\PHPFUI\ConstantContact\UUID', |
| 54 | + 'event_start' => 'string', |
| 55 | + 'event_end' => 'string', |
| 56 | + 'event_type' => 'string', |
| 57 | + 'eso' => 'string', |
| 58 | + 'contact' => '\PHPFUI\ConstantContact\Definition\ContactDto', |
| 59 | + 'create_time' => 'string', |
| 60 | + 'active_time' => 'string', |
| 61 | + 'cancelled_time' => 'string', |
| 62 | + 'deleted_time' => 'string', |
| 63 | + 'last_update_time' => 'string', |
| 64 | + 'address' => '\PHPFUI\ConstantContact\Definition\AddressDto', |
| 65 | + 'currency_type' => 'string', |
| 66 | + 'default_track' => '\PHPFUI\ConstantContact\Definition\TrackDto', |
| 67 | + 'display_contact_flag' => 'bool', |
| 68 | + 'display_end_time_flag' => 'bool', |
| 69 | + 'display_on_calendar_flag' => 'bool', |
| 70 | + 'display_time_zone_flag' => 'bool', |
| 71 | + 'event_calendar_url' => 'string', |
| 72 | + 'event_metadata' => '\PHPFUI\ConstantContact\Definition\EventMetaDataDto', |
| 73 | + 'event_code' => 'string', |
| 74 | + 'event_promotions' => 'array<\PHPFUI\ConstantContact\Definition\EventPromotionDto>', |
| 75 | + 'event_settings' => '\PHPFUI\ConstantContact\Definition\EventSettingsDto', |
| 76 | + 'event_widget_url' => 'string', |
| 77 | + 'failed_campaign_activities' => 'array<\PHPFUI\ConstantContact\UUID>', |
| 78 | + 'location_type' => 'string', |
| 79 | + 'notify_owner_on_reg' => 'bool', |
| 80 | + 'online_meeting' => '\PHPFUI\ConstantContact\Definition\OnlineMeetingDto', |
| 81 | + 'payment_configuration' => '\PHPFUI\ConstantContact\Definition\PaymentConfigurationDto', |
| 82 | + 'registration_url' => 'string', |
| 83 | + 'status' => 'string', |
| 84 | + 'time_zone' => 'string', |
| 85 | + 'time_zone_abbreviation' => 'string', |
| 86 | + |
| 87 | + ]; |
| 88 | + |
| 89 | + protected static array $maxLength = [ |
| 90 | + 'description' => 600, |
| 91 | + 'title' => 100, |
| 92 | + 'name' => 100, |
| 93 | + |
| 94 | + ]; |
| 95 | + |
| 96 | + protected static array $minLength = [ |
| 97 | + 'description' => 0, |
| 98 | + 'name' => 1, |
| 99 | + |
| 100 | + ]; |
| 101 | + } |
0 commit comments