Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.72 KB

EnvironmentReleaseClause.md

File metadata and controls

34 lines (25 loc) · 1.72 KB

EnvironmentReleaseClause

One targeting clause of a rule created for the release.

Properties

Name Type Description Notes
context_kind str Context kind the clause applies to. Omit for `segmentMatch`. [optional]
attribute str
op str One of `in`, `endsWith`, `startsWith`, `matches`, `contains`, `lessThan`, `lessThanOrEqual`, `greaterThan`, `greaterThanOrEqual`, `before`, `after`, `segmentMatch`, `semVerEqual`, `semVerLessThan`, `semVerGreaterThan`.
values List[object] JSON primitives only (strings, numbers, booleans); objects, arrays, and null are rejected.
negate bool [optional] [default to False]

Example

from launchdarkly_api.models.environment_release_clause import EnvironmentReleaseClause

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

# convert the object into a dict
environment_release_clause_dict = environment_release_clause_instance.to_dict()
# create an instance of EnvironmentReleaseClause from a dict
environment_release_clause_from_dict = EnvironmentReleaseClause.from_dict(environment_release_clause_dict)

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