Skip to content

Latest commit

 

History

History
306 lines (165 loc) · 9.69 KB

OrganizationWebhookResponse.md

File metadata and controls

306 lines (165 loc) · 9.69 KB

OrganizationWebhookResponse

Properties

Name Type Description Notes
Id string [readonly]
CreatedAt time.Time [readonly]
UpdatedAt Pointer to time.Time [optional] [readonly]
Kind Pointer to OrganizationWebhookKindEnum [optional]
TargetUrl Pointer to string Set the public HTTP or HTTPS endpoint that will receive the specified events. The target URL must starts with `http://` or `https://` [optional]
TargetSecretSet Pointer to bool [optional]
Description Pointer to string [optional]
Enabled Pointer to bool Turn on or off your endpoint. [optional]
Events Pointer to []OrganizationWebhookEventEnum [optional]
ProjectNamesFilter Pointer to []string Specify the project names you want to filter to. This webhook will be triggered only if the event is coming from the specified Project IDs. Notes: 1. Wildcard is accepted E.g. `product*`. 2. Name is case insensitive. [optional]
EnvironmentTypesFilter Pointer to []EnvironmentModeEnum Specify the environment modes you want to filter to. This webhook will be triggered only if the event is coming from an environment with the specified mode. [optional]

Methods

NewOrganizationWebhookResponse

func NewOrganizationWebhookResponse(id string, createdAt time.Time, ) *OrganizationWebhookResponse

NewOrganizationWebhookResponse instantiates a new OrganizationWebhookResponse 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

NewOrganizationWebhookResponseWithDefaults

func NewOrganizationWebhookResponseWithDefaults() *OrganizationWebhookResponse

NewOrganizationWebhookResponseWithDefaults instantiates a new OrganizationWebhookResponse 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

GetId

func (o *OrganizationWebhookResponse) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

SetId

func (o *OrganizationWebhookResponse) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *OrganizationWebhookResponse) GetCreatedAt() time.Time

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

GetCreatedAtOk

func (o *OrganizationWebhookResponse) GetCreatedAtOk() (*time.Time, 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 *OrganizationWebhookResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *OrganizationWebhookResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *OrganizationWebhookResponse) GetUpdatedAtOk() (*time.Time, bool)

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

SetUpdatedAt

func (o *OrganizationWebhookResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *OrganizationWebhookResponse) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetKind

func (o *OrganizationWebhookResponse) GetKind() OrganizationWebhookKindEnum

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *OrganizationWebhookResponse) GetKindOk() (*OrganizationWebhookKindEnum, bool)

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

SetKind

func (o *OrganizationWebhookResponse) SetKind(v OrganizationWebhookKindEnum)

SetKind sets Kind field to given value.

HasKind

func (o *OrganizationWebhookResponse) HasKind() bool

HasKind returns a boolean if a field has been set.

GetTargetUrl

func (o *OrganizationWebhookResponse) GetTargetUrl() string

GetTargetUrl returns the TargetUrl field if non-nil, zero value otherwise.

GetTargetUrlOk

func (o *OrganizationWebhookResponse) GetTargetUrlOk() (*string, bool)

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

SetTargetUrl

func (o *OrganizationWebhookResponse) SetTargetUrl(v string)

SetTargetUrl sets TargetUrl field to given value.

HasTargetUrl

func (o *OrganizationWebhookResponse) HasTargetUrl() bool

HasTargetUrl returns a boolean if a field has been set.

GetTargetSecretSet

func (o *OrganizationWebhookResponse) GetTargetSecretSet() bool

GetTargetSecretSet returns the TargetSecretSet field if non-nil, zero value otherwise.

GetTargetSecretSetOk

func (o *OrganizationWebhookResponse) GetTargetSecretSetOk() (*bool, bool)

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

SetTargetSecretSet

func (o *OrganizationWebhookResponse) SetTargetSecretSet(v bool)

SetTargetSecretSet sets TargetSecretSet field to given value.

HasTargetSecretSet

func (o *OrganizationWebhookResponse) HasTargetSecretSet() bool

HasTargetSecretSet returns a boolean if a field has been set.

GetDescription

func (o *OrganizationWebhookResponse) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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

SetDescription

func (o *OrganizationWebhookResponse) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *OrganizationWebhookResponse) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetEnabled

func (o *OrganizationWebhookResponse) GetEnabled() bool

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

GetEnabledOk

func (o *OrganizationWebhookResponse) 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 *OrganizationWebhookResponse) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *OrganizationWebhookResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetEvents

func (o *OrganizationWebhookResponse) GetEvents() []OrganizationWebhookEventEnum

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

GetEventsOk

func (o *OrganizationWebhookResponse) GetEventsOk() (*[]OrganizationWebhookEventEnum, 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 *OrganizationWebhookResponse) SetEvents(v []OrganizationWebhookEventEnum)

SetEvents sets Events field to given value.

HasEvents

func (o *OrganizationWebhookResponse) HasEvents() bool

HasEvents returns a boolean if a field has been set.

GetProjectNamesFilter

func (o *OrganizationWebhookResponse) GetProjectNamesFilter() []string

GetProjectNamesFilter returns the ProjectNamesFilter field if non-nil, zero value otherwise.

GetProjectNamesFilterOk

func (o *OrganizationWebhookResponse) GetProjectNamesFilterOk() (*[]string, bool)

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

SetProjectNamesFilter

func (o *OrganizationWebhookResponse) SetProjectNamesFilter(v []string)

SetProjectNamesFilter sets ProjectNamesFilter field to given value.

HasProjectNamesFilter

func (o *OrganizationWebhookResponse) HasProjectNamesFilter() bool

HasProjectNamesFilter returns a boolean if a field has been set.

GetEnvironmentTypesFilter

func (o *OrganizationWebhookResponse) GetEnvironmentTypesFilter() []EnvironmentModeEnum

GetEnvironmentTypesFilter returns the EnvironmentTypesFilter field if non-nil, zero value otherwise.

GetEnvironmentTypesFilterOk

func (o *OrganizationWebhookResponse) GetEnvironmentTypesFilterOk() (*[]EnvironmentModeEnum, bool)

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

SetEnvironmentTypesFilter

func (o *OrganizationWebhookResponse) SetEnvironmentTypesFilter(v []EnvironmentModeEnum)

SetEnvironmentTypesFilter sets EnvironmentTypesFilter field to given value.

HasEnvironmentTypesFilter

func (o *OrganizationWebhookResponse) HasEnvironmentTypesFilter() bool

HasEnvironmentTypesFilter returns a boolean if a field has been set.

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