Name | Type | Description | Notes |
---|---|---|---|
Id | string | Unique identifier of the trigger. | |
Name | string | Trigger Name. | |
Type | TriggerType | ||
Description | Pointer to string | Trigger Description. | [optional] |
InputSchema | string | The JSON schema of the payload that will be sent by the trigger to the subscribed service. | |
ExampleInput | TriggerExampleInput | ||
OutputSchema | Pointer to NullableString | The JSON schema of the response that will be sent by the subscribed service to the trigger in response to an event. This only applies to a trigger type of `REQUEST_RESPONSE`. | [optional] |
ExampleOutput | Pointer to NullableTriggerExampleOutput | [optional] |
func NewTrigger(id string, name string, type_ TriggerType, inputSchema string, exampleInput TriggerExampleInput, ) *Trigger
NewTrigger instantiates a new Trigger 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 NewTriggerWithDefaults() *Trigger
NewTriggerWithDefaults instantiates a new Trigger 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 *Trigger) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Trigger) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetId(v string)
SetId sets Id field to given value.
func (o *Trigger) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Trigger) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetName(v string)
SetName sets Name field to given value.
func (o *Trigger) GetType() TriggerType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Trigger) GetTypeOk() (*TriggerType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetType(v TriggerType)
SetType sets Type field to given value.
func (o *Trigger) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Trigger) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Trigger) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Trigger) GetInputSchema() string
GetInputSchema returns the InputSchema field if non-nil, zero value otherwise.
func (o *Trigger) GetInputSchemaOk() (*string, bool)
GetInputSchemaOk returns a tuple with the InputSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetInputSchema(v string)
SetInputSchema sets InputSchema field to given value.
func (o *Trigger) GetExampleInput() TriggerExampleInput
GetExampleInput returns the ExampleInput field if non-nil, zero value otherwise.
func (o *Trigger) GetExampleInputOk() (*TriggerExampleInput, bool)
GetExampleInputOk returns a tuple with the ExampleInput field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetExampleInput(v TriggerExampleInput)
SetExampleInput sets ExampleInput field to given value.
func (o *Trigger) GetOutputSchema() string
GetOutputSchema returns the OutputSchema field if non-nil, zero value otherwise.
func (o *Trigger) GetOutputSchemaOk() (*string, bool)
GetOutputSchemaOk returns a tuple with the OutputSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetOutputSchema(v string)
SetOutputSchema sets OutputSchema field to given value.
func (o *Trigger) HasOutputSchema() bool
HasOutputSchema returns a boolean if a field has been set.
func (o *Trigger) SetOutputSchemaNil(b bool)
SetOutputSchemaNil sets the value for OutputSchema to be an explicit nil
func (o *Trigger) UnsetOutputSchema()
UnsetOutputSchema ensures that no value is present for OutputSchema, not even an explicit nil
func (o *Trigger) GetExampleOutput() TriggerExampleOutput
GetExampleOutput returns the ExampleOutput field if non-nil, zero value otherwise.
func (o *Trigger) GetExampleOutputOk() (*TriggerExampleOutput, bool)
GetExampleOutputOk returns a tuple with the ExampleOutput field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Trigger) SetExampleOutput(v TriggerExampleOutput)
SetExampleOutput sets ExampleOutput field to given value.
func (o *Trigger) HasExampleOutput() bool
HasExampleOutput returns a boolean if a field has been set.
func (o *Trigger) SetExampleOutputNil(b bool)
SetExampleOutputNil sets the value for ExampleOutput to be an explicit nil
func (o *Trigger) UnsetExampleOutput()
UnsetExampleOutput ensures that no value is present for ExampleOutput, not even an explicit nil