Update a campaign. Send at least one field; fields left out keep their current value.
| Name | Type | Description | Notes |
|---|---|---|---|
| title | str | Name the campaign is listed under. Not shown to the recipients. | [optional] |
| subject | str | Subject line of the email. | [optional] |
| sender_name | str | From name shown to the recipients. | [optional] |
| sender_email | str | From address of the campaign. Its domain has to be verified on the profile before the campaign can be sent. | [optional] |
| template_uuid | str | Template to send, as returned by the template endpoints. | [optional] |
| all_contacts | bool | `true` targets every contact of the profile, `false` targets only `segment_uuids`. Required when `segment_uuids` or `excluded_segment_uuids` is sent. | [optional] |
| segment_uuids | List[str] | Segments to target. Replaces the segments currently targeted. | [optional] |
| excluded_segment_uuids | List[str] | Segments to leave out. Only allowed together with `all_contacts: true`. | [optional] |
| metadata | ReachV1CampaignsStoreRequestMetadata | [optional] |
from hostinger_api.models.reach_v1_campaigns_update_request import ReachV1CampaignsUpdateRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ReachV1CampaignsUpdateRequest from a JSON string
reach_v1_campaigns_update_request_instance = ReachV1CampaignsUpdateRequest.from_json(json)
# print the JSON string representation of the object
print(ReachV1CampaignsUpdateRequest.to_json())
# convert the object into a dict
reach_v1_campaigns_update_request_dict = reach_v1_campaigns_update_request_instance.to_dict()
# create an instance of ReachV1CampaignsUpdateRequest from a dict
reach_v1_campaigns_update_request_from_dict = ReachV1CampaignsUpdateRequest.from_dict(reach_v1_campaigns_update_request_dict)