Name | Type | Description | Notes |
---|---|---|---|
TriggerId | string | Trigger ID | |
Input | Pointer to map[string]interface{} | Mock input to use for test invocation. This must adhere to the input schema defined in the trigger being invoked. If this property is omitted, then the default trigger sample payload will be sent. | [optional] |
ContentJson | map[string]interface{} | JSON map of invocation metadata. | |
SubscriptionIds | Pointer to []string | Only send the test event to the subscription IDs listed. If omitted, the test event will be sent to all subscribers. | [optional] |
func NewTestInvocation(triggerId string, contentJson map[string]interface{}, ) *TestInvocation
NewTestInvocation instantiates a new TestInvocation 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 NewTestInvocationWithDefaults() *TestInvocation
NewTestInvocationWithDefaults instantiates a new TestInvocation 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 *TestInvocation) GetTriggerId() string
GetTriggerId returns the TriggerId field if non-nil, zero value otherwise.
func (o *TestInvocation) GetTriggerIdOk() (*string, bool)
GetTriggerIdOk returns a tuple with the TriggerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TestInvocation) SetTriggerId(v string)
SetTriggerId sets TriggerId field to given value.
func (o *TestInvocation) GetInput() map[string]interface{}
GetInput returns the Input field if non-nil, zero value otherwise.
func (o *TestInvocation) GetInputOk() (*map[string]interface{}, bool)
GetInputOk returns a tuple with the Input field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TestInvocation) SetInput(v map[string]interface{})
SetInput sets Input field to given value.
func (o *TestInvocation) HasInput() bool
HasInput returns a boolean if a field has been set.
func (o *TestInvocation) GetContentJson() map[string]interface{}
GetContentJson returns the ContentJson field if non-nil, zero value otherwise.
func (o *TestInvocation) GetContentJsonOk() (*map[string]interface{}, bool)
GetContentJsonOk returns a tuple with the ContentJson field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TestInvocation) SetContentJson(v map[string]interface{})
SetContentJson sets ContentJson field to given value.
func (o *TestInvocation) GetSubscriptionIds() []string
GetSubscriptionIds returns the SubscriptionIds field if non-nil, zero value otherwise.
func (o *TestInvocation) GetSubscriptionIdsOk() (*[]string, bool)
GetSubscriptionIdsOk returns a tuple with the SubscriptionIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TestInvocation) SetSubscriptionIds(v []string)
SetSubscriptionIds sets SubscriptionIds field to given value.
func (o *TestInvocation) HasSubscriptionIds() bool
HasSubscriptionIds returns a boolean if a field has been set.