Name | Type | Description | Notes |
---|---|---|---|
ApiToken | Pointer to string | Slack API token or Bot token that MongoDB Cloud needs to send alert notifications via Slack. The resource requires this parameter when `"notifications.typeName" : "SLACK"`. If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes the token. | [optional] |
ChannelName | Pointer to string | Name of the Slack channel to which MongoDB Cloud sends alert notifications. The resource requires this parameter when `"notifications.typeName" : "SLACK"`. | [optional] |
DatadogApiKey | Pointer to string | Datadog API Key that MongoDB Cloud needs to send alert notifications to Datadog. You can find this API key in the Datadog dashboard. The resource requires this parameter when `"notifications.typeName" : "DATADOG"`. | [optional] |
DatadogRegion | Pointer to string | Datadog region that indicates which API Uniform Resource Locator (URL) to use. The resource requires this parameter when `"notifications.typeName" : "DATADOG"`. | [optional] [default to "US"] |
DelayMin | Pointer to int32 | Number of minutes that MongoDB Cloud waits after detecting an alert condition before it sends out the first notification. | [optional] |
EmailAddress | Pointer to string | Email address to which MongoDB Cloud sends alert notifications. The resource requires this parameter when `"notifications.typeName" : "EMAIL"`. You don’t need to set this value to send emails to individual or groups of MongoDB Cloud users including: - specific MongoDB Cloud users (`"notifications.typeName" : "USER"`) - MongoDB Cloud users with specific project roles (`"notifications.typeName" : "GROUP"`) - MongoDB Cloud users with specific organization roles (`"notifications.typeName" : "ORG"`) - MongoDB Cloud teams (`"notifications.typeName" : "TEAM"`) To send emails to one MongoDB Cloud user or grouping of users, set the notifications.emailEnabled parameter. | [optional] |
EmailEnabled | Pointer to bool | Flag that indicates whether MongoDB Cloud should send email notifications. The resource requires this parameter when one of the following values have been set: - `"notifications.typeName" : "ORG"` - `"notifications.typeName" : "GROUP"` - `"notifications.typeName" : "USER"` | [optional] |
IntervalMin | Pointer to int32 | Number of minutes to wait between successive notifications. MongoDB Cloud sends notifications until someone acknowledges the unacknowledged alert. PagerDuty, VictorOps, and OpsGenie notifications don't return this element. Configure and manage the notification interval within each of those services. | [optional] |
MicrosoftTeamsWebhookUrl | Pointer to string | Microsoft Teams Webhook Uniform Resource Locator (URL) that MongoDB Cloud needs to send this notification via Microsoft Teams. The resource requires this parameter when `"notifications.typeName" : "MICROSOFT_TEAMS"`. If the URL later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it. | [optional] |
MobileNumber | Pointer to string | Mobile phone number to which MongoDB Cloud sends alert notifications. The resource requires this parameter when `"notifications.typeName" : "SMS"`. | [optional] |
NotificationToken | Pointer to string | HipChat API token that MongoDB Cloud needs to send alert notifications to HipChat. The resource requires this parameter when `"notifications.typeName" : "HIP_CHAT"`". If the token later becomes invalid, MongoDB Cloud sends an email to the project owners. If the token remains invalid, MongoDB Cloud removes it. | [optional] |
OpsGenieApiKey | Pointer to string | API Key that MongoDB Cloud needs to send this notification via Opsgenie. The resource requires this parameter when `"notifications.typeName" : "OPS_GENIE"`. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it. | [optional] |
OpsGenieRegion | Pointer to string | Opsgenie region that indicates which API Uniform Resource Locator (URL) to use. | [optional] [default to "US"] |
Roles | Pointer to []string | List that contains the one or more organization or project roles that receive the configured alert. The resource requires this parameter when `"notifications.typeName" : "GROUP"` or `"notifications.typeName" : "ORG"`. If you include this parameter, MongoDB Cloud sends alerts only to users assigned the roles you specify in the array. If you omit this parameter, MongoDB Cloud sends alerts to users assigned any role. | [optional] |
RoomName | Pointer to string | HipChat API room name to which MongoDB Cloud sends alert notifications. The resource requires this parameter when `"notifications.typeName" : "HIP_CHAT"`". | [optional] |
ServiceKey | Pointer to string | PagerDuty service key that MongoDB Cloud needs to send notifications via PagerDuty. The resource requires this parameter when `"notifications.typeName" : "PAGER_DUTY"`. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it. | [optional] |
Severity | Pointer to string | Degree of seriousness given to this notification. | [optional] |
SmsEnabled | Pointer to bool | Flag that indicates whether MongoDB Cloud should send text message notifications. The resource requires this parameter when one of the following values have been set: - `"notifications.typeName" : "ORG"` - `"notifications.typeName" : "GROUP"` - `"notifications.typeName" : "USER"` | [optional] |
TeamId | Pointer to string | Unique 24-hexadecimal digit string that identifies one MongoDB Cloud team. The resource requires this parameter when `"notifications.typeName" : "TEAM"`. | [optional] |
TeamName | Pointer to string | Name of the MongoDB Cloud team that receives this notification. The resource requires this parameter when `"notifications.typeName" : "TEAM"`. | [optional] |
TypeName | Pointer to string | Human-readable label that displays the alert notification type. | [optional] |
Username | Pointer to string | MongoDB Cloud username of the person to whom MongoDB Cloud sends notifications. Specify only MongoDB Cloud users who belong to the project that owns the alert configuration. The resource requires this parameter when `"notifications.typeName" : "USER"`. | [optional] |
VictorOpsApiKey | Pointer to string | API key that MongoDB Cloud needs to send alert notifications to Splunk On-Call. The resource requires this parameter when `"notifications.typeName" : "VICTOR_OPS"`. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it. | [optional] |
VictorOpsRoutingKey | Pointer to string | Routing key that MongoDB Cloud needs to send alert notifications to Splunk On-Call. The resource requires this parameter when `"notifications.typeName" : "VICTOR_OPS"`. If the key later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it. | [optional] |
WebhookSecret | Pointer to string | An optional field for your webhook secret. | [optional] |
WebhookUrl | Pointer to string | Your webhook URL. | [optional] |
func NewApiNotificationView() *ApiNotificationView
NewApiNotificationView instantiates a new ApiNotificationView 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 NewApiNotificationViewWithDefaults() *ApiNotificationView
NewApiNotificationViewWithDefaults instantiates a new ApiNotificationView 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 *ApiNotificationView) GetApiToken() string
GetApiToken returns the ApiToken field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetApiTokenOk() (*string, bool)
GetApiTokenOk returns a tuple with the ApiToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetApiToken(v string)
SetApiToken sets ApiToken field to given value.
func (o *ApiNotificationView) HasApiToken() bool
HasApiToken returns a boolean if a field has been set.
func (o *ApiNotificationView) GetChannelName() string
GetChannelName returns the ChannelName field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetChannelNameOk() (*string, bool)
GetChannelNameOk returns a tuple with the ChannelName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetChannelName(v string)
SetChannelName sets ChannelName field to given value.
func (o *ApiNotificationView) HasChannelName() bool
HasChannelName returns a boolean if a field has been set.
func (o *ApiNotificationView) GetDatadogApiKey() string
GetDatadogApiKey returns the DatadogApiKey field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetDatadogApiKeyOk() (*string, bool)
GetDatadogApiKeyOk returns a tuple with the DatadogApiKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetDatadogApiKey(v string)
SetDatadogApiKey sets DatadogApiKey field to given value.
func (o *ApiNotificationView) HasDatadogApiKey() bool
HasDatadogApiKey returns a boolean if a field has been set.
func (o *ApiNotificationView) GetDatadogRegion() string
GetDatadogRegion returns the DatadogRegion field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetDatadogRegionOk() (*string, bool)
GetDatadogRegionOk returns a tuple with the DatadogRegion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetDatadogRegion(v string)
SetDatadogRegion sets DatadogRegion field to given value.
func (o *ApiNotificationView) HasDatadogRegion() bool
HasDatadogRegion returns a boolean if a field has been set.
func (o *ApiNotificationView) GetDelayMin() int32
GetDelayMin returns the DelayMin field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetDelayMinOk() (*int32, bool)
GetDelayMinOk returns a tuple with the DelayMin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetDelayMin(v int32)
SetDelayMin sets DelayMin field to given value.
func (o *ApiNotificationView) HasDelayMin() bool
HasDelayMin returns a boolean if a field has been set.
func (o *ApiNotificationView) GetEmailAddress() string
GetEmailAddress returns the EmailAddress field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetEmailAddressOk() (*string, bool)
GetEmailAddressOk returns a tuple with the EmailAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetEmailAddress(v string)
SetEmailAddress sets EmailAddress field to given value.
func (o *ApiNotificationView) HasEmailAddress() bool
HasEmailAddress returns a boolean if a field has been set.
func (o *ApiNotificationView) GetEmailEnabled() bool
GetEmailEnabled returns the EmailEnabled field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetEmailEnabledOk() (*bool, bool)
GetEmailEnabledOk returns a tuple with the EmailEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetEmailEnabled(v bool)
SetEmailEnabled sets EmailEnabled field to given value.
func (o *ApiNotificationView) HasEmailEnabled() bool
HasEmailEnabled returns a boolean if a field has been set.
func (o *ApiNotificationView) GetIntervalMin() int32
GetIntervalMin returns the IntervalMin field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetIntervalMinOk() (*int32, bool)
GetIntervalMinOk returns a tuple with the IntervalMin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetIntervalMin(v int32)
SetIntervalMin sets IntervalMin field to given value.
func (o *ApiNotificationView) HasIntervalMin() bool
HasIntervalMin returns a boolean if a field has been set.
func (o *ApiNotificationView) GetMicrosoftTeamsWebhookUrl() string
GetMicrosoftTeamsWebhookUrl returns the MicrosoftTeamsWebhookUrl field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetMicrosoftTeamsWebhookUrlOk() (*string, bool)
GetMicrosoftTeamsWebhookUrlOk returns a tuple with the MicrosoftTeamsWebhookUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetMicrosoftTeamsWebhookUrl(v string)
SetMicrosoftTeamsWebhookUrl sets MicrosoftTeamsWebhookUrl field to given value.
func (o *ApiNotificationView) HasMicrosoftTeamsWebhookUrl() bool
HasMicrosoftTeamsWebhookUrl returns a boolean if a field has been set.
func (o *ApiNotificationView) GetMobileNumber() string
GetMobileNumber returns the MobileNumber field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetMobileNumberOk() (*string, bool)
GetMobileNumberOk returns a tuple with the MobileNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetMobileNumber(v string)
SetMobileNumber sets MobileNumber field to given value.
func (o *ApiNotificationView) HasMobileNumber() bool
HasMobileNumber returns a boolean if a field has been set.
func (o *ApiNotificationView) GetNotificationToken() string
GetNotificationToken returns the NotificationToken field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetNotificationTokenOk() (*string, bool)
GetNotificationTokenOk returns a tuple with the NotificationToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetNotificationToken(v string)
SetNotificationToken sets NotificationToken field to given value.
func (o *ApiNotificationView) HasNotificationToken() bool
HasNotificationToken returns a boolean if a field has been set.
func (o *ApiNotificationView) GetOpsGenieApiKey() string
GetOpsGenieApiKey returns the OpsGenieApiKey field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetOpsGenieApiKeyOk() (*string, bool)
GetOpsGenieApiKeyOk returns a tuple with the OpsGenieApiKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetOpsGenieApiKey(v string)
SetOpsGenieApiKey sets OpsGenieApiKey field to given value.
func (o *ApiNotificationView) HasOpsGenieApiKey() bool
HasOpsGenieApiKey returns a boolean if a field has been set.
func (o *ApiNotificationView) GetOpsGenieRegion() string
GetOpsGenieRegion returns the OpsGenieRegion field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetOpsGenieRegionOk() (*string, bool)
GetOpsGenieRegionOk returns a tuple with the OpsGenieRegion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetOpsGenieRegion(v string)
SetOpsGenieRegion sets OpsGenieRegion field to given value.
func (o *ApiNotificationView) HasOpsGenieRegion() bool
HasOpsGenieRegion returns a boolean if a field has been set.
func (o *ApiNotificationView) GetRoles() []string
GetRoles returns the Roles field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetRolesOk() (*[]string, bool)
GetRolesOk returns a tuple with the Roles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetRoles(v []string)
SetRoles sets Roles field to given value.
func (o *ApiNotificationView) HasRoles() bool
HasRoles returns a boolean if a field has been set.
func (o *ApiNotificationView) GetRoomName() string
GetRoomName returns the RoomName field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetRoomNameOk() (*string, bool)
GetRoomNameOk returns a tuple with the RoomName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetRoomName(v string)
SetRoomName sets RoomName field to given value.
func (o *ApiNotificationView) HasRoomName() bool
HasRoomName returns a boolean if a field has been set.
func (o *ApiNotificationView) GetServiceKey() string
GetServiceKey returns the ServiceKey field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetServiceKeyOk() (*string, bool)
GetServiceKeyOk returns a tuple with the ServiceKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetServiceKey(v string)
SetServiceKey sets ServiceKey field to given value.
func (o *ApiNotificationView) HasServiceKey() bool
HasServiceKey returns a boolean if a field has been set.
func (o *ApiNotificationView) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetSeverity(v string)
SetSeverity sets Severity field to given value.
func (o *ApiNotificationView) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (o *ApiNotificationView) GetSmsEnabled() bool
GetSmsEnabled returns the SmsEnabled field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetSmsEnabledOk() (*bool, bool)
GetSmsEnabledOk returns a tuple with the SmsEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetSmsEnabled(v bool)
SetSmsEnabled sets SmsEnabled field to given value.
func (o *ApiNotificationView) HasSmsEnabled() bool
HasSmsEnabled returns a boolean if a field has been set.
func (o *ApiNotificationView) GetTeamId() string
GetTeamId returns the TeamId field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetTeamIdOk() (*string, bool)
GetTeamIdOk returns a tuple with the TeamId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetTeamId(v string)
SetTeamId sets TeamId field to given value.
func (o *ApiNotificationView) HasTeamId() bool
HasTeamId returns a boolean if a field has been set.
func (o *ApiNotificationView) GetTeamName() string
GetTeamName returns the TeamName field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetTeamNameOk() (*string, bool)
GetTeamNameOk returns a tuple with the TeamName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetTeamName(v string)
SetTeamName sets TeamName field to given value.
func (o *ApiNotificationView) HasTeamName() bool
HasTeamName returns a boolean if a field has been set.
func (o *ApiNotificationView) GetTypeName() string
GetTypeName returns the TypeName field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetTypeNameOk() (*string, bool)
GetTypeNameOk returns a tuple with the TypeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetTypeName(v string)
SetTypeName sets TypeName field to given value.
func (o *ApiNotificationView) HasTypeName() bool
HasTypeName returns a boolean if a field has been set.
func (o *ApiNotificationView) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *ApiNotificationView) 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 *ApiNotificationView) SetUsername(v string)
SetUsername sets Username field to given value.
func (o *ApiNotificationView) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (o *ApiNotificationView) GetVictorOpsApiKey() string
GetVictorOpsApiKey returns the VictorOpsApiKey field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetVictorOpsApiKeyOk() (*string, bool)
GetVictorOpsApiKeyOk returns a tuple with the VictorOpsApiKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetVictorOpsApiKey(v string)
SetVictorOpsApiKey sets VictorOpsApiKey field to given value.
func (o *ApiNotificationView) HasVictorOpsApiKey() bool
HasVictorOpsApiKey returns a boolean if a field has been set.
func (o *ApiNotificationView) GetVictorOpsRoutingKey() string
GetVictorOpsRoutingKey returns the VictorOpsRoutingKey field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetVictorOpsRoutingKeyOk() (*string, bool)
GetVictorOpsRoutingKeyOk returns a tuple with the VictorOpsRoutingKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetVictorOpsRoutingKey(v string)
SetVictorOpsRoutingKey sets VictorOpsRoutingKey field to given value.
func (o *ApiNotificationView) HasVictorOpsRoutingKey() bool
HasVictorOpsRoutingKey returns a boolean if a field has been set.
func (o *ApiNotificationView) GetWebhookSecret() string
GetWebhookSecret returns the WebhookSecret field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetWebhookSecretOk() (*string, bool)
GetWebhookSecretOk returns a tuple with the WebhookSecret field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetWebhookSecret(v string)
SetWebhookSecret sets WebhookSecret field to given value.
func (o *ApiNotificationView) HasWebhookSecret() bool
HasWebhookSecret returns a boolean if a field has been set.
func (o *ApiNotificationView) GetWebhookUrl() string
GetWebhookUrl returns the WebhookUrl field if non-nil, zero value otherwise.
func (o *ApiNotificationView) GetWebhookUrlOk() (*string, bool)
GetWebhookUrlOk returns a tuple with the WebhookUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiNotificationView) SetWebhookUrl(v string)
SetWebhookUrl sets WebhookUrl field to given value.
func (o *ApiNotificationView) HasWebhookUrl() bool
HasWebhookUrl returns a boolean if a field has been set.