Skip to content

Latest commit

 

History

History
222 lines (121 loc) · 5.8 KB

UpdateHookRequest.md

File metadata and controls

222 lines (121 loc) · 5.8 KB

UpdateHookRequest

Properties

Name Type Description Notes
TenantId Pointer to string [optional]
Name Pointer to string The updated name of the hook. [optional]
Event Pointer to NullableString Use `events` instead. [optional]
Events Pointer to []string An array of updated hook events. [optional]
Config Pointer to CreateHookRequestConfig [optional]
Enabled Pointer to bool [optional]
CreatedAt Pointer to float32 [optional]

Methods

NewUpdateHookRequest

func NewUpdateHookRequest() *UpdateHookRequest

NewUpdateHookRequest instantiates a new UpdateHookRequest 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

NewUpdateHookRequestWithDefaults

func NewUpdateHookRequestWithDefaults() *UpdateHookRequest

NewUpdateHookRequestWithDefaults instantiates a new UpdateHookRequest 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

GetTenantId

func (o *UpdateHookRequest) GetTenantId() string

GetTenantId returns the TenantId field if non-nil, zero value otherwise.

GetTenantIdOk

func (o *UpdateHookRequest) GetTenantIdOk() (*string, bool)

GetTenantIdOk returns a tuple with the TenantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTenantId

func (o *UpdateHookRequest) SetTenantId(v string)

SetTenantId sets TenantId field to given value.

HasTenantId

func (o *UpdateHookRequest) HasTenantId() bool

HasTenantId returns a boolean if a field has been set.

GetName

func (o *UpdateHookRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *UpdateHookRequest) 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.

SetName

func (o *UpdateHookRequest) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *UpdateHookRequest) HasName() bool

HasName returns a boolean if a field has been set.

GetEvent

func (o *UpdateHookRequest) GetEvent() string

GetEvent returns the Event field if non-nil, zero value otherwise.

GetEventOk

func (o *UpdateHookRequest) GetEventOk() (*string, bool)

GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEvent

func (o *UpdateHookRequest) SetEvent(v string)

SetEvent sets Event field to given value.

HasEvent

func (o *UpdateHookRequest) HasEvent() bool

HasEvent returns a boolean if a field has been set.

SetEventNil

func (o *UpdateHookRequest) SetEventNil(b bool)

SetEventNil sets the value for Event to be an explicit nil

UnsetEvent

func (o *UpdateHookRequest) UnsetEvent()

UnsetEvent ensures that no value is present for Event, not even an explicit nil

GetEvents

func (o *UpdateHookRequest) GetEvents() []string

GetEvents returns the Events field if non-nil, zero value otherwise.

GetEventsOk

func (o *UpdateHookRequest) GetEventsOk() (*[]string, bool)

GetEventsOk returns a tuple with the Events field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEvents

func (o *UpdateHookRequest) SetEvents(v []string)

SetEvents sets Events field to given value.

HasEvents

func (o *UpdateHookRequest) HasEvents() bool

HasEvents returns a boolean if a field has been set.

GetConfig

func (o *UpdateHookRequest) GetConfig() CreateHookRequestConfig

GetConfig returns the Config field if non-nil, zero value otherwise.

GetConfigOk

func (o *UpdateHookRequest) GetConfigOk() (*CreateHookRequestConfig, 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.

SetConfig

func (o *UpdateHookRequest) SetConfig(v CreateHookRequestConfig)

SetConfig sets Config field to given value.

HasConfig

func (o *UpdateHookRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

GetEnabled

func (o *UpdateHookRequest) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *UpdateHookRequest) 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.

SetEnabled

func (o *UpdateHookRequest) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *UpdateHookRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetCreatedAt

func (o *UpdateHookRequest) GetCreatedAt() float32

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *UpdateHookRequest) GetCreatedAtOk() (*float32, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *UpdateHookRequest) SetCreatedAt(v float32)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *UpdateHookRequest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]