Name | Type | Description | Notes |
---|---|---|---|
Events | []string | An array of hook events for testing. | |
Config | CreateHookTestRequestConfig | ||
Event | Pointer to interface{} | Use `events` instead. | [optional] |
func NewCreateHookTestRequest(events []string, config CreateHookTestRequestConfig, ) *CreateHookTestRequest
NewCreateHookTestRequest instantiates a new CreateHookTestRequest 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 NewCreateHookTestRequestWithDefaults() *CreateHookTestRequest
NewCreateHookTestRequestWithDefaults instantiates a new CreateHookTestRequest 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 *CreateHookTestRequest) GetEvents() []string
GetEvents returns the Events field if non-nil, zero value otherwise.
func (o *CreateHookTestRequest) 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.
func (o *CreateHookTestRequest) SetEvents(v []string)
SetEvents sets Events field to given value.
func (o *CreateHookTestRequest) GetConfig() CreateHookTestRequestConfig
GetConfig returns the Config field if non-nil, zero value otherwise.
func (o *CreateHookTestRequest) GetConfigOk() (*CreateHookTestRequestConfig, 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 *CreateHookTestRequest) SetConfig(v CreateHookTestRequestConfig)
SetConfig sets Config field to given value.
func (o *CreateHookTestRequest) GetEvent() interface{}
GetEvent returns the Event field if non-nil, zero value otherwise.
func (o *CreateHookTestRequest) GetEventOk() (*interface{}, 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.
func (o *CreateHookTestRequest) SetEvent(v interface{})
SetEvent sets Event field to given value.
func (o *CreateHookTestRequest) HasEvent() bool
HasEvent returns a boolean if a field has been set.
func (o *CreateHookTestRequest) SetEventNil(b bool)
SetEventNil sets the value for Event to be an explicit nil
func (o *CreateHookTestRequest) UnsetEvent()
UnsetEvent ensures that no value is present for Event, not even an explicit nil