Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 961 Bytes

Segment.md

File metadata and controls

31 lines (22 loc) · 961 Bytes

Segment

Dynamic collection of Contacts, managed by SQL-like rule.

Properties

Name Type Description Notes
name str Segment name [optional]
rule str SQL-like rule to determine which Contacts belong to this Segment. [optional]

Example

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)

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