Application.php
1 year ago
ApplicationCollection.php
1 year ago
BaseObject.php
1 year ago
Campaign.php
1 year ago
CampaignCapping.php
1 year ago
CampaignCollection.php
1 year ago
CampaignSchedule.php
1 year ago
CampaignSchedulePressure.php
1 year ago
CampaignScheduleUrlCriterion.php
1 year ago
CampaignStats.php
1 year ago
CampaignSuccessResponse.php
1 year ago
CampaignUrlFilters.php
1 year ago
Collection.php
1 year ago
DeliveriesCreateResponse.php
1 year ago
Event.php
1 year ago
FrequentFieldValues.php
1 year ago
GeoLocation.php
1 year ago
Installation.php
1 year ago
InstallationApplication.php
1 year ago
InstallationApplicationApple.php
1 year ago
InstallationCollection.php
1 year ago
InstallationDevice.php
1 year ago
InstallationDeviceCapabilities.php
1 year ago
InstallationDeviceConfiguration.php
1 year ago
InstallationPreferences.php
1 year ago
InstallationPushToken.php
1 year ago
Notification.php
1 year ago
NotificationAlert.php
1 year ago
NotificationAlertAndroid.php
1 year ago
NotificationAlertAndroidButton.php
1 year ago
NotificationAlertIos.php
1 year ago
NotificationAlertIosAttachment.php
1 year ago
NotificationAlertIosForeground.php
1 year ago
NotificationAlertWeb.php
1 year ago
NotificationAlertWebButton.php
1 year ago
NotificationButton.php
1 year ago
NotificationButtonAction.php
1 year ago
NotificationButtonActionEvent.php
1 year ago
NotificationInApp.php
1 year ago
NotificationInAppButton.php
1 year ago
NotificationInAppMap.php
1 year ago
NotificationInAppMapPlace.php
1 year ago
NotificationPush.php
1 year ago
NotificationPushAndroid.php
1 year ago
NotificationPushIos.php
1 year ago
NotificationPushWeb.php
1 year ago
NullObject.php
1 year ago
Pagination.php
1 year ago
Segment.php
1 year ago
SegmentCollection.php
1 year ago
SuccessResponse.php
1 year ago
User.php
1 year ago
WebSdkInitOptions.php
1 year ago
CampaignSchedule.php
277 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WonderPush\Obj; |
| 4 | |
| 5 | class CampaignSchedule extends BaseObject { |
| 6 | /** @var string */ |
| 7 | private $type; |
| 8 | /** @var bool */ |
| 9 | private $bestMoment; |
| 10 | /** @var string */ |
| 11 | private $localDateTimeISOString; |
| 12 | /** @var int */ |
| 13 | private $lastTriggeredDate; |
| 14 | /** @var int */ |
| 15 | private $startDate; |
| 16 | /** @var int */ |
| 17 | private $endDate; |
| 18 | /** @var int */ |
| 19 | private $date; |
| 20 | /** @var string */ |
| 21 | private $period; |
| 22 | /** @var string */ |
| 23 | private $delay; |
| 24 | /** @var CampaignSchedulePressure */ |
| 25 | private $pressure; |
| 26 | /** @var string */ |
| 27 | private $eventType; |
| 28 | /** @var object */ |
| 29 | private $eventCriteria; |
| 30 | /** @var string[] */ |
| 31 | private $cancelEventTypes; |
| 32 | /** @var CampaignScheduleUrlCriterion[] */ |
| 33 | private $urlCriteria; |
| 34 | /** @var CampaignScheduleUrlCriterion[] */ |
| 35 | private $cancelUrlCriteria; |
| 36 | |
| 37 | /** |
| 38 | * @return string |
| 39 | */ |
| 40 | public function getType() { |
| 41 | return $this->type; |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * @param string $type |
| 46 | * @return CampaignSchedule |
| 47 | */ |
| 48 | public function setType($type) { |
| 49 | $this->type = $type; |
| 50 | return $this; |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * @return bool |
| 55 | */ |
| 56 | public function isBestMoment() { |
| 57 | return $this->bestMoment; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * @param bool $bestMoment |
| 62 | * @return CampaignSchedule |
| 63 | */ |
| 64 | public function setBestMoment($bestMoment) { |
| 65 | $this->bestMoment = $bestMoment; |
| 66 | return $this; |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * @return string |
| 71 | */ |
| 72 | public function getLocalDateTimeISOString() { |
| 73 | return $this->localDateTimeISOString; |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * @param string $localDateTimeISOString |
| 78 | * @return CampaignSchedule |
| 79 | */ |
| 80 | public function setLocalDateTimeISOString($localDateTimeISOString) { |
| 81 | $this->localDateTimeISOString = $localDateTimeISOString; |
| 82 | return $this; |
| 83 | } |
| 84 | |
| 85 | /** |
| 86 | * @return int |
| 87 | */ |
| 88 | public function getLastTriggeredDate() { |
| 89 | return $this->lastTriggeredDate; |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * @param int $lastTriggeredDate |
| 94 | * @return CampaignSchedule |
| 95 | */ |
| 96 | public function setLastTriggeredDate($lastTriggeredDate) { |
| 97 | $this->lastTriggeredDate = $lastTriggeredDate; |
| 98 | return $this; |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * @return int |
| 103 | */ |
| 104 | public function getStartDate() { |
| 105 | return $this->startDate; |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * @param int $startDate |
| 110 | * @return CampaignSchedule |
| 111 | */ |
| 112 | public function setStartDate($startDate) { |
| 113 | $this->startDate = $startDate; |
| 114 | return $this; |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * @return int |
| 119 | */ |
| 120 | public function getEndDate() { |
| 121 | return $this->endDate; |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * @param int $endDate |
| 126 | * @return CampaignSchedule |
| 127 | */ |
| 128 | public function setEndDate($endDate) { |
| 129 | $this->endDate = $endDate; |
| 130 | return $this; |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * @return int |
| 135 | */ |
| 136 | public function getDate() { |
| 137 | return $this->date; |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * @param int $date |
| 142 | * @return CampaignSchedule |
| 143 | */ |
| 144 | public function setDate($date) { |
| 145 | $this->date = $date; |
| 146 | return $this; |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * @return string |
| 151 | */ |
| 152 | public function getPeriod() { |
| 153 | return $this->period; |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * @param string $period |
| 158 | * @return CampaignSchedule |
| 159 | */ |
| 160 | public function setPeriod($period) { |
| 161 | $this->period = $period; |
| 162 | return $this; |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * @return string |
| 167 | */ |
| 168 | public function getDelay() { |
| 169 | return $this->delay; |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * @param string $delay |
| 174 | * @return CampaignSchedule |
| 175 | */ |
| 176 | public function setDelay($delay) { |
| 177 | $this->delay = $delay; |
| 178 | return $this; |
| 179 | } |
| 180 | |
| 181 | /** |
| 182 | * @return CampaignSchedulePressure |
| 183 | */ |
| 184 | public function getPressure() { |
| 185 | return $this->pressure; |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * @param CampaignSchedulePressure $pressure |
| 190 | * @return CampaignSchedule |
| 191 | */ |
| 192 | public function setPressure($pressure) { |
| 193 | $this->pressure = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignSchedulePressure', $pressure); |
| 194 | return $this; |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * @return string |
| 199 | */ |
| 200 | public function getEventType() { |
| 201 | return $this->eventType; |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * @param string $eventType |
| 206 | * @return CampaignSchedule |
| 207 | */ |
| 208 | public function setEventType($eventType) { |
| 209 | $this->eventType = $eventType; |
| 210 | return $this; |
| 211 | } |
| 212 | |
| 213 | /** |
| 214 | * @return object |
| 215 | */ |
| 216 | public function getEventCriteria() { |
| 217 | return $this->eventCriteria; |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * @param array $eventCriteria |
| 222 | * @return CampaignSchedule |
| 223 | */ |
| 224 | public function setEventCriteria($eventCriteria) { |
| 225 | $this->eventCriteria = (object)$eventCriteria; |
| 226 | return $this; |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * @return string[] |
| 231 | */ |
| 232 | public function getCancelEventTypes() { |
| 233 | return $this->cancelEventTypes; |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * @param string[] $cancelEventTypes |
| 238 | * @return CampaignSchedule |
| 239 | */ |
| 240 | public function setCancelEventTypes($cancelEventTypes) { |
| 241 | $this->cancelEventTypes = $cancelEventTypes; |
| 242 | return $this; |
| 243 | } |
| 244 | |
| 245 | /** |
| 246 | * @return CampaignScheduleUrlCriterion[] |
| 247 | */ |
| 248 | public function getUrlCriteria() { |
| 249 | return $this->urlCriteria; |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * @param CampaignScheduleUrlCriterion[] $urlCriteria |
| 254 | * @return CampaignSchedule |
| 255 | */ |
| 256 | public function setUrlCriteria($urlCriteria) { |
| 257 | $this->urlCriteria = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignScheduleUrlCriterion[]', $urlCriteria); |
| 258 | return $this; |
| 259 | } |
| 260 | |
| 261 | /** |
| 262 | * @return CampaignScheduleUrlCriterion[] |
| 263 | */ |
| 264 | public function getCancelUrlCriteria() { |
| 265 | return $this->cancelUrlCriteria; |
| 266 | } |
| 267 | |
| 268 | /** |
| 269 | * @param CampaignScheduleUrlCriterion[] $cancelUrlCriteria |
| 270 | * @return CampaignSchedule |
| 271 | */ |
| 272 | public function setCancelUrlCriteria($cancelUrlCriteria) { |
| 273 | $this->cancelUrlCriteria = BaseObject::instantiateForSetter('\WonderPush\Obj\CampaignScheduleUrlCriterion[]', $cancelUrlCriteria); |
| 274 | return $this; |
| 275 | } |
| 276 | |
| 277 | } |