| 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>{"kind": "flag_action"}</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. |
|
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]