Skip to content

Latest commit

 

History

History
103 lines (56 loc) · 3.31 KB

TriggerPost.md

File metadata and controls

103 lines (56 loc) · 3.31 KB

TriggerPost

Properties

Name Type Description Notes
Comment Pointer to string Optional comment describing the trigger [optional]
Instructions Pointer to []map[string]interface{} 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]
IntegrationKey string The unique identifier of the integration for your trigger. Use <code>generic-trigger</code> for integrations not explicitly supported.

Methods

NewTriggerPost

func NewTriggerPost(integrationKey string, ) *TriggerPost

NewTriggerPost instantiates a new TriggerPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTriggerPostWithDefaults

func NewTriggerPostWithDefaults() *TriggerPost

NewTriggerPostWithDefaults instantiates a new TriggerPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetComment

func (o *TriggerPost) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *TriggerPost) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetComment

func (o *TriggerPost) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *TriggerPost) HasComment() bool

HasComment returns a boolean if a field has been set.

GetInstructions

func (o *TriggerPost) GetInstructions() []map[string]interface{}

GetInstructions returns the Instructions field if non-nil, zero value otherwise.

GetInstructionsOk

func (o *TriggerPost) GetInstructionsOk() (*[]map[string]interface{}, bool)

GetInstructionsOk returns a tuple with the Instructions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInstructions

func (o *TriggerPost) SetInstructions(v []map[string]interface{})

SetInstructions sets Instructions field to given value.

HasInstructions

func (o *TriggerPost) HasInstructions() bool

HasInstructions returns a boolean if a field has been set.

GetIntegrationKey

func (o *TriggerPost) GetIntegrationKey() string

GetIntegrationKey returns the IntegrationKey field if non-nil, zero value otherwise.

GetIntegrationKeyOk

func (o *TriggerPost) GetIntegrationKeyOk() (*string, bool)

GetIntegrationKeyOk returns a tuple with the IntegrationKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIntegrationKey

func (o *TriggerPost) SetIntegrationKey(v string)

SetIntegrationKey sets IntegrationKey field to given value.

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