Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.07 KB

File metadata and controls

30 lines (21 loc) · 1.07 KB

SegmentPayload

Properties

Name Type Description Notes
name str Segment name
rule str SQL-like rule to determine which Contacts belong to this Segment. Help for building a segment rule can be found here: https://help.elasticemail.com/en/articles/5162182-segment-rules

Example

from ElasticEmail.models.segment_payload import SegmentPayload

# TODO update the JSON string below
json = "{}"
# create an instance of SegmentPayload from a JSON string
segment_payload_instance = SegmentPayload.from_json(json)
# print the JSON string representation of the object
print(SegmentPayload.to_json())

# convert the object into a dict
segment_payload_dict = segment_payload_instance.to_dict()
# create an instance of SegmentPayload from a dict
segment_payload_from_dict = SegmentPayload.from_dict(segment_payload_dict)

[Back to Model list] [Back to API list] [Back to README]