Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.15 KB

CreateHookTestRequest.md

File metadata and controls

108 lines (59 loc) · 3.15 KB

CreateHookTestRequest

Properties

Name Type Description Notes
Events []string An array of hook events for testing.
Config CreateHookTestRequestConfig
Event Pointer to interface{} Use `events` instead. [optional]

Methods

NewCreateHookTestRequest

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

NewCreateHookTestRequestWithDefaults

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

GetEvents

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

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

GetEventsOk

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.

SetEvents

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

SetEvents sets Events field to given value.

GetConfig

func (o *CreateHookTestRequest) GetConfig() CreateHookTestRequestConfig

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

GetConfigOk

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.

SetConfig

func (o *CreateHookTestRequest) SetConfig(v CreateHookTestRequestConfig)

SetConfig sets Config field to given value.

GetEvent

func (o *CreateHookTestRequest) GetEvent() interface{}

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

GetEventOk

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.

SetEvent

func (o *CreateHookTestRequest) SetEvent(v interface{})

SetEvent sets Event field to given value.

HasEvent

func (o *CreateHookTestRequest) HasEvent() bool

HasEvent returns a boolean if a field has been set.

SetEventNil

func (o *CreateHookTestRequest) SetEventNil(b bool)

SetEventNil sets the value for Event to be an explicit nil

UnsetEvent

func (o *CreateHookTestRequest) UnsetEvent()

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

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