Skip to content

WriteTreatmentResource

Source code in docs_src/capo_pinpoint/types/write_treatment_resource.py
class WriteTreatmentResource(TypedDict, closed=True):
    custom_delivery_configuration: NotRequired[
        "capo_pinpoint.types.custom_delivery_configuration.CustomDeliveryConfiguration"
    ]
    """<p>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.</p>"""
    message_configuration: NotRequired[
        "capo_pinpoint.types.message_configuration.MessageConfiguration"
    ]
    """<p>The message configuration settings for the treatment.</p>"""
    schedule: NotRequired["capo_pinpoint.types.schedule.Schedule"]
    """<p>The schedule settings for the treatment.</p>"""
    size_percent: NotRequired["capo_pinpoint.types.__integer.__integer"]
    """<p>The allocated percentage of users (segment members) to send the treatment to.</p>"""
    template_configuration: NotRequired[
        "capo_pinpoint.types.template_configuration.TemplateConfiguration"
    ]
    """<p>The message template to use for the treatment.</p>"""
    treatment_description: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>A custom description of the treatment.</p>"""
    treatment_name: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>A custom name for the treatment.</p>"""

custom_delivery_configuration instance-attribute

custom_delivery_configuration: NotRequired[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.

message_configuration instance-attribute

message_configuration: NotRequired[MessageConfiguration]

The message configuration settings for the treatment.

schedule instance-attribute

schedule: NotRequired[Schedule]

The schedule settings for the treatment.

size_percent instance-attribute

size_percent: NotRequired[__integer]

The allocated percentage of users (segment members) to send the treatment to.

template_configuration instance-attribute

template_configuration: NotRequired[TemplateConfiguration]

The message template to use for the treatment.

treatment_description instance-attribute

treatment_description: NotRequired[__string]

A custom description of the treatment.

treatment_name instance-attribute

treatment_name: NotRequired[__string]

A custom name for the treatment.