Dynamic collection of Contacts, managed by SQL-like rule.
Name | Type | Description | Notes |
---|---|---|---|
name | str | Segment name | [optional] |
rule | str | SQL-like rule to determine which Contacts belong to this Segment. | [optional] |
from ElasticEmail.models.segment import Segment
# TODO update the JSON string below
json = "{}"
# create an instance of Segment from a JSON string
segment_instance = Segment.from_json(json)
# print the JSON string representation of the object
print(Segment.to_json())
# convert the object into a dict
segment_dict = segment_instance.to_dict()
# create an instance of Segment from a dict
segment_from_dict = Segment.from_dict(segment_dict)