Name | Type | Description | Notes |
---|---|---|---|
Name | string | Subscription name. | |
Description | Pointer to string | Subscription description. | [optional] |
TriggerId | string | ID of trigger subscribed to. | |
Type | SubscriptionType | ||
ResponseDeadline | Pointer to string | Deadline for completing REQUEST_RESPONSE trigger invocation, represented in ISO-8601 duration format. | [optional] [default to "PT1H"] |
HttpConfig | Pointer to HttpConfig | [optional] | |
EventBridgeConfig | Pointer to EventBridgeConfig | [optional] | |
Enabled | Pointer to bool | Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. | [optional] [default to true] |
Filter | Pointer to string | JSONPath filter to conditionally invoke trigger when expression evaluates to true. | [optional] |
func NewSubscriptionPostRequest(name string, triggerId string, type_ SubscriptionType, ) *SubscriptionPostRequest
NewSubscriptionPostRequest instantiates a new SubscriptionPostRequest 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 NewSubscriptionPostRequestWithDefaults() *SubscriptionPostRequest
NewSubscriptionPostRequestWithDefaults instantiates a new SubscriptionPostRequest 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 *SubscriptionPostRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) 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 *SubscriptionPostRequest) SetName(v string)
SetName sets Name field to given value.
func (o *SubscriptionPostRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) 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 *SubscriptionPostRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SubscriptionPostRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *SubscriptionPostRequest) GetTriggerId() string
GetTriggerId returns the TriggerId field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) 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 *SubscriptionPostRequest) SetTriggerId(v string)
SetTriggerId sets TriggerId field to given value.
func (o *SubscriptionPostRequest) GetType() SubscriptionType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) GetTypeOk() (*SubscriptionType, 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 *SubscriptionPostRequest) SetType(v SubscriptionType)
SetType sets Type field to given value.
func (o *SubscriptionPostRequest) GetResponseDeadline() string
GetResponseDeadline returns the ResponseDeadline field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) GetResponseDeadlineOk() (*string, bool)
GetResponseDeadlineOk returns a tuple with the ResponseDeadline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionPostRequest) SetResponseDeadline(v string)
SetResponseDeadline sets ResponseDeadline field to given value.
func (o *SubscriptionPostRequest) HasResponseDeadline() bool
HasResponseDeadline returns a boolean if a field has been set.
func (o *SubscriptionPostRequest) GetHttpConfig() HttpConfig
GetHttpConfig returns the HttpConfig field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) GetHttpConfigOk() (*HttpConfig, bool)
GetHttpConfigOk returns a tuple with the HttpConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionPostRequest) SetHttpConfig(v HttpConfig)
SetHttpConfig sets HttpConfig field to given value.
func (o *SubscriptionPostRequest) HasHttpConfig() bool
HasHttpConfig returns a boolean if a field has been set.
func (o *SubscriptionPostRequest) GetEventBridgeConfig() EventBridgeConfig
GetEventBridgeConfig returns the EventBridgeConfig field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) GetEventBridgeConfigOk() (*EventBridgeConfig, bool)
GetEventBridgeConfigOk returns a tuple with the EventBridgeConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionPostRequest) SetEventBridgeConfig(v EventBridgeConfig)
SetEventBridgeConfig sets EventBridgeConfig field to given value.
func (o *SubscriptionPostRequest) HasEventBridgeConfig() bool
HasEventBridgeConfig returns a boolean if a field has been set.
func (o *SubscriptionPostRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionPostRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *SubscriptionPostRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *SubscriptionPostRequest) GetFilter() string
GetFilter returns the Filter field if non-nil, zero value otherwise.
func (o *SubscriptionPostRequest) GetFilterOk() (*string, bool)
GetFilterOk returns a tuple with the Filter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SubscriptionPostRequest) SetFilter(v string)
SetFilter sets Filter field to given value.
func (o *SubscriptionPostRequest) HasFilter() bool
HasFilter returns a boolean if a field has been set.