WriteTreatmentResource class

Specifies the settings for a campaign treatment. A treatment is a variation of a campaign that's used for A/B testing of a campaign.

Constructors

WriteTreatmentResource({required int sizePercent, CustomDeliveryConfiguration? customDeliveryConfiguration, MessageConfiguration? messageConfiguration, Schedule? schedule, TemplateConfiguration? templateConfiguration, String? treatmentDescription, String? treatmentName})

Properties

customDeliveryConfiguration CustomDeliveryConfiguration?
The delivery configuration settings for sending the treatment through a custom channel. This object is required if the MessageConfiguration object for the treatment specifies a CustomMessage object.
final
hashCode int
The hash code for this object.
no setterinherited
messageConfiguration MessageConfiguration?
The message configuration settings for the treatment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schedule Schedule?
The schedule settings for the treatment.
final
sizePercent int
The allocated percentage of users (segment members) to send the treatment to.
final
templateConfiguration TemplateConfiguration?
The message template to use for the treatment.
final
treatmentDescription String?
A custom description of the treatment.
final
treatmentName String?
A custom name for the treatment.
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