Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.13 KB

File metadata and controls

24 lines (17 loc) · 1.13 KB

TriggerPost

Properties

Name Type Description Notes
comment string Optional comment describing the trigger [optional] [default to undefined]
instructions Array<{ [key: string]: any; }> 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] [default to undefined]
integrationKey string The unique identifier of the integration for your trigger. Use <code>generic-trigger</code> for integrations not explicitly supported. [default to undefined]

Example

import { TriggerPost } from 'launchdarkly-api-typescript';

const instance: TriggerPost = {
    comment,
    instructions,
    integrationKey,
};

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