Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.13 KB

File metadata and controls

37 lines (28 loc) · 2.13 KB

ContextInstanceSegmentMembership

Properties

Name Type Description Notes
name str A human-friendly name for the segment
key str A unique key used to reference the segment
description str A description of the segment's purpose
unbounded bool Whether this is an unbounded segment. Unbounded segments, also called big segments, may be list-based segments with more than 15,000 entries, or synced segments.
external str If the segment is a synced segment, the name of the external source
is_member bool Whether the context is a member of this segment, either by explicit inclusion or by rule matching
is_individually_targeted bool Whether the context is explicitly included in this segment
is_rule_targeted bool Whether the context is captured by this segment's rules. The value of this field is undefined if the context is also explicitly included (<code>isIndividuallyTargeted</code> is <code>true</code>).
links Dict[str, Link] The location and content type of related resources

Example

from launchdarkly_api.models.context_instance_segment_membership import ContextInstanceSegmentMembership

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

# convert the object into a dict
context_instance_segment_membership_dict = context_instance_segment_membership_instance.to_dict()
# create an instance of ContextInstanceSegmentMembership from a dict
context_instance_segment_membership_from_dict = ContextInstanceSegmentMembership.from_dict(context_instance_segment_membership_dict)

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