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>{"kind": "flag_action"}</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. |
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
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
func (o *TriggerPost) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
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.
func (o *TriggerPost) SetComment(v string)
SetComment sets Comment field to given value.
func (o *TriggerPost) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *TriggerPost) GetInstructions() []map[string]interface{}
GetInstructions returns the Instructions field if non-nil, zero value otherwise.
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.
func (o *TriggerPost) SetInstructions(v []map[string]interface{})
SetInstructions sets Instructions field to given value.
func (o *TriggerPost) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (o *TriggerPost) GetIntegrationKey() string
GetIntegrationKey returns the IntegrationKey field if non-nil, zero value otherwise.
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.
func (o *TriggerPost) SetIntegrationKey(v string)
SetIntegrationKey sets IntegrationKey field to given value.