Name | Type | Description | Notes |
---|---|---|---|
Config | EventHookChannelConfig | ||
Type | string | The channel type. Currently supports `HTTP`. | |
Version | string | Version of the channel. Currently the only supported version is `1.0.0``. |
func NewEventHookChannel(config EventHookChannelConfig, type_ string, version string, ) *EventHookChannel
NewEventHookChannel instantiates a new EventHookChannel 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 NewEventHookChannelWithDefaults() *EventHookChannel
NewEventHookChannelWithDefaults instantiates a new EventHookChannel 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 *EventHookChannel) GetConfig() EventHookChannelConfig
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *EventHookChannel) GetConfigOk() (*EventHookChannelConfig, bool)
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventHookChannel) SetConfig(v EventHookChannelConfig)
SetConfig sets Config field to given value.
func (o *EventHookChannel) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *EventHookChannel) GetTypeOk() (*string, 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 *EventHookChannel) SetType(v string)
SetType sets Type field to given value.
func (o *EventHookChannel) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *EventHookChannel) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventHookChannel) SetVersion(v string)
SetVersion sets Version field to given value.