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] |
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
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
func (o *OrganizationWebhookResponse) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetId(v string)
SetId sets Id field to given value.
func (o *OrganizationWebhookResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *OrganizationWebhookResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *OrganizationWebhookResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetKind() OrganizationWebhookKindEnum
GetKind returns the Kind field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetKind(v OrganizationWebhookKindEnum)
SetKind sets Kind field to given value.
func (o *OrganizationWebhookResponse) HasKind() bool
HasKind returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetTargetUrl() string
GetTargetUrl returns the TargetUrl field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetTargetUrl(v string)
SetTargetUrl sets TargetUrl field to given value.
func (o *OrganizationWebhookResponse) HasTargetUrl() bool
HasTargetUrl returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetTargetSecretSet() bool
GetTargetSecretSet returns the TargetSecretSet field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetTargetSecretSet(v bool)
SetTargetSecretSet sets TargetSecretSet field to given value.
func (o *OrganizationWebhookResponse) HasTargetSecretSet() bool
HasTargetSecretSet returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *OrganizationWebhookResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *OrganizationWebhookResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetEvents() []OrganizationWebhookEventEnum
GetEvents returns the Events field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetEvents(v []OrganizationWebhookEventEnum)
SetEvents sets Events field to given value.
func (o *OrganizationWebhookResponse) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetProjectNamesFilter() []string
GetProjectNamesFilter returns the ProjectNamesFilter field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetProjectNamesFilter(v []string)
SetProjectNamesFilter sets ProjectNamesFilter field to given value.
func (o *OrganizationWebhookResponse) HasProjectNamesFilter() bool
HasProjectNamesFilter returns a boolean if a field has been set.
func (o *OrganizationWebhookResponse) GetEnvironmentTypesFilter() []EnvironmentModeEnum
GetEnvironmentTypesFilter returns the EnvironmentTypesFilter field if non-nil, zero value otherwise.
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.
func (o *OrganizationWebhookResponse) SetEnvironmentTypesFilter(v []EnvironmentModeEnum)
SetEnvironmentTypesFilter sets EnvironmentTypesFilter field to given value.
func (o *OrganizationWebhookResponse) HasEnvironmentTypesFilter() bool
HasEnvironmentTypesFilter returns a boolean if a field has been set.