Name | Type | Description | Notes |
---|---|---|---|
Id | string | Subscription ID. | |
Name | string | Subscription name. | |
Description | Pointer to string | Subscription description. | [optional] |
TriggerId | string | ID of trigger subscribed to. | |
TriggerName | string | Trigger name 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 | bool | Whether subscription should receive real-time trigger invocations or not. Test trigger invocations are always enabled regardless of this option. | [default to true] |
Filter | Pointer to string | JSONPath filter to conditionally invoke trigger when expression evaluates to true. | [optional] |
func NewSubscription(id string, name string, triggerId string, triggerName string, type_ SubscriptionType, enabled bool, ) *Subscription
NewSubscription instantiates a new Subscription 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 NewSubscriptionWithDefaults() *Subscription
NewSubscriptionWithDefaults instantiates a new Subscription 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 *Subscription) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetId(v string)
SetId sets Id field to given value.
func (o *Subscription) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetName(v string)
SetName sets Name field to given value.
func (o *Subscription) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Subscription) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Subscription) GetTriggerId() string
GetTriggerId returns the TriggerId field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetTriggerId(v string)
SetTriggerId sets TriggerId field to given value.
func (o *Subscription) GetTriggerName() string
GetTriggerName returns the TriggerName field if non-nil, zero value otherwise.
func (o *Subscription) GetTriggerNameOk() (*string, bool)
GetTriggerNameOk returns a tuple with the TriggerName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Subscription) SetTriggerName(v string)
SetTriggerName sets TriggerName field to given value.
func (o *Subscription) GetType() SubscriptionType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetType(v SubscriptionType)
SetType sets Type field to given value.
func (o *Subscription) GetResponseDeadline() string
GetResponseDeadline returns the ResponseDeadline field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetResponseDeadline(v string)
SetResponseDeadline sets ResponseDeadline field to given value.
func (o *Subscription) HasResponseDeadline() bool
HasResponseDeadline returns a boolean if a field has been set.
func (o *Subscription) GetHttpConfig() HttpConfig
GetHttpConfig returns the HttpConfig field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetHttpConfig(v HttpConfig)
SetHttpConfig sets HttpConfig field to given value.
func (o *Subscription) HasHttpConfig() bool
HasHttpConfig returns a boolean if a field has been set.
func (o *Subscription) GetEventBridgeConfig() EventBridgeConfig
GetEventBridgeConfig returns the EventBridgeConfig field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetEventBridgeConfig(v EventBridgeConfig)
SetEventBridgeConfig sets EventBridgeConfig field to given value.
func (o *Subscription) HasEventBridgeConfig() bool
HasEventBridgeConfig returns a boolean if a field has been set.
func (o *Subscription) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *Subscription) GetFilter() string
GetFilter returns the Filter field if non-nil, zero value otherwise.
func (o *Subscription) 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 *Subscription) SetFilter(v string)
SetFilter sets Filter field to given value.
func (o *Subscription) HasFilter() bool
HasFilter returns a boolean if a field has been set.