TreatmentResource

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard
val id: String?

The unique identifier for the treatment.

Link copied to clipboard

The message configuration settings for the treatment.

Link copied to clipboard

The schedule settings for the treatment.

Link copied to clipboard

The allocated percentage of users (segment members) that the treatment is sent to.

Link copied to clipboard

The current status of the treatment.

Link copied to clipboard

The message template to use for the treatment.

Link copied to clipboard

The custom description of the treatment.

Link copied to clipboard

The custom name of the treatment.

Functions

Link copied to clipboard
inline fun copy(block: TreatmentResource.Builder.() -> Unit = {}): TreatmentResource
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String