Skip to main content

TestInvocation

Properties

NameTypeDescriptionNotes
TriggerIdstringTrigger ID
InputPointer to map[string]interfaceMock 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]
ContentJsonmap[string]interfaceJSON map of invocation metadata.
SubscriptionIdsPointer to []stringOnly send the test event to the subscription IDs listed. If omitted, the test event will be sent to all subscribers.[optional]

Methods

NewTestInvocation

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

NewTestInvocationWithDefaults

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

GetTriggerId

func (o *TestInvocation) GetTriggerId() string

GetTriggerId returns the TriggerId field if non-nil, zero value otherwise.

GetTriggerIdOk

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.

SetTriggerId

func (o *TestInvocation) SetTriggerId(v string)

SetTriggerId sets TriggerId field to given value.

GetInput

func (o *TestInvocation) GetInput() map[string]interface{}

GetInput returns the Input field if non-nil, zero value otherwise.

GetInputOk

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.

SetInput

func (o *TestInvocation) SetInput(v map[string]interface{})

SetInput sets Input field to given value.

HasInput

func (o *TestInvocation) HasInput() bool

HasInput returns a boolean if a field has been set.

GetContentJson

func (o *TestInvocation) GetContentJson() map[string]interface{}

GetContentJson returns the ContentJson field if non-nil, zero value otherwise.

GetContentJsonOk

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.

SetContentJson

func (o *TestInvocation) SetContentJson(v map[string]interface{})

SetContentJson sets ContentJson field to given value.

GetSubscriptionIds

func (o *TestInvocation) GetSubscriptionIds() []string

GetSubscriptionIds returns the SubscriptionIds field if non-nil, zero value otherwise.

GetSubscriptionIdsOk

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.

SetSubscriptionIds

func (o *TestInvocation) SetSubscriptionIds(v []string)

SetSubscriptionIds sets SubscriptionIds field to given value.

HasSubscriptionIds

func (o *TestInvocation) HasSubscriptionIds() bool

HasSubscriptionIds returns a boolean if a field has been set.