Schedule class

Specifies the schedule settings for a campaign.

Constructors

Schedule({required String startTime, String? endTime, CampaignEventFilter? eventFilter, Frequency? frequency, bool? isLocalTime, QuietTime? quietTime, String? timezone})
Schedule.fromJson(Map<String, dynamic> json)
factory

Properties

endTime String?
The scheduled time, in ISO 8601 format, when the campaign ended or will end.
final
eventFilter CampaignEventFilter?
The type of event that causes the campaign to be sent, if the value of the Frequency property is EVENT.
final
frequency Frequency?
Specifies how often the campaign is sent or whether the campaign is sent in response to a specific event.
final
hashCode int
The hash code for this object.
no setterinherited
isLocalTime bool?
Specifies whether the start and end times for the campaign schedule use each recipient's local time. To base the schedule on each recipient's local time, set this value to true.
final
quietTime QuietTime?
The default quiet time for the campaign. Quiet time is a specific time range when a campaign doesn't send messages to endpoints, if all the following conditions are met:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime String
The scheduled time when the campaign began or will begin. Valid values are: IMMEDIATE, to start the campaign immediately; or, a specific time in ISO 8601 format.
final
timezone String?
The starting UTC offset for the campaign schedule, if the value of the IsLocalTime property is true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+13, UTC-02, UTC-03, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09, UTC-10, and UTC-11.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited