Name | Type | Description | Notes |
---|---|---|---|
AuthMethodsEventSourceLocations | Pointer to []string | Auth Method Event sources | [optional] |
AuthToken | Pointer to string | Base64 encoded Token string for authentication type Token | [optional] |
AuthType | Pointer to string | The Webhook authentication type [user-pass, bearer-token, certificate] | [optional] [default to "user-pass"] |
ClientCertData | Pointer to string | Base64 encoded PEM certificate, relevant for certificate auth-type | [optional] |
Description | Pointer to string | Description of the object | [optional] |
EventTypes | Pointer to []string | List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated, rate-limiting, usage-report] | [optional] |
Every | Pointer to string | Rate of periodic runner repetition in hours | [optional] |
GatewaysEventSourceLocations | []string | Event sources | |
ItemsEventSourceLocations | Pointer to []string | Items Event sources | [optional] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
Key | Pointer to string | The name of a key that used to encrypt the EventForwarder secret value (if empty, the account default protectionKey key will be used) | [optional] |
Name | string | EventForwarder name | |
Password | Pointer to string | Password for authentication relevant for user-pass auth-type | [optional] |
PrivateKeyData | Pointer to string | Base64 encoded PEM RSA Private Key, relevant for certificate auth-type | [optional] |
RunnerType | string | ||
ServerCertificates | Pointer to string | Base64 encoded PEM certificate of the Webhook | [optional] |
TargetsEventSourceLocations | Pointer to []string | Targets Event sources | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
Url | Pointer to string | Webhook URL | [optional] |
Username | Pointer to string | Username for authentication relevant for user-pass auth-type | [optional] |
func NewEventForwarderCreateWebhook(gatewaysEventSourceLocations []string, name string, runnerType string, ) *EventForwarderCreateWebhook
NewEventForwarderCreateWebhook instantiates a new EventForwarderCreateWebhook 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 NewEventForwarderCreateWebhookWithDefaults() *EventForwarderCreateWebhook
NewEventForwarderCreateWebhookWithDefaults instantiates a new EventForwarderCreateWebhook 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 *EventForwarderCreateWebhook) GetAuthMethodsEventSourceLocations() []string
GetAuthMethodsEventSourceLocations returns the AuthMethodsEventSourceLocations field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetAuthMethodsEventSourceLocationsOk() (*[]string, bool)
GetAuthMethodsEventSourceLocationsOk returns a tuple with the AuthMethodsEventSourceLocations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetAuthMethodsEventSourceLocations(v []string)
SetAuthMethodsEventSourceLocations sets AuthMethodsEventSourceLocations field to given value.
func (o *EventForwarderCreateWebhook) HasAuthMethodsEventSourceLocations() bool
HasAuthMethodsEventSourceLocations returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetAuthToken() string
GetAuthToken returns the AuthToken field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetAuthTokenOk() (*string, bool)
GetAuthTokenOk returns a tuple with the AuthToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetAuthToken(v string)
SetAuthToken sets AuthToken field to given value.
func (o *EventForwarderCreateWebhook) HasAuthToken() bool
HasAuthToken returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetAuthType() string
GetAuthType returns the AuthType field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetAuthTypeOk() (*string, bool)
GetAuthTypeOk returns a tuple with the AuthType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetAuthType(v string)
SetAuthType sets AuthType field to given value.
func (o *EventForwarderCreateWebhook) HasAuthType() bool
HasAuthType returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetClientCertData() string
GetClientCertData returns the ClientCertData field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetClientCertDataOk() (*string, bool)
GetClientCertDataOk returns a tuple with the ClientCertData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetClientCertData(v string)
SetClientCertData sets ClientCertData field to given value.
func (o *EventForwarderCreateWebhook) HasClientCertData() bool
HasClientCertData returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) 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 *EventForwarderCreateWebhook) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *EventForwarderCreateWebhook) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetEventTypes() []string
GetEventTypes returns the EventTypes field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetEventTypesOk() (*[]string, bool)
GetEventTypesOk returns a tuple with the EventTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetEventTypes(v []string)
SetEventTypes sets EventTypes field to given value.
func (o *EventForwarderCreateWebhook) HasEventTypes() bool
HasEventTypes returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetEvery() string
GetEvery returns the Every field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetEveryOk() (*string, bool)
GetEveryOk returns a tuple with the Every field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetEvery(v string)
SetEvery sets Every field to given value.
func (o *EventForwarderCreateWebhook) HasEvery() bool
HasEvery returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetGatewaysEventSourceLocations() []string
GetGatewaysEventSourceLocations returns the GatewaysEventSourceLocations field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetGatewaysEventSourceLocationsOk() (*[]string, bool)
GetGatewaysEventSourceLocationsOk returns a tuple with the GatewaysEventSourceLocations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetGatewaysEventSourceLocations(v []string)
SetGatewaysEventSourceLocations sets GatewaysEventSourceLocations field to given value.
func (o *EventForwarderCreateWebhook) GetItemsEventSourceLocations() []string
GetItemsEventSourceLocations returns the ItemsEventSourceLocations field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetItemsEventSourceLocationsOk() (*[]string, bool)
GetItemsEventSourceLocationsOk returns a tuple with the ItemsEventSourceLocations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetItemsEventSourceLocations(v []string)
SetItemsEventSourceLocations sets ItemsEventSourceLocations field to given value.
func (o *EventForwarderCreateWebhook) HasItemsEventSourceLocations() bool
HasItemsEventSourceLocations returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetJson(v bool)
SetJson sets Json field to given value.
func (o *EventForwarderCreateWebhook) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetKey(v string)
SetKey sets Key field to given value.
func (o *EventForwarderCreateWebhook) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) 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.
func (o *EventForwarderCreateWebhook) SetName(v string)
SetName sets Name field to given value.
func (o *EventForwarderCreateWebhook) GetPassword() string
GetPassword returns the Password field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetPassword(v string)
SetPassword sets Password field to given value.
func (o *EventForwarderCreateWebhook) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetPrivateKeyData() string
GetPrivateKeyData returns the PrivateKeyData field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetPrivateKeyDataOk() (*string, bool)
GetPrivateKeyDataOk returns a tuple with the PrivateKeyData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetPrivateKeyData(v string)
SetPrivateKeyData sets PrivateKeyData field to given value.
func (o *EventForwarderCreateWebhook) HasPrivateKeyData() bool
HasPrivateKeyData returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetRunnerType() string
GetRunnerType returns the RunnerType field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetRunnerTypeOk() (*string, bool)
GetRunnerTypeOk returns a tuple with the RunnerType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetRunnerType(v string)
SetRunnerType sets RunnerType field to given value.
func (o *EventForwarderCreateWebhook) GetServerCertificates() string
GetServerCertificates returns the ServerCertificates field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetServerCertificatesOk() (*string, bool)
GetServerCertificatesOk returns a tuple with the ServerCertificates field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetServerCertificates(v string)
SetServerCertificates sets ServerCertificates field to given value.
func (o *EventForwarderCreateWebhook) HasServerCertificates() bool
HasServerCertificates returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetTargetsEventSourceLocations() []string
GetTargetsEventSourceLocations returns the TargetsEventSourceLocations field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetTargetsEventSourceLocationsOk() (*[]string, bool)
GetTargetsEventSourceLocationsOk returns a tuple with the TargetsEventSourceLocations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetTargetsEventSourceLocations(v []string)
SetTargetsEventSourceLocations sets TargetsEventSourceLocations field to given value.
func (o *EventForwarderCreateWebhook) HasTargetsEventSourceLocations() bool
HasTargetsEventSourceLocations returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetToken(v string)
SetToken sets Token field to given value.
func (o *EventForwarderCreateWebhook) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *EventForwarderCreateWebhook) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *EventForwarderCreateWebhook) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (o *EventForwarderCreateWebhook) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *EventForwarderCreateWebhook) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventForwarderCreateWebhook) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *EventForwarderCreateWebhook) HasUsername() bool
HasUsername returns a boolean if a field has been set.