ActivityResponse class
Provides information about an activity that was performed by a campaign.
Constructors
- ActivityResponse({required String applicationId, required String campaignId, required String id, String? end, String? result, String? scheduledStart, String? start, String? state, int? successfulEndpointCount, int? timezonesCompletedCount, int? timezonesTotalCount, int? totalEndpointCount, String? treatmentId})
-
ActivityResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- applicationId → String
-
The unique identifier for the application that the campaign applies to.
final
- campaignId → String
-
The unique identifier for the campaign that the activity applies to.
final
- end → String?
-
The actual time, in ISO 8601 format, when the activity was marked CANCELLED
or COMPLETED.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier for the activity.
final
- result → String?
-
Specifies whether the activity succeeded. Possible values are SUCCESS and
FAIL.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledStart → String?
-
The scheduled start time, in ISO 8601 format, for the activity.
final
- start → String?
-
The actual start time, in ISO 8601 format, of the activity.
final
- state → String?
-
The current status of the activity. Possible values are: PENDING,
INITIALIZING, RUNNING, PAUSED, CANCELLED, and COMPLETED.
final
- successfulEndpointCount → int?
-
The total number of endpoints that the campaign successfully delivered
messages to.
final
- timezonesCompletedCount → int?
-
The total number of time zones that were completed.
final
- timezonesTotalCount → int?
-
The total number of unique time zones that are in the segment for the
campaign.
final
- totalEndpointCount → int?
-
The total number of endpoints that the campaign attempted to deliver
messages to.
final
- treatmentId → String?
-
The unique identifier for the campaign treatment that the activity applies
to. A treatment is a variation of a campaign that's used for A/B testing of
a campaign.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited