Skip to content

Latest commit

 

History

History
374 lines (201 loc) · 12 KB

EventForwarderCreateSlack.md

File metadata and controls

374 lines (201 loc) · 12 KB

EventForwarderCreateSlack

Properties

Name Type Description Notes
AuthMethodsEventSourceLocations Pointer to []string Auth Method Event sources [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
RunnerType string
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 string Slack Webhook URL

Methods

NewEventForwarderCreateSlack

func NewEventForwarderCreateSlack(gatewaysEventSourceLocations []string, name string, runnerType string, url string, ) *EventForwarderCreateSlack

NewEventForwarderCreateSlack instantiates a new EventForwarderCreateSlack 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

NewEventForwarderCreateSlackWithDefaults

func NewEventForwarderCreateSlackWithDefaults() *EventForwarderCreateSlack

NewEventForwarderCreateSlackWithDefaults instantiates a new EventForwarderCreateSlack 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

GetAuthMethodsEventSourceLocations

func (o *EventForwarderCreateSlack) GetAuthMethodsEventSourceLocations() []string

GetAuthMethodsEventSourceLocations returns the AuthMethodsEventSourceLocations field if non-nil, zero value otherwise.

GetAuthMethodsEventSourceLocationsOk

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

SetAuthMethodsEventSourceLocations

func (o *EventForwarderCreateSlack) SetAuthMethodsEventSourceLocations(v []string)

SetAuthMethodsEventSourceLocations sets AuthMethodsEventSourceLocations field to given value.

HasAuthMethodsEventSourceLocations

func (o *EventForwarderCreateSlack) HasAuthMethodsEventSourceLocations() bool

HasAuthMethodsEventSourceLocations returns a boolean if a field has been set.

GetDescription

func (o *EventForwarderCreateSlack) GetDescription() string

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

GetDescriptionOk

func (o *EventForwarderCreateSlack) 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 *EventForwarderCreateSlack) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *EventForwarderCreateSlack) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetEventTypes

func (o *EventForwarderCreateSlack) GetEventTypes() []string

GetEventTypes returns the EventTypes field if non-nil, zero value otherwise.

GetEventTypesOk

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

SetEventTypes

func (o *EventForwarderCreateSlack) SetEventTypes(v []string)

SetEventTypes sets EventTypes field to given value.

HasEventTypes

func (o *EventForwarderCreateSlack) HasEventTypes() bool

HasEventTypes returns a boolean if a field has been set.

GetEvery

func (o *EventForwarderCreateSlack) GetEvery() string

GetEvery returns the Every field if non-nil, zero value otherwise.

GetEveryOk

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

SetEvery

func (o *EventForwarderCreateSlack) SetEvery(v string)

SetEvery sets Every field to given value.

HasEvery

func (o *EventForwarderCreateSlack) HasEvery() bool

HasEvery returns a boolean if a field has been set.

GetGatewaysEventSourceLocations

func (o *EventForwarderCreateSlack) GetGatewaysEventSourceLocations() []string

GetGatewaysEventSourceLocations returns the GatewaysEventSourceLocations field if non-nil, zero value otherwise.

GetGatewaysEventSourceLocationsOk

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

SetGatewaysEventSourceLocations

func (o *EventForwarderCreateSlack) SetGatewaysEventSourceLocations(v []string)

SetGatewaysEventSourceLocations sets GatewaysEventSourceLocations field to given value.

GetItemsEventSourceLocations

func (o *EventForwarderCreateSlack) GetItemsEventSourceLocations() []string

GetItemsEventSourceLocations returns the ItemsEventSourceLocations field if non-nil, zero value otherwise.

GetItemsEventSourceLocationsOk

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

SetItemsEventSourceLocations

func (o *EventForwarderCreateSlack) SetItemsEventSourceLocations(v []string)

SetItemsEventSourceLocations sets ItemsEventSourceLocations field to given value.

HasItemsEventSourceLocations

func (o *EventForwarderCreateSlack) HasItemsEventSourceLocations() bool

HasItemsEventSourceLocations returns a boolean if a field has been set.

GetJson

func (o *EventForwarderCreateSlack) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

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

SetJson

func (o *EventForwarderCreateSlack) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *EventForwarderCreateSlack) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *EventForwarderCreateSlack) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

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

SetKey

func (o *EventForwarderCreateSlack) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *EventForwarderCreateSlack) HasKey() bool

HasKey returns a boolean if a field has been set.

GetName

func (o *EventForwarderCreateSlack) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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

SetName

func (o *EventForwarderCreateSlack) SetName(v string)

SetName sets Name field to given value.

GetRunnerType

func (o *EventForwarderCreateSlack) GetRunnerType() string

GetRunnerType returns the RunnerType field if non-nil, zero value otherwise.

GetRunnerTypeOk

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

SetRunnerType

func (o *EventForwarderCreateSlack) SetRunnerType(v string)

SetRunnerType sets RunnerType field to given value.

GetTargetsEventSourceLocations

func (o *EventForwarderCreateSlack) GetTargetsEventSourceLocations() []string

GetTargetsEventSourceLocations returns the TargetsEventSourceLocations field if non-nil, zero value otherwise.

GetTargetsEventSourceLocationsOk

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

SetTargetsEventSourceLocations

func (o *EventForwarderCreateSlack) SetTargetsEventSourceLocations(v []string)

SetTargetsEventSourceLocations sets TargetsEventSourceLocations field to given value.

HasTargetsEventSourceLocations

func (o *EventForwarderCreateSlack) HasTargetsEventSourceLocations() bool

HasTargetsEventSourceLocations returns a boolean if a field has been set.

GetToken

func (o *EventForwarderCreateSlack) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

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

SetToken

func (o *EventForwarderCreateSlack) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *EventForwarderCreateSlack) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *EventForwarderCreateSlack) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

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

SetUidToken

func (o *EventForwarderCreateSlack) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *EventForwarderCreateSlack) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUrl

func (o *EventForwarderCreateSlack) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

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

SetUrl

func (o *EventForwarderCreateSlack) SetUrl(v string)

SetUrl sets Url field to given value.

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