Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.38 KB

File metadata and controls

31 lines (22 loc) · 1.38 KB

TriggerPost

Properties

Name Type Description Notes
comment str Optional comment describing the trigger [optional]
instructions List[Dict[str, object]] The action to perform when triggering. This should be an array with a single object that looks like <code>{&quot;kind&quot;: &quot;flag_action&quot;}</code>. Supported flag actions are <code>turnFlagOn</code> and <code>turnFlagOff</code>. [optional]
integration_key str The unique identifier of the integration for your trigger. Use <code>generic-trigger</code> for integrations not explicitly supported.

Example

from launchdarkly_api.models.trigger_post import TriggerPost

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

# convert the object into a dict
trigger_post_dict = trigger_post_instance.to_dict()
# create an instance of TriggerPost from a dict
trigger_post_from_dict = TriggerPost.from_dict(trigger_post_dict)

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