alerting

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for alerting

OpenAPI schema for alerting endpoints

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 0.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import alerting "github.com/elastic/terraform-provider-elasticstack/alerting"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value alerting.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), alerting.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value alerting.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), alerting.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using alerting.ContextOperationServerIndices and alerting.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), alerting.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), alerting.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to http://localhost:5601

Class Method HTTP request Description
AlertingAPI CreateRule Post /s/{spaceId}/api/alerting/rule/{ruleId} Creates a rule.
AlertingAPI DeleteRule Delete /s/{spaceId}/api/alerting/rule/{ruleId} Deletes a rule.
AlertingAPI DisableRule Post /s/{spaceId}/api/alerting/rule/{ruleId}/_disable Disables a rule.
AlertingAPI EnableRule Post /s/{spaceId}/api/alerting/rule/{ruleId}/_enable Enables a rule.
AlertingAPI FindRules Get /s/{spaceId}/api/alerting/rules/_find Retrieves information about rules.
AlertingAPI GetAlertingHealth Get /s/{spaceId}/api/alerting/_health Retrieves the health status of the alerting framework.
AlertingAPI GetRule Get /s/{spaceId}/api/alerting/rule/{ruleId} Retrieves a rule by its identifier.
AlertingAPI GetRuleTypes Get /s/{spaceId}/api/alerting/rule_types Retrieves a list of rule types.
AlertingAPI LegacyCreateAlert Post /s/{spaceId}/api/alerts/alert/{alertId} Create an alert.
AlertingAPI LegacyDisableAlert Post /s/{spaceId}/api/alerts/alert/{alertId}/_disable Disables an alert.
AlertingAPI LegacyEnableAlert Post /s/{spaceId}/api/alerts/alert/{alertId}/_enable Enables an alert.
AlertingAPI LegacyFindAlerts Get /s/{spaceId}/api/alerts/alerts/_find Retrieves a paginated set of alerts.
AlertingAPI LegacyGetAlert Get /s/{spaceId}/api/alerts/alert/{alertId} Retrieves an alert by its identifier.
AlertingAPI LegacyGetAlertTypes Get /s/{spaceId}/api/alerts/alerts/list_alert_types Retrieves a list of alert types.
AlertingAPI LegacyGetAlertingHealth Get /s/{spaceId}/api/alerts/alerts/_health Retrieves the health status of the alerting framework.
AlertingAPI LegacyMuteAlertInstance Post /s/{spaceId}/api/alerts/alert/{alertId}/alert_instance/{alertInstanceId}/_mute Mutes an alert instance.
AlertingAPI LegacyMuteAllAlertInstances Post /s/{spaceId}/api/alerts/alert/{alertId}/_mute_all Mutes all alert instances.
AlertingAPI LegacyUnmuteAlertInstance Post /s/{spaceId}/api/alerts/alert/{alertId}/alert_instance/{alertInstanceId}/_unmute Unmutes an alert instance.
AlertingAPI LegacyUnmuteAllAlertInstances Post /s/{spaceId}/api/alerts/alert/{alertId}/_unmute_all Unmutes all alert instances.
AlertingAPI LegacyUpdateAlert Put /s/{spaceId}/api/alerts/alert/{alertId} Updates the attributes for an alert.
AlertingAPI LegaryDeleteAlert Delete /s/{spaceId}/api/alerts/alert/{alertId} Permanently removes an alert.
AlertingAPI MuteAlert Post /s/{spaceId}/api/alerting/rule/{ruleId}/alert/{alertId}/_mute Mutes an alert.
AlertingAPI MuteAllAlerts Post /s/{spaceId}/api/alerting/rule/{ruleId}/_mute_all Mutes all alerts.
AlertingAPI UnmuteAlert Post /s/{spaceId}/api/alerting/rule/{ruleId}/alert/{alertId}/_unmute Unmutes an alert.
AlertingAPI UnmuteAllAlerts Post /s/{spaceId}/api/alerting/rule/{ruleId}/_unmute_all Unmutes all alerts.
AlertingAPI UpdateRule Put /s/{spaceId}/api/alerting/rule/{ruleId} Updates the attributes for a rule.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth
  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), alerting.ContextBasicAuth, alerting.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)
apiKeyAuth
  • Type: API key
  • API key parameter name: ApiKey
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: ApiKey and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		alerting.ContextAPIKeys,
		map[string]alerting.APIKey{
			"ApiKey": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedNotifyWhenEnumValues = []NotifyWhen{
	"onActionGroupChange",
	"onActiveAlert",
	"onThrottleInterval",
}

All allowed values of NotifyWhen enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	AlertingAPI AlertingAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the Alerting API v0.1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActionsInner

type ActionsInner struct {
	// The type of connector. This property appears in responses but cannot be set in requests.
	ConnectorTypeId *string                `json:"connector_type_id,omitempty"`
	Frequency       *ActionsInnerFrequency `json:"frequency,omitempty"`
	// The group name for the actions. If you don't need to group actions, set to `default`.
	Group *string `json:"group,omitempty"`
	// The identifier for the connector saved object.
	Id *string `json:"id,omitempty"`
	// The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context.
	Params map[string]interface{} `json:"params,omitempty"`
}

ActionsInner struct for ActionsInner

func NewActionsInner

func NewActionsInner() *ActionsInner

NewActionsInner instantiates a new ActionsInner 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 NewActionsInnerWithDefaults

func NewActionsInnerWithDefaults() *ActionsInner

NewActionsInnerWithDefaults instantiates a new ActionsInner 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 (*ActionsInner) GetConnectorTypeId

func (o *ActionsInner) GetConnectorTypeId() string

GetConnectorTypeId returns the ConnectorTypeId field value if set, zero value otherwise.

func (*ActionsInner) GetConnectorTypeIdOk

func (o *ActionsInner) GetConnectorTypeIdOk() (*string, bool)

GetConnectorTypeIdOk returns a tuple with the ConnectorTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionsInner) GetFrequency

func (o *ActionsInner) GetFrequency() ActionsInnerFrequency

GetFrequency returns the Frequency field value if set, zero value otherwise.

func (*ActionsInner) GetFrequencyOk

func (o *ActionsInner) GetFrequencyOk() (*ActionsInnerFrequency, bool)

GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionsInner) GetGroup

func (o *ActionsInner) GetGroup() string

GetGroup returns the Group field value if set, zero value otherwise.

func (*ActionsInner) GetGroupOk

func (o *ActionsInner) GetGroupOk() (*string, bool)

GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionsInner) GetId

func (o *ActionsInner) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ActionsInner) GetIdOk

func (o *ActionsInner) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionsInner) GetParams

func (o *ActionsInner) GetParams() map[string]interface{}

GetParams returns the Params field value if set, zero value otherwise.

func (*ActionsInner) GetParamsOk

func (o *ActionsInner) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActionsInner) HasConnectorTypeId

func (o *ActionsInner) HasConnectorTypeId() bool

HasConnectorTypeId returns a boolean if a field has been set.

func (*ActionsInner) HasFrequency

func (o *ActionsInner) HasFrequency() bool

HasFrequency returns a boolean if a field has been set.

func (*ActionsInner) HasGroup

func (o *ActionsInner) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*ActionsInner) HasId

func (o *ActionsInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*ActionsInner) HasParams

func (o *ActionsInner) HasParams() bool

HasParams returns a boolean if a field has been set.

func (ActionsInner) MarshalJSON

func (o ActionsInner) MarshalJSON() ([]byte, error)

func (*ActionsInner) SetConnectorTypeId

func (o *ActionsInner) SetConnectorTypeId(v string)

SetConnectorTypeId gets a reference to the given string and assigns it to the ConnectorTypeId field.

func (*ActionsInner) SetFrequency

func (o *ActionsInner) SetFrequency(v ActionsInnerFrequency)

SetFrequency gets a reference to the given ActionsInnerFrequency and assigns it to the Frequency field.

func (*ActionsInner) SetGroup

func (o *ActionsInner) SetGroup(v string)

SetGroup gets a reference to the given string and assigns it to the Group field.

func (*ActionsInner) SetId

func (o *ActionsInner) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ActionsInner) SetParams

func (o *ActionsInner) SetParams(v map[string]interface{})

SetParams gets a reference to the given map[string]interface{} and assigns it to the Params field.

func (ActionsInner) ToMap

func (o ActionsInner) ToMap() (map[string]interface{}, error)

type ActionsInnerFrequency

type ActionsInnerFrequency struct {
	NotifyWhen NotifyWhen `json:"notify_when"`
	// Indicates whether the action is a summary.
	Summary bool `json:"summary"`
	// The throttle interval, which defines how often an alert generates repeated actions. It is applicable only if `notify_when` is set to `onThrottleInterval`. It is specified in seconds, minutes, hours, or days.
	Throttle NullableString `json:"throttle,omitempty"`
}

ActionsInnerFrequency The parameters that affect how often actions are generated. NOTE: You cannot specify these parameters when `notify_when` or `throttle` are defined at the rule level.

func NewActionsInnerFrequency

func NewActionsInnerFrequency(notifyWhen NotifyWhen, summary bool) *ActionsInnerFrequency

NewActionsInnerFrequency instantiates a new ActionsInnerFrequency 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 NewActionsInnerFrequencyWithDefaults

func NewActionsInnerFrequencyWithDefaults() *ActionsInnerFrequency

NewActionsInnerFrequencyWithDefaults instantiates a new ActionsInnerFrequency 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 (*ActionsInnerFrequency) GetNotifyWhen

func (o *ActionsInnerFrequency) GetNotifyWhen() NotifyWhen

GetNotifyWhen returns the NotifyWhen field value

func (*ActionsInnerFrequency) GetNotifyWhenOk

func (o *ActionsInnerFrequency) GetNotifyWhenOk() (*NotifyWhen, bool)

GetNotifyWhenOk returns a tuple with the NotifyWhen field value and a boolean to check if the value has been set.

func (*ActionsInnerFrequency) GetSummary

func (o *ActionsInnerFrequency) GetSummary() bool

GetSummary returns the Summary field value

func (*ActionsInnerFrequency) GetSummaryOk

func (o *ActionsInnerFrequency) GetSummaryOk() (*bool, bool)

GetSummaryOk returns a tuple with the Summary field value and a boolean to check if the value has been set.

func (*ActionsInnerFrequency) GetThrottle

func (o *ActionsInnerFrequency) GetThrottle() string

GetThrottle returns the Throttle field value if set, zero value otherwise (both if not set or set to explicit null).

func (*ActionsInnerFrequency) GetThrottleOk

func (o *ActionsInnerFrequency) GetThrottleOk() (*string, bool)

GetThrottleOk returns a tuple with the Throttle field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*ActionsInnerFrequency) HasThrottle

func (o *ActionsInnerFrequency) HasThrottle() bool

HasThrottle returns a boolean if a field has been set.

func (ActionsInnerFrequency) MarshalJSON

func (o ActionsInnerFrequency) MarshalJSON() ([]byte, error)

func (*ActionsInnerFrequency) SetNotifyWhen

func (o *ActionsInnerFrequency) SetNotifyWhen(v NotifyWhen)

SetNotifyWhen sets field value

func (*ActionsInnerFrequency) SetSummary

func (o *ActionsInnerFrequency) SetSummary(v bool)

SetSummary sets field value

func (*ActionsInnerFrequency) SetThrottle

func (o *ActionsInnerFrequency) SetThrottle(v string)

SetThrottle gets a reference to the given NullableString and assigns it to the Throttle field.

func (*ActionsInnerFrequency) SetThrottleNil

func (o *ActionsInnerFrequency) SetThrottleNil()

SetThrottleNil sets the value for Throttle to be an explicit nil

func (ActionsInnerFrequency) ToMap

func (o ActionsInnerFrequency) ToMap() (map[string]interface{}, error)

func (*ActionsInnerFrequency) UnmarshalJSON added in v0.11.0

func (o *ActionsInnerFrequency) UnmarshalJSON(bytes []byte) (err error)

func (*ActionsInnerFrequency) UnsetThrottle

func (o *ActionsInnerFrequency) UnsetThrottle()

UnsetThrottle ensures that no value is present for Throttle, not even an explicit nil

type AlertResponseProperties

type AlertResponseProperties struct {
	Actions     []map[string]interface{} `json:"actions,omitempty"`
	AlertTypeId *string                  `json:"alertTypeId,omitempty"`
	ApiKeyOwner NullableString           `json:"apiKeyOwner,omitempty"`
	// The date and time that the alert was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The identifier for the user that created the alert.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Indicates whether the alert is currently enabled.
	Enabled         *bool                                   `json:"enabled,omitempty"`
	ExecutionStatus *AlertResponsePropertiesExecutionStatus `json:"executionStatus,omitempty"`
	// The identifier for the alert.
	Id               *string  `json:"id,omitempty"`
	MuteAll          *bool    `json:"muteAll,omitempty"`
	MutedInstanceIds []string `json:"mutedInstanceIds,omitempty"`
	// The name of the alert.
	Name            *string                          `json:"name,omitempty"`
	NotifyWhen      *string                          `json:"notifyWhen,omitempty"`
	Params          map[string]interface{}           `json:"params,omitempty"`
	Schedule        *AlertResponsePropertiesSchedule `json:"schedule,omitempty"`
	ScheduledTaskId *string                          `json:"scheduledTaskId,omitempty"`
	Tags            []string                         `json:"tags,omitempty"`
	Throttle        NullableString                   `json:"throttle,omitempty"`
	UpdatedAt       *string                          `json:"updatedAt,omitempty"`
	// The identifier for the user that updated this alert most recently.
	UpdatedBy NullableString `json:"updatedBy,omitempty"`
}

AlertResponseProperties struct for AlertResponseProperties

func NewAlertResponseProperties

func NewAlertResponseProperties() *AlertResponseProperties

NewAlertResponseProperties instantiates a new AlertResponseProperties 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 NewAlertResponsePropertiesWithDefaults

func NewAlertResponsePropertiesWithDefaults() *AlertResponseProperties

NewAlertResponsePropertiesWithDefaults instantiates a new AlertResponseProperties 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 (*AlertResponseProperties) GetActions

func (o *AlertResponseProperties) GetActions() []map[string]interface{}

GetActions returns the Actions field value if set, zero value otherwise.

func (*AlertResponseProperties) GetActionsOk

func (o *AlertResponseProperties) GetActionsOk() ([]map[string]interface{}, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetAlertTypeId

func (o *AlertResponseProperties) GetAlertTypeId() string

GetAlertTypeId returns the AlertTypeId field value if set, zero value otherwise.

func (*AlertResponseProperties) GetAlertTypeIdOk

func (o *AlertResponseProperties) GetAlertTypeIdOk() (*string, bool)

GetAlertTypeIdOk returns a tuple with the AlertTypeId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetApiKeyOwner

func (o *AlertResponseProperties) GetApiKeyOwner() string

GetApiKeyOwner returns the ApiKeyOwner field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlertResponseProperties) GetApiKeyOwnerOk

func (o *AlertResponseProperties) GetApiKeyOwnerOk() (*string, bool)

GetApiKeyOwnerOk returns a tuple with the ApiKeyOwner field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlertResponseProperties) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*AlertResponseProperties) GetCreatedAtOk

func (o *AlertResponseProperties) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetCreatedBy

func (o *AlertResponseProperties) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.

func (*AlertResponseProperties) GetCreatedByOk

func (o *AlertResponseProperties) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetEnabled

func (o *AlertResponseProperties) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*AlertResponseProperties) GetEnabledOk

func (o *AlertResponseProperties) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetExecutionStatus

GetExecutionStatus returns the ExecutionStatus field value if set, zero value otherwise.

func (*AlertResponseProperties) GetExecutionStatusOk

GetExecutionStatusOk returns a tuple with the ExecutionStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetId

func (o *AlertResponseProperties) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*AlertResponseProperties) GetIdOk

func (o *AlertResponseProperties) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetMuteAll

func (o *AlertResponseProperties) GetMuteAll() bool

GetMuteAll returns the MuteAll field value if set, zero value otherwise.

func (*AlertResponseProperties) GetMuteAllOk

func (o *AlertResponseProperties) GetMuteAllOk() (*bool, bool)

GetMuteAllOk returns a tuple with the MuteAll field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetMutedInstanceIds

func (o *AlertResponseProperties) GetMutedInstanceIds() []string

GetMutedInstanceIds returns the MutedInstanceIds field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlertResponseProperties) GetMutedInstanceIdsOk

func (o *AlertResponseProperties) GetMutedInstanceIdsOk() ([]string, bool)

GetMutedInstanceIdsOk returns a tuple with the MutedInstanceIds field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlertResponseProperties) GetName

func (o *AlertResponseProperties) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*AlertResponseProperties) GetNameOk

func (o *AlertResponseProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetNotifyWhen

func (o *AlertResponseProperties) GetNotifyWhen() string

GetNotifyWhen returns the NotifyWhen field value if set, zero value otherwise.

func (*AlertResponseProperties) GetNotifyWhenOk

func (o *AlertResponseProperties) GetNotifyWhenOk() (*string, bool)

GetNotifyWhenOk returns a tuple with the NotifyWhen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetParams

func (o *AlertResponseProperties) GetParams() map[string]interface{}

GetParams returns the Params field value if set, zero value otherwise.

func (*AlertResponseProperties) GetParamsOk

func (o *AlertResponseProperties) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetSchedule

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*AlertResponseProperties) GetScheduleOk

GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetScheduledTaskId

func (o *AlertResponseProperties) GetScheduledTaskId() string

GetScheduledTaskId returns the ScheduledTaskId field value if set, zero value otherwise.

func (*AlertResponseProperties) GetScheduledTaskIdOk

func (o *AlertResponseProperties) GetScheduledTaskIdOk() (*string, bool)

GetScheduledTaskIdOk returns a tuple with the ScheduledTaskId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetTags

func (o *AlertResponseProperties) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*AlertResponseProperties) GetTagsOk

func (o *AlertResponseProperties) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetThrottle

func (o *AlertResponseProperties) GetThrottle() string

GetThrottle returns the Throttle field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlertResponseProperties) GetThrottleOk

func (o *AlertResponseProperties) GetThrottleOk() (*string, bool)

GetThrottleOk returns a tuple with the Throttle field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlertResponseProperties) GetUpdatedAt

func (o *AlertResponseProperties) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*AlertResponseProperties) GetUpdatedAtOk

func (o *AlertResponseProperties) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponseProperties) GetUpdatedBy

func (o *AlertResponseProperties) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AlertResponseProperties) GetUpdatedByOk

func (o *AlertResponseProperties) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AlertResponseProperties) HasActions

func (o *AlertResponseProperties) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*AlertResponseProperties) HasAlertTypeId

func (o *AlertResponseProperties) HasAlertTypeId() bool

HasAlertTypeId returns a boolean if a field has been set.

func (*AlertResponseProperties) HasApiKeyOwner

func (o *AlertResponseProperties) HasApiKeyOwner() bool

HasApiKeyOwner returns a boolean if a field has been set.

func (*AlertResponseProperties) HasCreatedAt

func (o *AlertResponseProperties) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*AlertResponseProperties) HasCreatedBy

func (o *AlertResponseProperties) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*AlertResponseProperties) HasEnabled

func (o *AlertResponseProperties) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*AlertResponseProperties) HasExecutionStatus

func (o *AlertResponseProperties) HasExecutionStatus() bool

HasExecutionStatus returns a boolean if a field has been set.

func (*AlertResponseProperties) HasId

func (o *AlertResponseProperties) HasId() bool

HasId returns a boolean if a field has been set.

func (*AlertResponseProperties) HasMuteAll

func (o *AlertResponseProperties) HasMuteAll() bool

HasMuteAll returns a boolean if a field has been set.

func (*AlertResponseProperties) HasMutedInstanceIds

func (o *AlertResponseProperties) HasMutedInstanceIds() bool

HasMutedInstanceIds returns a boolean if a field has been set.

func (*AlertResponseProperties) HasName

func (o *AlertResponseProperties) HasName() bool

HasName returns a boolean if a field has been set.

func (*AlertResponseProperties) HasNotifyWhen

func (o *AlertResponseProperties) HasNotifyWhen() bool

HasNotifyWhen returns a boolean if a field has been set.

func (*AlertResponseProperties) HasParams

func (o *AlertResponseProperties) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*AlertResponseProperties) HasSchedule

func (o *AlertResponseProperties) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (*AlertResponseProperties) HasScheduledTaskId

func (o *AlertResponseProperties) HasScheduledTaskId() bool

HasScheduledTaskId returns a boolean if a field has been set.

func (*AlertResponseProperties) HasTags

func (o *AlertResponseProperties) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*AlertResponseProperties) HasThrottle

func (o *AlertResponseProperties) HasThrottle() bool

HasThrottle returns a boolean if a field has been set.

func (*AlertResponseProperties) HasUpdatedAt

func (o *AlertResponseProperties) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*AlertResponseProperties) HasUpdatedBy

func (o *AlertResponseProperties) HasUpdatedBy() bool

HasUpdatedBy returns a boolean if a field has been set.

func (AlertResponseProperties) MarshalJSON

func (o AlertResponseProperties) MarshalJSON() ([]byte, error)

func (*AlertResponseProperties) SetActions

func (o *AlertResponseProperties) SetActions(v []map[string]interface{})

SetActions gets a reference to the given []map[string]interface{} and assigns it to the Actions field.

func (*AlertResponseProperties) SetAlertTypeId

func (o *AlertResponseProperties) SetAlertTypeId(v string)

SetAlertTypeId gets a reference to the given string and assigns it to the AlertTypeId field.

func (*AlertResponseProperties) SetApiKeyOwner

func (o *AlertResponseProperties) SetApiKeyOwner(v string)

SetApiKeyOwner gets a reference to the given NullableString and assigns it to the ApiKeyOwner field.

func (*AlertResponseProperties) SetApiKeyOwnerNil

func (o *AlertResponseProperties) SetApiKeyOwnerNil()

SetApiKeyOwnerNil sets the value for ApiKeyOwner to be an explicit nil

func (*AlertResponseProperties) SetCreatedAt

func (o *AlertResponseProperties) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*AlertResponseProperties) SetCreatedBy

func (o *AlertResponseProperties) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*AlertResponseProperties) SetEnabled

func (o *AlertResponseProperties) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*AlertResponseProperties) SetExecutionStatus

SetExecutionStatus gets a reference to the given AlertResponsePropertiesExecutionStatus and assigns it to the ExecutionStatus field.

func (*AlertResponseProperties) SetId

func (o *AlertResponseProperties) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*AlertResponseProperties) SetMuteAll

func (o *AlertResponseProperties) SetMuteAll(v bool)

SetMuteAll gets a reference to the given bool and assigns it to the MuteAll field.

func (*AlertResponseProperties) SetMutedInstanceIds

func (o *AlertResponseProperties) SetMutedInstanceIds(v []string)

SetMutedInstanceIds gets a reference to the given []string and assigns it to the MutedInstanceIds field.

func (*AlertResponseProperties) SetName

func (o *AlertResponseProperties) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*AlertResponseProperties) SetNotifyWhen

func (o *AlertResponseProperties) SetNotifyWhen(v string)

SetNotifyWhen gets a reference to the given string and assigns it to the NotifyWhen field.

func (*AlertResponseProperties) SetParams

func (o *AlertResponseProperties) SetParams(v map[string]interface{})

SetParams gets a reference to the given map[string]interface{} and assigns it to the Params field.

func (*AlertResponseProperties) SetSchedule

SetSchedule gets a reference to the given AlertResponsePropertiesSchedule and assigns it to the Schedule field.

func (*AlertResponseProperties) SetScheduledTaskId

func (o *AlertResponseProperties) SetScheduledTaskId(v string)

SetScheduledTaskId gets a reference to the given string and assigns it to the ScheduledTaskId field.

func (*AlertResponseProperties) SetTags

func (o *AlertResponseProperties) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*AlertResponseProperties) SetThrottle

func (o *AlertResponseProperties) SetThrottle(v string)

SetThrottle gets a reference to the given NullableString and assigns it to the Throttle field.

func (*AlertResponseProperties) SetThrottleNil

func (o *AlertResponseProperties) SetThrottleNil()

SetThrottleNil sets the value for Throttle to be an explicit nil

func (*AlertResponseProperties) SetUpdatedAt

func (o *AlertResponseProperties) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*AlertResponseProperties) SetUpdatedBy

func (o *AlertResponseProperties) SetUpdatedBy(v string)

SetUpdatedBy gets a reference to the given NullableString and assigns it to the UpdatedBy field.

func (*AlertResponseProperties) SetUpdatedByNil

func (o *AlertResponseProperties) SetUpdatedByNil()

SetUpdatedByNil sets the value for UpdatedBy to be an explicit nil

func (AlertResponseProperties) ToMap

func (o AlertResponseProperties) ToMap() (map[string]interface{}, error)

func (*AlertResponseProperties) UnsetApiKeyOwner

func (o *AlertResponseProperties) UnsetApiKeyOwner()

UnsetApiKeyOwner ensures that no value is present for ApiKeyOwner, not even an explicit nil

func (*AlertResponseProperties) UnsetThrottle

func (o *AlertResponseProperties) UnsetThrottle()

UnsetThrottle ensures that no value is present for Throttle, not even an explicit nil

func (*AlertResponseProperties) UnsetUpdatedBy

func (o *AlertResponseProperties) UnsetUpdatedBy()

UnsetUpdatedBy ensures that no value is present for UpdatedBy, not even an explicit nil

type AlertResponsePropertiesExecutionStatus

type AlertResponsePropertiesExecutionStatus struct {
	LastExecutionDate *time.Time `json:"lastExecutionDate,omitempty"`
	Status            *string    `json:"status,omitempty"`
}

AlertResponsePropertiesExecutionStatus struct for AlertResponsePropertiesExecutionStatus

func NewAlertResponsePropertiesExecutionStatus

func NewAlertResponsePropertiesExecutionStatus() *AlertResponsePropertiesExecutionStatus

NewAlertResponsePropertiesExecutionStatus instantiates a new AlertResponsePropertiesExecutionStatus 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 NewAlertResponsePropertiesExecutionStatusWithDefaults

func NewAlertResponsePropertiesExecutionStatusWithDefaults() *AlertResponsePropertiesExecutionStatus

NewAlertResponsePropertiesExecutionStatusWithDefaults instantiates a new AlertResponsePropertiesExecutionStatus 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 (*AlertResponsePropertiesExecutionStatus) GetLastExecutionDate

func (o *AlertResponsePropertiesExecutionStatus) GetLastExecutionDate() time.Time

GetLastExecutionDate returns the LastExecutionDate field value if set, zero value otherwise.

func (*AlertResponsePropertiesExecutionStatus) GetLastExecutionDateOk

func (o *AlertResponsePropertiesExecutionStatus) GetLastExecutionDateOk() (*time.Time, bool)

GetLastExecutionDateOk returns a tuple with the LastExecutionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponsePropertiesExecutionStatus) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*AlertResponsePropertiesExecutionStatus) GetStatusOk

func (o *AlertResponsePropertiesExecutionStatus) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponsePropertiesExecutionStatus) HasLastExecutionDate

func (o *AlertResponsePropertiesExecutionStatus) HasLastExecutionDate() bool

HasLastExecutionDate returns a boolean if a field has been set.

func (*AlertResponsePropertiesExecutionStatus) HasStatus

HasStatus returns a boolean if a field has been set.

func (AlertResponsePropertiesExecutionStatus) MarshalJSON

func (o AlertResponsePropertiesExecutionStatus) MarshalJSON() ([]byte, error)

func (*AlertResponsePropertiesExecutionStatus) SetLastExecutionDate

func (o *AlertResponsePropertiesExecutionStatus) SetLastExecutionDate(v time.Time)

SetLastExecutionDate gets a reference to the given time.Time and assigns it to the LastExecutionDate field.

func (*AlertResponsePropertiesExecutionStatus) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (AlertResponsePropertiesExecutionStatus) ToMap

func (o AlertResponsePropertiesExecutionStatus) ToMap() (map[string]interface{}, error)

type AlertResponsePropertiesSchedule

type AlertResponsePropertiesSchedule struct {
	Interval *string `json:"interval,omitempty"`
}

AlertResponsePropertiesSchedule struct for AlertResponsePropertiesSchedule

func NewAlertResponsePropertiesSchedule

func NewAlertResponsePropertiesSchedule() *AlertResponsePropertiesSchedule

NewAlertResponsePropertiesSchedule instantiates a new AlertResponsePropertiesSchedule 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 NewAlertResponsePropertiesScheduleWithDefaults

func NewAlertResponsePropertiesScheduleWithDefaults() *AlertResponsePropertiesSchedule

NewAlertResponsePropertiesScheduleWithDefaults instantiates a new AlertResponsePropertiesSchedule 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 (*AlertResponsePropertiesSchedule) GetInterval

func (o *AlertResponsePropertiesSchedule) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*AlertResponsePropertiesSchedule) GetIntervalOk

func (o *AlertResponsePropertiesSchedule) GetIntervalOk() (*string, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertResponsePropertiesSchedule) HasInterval

func (o *AlertResponsePropertiesSchedule) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (AlertResponsePropertiesSchedule) MarshalJSON

func (o AlertResponsePropertiesSchedule) MarshalJSON() ([]byte, error)

func (*AlertResponsePropertiesSchedule) SetInterval

func (o *AlertResponsePropertiesSchedule) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (AlertResponsePropertiesSchedule) ToMap

func (o AlertResponsePropertiesSchedule) ToMap() (map[string]interface{}, error)

type AlertingAPI added in v0.11.0

type AlertingAPI interface {

	/*
		CreateRule Creates a rule.

		You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features.  If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param ruleId An UUID v1 or v4 identifier for the rule. If you omit this parameter, an identifier is randomly generated.
		@return ApiCreateRuleRequest
	*/
	CreateRule(ctx context.Context, spaceId string, ruleId string) ApiCreateRuleRequest

	// CreateRuleExecute executes the request
	//  @return RuleResponseProperties
	CreateRuleExecute(r ApiCreateRuleRequest) (*RuleResponseProperties, *http.Response, error)

	/*
		DeleteRule Deletes a rule.

		You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're deleting. For example, the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or **Machine Learning** features, **Observability**, or **Security** features. WARNING: After you delete a rule, you cannot recover it.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiDeleteRuleRequest
	*/
	DeleteRule(ctx context.Context, ruleId string, spaceId string) ApiDeleteRuleRequest

	// DeleteRuleExecute executes the request
	DeleteRuleExecute(r ApiDeleteRuleRequest) (*http.Response, error)

	/*
		DisableRule Disables a rule.

		You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiDisableRuleRequest
	*/
	DisableRule(ctx context.Context, ruleId string, spaceId string) ApiDisableRuleRequest

	// DisableRuleExecute executes the request
	DisableRuleExecute(r ApiDisableRuleRequest) (*http.Response, error)

	/*
		EnableRule Enables a rule.

		This API supports token-based authentication only. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiEnableRuleRequest
	*/
	EnableRule(ctx context.Context, ruleId string, spaceId string) ApiEnableRuleRequest

	// EnableRuleExecute executes the request
	EnableRuleExecute(r ApiEnableRuleRequest) (*http.Response, error)

	/*
		FindRules Retrieves information about rules.

		You must have `read` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rules you're seeking. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. To find rules associated with the **Stack Monitoring** feature, use the `monitoring_user` built-in role.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiFindRulesRequest
	*/
	FindRules(ctx context.Context, spaceId string) ApiFindRulesRequest

	// FindRulesExecute executes the request
	//  @return FindRules200Response
	FindRulesExecute(r ApiFindRulesRequest) (*FindRules200Response, *http.Response, error)

	/*
		GetAlertingHealth Retrieves the health status of the alerting framework.

		You must have `read` privileges for the **Management > Stack Rules** feature or for at least one of the **Analytics > Discover**, **Analytics > Machine Learning**, **Observability**, or **Security** features.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiGetAlertingHealthRequest
	*/
	GetAlertingHealth(ctx context.Context, spaceId string) ApiGetAlertingHealthRequest

	// GetAlertingHealthExecute executes the request
	//  @return GetAlertingHealth200Response
	GetAlertingHealthExecute(r ApiGetAlertingHealthRequest) (*GetAlertingHealth200Response, *http.Response, error)

	/*
		GetRule Retrieves a rule by its identifier.

		You must have `read` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rules you're seeking. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. To get rules associated with the **Stack Monitoring** feature, use the `monitoring_user` built-in role.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiGetRuleRequest
	*/
	GetRule(ctx context.Context, ruleId string, spaceId string) ApiGetRuleRequest

	// GetRuleExecute executes the request
	//  @return RuleResponseProperties
	GetRuleExecute(r ApiGetRuleRequest) (*RuleResponseProperties, *http.Response, error)

	/*
		GetRuleTypes Retrieves a list of rule types.

		If you have `read` privileges for one or more Kibana features, the API response contains information about the appropriate rule types. For example, there are rule types associated with the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, and **Security** features. To get rule types associated with the **Stack Monitoring** feature, use the `monitoring_user` built-in role.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiGetRuleTypesRequest
	*/
	GetRuleTypes(ctx context.Context, spaceId string) ApiGetRuleTypesRequest

	// GetRuleTypesExecute executes the request
	//  @return []GetRuleTypes200ResponseInner
	GetRuleTypesExecute(r ApiGetRuleTypesRequest) ([]GetRuleTypes200ResponseInner, *http.Response, error)

	/*
		LegacyCreateAlert Create an alert.

		Deprecated in 7.13.0. Use the create rule API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param alertId An UUID v1 or v4 identifier for the alert. If this parameter is omitted, the identifier is randomly generated.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiLegacyCreateAlertRequest

		Deprecated
	*/
	LegacyCreateAlert(ctx context.Context, alertId string, spaceId string) ApiLegacyCreateAlertRequest

	// LegacyCreateAlertExecute executes the request
	//  @return AlertResponseProperties
	// Deprecated
	LegacyCreateAlertExecute(r ApiLegacyCreateAlertRequest) (*AlertResponseProperties, *http.Response, error)

	/*
		LegacyDisableAlert Disables an alert.

		Deprecated in 7.13.0. Use the disable rule API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId The identifier for the alert.
		@return ApiLegacyDisableAlertRequest

		Deprecated
	*/
	LegacyDisableAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyDisableAlertRequest

	// LegacyDisableAlertExecute executes the request
	// Deprecated
	LegacyDisableAlertExecute(r ApiLegacyDisableAlertRequest) (*http.Response, error)

	/*
		LegacyEnableAlert Enables an alert.

		Deprecated in 7.13.0. Use the enable rule API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId The identifier for the alert.
		@return ApiLegacyEnableAlertRequest

		Deprecated
	*/
	LegacyEnableAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyEnableAlertRequest

	// LegacyEnableAlertExecute executes the request
	// Deprecated
	LegacyEnableAlertExecute(r ApiLegacyEnableAlertRequest) (*http.Response, error)

	/*
		LegacyFindAlerts Retrieves a paginated set of alerts.

		Deprecated in 7.13.0. Use the find rules API instead. NOTE: Alert `params` are stored as a flattened field type and analyzed as keywords. As alerts change in Kibana, the results on each page of the response also change. Use the find API for traditional paginated results, but avoid using it to export large amounts of data.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiLegacyFindAlertsRequest

		Deprecated
	*/
	LegacyFindAlerts(ctx context.Context, spaceId string) ApiLegacyFindAlertsRequest

	// LegacyFindAlertsExecute executes the request
	//  @return LegacyFindAlerts200Response
	// Deprecated
	LegacyFindAlertsExecute(r ApiLegacyFindAlertsRequest) (*LegacyFindAlerts200Response, *http.Response, error)

	/*
		LegacyGetAlert Retrieves an alert by its identifier.

		Deprecated in 7.13.0. Use the get rule API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId The identifier for the alert.
		@return ApiLegacyGetAlertRequest

		Deprecated
	*/
	LegacyGetAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyGetAlertRequest

	// LegacyGetAlertExecute executes the request
	//  @return AlertResponseProperties
	// Deprecated
	LegacyGetAlertExecute(r ApiLegacyGetAlertRequest) (*AlertResponseProperties, *http.Response, error)

	/*
		LegacyGetAlertTypes Retrieves a list of alert types.

		Deprecated in 7.13.0. Use the get rule types API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiLegacyGetAlertTypesRequest

		Deprecated
	*/
	LegacyGetAlertTypes(ctx context.Context, spaceId string) ApiLegacyGetAlertTypesRequest

	// LegacyGetAlertTypesExecute executes the request
	//  @return []LegacyGetAlertTypes200ResponseInner
	// Deprecated
	LegacyGetAlertTypesExecute(r ApiLegacyGetAlertTypesRequest) ([]LegacyGetAlertTypes200ResponseInner, *http.Response, error)

	/*
		LegacyGetAlertingHealth Retrieves the health status of the alerting framework.

		Deprecated in 7.13.0. Use the get alerting framework health API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiLegacyGetAlertingHealthRequest

		Deprecated
	*/
	LegacyGetAlertingHealth(ctx context.Context, spaceId string) ApiLegacyGetAlertingHealthRequest

	// LegacyGetAlertingHealthExecute executes the request
	//  @return LegacyGetAlertingHealth200Response
	// Deprecated
	LegacyGetAlertingHealthExecute(r ApiLegacyGetAlertingHealthRequest) (*LegacyGetAlertingHealth200Response, *http.Response, error)

	/*
		LegacyMuteAlertInstance Mutes an alert instance.

		Deprecated in 7.13.0. Use the mute alert API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId An identifier for the alert.
		@param alertInstanceId An identifier for the alert instance.
		@return ApiLegacyMuteAlertInstanceRequest

		Deprecated
	*/
	LegacyMuteAlertInstance(ctx context.Context, spaceId string, alertId string, alertInstanceId string) ApiLegacyMuteAlertInstanceRequest

	// LegacyMuteAlertInstanceExecute executes the request
	// Deprecated
	LegacyMuteAlertInstanceExecute(r ApiLegacyMuteAlertInstanceRequest) (*http.Response, error)

	/*
		LegacyMuteAllAlertInstances Mutes all alert instances.

		Deprecated in 7.13.0. Use the mute all alerts API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId The identifier for the alert.
		@return ApiLegacyMuteAllAlertInstancesRequest

		Deprecated
	*/
	LegacyMuteAllAlertInstances(ctx context.Context, spaceId string, alertId string) ApiLegacyMuteAllAlertInstancesRequest

	// LegacyMuteAllAlertInstancesExecute executes the request
	// Deprecated
	LegacyMuteAllAlertInstancesExecute(r ApiLegacyMuteAllAlertInstancesRequest) (*http.Response, error)

	/*
		LegacyUnmuteAlertInstance Unmutes an alert instance.

		Deprecated in 7.13.0. Use the unmute alert API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId An identifier for the alert.
		@param alertInstanceId An identifier for the alert instance.
		@return ApiLegacyUnmuteAlertInstanceRequest

		Deprecated
	*/
	LegacyUnmuteAlertInstance(ctx context.Context, spaceId string, alertId string, alertInstanceId string) ApiLegacyUnmuteAlertInstanceRequest

	// LegacyUnmuteAlertInstanceExecute executes the request
	// Deprecated
	LegacyUnmuteAlertInstanceExecute(r ApiLegacyUnmuteAlertInstanceRequest) (*http.Response, error)

	/*
		LegacyUnmuteAllAlertInstances Unmutes all alert instances.

		Deprecated in 7.13.0. Use the unmute all alerts API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId The identifier for the alert.
		@return ApiLegacyUnmuteAllAlertInstancesRequest

		Deprecated
	*/
	LegacyUnmuteAllAlertInstances(ctx context.Context, spaceId string, alertId string) ApiLegacyUnmuteAllAlertInstancesRequest

	// LegacyUnmuteAllAlertInstancesExecute executes the request
	// Deprecated
	LegacyUnmuteAllAlertInstancesExecute(r ApiLegacyUnmuteAllAlertInstancesRequest) (*http.Response, error)

	/*
		LegacyUpdateAlert Updates the attributes for an alert.

		Deprecated in 7.13.0. Use the update rule API instead.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId The identifier for the alert.
		@return ApiLegacyUpdateAlertRequest

		Deprecated
	*/
	LegacyUpdateAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyUpdateAlertRequest

	// LegacyUpdateAlertExecute executes the request
	//  @return AlertResponseProperties
	// Deprecated
	LegacyUpdateAlertExecute(r ApiLegacyUpdateAlertRequest) (*AlertResponseProperties, *http.Response, error)

	/*
		LegaryDeleteAlert Permanently removes an alert.

		Deprecated in 7.13.0. Use the delete rule API instead. WARNING: After you delete an alert, you cannot recover it.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@param alertId The identifier for the alert.
		@return ApiLegaryDeleteAlertRequest

		Deprecated
	*/
	LegaryDeleteAlert(ctx context.Context, spaceId string, alertId string) ApiLegaryDeleteAlertRequest

	// LegaryDeleteAlertExecute executes the request
	// Deprecated
	LegaryDeleteAlertExecute(r ApiLegaryDeleteAlertRequest) (*http.Response, error)

	/*
		MuteAlert Mutes an alert.

		You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param alertId An identifier for the alert. The identifier is generated by the rule and might be any arbitrary string.
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiMuteAlertRequest
	*/
	MuteAlert(ctx context.Context, alertId string, ruleId string, spaceId string) ApiMuteAlertRequest

	// MuteAlertExecute executes the request
	MuteAlertExecute(r ApiMuteAlertRequest) (*http.Response, error)

	/*
		MuteAllAlerts Mutes all alerts.

		This API snoozes the notifications for the rule indefinitely. The rule checks continue to occur but alerts will not trigger any actions. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiMuteAllAlertsRequest
	*/
	MuteAllAlerts(ctx context.Context, ruleId string, spaceId string) ApiMuteAllAlertsRequest

	// MuteAllAlertsExecute executes the request
	MuteAllAlertsExecute(r ApiMuteAllAlertsRequest) (*http.Response, error)

	/*
		UnmuteAlert Unmutes an alert.

		You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param alertId An identifier for the alert. The identifier is generated by the rule and might be any arbitrary string.
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiUnmuteAlertRequest
	*/
	UnmuteAlert(ctx context.Context, alertId string, ruleId string, spaceId string) ApiUnmuteAlertRequest

	// UnmuteAlertExecute executes the request
	UnmuteAlertExecute(r ApiUnmuteAlertRequest) (*http.Response, error)

	/*
		UnmuteAllAlerts Unmutes all alerts.

		If the rule has its notifications snoozed indefinitely, this API cancels the snooze. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiUnmuteAllAlertsRequest
	*/
	UnmuteAllAlerts(ctx context.Context, ruleId string, spaceId string) ApiUnmuteAllAlertsRequest

	// UnmuteAllAlertsExecute executes the request
	UnmuteAllAlertsExecute(r ApiUnmuteAllAlertsRequest) (*http.Response, error)

	/*
		UpdateRule Updates the attributes for a rule.

		You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're updating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features.  If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you update a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If you have different privileges than the user that created or most recently updated the rule, you might change its behavior. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param ruleId An identifier for the rule.
		@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
		@return ApiUpdateRuleRequest
	*/
	UpdateRule(ctx context.Context, ruleId string, spaceId string) ApiUpdateRuleRequest

	// UpdateRuleExecute executes the request
	//  @return RuleResponseProperties
	UpdateRuleExecute(r ApiUpdateRuleRequest) (*RuleResponseProperties, *http.Response, error)
}

type AlertingAPIService added in v0.11.0

type AlertingAPIService service

AlertingAPIService AlertingAPI service

func (*AlertingAPIService) CreateRule added in v0.11.0

func (a *AlertingAPIService) CreateRule(ctx context.Context, spaceId string, ruleId string) ApiCreateRuleRequest

CreateRule Creates a rule.

You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're creating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you create a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If a user with different privileges updates the rule, its behavior might change.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param ruleId An UUID v1 or v4 identifier for the rule. If you omit this parameter, an identifier is randomly generated.
@return ApiCreateRuleRequest

func (*AlertingAPIService) CreateRuleExecute added in v0.11.0

Execute executes the request

@return RuleResponseProperties

func (*AlertingAPIService) DeleteRule added in v0.11.0

func (a *AlertingAPIService) DeleteRule(ctx context.Context, ruleId string, spaceId string) ApiDeleteRuleRequest

DeleteRule Deletes a rule.

You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're deleting. For example, the **Management** > **Stack Rules** feature, **Analytics** > **Discover** or **Machine Learning** features, **Observability**, or **Security** features. WARNING: After you delete a rule, you cannot recover it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiDeleteRuleRequest

func (*AlertingAPIService) DeleteRuleExecute added in v0.11.0

func (a *AlertingAPIService) DeleteRuleExecute(r ApiDeleteRuleRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) DisableRule added in v0.11.0

func (a *AlertingAPIService) DisableRule(ctx context.Context, ruleId string, spaceId string) ApiDisableRuleRequest

DisableRule Disables a rule.

You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiDisableRuleRequest

func (*AlertingAPIService) DisableRuleExecute added in v0.11.0

func (a *AlertingAPIService) DisableRuleExecute(r ApiDisableRuleRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) EnableRule added in v0.11.0

func (a *AlertingAPIService) EnableRule(ctx context.Context, ruleId string, spaceId string) ApiEnableRuleRequest

EnableRule Enables a rule.

This API supports token-based authentication only. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiEnableRuleRequest

func (*AlertingAPIService) EnableRuleExecute added in v0.11.0

func (a *AlertingAPIService) EnableRuleExecute(r ApiEnableRuleRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) FindRules added in v0.11.0

func (a *AlertingAPIService) FindRules(ctx context.Context, spaceId string) ApiFindRulesRequest

FindRules Retrieves information about rules.

You must have `read` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rules you're seeking. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. To find rules associated with the **Stack Monitoring** feature, use the `monitoring_user` built-in role.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiFindRulesRequest

func (*AlertingAPIService) FindRulesExecute added in v0.11.0

Execute executes the request

@return FindRules200Response

func (*AlertingAPIService) GetAlertingHealth added in v0.11.0

func (a *AlertingAPIService) GetAlertingHealth(ctx context.Context, spaceId string) ApiGetAlertingHealthRequest

GetAlertingHealth Retrieves the health status of the alerting framework.

You must have `read` privileges for the **Management > Stack Rules** feature or for at least one of the **Analytics > Discover**, **Analytics > Machine Learning**, **Observability**, or **Security** features.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiGetAlertingHealthRequest

func (*AlertingAPIService) GetAlertingHealthExecute added in v0.11.0

Execute executes the request

@return GetAlertingHealth200Response

func (*AlertingAPIService) GetRule added in v0.11.0

func (a *AlertingAPIService) GetRule(ctx context.Context, ruleId string, spaceId string) ApiGetRuleRequest

GetRule Retrieves a rule by its identifier.

You must have `read` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rules you're seeking. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. To get rules associated with the **Stack Monitoring** feature, use the `monitoring_user` built-in role.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiGetRuleRequest

func (*AlertingAPIService) GetRuleExecute added in v0.11.0

Execute executes the request

@return RuleResponseProperties

func (*AlertingAPIService) GetRuleTypes added in v0.11.0

func (a *AlertingAPIService) GetRuleTypes(ctx context.Context, spaceId string) ApiGetRuleTypesRequest

GetRuleTypes Retrieves a list of rule types.

If you have `read` privileges for one or more Kibana features, the API response contains information about the appropriate rule types. For example, there are rule types associated with the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, and **Security** features. To get rule types associated with the **Stack Monitoring** feature, use the `monitoring_user` built-in role.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiGetRuleTypesRequest

func (*AlertingAPIService) GetRuleTypesExecute added in v0.11.0

Execute executes the request

@return []GetRuleTypes200ResponseInner

func (*AlertingAPIService) LegacyCreateAlert added in v0.11.0

func (a *AlertingAPIService) LegacyCreateAlert(ctx context.Context, alertId string, spaceId string) ApiLegacyCreateAlertRequest

LegacyCreateAlert Create an alert.

Deprecated in 7.13.0. Use the create rule API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alertId An UUID v1 or v4 identifier for the alert. If this parameter is omitted, the identifier is randomly generated.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiLegacyCreateAlertRequest

Deprecated

func (*AlertingAPIService) LegacyCreateAlertExecute added in v0.11.0

Execute executes the request

@return AlertResponseProperties

Deprecated

func (*AlertingAPIService) LegacyDisableAlert added in v0.11.0

func (a *AlertingAPIService) LegacyDisableAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyDisableAlertRequest

LegacyDisableAlert Disables an alert.

Deprecated in 7.13.0. Use the disable rule API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId The identifier for the alert.
@return ApiLegacyDisableAlertRequest

Deprecated

func (*AlertingAPIService) LegacyDisableAlertExecute added in v0.11.0

func (a *AlertingAPIService) LegacyDisableAlertExecute(r ApiLegacyDisableAlertRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*AlertingAPIService) LegacyEnableAlert added in v0.11.0

func (a *AlertingAPIService) LegacyEnableAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyEnableAlertRequest

LegacyEnableAlert Enables an alert.

Deprecated in 7.13.0. Use the enable rule API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId The identifier for the alert.
@return ApiLegacyEnableAlertRequest

Deprecated

func (*AlertingAPIService) LegacyEnableAlertExecute added in v0.11.0

func (a *AlertingAPIService) LegacyEnableAlertExecute(r ApiLegacyEnableAlertRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*AlertingAPIService) LegacyFindAlerts added in v0.11.0

func (a *AlertingAPIService) LegacyFindAlerts(ctx context.Context, spaceId string) ApiLegacyFindAlertsRequest

LegacyFindAlerts Retrieves a paginated set of alerts.

Deprecated in 7.13.0. Use the find rules API instead. NOTE: Alert `params` are stored as a flattened field type and analyzed as keywords. As alerts change in Kibana, the results on each page of the response also change. Use the find API for traditional paginated results, but avoid using it to export large amounts of data.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiLegacyFindAlertsRequest

Deprecated

func (*AlertingAPIService) LegacyFindAlertsExecute added in v0.11.0

Execute executes the request

@return LegacyFindAlerts200Response

Deprecated

func (*AlertingAPIService) LegacyGetAlert added in v0.11.0

func (a *AlertingAPIService) LegacyGetAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyGetAlertRequest

LegacyGetAlert Retrieves an alert by its identifier.

Deprecated in 7.13.0. Use the get rule API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId The identifier for the alert.
@return ApiLegacyGetAlertRequest

Deprecated

func (*AlertingAPIService) LegacyGetAlertExecute added in v0.11.0

Execute executes the request

@return AlertResponseProperties

Deprecated

func (*AlertingAPIService) LegacyGetAlertTypes added in v0.11.0

func (a *AlertingAPIService) LegacyGetAlertTypes(ctx context.Context, spaceId string) ApiLegacyGetAlertTypesRequest

LegacyGetAlertTypes Retrieves a list of alert types.

Deprecated in 7.13.0. Use the get rule types API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiLegacyGetAlertTypesRequest

Deprecated

func (*AlertingAPIService) LegacyGetAlertTypesExecute added in v0.11.0

Execute executes the request

@return []LegacyGetAlertTypes200ResponseInner

Deprecated

func (*AlertingAPIService) LegacyGetAlertingHealth added in v0.11.0

func (a *AlertingAPIService) LegacyGetAlertingHealth(ctx context.Context, spaceId string) ApiLegacyGetAlertingHealthRequest

LegacyGetAlertingHealth Retrieves the health status of the alerting framework.

Deprecated in 7.13.0. Use the get alerting framework health API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiLegacyGetAlertingHealthRequest

Deprecated

func (*AlertingAPIService) LegacyGetAlertingHealthExecute added in v0.11.0

Execute executes the request

@return LegacyGetAlertingHealth200Response

Deprecated

func (*AlertingAPIService) LegacyMuteAlertInstance added in v0.11.0

func (a *AlertingAPIService) LegacyMuteAlertInstance(ctx context.Context, spaceId string, alertId string, alertInstanceId string) ApiLegacyMuteAlertInstanceRequest

LegacyMuteAlertInstance Mutes an alert instance.

Deprecated in 7.13.0. Use the mute alert API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId An identifier for the alert.
@param alertInstanceId An identifier for the alert instance.
@return ApiLegacyMuteAlertInstanceRequest

Deprecated

func (*AlertingAPIService) LegacyMuteAlertInstanceExecute added in v0.11.0

func (a *AlertingAPIService) LegacyMuteAlertInstanceExecute(r ApiLegacyMuteAlertInstanceRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*AlertingAPIService) LegacyMuteAllAlertInstances added in v0.11.0

func (a *AlertingAPIService) LegacyMuteAllAlertInstances(ctx context.Context, spaceId string, alertId string) ApiLegacyMuteAllAlertInstancesRequest

LegacyMuteAllAlertInstances Mutes all alert instances.

Deprecated in 7.13.0. Use the mute all alerts API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId The identifier for the alert.
@return ApiLegacyMuteAllAlertInstancesRequest

Deprecated

func (*AlertingAPIService) LegacyMuteAllAlertInstancesExecute added in v0.11.0

func (a *AlertingAPIService) LegacyMuteAllAlertInstancesExecute(r ApiLegacyMuteAllAlertInstancesRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*AlertingAPIService) LegacyUnmuteAlertInstance added in v0.11.0

func (a *AlertingAPIService) LegacyUnmuteAlertInstance(ctx context.Context, spaceId string, alertId string, alertInstanceId string) ApiLegacyUnmuteAlertInstanceRequest

LegacyUnmuteAlertInstance Unmutes an alert instance.

Deprecated in 7.13.0. Use the unmute alert API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId An identifier for the alert.
@param alertInstanceId An identifier for the alert instance.
@return ApiLegacyUnmuteAlertInstanceRequest

Deprecated

func (*AlertingAPIService) LegacyUnmuteAlertInstanceExecute added in v0.11.0

func (a *AlertingAPIService) LegacyUnmuteAlertInstanceExecute(r ApiLegacyUnmuteAlertInstanceRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*AlertingAPIService) LegacyUnmuteAllAlertInstances added in v0.11.0

func (a *AlertingAPIService) LegacyUnmuteAllAlertInstances(ctx context.Context, spaceId string, alertId string) ApiLegacyUnmuteAllAlertInstancesRequest

LegacyUnmuteAllAlertInstances Unmutes all alert instances.

Deprecated in 7.13.0. Use the unmute all alerts API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId The identifier for the alert.
@return ApiLegacyUnmuteAllAlertInstancesRequest

Deprecated

func (*AlertingAPIService) LegacyUnmuteAllAlertInstancesExecute added in v0.11.0

func (a *AlertingAPIService) LegacyUnmuteAllAlertInstancesExecute(r ApiLegacyUnmuteAllAlertInstancesRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*AlertingAPIService) LegacyUpdateAlert added in v0.11.0

func (a *AlertingAPIService) LegacyUpdateAlert(ctx context.Context, spaceId string, alertId string) ApiLegacyUpdateAlertRequest

LegacyUpdateAlert Updates the attributes for an alert.

Deprecated in 7.13.0. Use the update rule API instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId The identifier for the alert.
@return ApiLegacyUpdateAlertRequest

Deprecated

func (*AlertingAPIService) LegacyUpdateAlertExecute added in v0.11.0

Execute executes the request

@return AlertResponseProperties

Deprecated

func (*AlertingAPIService) LegaryDeleteAlert added in v0.11.0

func (a *AlertingAPIService) LegaryDeleteAlert(ctx context.Context, spaceId string, alertId string) ApiLegaryDeleteAlertRequest

LegaryDeleteAlert Permanently removes an alert.

Deprecated in 7.13.0. Use the delete rule API instead. WARNING: After you delete an alert, you cannot recover it.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@param alertId The identifier for the alert.
@return ApiLegaryDeleteAlertRequest

Deprecated

func (*AlertingAPIService) LegaryDeleteAlertExecute added in v0.11.0

func (a *AlertingAPIService) LegaryDeleteAlertExecute(r ApiLegaryDeleteAlertRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*AlertingAPIService) MuteAlert added in v0.11.0

func (a *AlertingAPIService) MuteAlert(ctx context.Context, alertId string, ruleId string, spaceId string) ApiMuteAlertRequest

MuteAlert Mutes an alert.

You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alertId An identifier for the alert. The identifier is generated by the rule and might be any arbitrary string.
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiMuteAlertRequest

func (*AlertingAPIService) MuteAlertExecute added in v0.11.0

func (a *AlertingAPIService) MuteAlertExecute(r ApiMuteAlertRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) MuteAllAlerts added in v0.11.0

func (a *AlertingAPIService) MuteAllAlerts(ctx context.Context, ruleId string, spaceId string) ApiMuteAllAlertsRequest

MuteAllAlerts Mutes all alerts.

This API snoozes the notifications for the rule indefinitely. The rule checks continue to occur but alerts will not trigger any actions. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiMuteAllAlertsRequest

func (*AlertingAPIService) MuteAllAlertsExecute added in v0.11.0

func (a *AlertingAPIService) MuteAllAlertsExecute(r ApiMuteAllAlertsRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) UnmuteAlert added in v0.11.0

func (a *AlertingAPIService) UnmuteAlert(ctx context.Context, alertId string, ruleId string, spaceId string) ApiUnmuteAlertRequest

UnmuteAlert Unmutes an alert.

You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param alertId An identifier for the alert. The identifier is generated by the rule and might be any arbitrary string.
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiUnmuteAlertRequest

func (*AlertingAPIService) UnmuteAlertExecute added in v0.11.0

func (a *AlertingAPIService) UnmuteAlertExecute(r ApiUnmuteAlertRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) UnmuteAllAlerts added in v0.11.0

func (a *AlertingAPIService) UnmuteAllAlerts(ctx context.Context, ruleId string, spaceId string) ApiUnmuteAllAlertsRequest

UnmuteAllAlerts Unmutes all alerts.

If the rule has its notifications snoozed indefinitely, this API cancels the snooze. You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule. For example, the **Management > Stack Rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability**, and **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiUnmuteAllAlertsRequest

func (*AlertingAPIService) UnmuteAllAlertsExecute added in v0.11.0

func (a *AlertingAPIService) UnmuteAllAlertsExecute(r ApiUnmuteAllAlertsRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) UpdateRule added in v0.11.0

func (a *AlertingAPIService) UpdateRule(ctx context.Context, ruleId string, spaceId string) ApiUpdateRuleRequest

UpdateRule Updates the attributes for a rule.

You must have `all` privileges for the appropriate Kibana features, depending on the `consumer` and `rule_type_id` of the rule you're updating. For example, you must have privileges for the **Management > Stack rules** feature, **Analytics > Discover** and **Machine Learning** features, **Observability** features, or **Security** features. If the rule has actions, you must also have `read` privileges for the **Management > Actions and Connectors** feature. NOTE: This API supports only token-based authentication. When you update a rule, it identifies which roles you have at that point in time. Thereafter, when the rule performs queries, it uses those security privileges. If you have different privileges than the user that created or most recently updated the rule, you might change its behavior. Though some properties are optional, when you update the rule the existing property values are overwritten with default values. Therefore, it is recommended to explicitly set all property values.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param ruleId An identifier for the rule.
@param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used.
@return ApiUpdateRuleRequest

func (*AlertingAPIService) UpdateRuleExecute added in v0.11.0

Execute executes the request

@return RuleResponseProperties

type ApiCreateRuleRequest

type ApiCreateRuleRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiCreateRuleRequest) CreateRuleRequest

func (r ApiCreateRuleRequest) CreateRuleRequest(createRuleRequest CreateRuleRequest) ApiCreateRuleRequest

func (ApiCreateRuleRequest) Execute

func (ApiCreateRuleRequest) KbnXsrf

Cross-site request forgery protection

type ApiDeleteRuleRequest

type ApiDeleteRuleRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiDeleteRuleRequest) Execute

func (r ApiDeleteRuleRequest) Execute() (*http.Response, error)

func (ApiDeleteRuleRequest) KbnXsrf

Cross-site request forgery protection

type ApiDisableRuleRequest

type ApiDisableRuleRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiDisableRuleRequest) Execute

func (r ApiDisableRuleRequest) Execute() (*http.Response, error)

func (ApiDisableRuleRequest) KbnXsrf

Cross-site request forgery protection

type ApiEnableRuleRequest

type ApiEnableRuleRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiEnableRuleRequest) Execute

func (r ApiEnableRuleRequest) Execute() (*http.Response, error)

func (ApiEnableRuleRequest) KbnXsrf

Cross-site request forgery protection

type ApiFindRulesRequest

type ApiFindRulesRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiFindRulesRequest) DefaultSearchOperator

func (r ApiFindRulesRequest) DefaultSearchOperator(defaultSearchOperator string) ApiFindRulesRequest

The default operator to use for the simple_query_string.

func (ApiFindRulesRequest) Execute

func (ApiFindRulesRequest) Fields

func (r ApiFindRulesRequest) Fields(fields []string) ApiFindRulesRequest

The fields to return in the `attributes` key of the response.

func (ApiFindRulesRequest) Filter

A KQL string that you filter with an attribute from your saved object. It should look like `savedObjectType.attributes.title: \"myTitle\"`. However, if you used a direct attribute of a saved object, such as `updatedAt`, you must define your filter, for example, `savedObjectType.updatedAt > 2018-12-22`.

func (ApiFindRulesRequest) HasReference

Filters the rules that have a relation with the reference objects with a specific type and identifier.

func (ApiFindRulesRequest) Page

The page number to return.

func (ApiFindRulesRequest) PerPage

func (r ApiFindRulesRequest) PerPage(perPage int32) ApiFindRulesRequest

The number of rules to return per page.

func (ApiFindRulesRequest) Search

An Elasticsearch simple_query_string query that filters the objects in the response.

func (ApiFindRulesRequest) SearchFields

The fields to perform the simple_query_string parsed query against.

func (ApiFindRulesRequest) SortField

func (r ApiFindRulesRequest) SortField(sortField string) ApiFindRulesRequest

Determines which field is used to sort the results. The field must exist in the `attributes` key of the response.

func (ApiFindRulesRequest) SortOrder

func (r ApiFindRulesRequest) SortOrder(sortOrder string) ApiFindRulesRequest

Determines the sort order.

type ApiGetAlertingHealthRequest

type ApiGetAlertingHealthRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiGetAlertingHealthRequest) Execute

type ApiGetRuleRequest

type ApiGetRuleRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiGetRuleRequest) Execute

type ApiGetRuleTypesRequest

type ApiGetRuleTypesRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiGetRuleTypesRequest) Execute

type ApiLegacyCreateAlertRequest

type ApiLegacyCreateAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyCreateAlertRequest) Execute

func (ApiLegacyCreateAlertRequest) KbnXsrf

Cross-site request forgery protection

func (ApiLegacyCreateAlertRequest) LegacyCreateAlertRequestProperties

func (r ApiLegacyCreateAlertRequest) LegacyCreateAlertRequestProperties(legacyCreateAlertRequestProperties LegacyCreateAlertRequestProperties) ApiLegacyCreateAlertRequest

type ApiLegacyDisableAlertRequest

type ApiLegacyDisableAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyDisableAlertRequest) Execute

func (ApiLegacyDisableAlertRequest) KbnXsrf

Cross-site request forgery protection

type ApiLegacyEnableAlertRequest

type ApiLegacyEnableAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyEnableAlertRequest) Execute

func (ApiLegacyEnableAlertRequest) KbnXsrf

Cross-site request forgery protection

type ApiLegacyFindAlertsRequest

type ApiLegacyFindAlertsRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyFindAlertsRequest) DefaultSearchOperator

func (r ApiLegacyFindAlertsRequest) DefaultSearchOperator(defaultSearchOperator string) ApiLegacyFindAlertsRequest

The default operator to use for the `simple_query_string`.

func (ApiLegacyFindAlertsRequest) Execute

func (ApiLegacyFindAlertsRequest) Fields

The fields to return in the `attributes` key of the response.

func (ApiLegacyFindAlertsRequest) Filter

A KQL string that you filter with an attribute from your saved object. It should look like `savedObjectType.attributes.title: \"myTitle\"`. However, if you used a direct attribute of a saved object, such as `updatedAt`, you must define your filter, for example, `savedObjectType.updatedAt > 2018-12-22`.

func (ApiLegacyFindAlertsRequest) HasReference

Filters the rules that have a relation with the reference objects with a specific type and identifier.

func (ApiLegacyFindAlertsRequest) Page

The page number to return.

func (ApiLegacyFindAlertsRequest) PerPage

The number of alerts to return per page.

func (ApiLegacyFindAlertsRequest) Search

An Elasticsearch `simple_query_string` query that filters the alerts in the response.

func (ApiLegacyFindAlertsRequest) SearchFields

The fields to perform the `simple_query_string` parsed query against.

func (ApiLegacyFindAlertsRequest) SortField

Determines which field is used to sort the results. The field must exist in the `attributes` key of the response.

func (ApiLegacyFindAlertsRequest) SortOrder

Determines the sort order.

type ApiLegacyGetAlertRequest

type ApiLegacyGetAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyGetAlertRequest) Execute

type ApiLegacyGetAlertTypesRequest

type ApiLegacyGetAlertTypesRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyGetAlertTypesRequest) Execute

type ApiLegacyGetAlertingHealthRequest

type ApiLegacyGetAlertingHealthRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyGetAlertingHealthRequest) Execute

type ApiLegacyMuteAlertInstanceRequest

type ApiLegacyMuteAlertInstanceRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyMuteAlertInstanceRequest) Execute

func (ApiLegacyMuteAlertInstanceRequest) KbnXsrf

Cross-site request forgery protection

type ApiLegacyMuteAllAlertInstancesRequest

type ApiLegacyMuteAllAlertInstancesRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyMuteAllAlertInstancesRequest) Execute

func (ApiLegacyMuteAllAlertInstancesRequest) KbnXsrf

Cross-site request forgery protection

type ApiLegacyUnmuteAlertInstanceRequest

type ApiLegacyUnmuteAlertInstanceRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyUnmuteAlertInstanceRequest) Execute

func (ApiLegacyUnmuteAlertInstanceRequest) KbnXsrf

Cross-site request forgery protection

type ApiLegacyUnmuteAllAlertInstancesRequest

type ApiLegacyUnmuteAllAlertInstancesRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyUnmuteAllAlertInstancesRequest) Execute

func (ApiLegacyUnmuteAllAlertInstancesRequest) KbnXsrf

Cross-site request forgery protection

type ApiLegacyUpdateAlertRequest

type ApiLegacyUpdateAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegacyUpdateAlertRequest) Execute

func (ApiLegacyUpdateAlertRequest) KbnXsrf

Cross-site request forgery protection

func (ApiLegacyUpdateAlertRequest) LegacyUpdateAlertRequestProperties

func (r ApiLegacyUpdateAlertRequest) LegacyUpdateAlertRequestProperties(legacyUpdateAlertRequestProperties LegacyUpdateAlertRequestProperties) ApiLegacyUpdateAlertRequest

type ApiLegaryDeleteAlertRequest

type ApiLegaryDeleteAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiLegaryDeleteAlertRequest) Execute

func (ApiLegaryDeleteAlertRequest) KbnXsrf

Cross-site request forgery protection

type ApiMuteAlertRequest

type ApiMuteAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiMuteAlertRequest) Execute

func (r ApiMuteAlertRequest) Execute() (*http.Response, error)

func (ApiMuteAlertRequest) KbnXsrf

func (r ApiMuteAlertRequest) KbnXsrf(kbnXsrf string) ApiMuteAlertRequest

Cross-site request forgery protection

type ApiMuteAllAlertsRequest

type ApiMuteAllAlertsRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiMuteAllAlertsRequest) Execute

func (r ApiMuteAllAlertsRequest) Execute() (*http.Response, error)

func (ApiMuteAllAlertsRequest) KbnXsrf

Cross-site request forgery protection

type ApiUnmuteAlertRequest

type ApiUnmuteAlertRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiUnmuteAlertRequest) Execute

func (r ApiUnmuteAlertRequest) Execute() (*http.Response, error)

func (ApiUnmuteAlertRequest) KbnXsrf

Cross-site request forgery protection

type ApiUnmuteAllAlertsRequest

type ApiUnmuteAllAlertsRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiUnmuteAllAlertsRequest) Execute

func (r ApiUnmuteAllAlertsRequest) Execute() (*http.Response, error)

func (ApiUnmuteAllAlertsRequest) KbnXsrf

Cross-site request forgery protection

type ApiUpdateRuleRequest

type ApiUpdateRuleRequest struct {
	ApiService AlertingAPI
	// contains filtered or unexported fields
}

func (ApiUpdateRuleRequest) Execute

func (ApiUpdateRuleRequest) KbnXsrf

Cross-site request forgery protection

func (ApiUpdateRuleRequest) UpdateRuleRequest

func (r ApiUpdateRuleRequest) UpdateRuleRequest(updateRuleRequest UpdateRuleRequest) ApiUpdateRuleRequest

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type CreateRuleRequest

type CreateRuleRequest struct {
	Actions []ActionsInner `json:"actions,omitempty"`
	// The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.
	Consumer string `json:"consumer"`
	// Indicates whether you want to run the rule on an interval basis after it is created.
	Enabled *bool `json:"enabled,omitempty"`
	// The name of the rule. While this name does not have to be unique, a distinctive name can help you identify a rule.
	Name       string      `json:"name"`
	NotifyWhen *NotifyWhen `json:"notify_when,omitempty"`
	// The parameters for the rule.
	Params map[string]interface{} `json:"params"`
	// The ID of the rule type that you want to call when the rule is scheduled to run. For example, `.es-query`, `.index-threshold`, `logs.alert.document.count`, `monitoring_alert_cluster_health`, `siem.thresholdRule`, or `xpack.ml.anomaly_detection_alert`.
	RuleTypeId string   `json:"rule_type_id"`
	Schedule   Schedule `json:"schedule"`
	// The tags for the rule.
	Tags []string `json:"tags,omitempty"`
	// The throttle interval, which defines how often an alert generates repeated actions. It is applicable only if `notify_when` is set to `onThrottleInterval`. It is specified in seconds, minutes, hours, or days.
	Throttle NullableString `json:"throttle,omitempty"`
}

CreateRuleRequest The create rule API request body varies depending on the type of rule and actions.

func NewCreateRuleRequest

func NewCreateRuleRequest(consumer string, name string, params map[string]interface{}, ruleTypeId string, schedule Schedule) *CreateRuleRequest

NewCreateRuleRequest instantiates a new CreateRuleRequest 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 NewCreateRuleRequestWithDefaults

func NewCreateRuleRequestWithDefaults() *CreateRuleRequest

NewCreateRuleRequestWithDefaults instantiates a new CreateRuleRequest 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 (*CreateRuleRequest) GetActions

func (o *CreateRuleRequest) GetActions() []ActionsInner

GetActions returns the Actions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateRuleRequest) GetActionsOk

func (o *CreateRuleRequest) GetActionsOk() ([]ActionsInner, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateRuleRequest) GetConsumer

func (o *CreateRuleRequest) GetConsumer() string

GetConsumer returns the Consumer field value

func (*CreateRuleRequest) GetConsumerOk

func (o *CreateRuleRequest) GetConsumerOk() (*string, bool)

GetConsumerOk returns a tuple with the Consumer field value and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetEnabled

func (o *CreateRuleRequest) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CreateRuleRequest) GetEnabledOk

func (o *CreateRuleRequest) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetName

func (o *CreateRuleRequest) GetName() string

GetName returns the Name field value

func (*CreateRuleRequest) GetNameOk

func (o *CreateRuleRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetNotifyWhen

func (o *CreateRuleRequest) GetNotifyWhen() NotifyWhen

GetNotifyWhen returns the NotifyWhen field value if set, zero value otherwise.

func (*CreateRuleRequest) GetNotifyWhenOk

func (o *CreateRuleRequest) GetNotifyWhenOk() (*NotifyWhen, bool)

GetNotifyWhenOk returns a tuple with the NotifyWhen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetParams

func (o *CreateRuleRequest) GetParams() map[string]interface{}

GetParams returns the Params field value

func (*CreateRuleRequest) GetParamsOk

func (o *CreateRuleRequest) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetRuleTypeId

func (o *CreateRuleRequest) GetRuleTypeId() string

GetRuleTypeId returns the RuleTypeId field value

func (*CreateRuleRequest) GetRuleTypeIdOk

func (o *CreateRuleRequest) GetRuleTypeIdOk() (*string, bool)

GetRuleTypeIdOk returns a tuple with the RuleTypeId field value and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetSchedule

func (o *CreateRuleRequest) GetSchedule() Schedule

GetSchedule returns the Schedule field value

func (*CreateRuleRequest) GetScheduleOk

func (o *CreateRuleRequest) GetScheduleOk() (*Schedule, bool)

GetScheduleOk returns a tuple with the Schedule field value and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetTags

func (o *CreateRuleRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateRuleRequest) GetTagsOk

func (o *CreateRuleRequest) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateRuleRequest) GetThrottle

func (o *CreateRuleRequest) GetThrottle() string

GetThrottle returns the Throttle field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateRuleRequest) GetThrottleOk

func (o *CreateRuleRequest) GetThrottleOk() (*string, bool)

GetThrottleOk returns a tuple with the Throttle field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*CreateRuleRequest) HasActions

func (o *CreateRuleRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*CreateRuleRequest) HasEnabled

func (o *CreateRuleRequest) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateRuleRequest) HasNotifyWhen

func (o *CreateRuleRequest) HasNotifyWhen() bool

HasNotifyWhen returns a boolean if a field has been set.

func (*CreateRuleRequest) HasTags

func (o *CreateRuleRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*CreateRuleRequest) HasThrottle

func (o *CreateRuleRequest) HasThrottle() bool

HasThrottle returns a boolean if a field has been set.

func (CreateRuleRequest) MarshalJSON

func (o CreateRuleRequest) MarshalJSON() ([]byte, error)

func (*CreateRuleRequest) SetActions

func (o *CreateRuleRequest) SetActions(v []ActionsInner)

SetActions gets a reference to the given []ActionsInner and assigns it to the Actions field.

func (*CreateRuleRequest) SetConsumer

func (o *CreateRuleRequest) SetConsumer(v string)

SetConsumer sets field value

func (*CreateRuleRequest) SetEnabled

func (o *CreateRuleRequest) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CreateRuleRequest) SetName

func (o *CreateRuleRequest) SetName(v string)

SetName sets field value

func (*CreateRuleRequest) SetNotifyWhen

func (o *CreateRuleRequest) SetNotifyWhen(v NotifyWhen)

SetNotifyWhen gets a reference to the given NotifyWhen and assigns it to the NotifyWhen field.

func (*CreateRuleRequest) SetParams

func (o *CreateRuleRequest) SetParams(v map[string]interface{})

SetParams sets field value

func (*CreateRuleRequest) SetRuleTypeId

func (o *CreateRuleRequest) SetRuleTypeId(v string)

SetRuleTypeId sets field value

func (*CreateRuleRequest) SetSchedule

func (o *CreateRuleRequest) SetSchedule(v Schedule)

SetSchedule sets field value

func (*CreateRuleRequest) SetTags

func (o *CreateRuleRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateRuleRequest) SetThrottle

func (o *CreateRuleRequest) SetThrottle(v string)

SetThrottle gets a reference to the given NullableString and assigns it to the Throttle field.

func (*CreateRuleRequest) SetThrottleNil

func (o *CreateRuleRequest) SetThrottleNil()

SetThrottleNil sets the value for Throttle to be an explicit nil

func (CreateRuleRequest) ToMap

func (o CreateRuleRequest) ToMap() (map[string]interface{}, error)

func (*CreateRuleRequest) UnmarshalJSON added in v0.11.0

func (o *CreateRuleRequest) UnmarshalJSON(bytes []byte) (err error)

func (*CreateRuleRequest) UnsetThrottle

func (o *CreateRuleRequest) UnsetThrottle()

UnsetThrottle ensures that no value is present for Throttle, not even an explicit nil

type FindRules200Response

type FindRules200Response struct {
	Data    []RuleResponseProperties `json:"data,omitempty"`
	Page    *int32                   `json:"page,omitempty"`
	PerPage *int32                   `json:"per_page,omitempty"`
	Total   *int32                   `json:"total,omitempty"`
}

FindRules200Response struct for FindRules200Response

func NewFindRules200Response

func NewFindRules200Response() *FindRules200Response

NewFindRules200Response instantiates a new FindRules200Response 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 NewFindRules200ResponseWithDefaults

func NewFindRules200ResponseWithDefaults() *FindRules200Response

NewFindRules200ResponseWithDefaults instantiates a new FindRules200Response 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 (*FindRules200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*FindRules200Response) GetDataOk

func (o *FindRules200Response) GetDataOk() ([]RuleResponseProperties, bool)

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FindRules200Response) GetPage

func (o *FindRules200Response) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*FindRules200Response) GetPageOk

func (o *FindRules200Response) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FindRules200Response) GetPerPage

func (o *FindRules200Response) GetPerPage() int32

GetPerPage returns the PerPage field value if set, zero value otherwise.

func (*FindRules200Response) GetPerPageOk

func (o *FindRules200Response) GetPerPageOk() (*int32, bool)

GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FindRules200Response) GetTotal

func (o *FindRules200Response) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*FindRules200Response) GetTotalOk

func (o *FindRules200Response) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FindRules200Response) HasData

func (o *FindRules200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*FindRules200Response) HasPage

func (o *FindRules200Response) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*FindRules200Response) HasPerPage

func (o *FindRules200Response) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

func (*FindRules200Response) HasTotal

func (o *FindRules200Response) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (FindRules200Response) MarshalJSON

func (o FindRules200Response) MarshalJSON() ([]byte, error)

func (*FindRules200Response) SetData

SetData gets a reference to the given []RuleResponseProperties and assigns it to the Data field.

func (*FindRules200Response) SetPage

func (o *FindRules200Response) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*FindRules200Response) SetPerPage

func (o *FindRules200Response) SetPerPage(v int32)

SetPerPage gets a reference to the given int32 and assigns it to the PerPage field.

func (*FindRules200Response) SetTotal

func (o *FindRules200Response) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (FindRules200Response) ToMap

func (o FindRules200Response) ToMap() (map[string]interface{}, error)

type FindRulesHasReferenceParameter

type FindRulesHasReferenceParameter struct {
	Id   *string `json:"id,omitempty"`
	Type *string `json:"type,omitempty"`
}

FindRulesHasReferenceParameter struct for FindRulesHasReferenceParameter

func NewFindRulesHasReferenceParameter

func NewFindRulesHasReferenceParameter() *FindRulesHasReferenceParameter

NewFindRulesHasReferenceParameter instantiates a new FindRulesHasReferenceParameter 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 NewFindRulesHasReferenceParameterWithDefaults

func NewFindRulesHasReferenceParameterWithDefaults() *FindRulesHasReferenceParameter

NewFindRulesHasReferenceParameterWithDefaults instantiates a new FindRulesHasReferenceParameter 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 (*FindRulesHasReferenceParameter) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*FindRulesHasReferenceParameter) GetIdOk

func (o *FindRulesHasReferenceParameter) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FindRulesHasReferenceParameter) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*FindRulesHasReferenceParameter) GetTypeOk

func (o *FindRulesHasReferenceParameter) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*FindRulesHasReferenceParameter) HasId

HasId returns a boolean if a field has been set.

func (*FindRulesHasReferenceParameter) HasType

func (o *FindRulesHasReferenceParameter) HasType() bool

HasType returns a boolean if a field has been set.

func (FindRulesHasReferenceParameter) MarshalJSON

func (o FindRulesHasReferenceParameter) MarshalJSON() ([]byte, error)

func (*FindRulesHasReferenceParameter) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*FindRulesHasReferenceParameter) SetType

func (o *FindRulesHasReferenceParameter) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (FindRulesHasReferenceParameter) ToMap

func (o FindRulesHasReferenceParameter) ToMap() (map[string]interface{}, error)

type FindRulesSearchFieldsParameter

type FindRulesSearchFieldsParameter struct {
	ArrayOfString *[]string
	String        *string
}

FindRulesSearchFieldsParameter - struct for FindRulesSearchFieldsParameter

func ArrayOfStringAsFindRulesSearchFieldsParameter

func ArrayOfStringAsFindRulesSearchFieldsParameter(v *[]string) FindRulesSearchFieldsParameter

[]stringAsFindRulesSearchFieldsParameter is a convenience function that returns []string wrapped in FindRulesSearchFieldsParameter

func StringAsFindRulesSearchFieldsParameter

func StringAsFindRulesSearchFieldsParameter(v *string) FindRulesSearchFieldsParameter

stringAsFindRulesSearchFieldsParameter is a convenience function that returns string wrapped in FindRulesSearchFieldsParameter

func (*FindRulesSearchFieldsParameter) GetActualInstance

func (obj *FindRulesSearchFieldsParameter) GetActualInstance() interface{}

Get the actual instance

func (FindRulesSearchFieldsParameter) MarshalJSON

func (src FindRulesSearchFieldsParameter) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*FindRulesSearchFieldsParameter) UnmarshalJSON

func (dst *FindRulesSearchFieldsParameter) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetAlertingHealth200Response

type GetAlertingHealth200Response struct {
	// Deprecated
	AlertingFrameworkHeath  *GetAlertingHealth200ResponseAlertingFrameworkHeath  `json:"alerting_framework_heath,omitempty"`
	AlertingFrameworkHealth *GetAlertingHealth200ResponseAlertingFrameworkHealth `json:"alerting_framework_health,omitempty"`
	// If `false`, the encrypted saved object plugin does not have a permanent encryption key.
	HasPermanentEncryptionKey *bool `json:"has_permanent_encryption_key,omitempty"`
	// If `false`, security is enabled but TLS is not.
	IsSufficientlySecure *bool `json:"is_sufficiently_secure,omitempty"`
}

GetAlertingHealth200Response struct for GetAlertingHealth200Response

func NewGetAlertingHealth200Response

func NewGetAlertingHealth200Response() *GetAlertingHealth200Response

NewGetAlertingHealth200Response instantiates a new GetAlertingHealth200Response 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 NewGetAlertingHealth200ResponseWithDefaults

func NewGetAlertingHealth200ResponseWithDefaults() *GetAlertingHealth200Response

NewGetAlertingHealth200ResponseWithDefaults instantiates a new GetAlertingHealth200Response 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 (*GetAlertingHealth200Response) GetAlertingFrameworkHealth

GetAlertingFrameworkHealth returns the AlertingFrameworkHealth field value if set, zero value otherwise.

func (*GetAlertingHealth200Response) GetAlertingFrameworkHealthOk

GetAlertingFrameworkHealthOk returns a tuple with the AlertingFrameworkHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200Response) GetAlertingFrameworkHeath

GetAlertingFrameworkHeath returns the AlertingFrameworkHeath field value if set, zero value otherwise. Deprecated

func (*GetAlertingHealth200Response) GetAlertingFrameworkHeathOk

GetAlertingFrameworkHeathOk returns a tuple with the AlertingFrameworkHeath field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated

func (*GetAlertingHealth200Response) GetHasPermanentEncryptionKey

func (o *GetAlertingHealth200Response) GetHasPermanentEncryptionKey() bool

GetHasPermanentEncryptionKey returns the HasPermanentEncryptionKey field value if set, zero value otherwise.

func (*GetAlertingHealth200Response) GetHasPermanentEncryptionKeyOk

func (o *GetAlertingHealth200Response) GetHasPermanentEncryptionKeyOk() (*bool, bool)

GetHasPermanentEncryptionKeyOk returns a tuple with the HasPermanentEncryptionKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200Response) GetIsSufficientlySecure

func (o *GetAlertingHealth200Response) GetIsSufficientlySecure() bool

GetIsSufficientlySecure returns the IsSufficientlySecure field value if set, zero value otherwise.

func (*GetAlertingHealth200Response) GetIsSufficientlySecureOk

func (o *GetAlertingHealth200Response) GetIsSufficientlySecureOk() (*bool, bool)

GetIsSufficientlySecureOk returns a tuple with the IsSufficientlySecure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200Response) HasAlertingFrameworkHealth

func (o *GetAlertingHealth200Response) HasAlertingFrameworkHealth() bool

HasAlertingFrameworkHealth returns a boolean if a field has been set.

func (*GetAlertingHealth200Response) HasAlertingFrameworkHeath

func (o *GetAlertingHealth200Response) HasAlertingFrameworkHeath() bool

HasAlertingFrameworkHeath returns a boolean if a field has been set.

func (*GetAlertingHealth200Response) HasHasPermanentEncryptionKey

func (o *GetAlertingHealth200Response) HasHasPermanentEncryptionKey() bool

HasHasPermanentEncryptionKey returns a boolean if a field has been set.

func (*GetAlertingHealth200Response) HasIsSufficientlySecure

func (o *GetAlertingHealth200Response) HasIsSufficientlySecure() bool

HasIsSufficientlySecure returns a boolean if a field has been set.

func (GetAlertingHealth200Response) MarshalJSON

func (o GetAlertingHealth200Response) MarshalJSON() ([]byte, error)

func (*GetAlertingHealth200Response) SetAlertingFrameworkHealth

SetAlertingFrameworkHealth gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHealth and assigns it to the AlertingFrameworkHealth field.

func (*GetAlertingHealth200Response) SetAlertingFrameworkHeath

SetAlertingFrameworkHeath gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHeath and assigns it to the AlertingFrameworkHeath field. Deprecated

func (*GetAlertingHealth200Response) SetHasPermanentEncryptionKey

func (o *GetAlertingHealth200Response) SetHasPermanentEncryptionKey(v bool)

SetHasPermanentEncryptionKey gets a reference to the given bool and assigns it to the HasPermanentEncryptionKey field.

func (*GetAlertingHealth200Response) SetIsSufficientlySecure

func (o *GetAlertingHealth200Response) SetIsSufficientlySecure(v bool)

SetIsSufficientlySecure gets a reference to the given bool and assigns it to the IsSufficientlySecure field.

func (GetAlertingHealth200Response) ToMap

func (o GetAlertingHealth200Response) ToMap() (map[string]interface{}, error)

type GetAlertingHealth200ResponseAlertingFrameworkHealth

type GetAlertingHealth200ResponseAlertingFrameworkHealth struct {
	DecryptionHealth *GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth `json:"decryption_health,omitempty"`
	ExecutionHealth  *GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth  `json:"execution_health,omitempty"`
	ReadHealth       *GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth       `json:"read_health,omitempty"`
}

GetAlertingHealth200ResponseAlertingFrameworkHealth Three substates identify the health of the alerting framework: `decryption_health`, `execution_health`, and `read_health`.

func NewGetAlertingHealth200ResponseAlertingFrameworkHealth

func NewGetAlertingHealth200ResponseAlertingFrameworkHealth() *GetAlertingHealth200ResponseAlertingFrameworkHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealth instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealth 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 NewGetAlertingHealth200ResponseAlertingFrameworkHealthWithDefaults

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthWithDefaults() *GetAlertingHealth200ResponseAlertingFrameworkHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealthWithDefaults instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealth 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 (*GetAlertingHealth200ResponseAlertingFrameworkHealth) GetDecryptionHealth

GetDecryptionHealth returns the DecryptionHealth field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) GetDecryptionHealthOk

GetDecryptionHealthOk returns a tuple with the DecryptionHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) GetExecutionHealth

GetExecutionHealth returns the ExecutionHealth field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) GetExecutionHealthOk

GetExecutionHealthOk returns a tuple with the ExecutionHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) GetReadHealth

GetReadHealth returns the ReadHealth field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) GetReadHealthOk

GetReadHealthOk returns a tuple with the ReadHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) HasDecryptionHealth

HasDecryptionHealth returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) HasExecutionHealth

HasExecutionHealth returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) HasReadHealth

HasReadHealth returns a boolean if a field has been set.

func (GetAlertingHealth200ResponseAlertingFrameworkHealth) MarshalJSON

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) SetDecryptionHealth

SetDecryptionHealth gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth and assigns it to the DecryptionHealth field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) SetExecutionHealth

SetExecutionHealth gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth and assigns it to the ExecutionHealth field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealth) SetReadHealth

SetReadHealth gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth and assigns it to the ReadHealth field.

func (GetAlertingHealth200ResponseAlertingFrameworkHealth) ToMap

type GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

type GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth struct {
	Status    *string    `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth The timestamp and status of the rule decryption.

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth() *GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth 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 NewGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealthWithDefaults

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealthWithDefaults() *GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealthWithDefaults instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth 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 (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetTimestampOk

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) HasStatus

HasStatus returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) MarshalJSON

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (GetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) ToMap

type GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

type GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth struct {
	Status    *string    `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth The timestamp and status of the rule run.

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth() *GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth 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 NewGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealthWithDefaults

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealthWithDefaults() *GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealthWithDefaults instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth 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 (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetTimestampOk

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) HasStatus

HasStatus returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) MarshalJSON

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (GetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) ToMap

type GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

type GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth struct {
	Status    *string    `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth The timestamp and status of the rule reading events.

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth() *GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth 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 NewGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealthWithDefaults

func NewGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealthWithDefaults() *GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealthWithDefaults instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth 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 (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetTimestampOk

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) HasStatus

HasStatus returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) MarshalJSON

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (GetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) ToMap

type GetAlertingHealth200ResponseAlertingFrameworkHeath

type GetAlertingHealth200ResponseAlertingFrameworkHeath struct {
	Deprecated       *string                                                             `json:"_deprecated,omitempty"`
	DecryptionHealth *GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth `json:"decryption_health,omitempty"`
	ExecutionHealth  *GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth `json:"execution_health,omitempty"`
	ReadHealth       *GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth `json:"read_health,omitempty"`
}

GetAlertingHealth200ResponseAlertingFrameworkHeath This property has a typo. Use `alerting_framework_health` instead.

func NewGetAlertingHealth200ResponseAlertingFrameworkHeath

func NewGetAlertingHealth200ResponseAlertingFrameworkHeath() *GetAlertingHealth200ResponseAlertingFrameworkHeath

NewGetAlertingHealth200ResponseAlertingFrameworkHeath instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHeath 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 NewGetAlertingHealth200ResponseAlertingFrameworkHeathWithDefaults

func NewGetAlertingHealth200ResponseAlertingFrameworkHeathWithDefaults() *GetAlertingHealth200ResponseAlertingFrameworkHeath

NewGetAlertingHealth200ResponseAlertingFrameworkHeathWithDefaults instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHeath 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 (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetDecryptionHealth

GetDecryptionHealth returns the DecryptionHealth field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetDecryptionHealthOk

GetDecryptionHealthOk returns a tuple with the DecryptionHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetDeprecated

GetDeprecated returns the Deprecated field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetDeprecatedOk

GetDeprecatedOk returns a tuple with the Deprecated field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetExecutionHealth

GetExecutionHealth returns the ExecutionHealth field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetExecutionHealthOk

GetExecutionHealthOk returns a tuple with the ExecutionHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetReadHealth

GetReadHealth returns the ReadHealth field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) GetReadHealthOk

GetReadHealthOk returns a tuple with the ReadHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) HasDecryptionHealth

HasDecryptionHealth returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) HasDeprecated

HasDeprecated returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) HasExecutionHealth

HasExecutionHealth returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) HasReadHealth

HasReadHealth returns a boolean if a field has been set.

func (GetAlertingHealth200ResponseAlertingFrameworkHeath) MarshalJSON

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) SetDecryptionHealth

SetDecryptionHealth gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth and assigns it to the DecryptionHealth field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) SetDeprecated

SetDeprecated gets a reference to the given string and assigns it to the Deprecated field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) SetExecutionHealth

SetExecutionHealth gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth and assigns it to the ExecutionHealth field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeath) SetReadHealth

SetReadHealth gets a reference to the given GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth and assigns it to the ReadHealth field.

func (GetAlertingHealth200ResponseAlertingFrameworkHeath) ToMap

type GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth

type GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth struct {
	Status    *string    `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth struct for GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth

func NewGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth

func NewGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth() *GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth 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 NewGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealthWithDefaults

func NewGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealthWithDefaults() *GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth

NewGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealthWithDefaults instantiates a new GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth 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 (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) GetTimestampOk

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) HasStatus

HasStatus returns a boolean if a field has been set.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) MarshalJSON

func (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (GetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) ToMap

type GetRuleTypes200ResponseInner

type GetRuleTypes200ResponseInner struct {
	// An explicit list of groups for which the rule type can schedule actions, each with the action group's unique ID and human readable name. Rule actions validation uses this configuration to ensure that groups are valid.
	ActionGroups        []GetRuleTypes200ResponseInnerActionGroupsInner  `json:"action_groups,omitempty"`
	ActionVariables     *GetRuleTypes200ResponseInnerActionVariables     `json:"action_variables,omitempty"`
	AuthorizedConsumers *GetRuleTypes200ResponseInnerAuthorizedConsumers `json:"authorized_consumers,omitempty"`
	// The default identifier for the rule type group.
	DefaultActionGroupId *string `json:"default_action_group_id,omitempty"`
	// Indicates whether the rule passes context variables to its recovery action.
	DoesSetRecoveryContext *bool `json:"does_set_recovery_context,omitempty"`
	// Indicates whether the rule type is enabled or disabled based on the subscription.
	EnabledInLicense *bool `json:"enabled_in_license,omitempty"`
	// The unique identifier for the rule type.
	Id *string `json:"id,omitempty"`
	// Indicates whether the rule type is exportable in **Stack Management > Saved Objects**.
	IsExportable *bool `json:"is_exportable,omitempty"`
	// The subscriptions required to use the rule type.
	MinimumLicenseRequired *string `json:"minimum_license_required,omitempty"`
	// The descriptive name of the rule type.
	Name *string `json:"name,omitempty"`
	// An identifier for the application that produces this rule type.
	Producer            *string                                          `json:"producer,omitempty"`
	RecoveryActionGroup *GetRuleTypes200ResponseInnerRecoveryActionGroup `json:"recovery_action_group,omitempty"`
	RuleTaskTimeout     *string                                          `json:"rule_task_timeout,omitempty"`
}

GetRuleTypes200ResponseInner struct for GetRuleTypes200ResponseInner

func NewGetRuleTypes200ResponseInner

func NewGetRuleTypes200ResponseInner() *GetRuleTypes200ResponseInner

NewGetRuleTypes200ResponseInner instantiates a new GetRuleTypes200ResponseInner 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 NewGetRuleTypes200ResponseInnerWithDefaults

func NewGetRuleTypes200ResponseInnerWithDefaults() *GetRuleTypes200ResponseInner

NewGetRuleTypes200ResponseInnerWithDefaults instantiates a new GetRuleTypes200ResponseInner 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 (*GetRuleTypes200ResponseInner) GetActionGroups

GetActionGroups returns the ActionGroups field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetActionGroupsOk

GetActionGroupsOk returns a tuple with the ActionGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetActionVariables

GetActionVariables returns the ActionVariables field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetActionVariablesOk

GetActionVariablesOk returns a tuple with the ActionVariables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetAuthorizedConsumers

GetAuthorizedConsumers returns the AuthorizedConsumers field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetAuthorizedConsumersOk

GetAuthorizedConsumersOk returns a tuple with the AuthorizedConsumers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetDefaultActionGroupId

func (o *GetRuleTypes200ResponseInner) GetDefaultActionGroupId() string

GetDefaultActionGroupId returns the DefaultActionGroupId field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetDefaultActionGroupIdOk

func (o *GetRuleTypes200ResponseInner) GetDefaultActionGroupIdOk() (*string, bool)

GetDefaultActionGroupIdOk returns a tuple with the DefaultActionGroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetDoesSetRecoveryContext

func (o *GetRuleTypes200ResponseInner) GetDoesSetRecoveryContext() bool

GetDoesSetRecoveryContext returns the DoesSetRecoveryContext field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetDoesSetRecoveryContextOk

func (o *GetRuleTypes200ResponseInner) GetDoesSetRecoveryContextOk() (*bool, bool)

GetDoesSetRecoveryContextOk returns a tuple with the DoesSetRecoveryContext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetEnabledInLicense

func (o *GetRuleTypes200ResponseInner) GetEnabledInLicense() bool

GetEnabledInLicense returns the EnabledInLicense field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetEnabledInLicenseOk

func (o *GetRuleTypes200ResponseInner) GetEnabledInLicenseOk() (*bool, bool)

GetEnabledInLicenseOk returns a tuple with the EnabledInLicense field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetIdOk

func (o *GetRuleTypes200ResponseInner) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetIsExportable

func (o *GetRuleTypes200ResponseInner) GetIsExportable() bool

GetIsExportable returns the IsExportable field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetIsExportableOk

func (o *GetRuleTypes200ResponseInner) GetIsExportableOk() (*bool, bool)

GetIsExportableOk returns a tuple with the IsExportable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetMinimumLicenseRequired

func (o *GetRuleTypes200ResponseInner) GetMinimumLicenseRequired() string

GetMinimumLicenseRequired returns the MinimumLicenseRequired field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetMinimumLicenseRequiredOk

func (o *GetRuleTypes200ResponseInner) GetMinimumLicenseRequiredOk() (*string, bool)

GetMinimumLicenseRequiredOk returns a tuple with the MinimumLicenseRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetName

func (o *GetRuleTypes200ResponseInner) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetNameOk

func (o *GetRuleTypes200ResponseInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetProducer

func (o *GetRuleTypes200ResponseInner) GetProducer() string

GetProducer returns the Producer field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetProducerOk

func (o *GetRuleTypes200ResponseInner) GetProducerOk() (*string, bool)

GetProducerOk returns a tuple with the Producer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetRecoveryActionGroup

GetRecoveryActionGroup returns the RecoveryActionGroup field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetRecoveryActionGroupOk

GetRecoveryActionGroupOk returns a tuple with the RecoveryActionGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) GetRuleTaskTimeout

func (o *GetRuleTypes200ResponseInner) GetRuleTaskTimeout() string

GetRuleTaskTimeout returns the RuleTaskTimeout field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetRuleTaskTimeoutOk

func (o *GetRuleTypes200ResponseInner) GetRuleTaskTimeoutOk() (*string, bool)

GetRuleTaskTimeoutOk returns a tuple with the RuleTaskTimeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInner) HasActionGroups

func (o *GetRuleTypes200ResponseInner) HasActionGroups() bool

HasActionGroups returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasActionVariables

func (o *GetRuleTypes200ResponseInner) HasActionVariables() bool

HasActionVariables returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasAuthorizedConsumers

func (o *GetRuleTypes200ResponseInner) HasAuthorizedConsumers() bool

HasAuthorizedConsumers returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasDefaultActionGroupId

func (o *GetRuleTypes200ResponseInner) HasDefaultActionGroupId() bool

HasDefaultActionGroupId returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasDoesSetRecoveryContext

func (o *GetRuleTypes200ResponseInner) HasDoesSetRecoveryContext() bool

HasDoesSetRecoveryContext returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasEnabledInLicense

func (o *GetRuleTypes200ResponseInner) HasEnabledInLicense() bool

HasEnabledInLicense returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasId

HasId returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasIsExportable

func (o *GetRuleTypes200ResponseInner) HasIsExportable() bool

HasIsExportable returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasMinimumLicenseRequired

func (o *GetRuleTypes200ResponseInner) HasMinimumLicenseRequired() bool

HasMinimumLicenseRequired returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasName

func (o *GetRuleTypes200ResponseInner) HasName() bool

HasName returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasProducer

func (o *GetRuleTypes200ResponseInner) HasProducer() bool

HasProducer returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasRecoveryActionGroup

func (o *GetRuleTypes200ResponseInner) HasRecoveryActionGroup() bool

HasRecoveryActionGroup returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasRuleTaskTimeout

func (o *GetRuleTypes200ResponseInner) HasRuleTaskTimeout() bool

HasRuleTaskTimeout returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInner) MarshalJSON

func (o GetRuleTypes200ResponseInner) MarshalJSON() ([]byte, error)

func (*GetRuleTypes200ResponseInner) SetActionGroups

SetActionGroups gets a reference to the given []GetRuleTypes200ResponseInnerActionGroupsInner and assigns it to the ActionGroups field.

func (*GetRuleTypes200ResponseInner) SetActionVariables

SetActionVariables gets a reference to the given GetRuleTypes200ResponseInnerActionVariables and assigns it to the ActionVariables field.

func (*GetRuleTypes200ResponseInner) SetAuthorizedConsumers

SetAuthorizedConsumers gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumers and assigns it to the AuthorizedConsumers field.

func (*GetRuleTypes200ResponseInner) SetDefaultActionGroupId

func (o *GetRuleTypes200ResponseInner) SetDefaultActionGroupId(v string)

SetDefaultActionGroupId gets a reference to the given string and assigns it to the DefaultActionGroupId field.

func (*GetRuleTypes200ResponseInner) SetDoesSetRecoveryContext

func (o *GetRuleTypes200ResponseInner) SetDoesSetRecoveryContext(v bool)

SetDoesSetRecoveryContext gets a reference to the given bool and assigns it to the DoesSetRecoveryContext field.

func (*GetRuleTypes200ResponseInner) SetEnabledInLicense

func (o *GetRuleTypes200ResponseInner) SetEnabledInLicense(v bool)

SetEnabledInLicense gets a reference to the given bool and assigns it to the EnabledInLicense field.

func (*GetRuleTypes200ResponseInner) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetRuleTypes200ResponseInner) SetIsExportable

func (o *GetRuleTypes200ResponseInner) SetIsExportable(v bool)

SetIsExportable gets a reference to the given bool and assigns it to the IsExportable field.

func (*GetRuleTypes200ResponseInner) SetMinimumLicenseRequired

func (o *GetRuleTypes200ResponseInner) SetMinimumLicenseRequired(v string)

SetMinimumLicenseRequired gets a reference to the given string and assigns it to the MinimumLicenseRequired field.

func (*GetRuleTypes200ResponseInner) SetName

func (o *GetRuleTypes200ResponseInner) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*GetRuleTypes200ResponseInner) SetProducer

func (o *GetRuleTypes200ResponseInner) SetProducer(v string)

SetProducer gets a reference to the given string and assigns it to the Producer field.

func (*GetRuleTypes200ResponseInner) SetRecoveryActionGroup

SetRecoveryActionGroup gets a reference to the given GetRuleTypes200ResponseInnerRecoveryActionGroup and assigns it to the RecoveryActionGroup field.

func (*GetRuleTypes200ResponseInner) SetRuleTaskTimeout

func (o *GetRuleTypes200ResponseInner) SetRuleTaskTimeout(v string)

SetRuleTaskTimeout gets a reference to the given string and assigns it to the RuleTaskTimeout field.

func (GetRuleTypes200ResponseInner) ToMap

func (o GetRuleTypes200ResponseInner) ToMap() (map[string]interface{}, error)

type GetRuleTypes200ResponseInnerActionGroupsInner

type GetRuleTypes200ResponseInnerActionGroupsInner struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

GetRuleTypes200ResponseInnerActionGroupsInner struct for GetRuleTypes200ResponseInnerActionGroupsInner

func NewGetRuleTypes200ResponseInnerActionGroupsInner

func NewGetRuleTypes200ResponseInnerActionGroupsInner() *GetRuleTypes200ResponseInnerActionGroupsInner

NewGetRuleTypes200ResponseInnerActionGroupsInner instantiates a new GetRuleTypes200ResponseInnerActionGroupsInner 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 NewGetRuleTypes200ResponseInnerActionGroupsInnerWithDefaults

func NewGetRuleTypes200ResponseInnerActionGroupsInnerWithDefaults() *GetRuleTypes200ResponseInnerActionGroupsInner

NewGetRuleTypes200ResponseInnerActionGroupsInnerWithDefaults instantiates a new GetRuleTypes200ResponseInnerActionGroupsInner 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 (*GetRuleTypes200ResponseInnerActionGroupsInner) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionGroupsInner) GetIdOk

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionGroupsInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionGroupsInner) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionGroupsInner) HasId

HasId returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerActionGroupsInner) HasName

HasName returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerActionGroupsInner) MarshalJSON

func (*GetRuleTypes200ResponseInnerActionGroupsInner) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetRuleTypes200ResponseInnerActionGroupsInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (GetRuleTypes200ResponseInnerActionGroupsInner) ToMap

func (o GetRuleTypes200ResponseInnerActionGroupsInner) ToMap() (map[string]interface{}, error)

type GetRuleTypes200ResponseInnerActionVariables

type GetRuleTypes200ResponseInnerActionVariables struct {
	Context []GetRuleTypes200ResponseInnerActionVariablesContextInner `json:"context,omitempty"`
	Params  []GetRuleTypes200ResponseInnerActionVariablesParamsInner  `json:"params,omitempty"`
	State   []GetRuleTypes200ResponseInnerActionVariablesParamsInner  `json:"state,omitempty"`
}

GetRuleTypes200ResponseInnerActionVariables A list of action variables that the rule type makes available via context and state in action parameter templates, and a short human readable description. When you create a rule in Kibana, it uses this information to prompt you for these variables in action parameter editors.

func NewGetRuleTypes200ResponseInnerActionVariables

func NewGetRuleTypes200ResponseInnerActionVariables() *GetRuleTypes200ResponseInnerActionVariables

NewGetRuleTypes200ResponseInnerActionVariables instantiates a new GetRuleTypes200ResponseInnerActionVariables 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 NewGetRuleTypes200ResponseInnerActionVariablesWithDefaults

func NewGetRuleTypes200ResponseInnerActionVariablesWithDefaults() *GetRuleTypes200ResponseInnerActionVariables

NewGetRuleTypes200ResponseInnerActionVariablesWithDefaults instantiates a new GetRuleTypes200ResponseInnerActionVariables 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 (*GetRuleTypes200ResponseInnerActionVariables) GetContext

GetContext returns the Context field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariables) GetContextOk

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariables) GetParams

GetParams returns the Params field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariables) GetParamsOk

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariables) GetState

GetState returns the State field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariables) GetStateOk

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariables) HasContext

HasContext returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerActionVariables) HasParams

HasParams returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerActionVariables) HasState

HasState returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerActionVariables) MarshalJSON

func (*GetRuleTypes200ResponseInnerActionVariables) SetContext

SetContext gets a reference to the given []GetRuleTypes200ResponseInnerActionVariablesContextInner and assigns it to the Context field.

func (*GetRuleTypes200ResponseInnerActionVariables) SetParams

SetParams gets a reference to the given []GetRuleTypes200ResponseInnerActionVariablesParamsInner and assigns it to the Params field.

func (*GetRuleTypes200ResponseInnerActionVariables) SetState

SetState gets a reference to the given []GetRuleTypes200ResponseInnerActionVariablesParamsInner and assigns it to the State field.

func (GetRuleTypes200ResponseInnerActionVariables) ToMap

func (o GetRuleTypes200ResponseInnerActionVariables) ToMap() (map[string]interface{}, error)

type GetRuleTypes200ResponseInnerActionVariablesContextInner

type GetRuleTypes200ResponseInnerActionVariablesContextInner struct {
	Name                           *string `json:"name,omitempty"`
	Description                    *string `json:"description,omitempty"`
	UseWithTripleBracesInTemplates *bool   `json:"useWithTripleBracesInTemplates,omitempty"`
}

GetRuleTypes200ResponseInnerActionVariablesContextInner struct for GetRuleTypes200ResponseInnerActionVariablesContextInner

func NewGetRuleTypes200ResponseInnerActionVariablesContextInner

func NewGetRuleTypes200ResponseInnerActionVariablesContextInner() *GetRuleTypes200ResponseInnerActionVariablesContextInner

NewGetRuleTypes200ResponseInnerActionVariablesContextInner instantiates a new GetRuleTypes200ResponseInnerActionVariablesContextInner 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 NewGetRuleTypes200ResponseInnerActionVariablesContextInnerWithDefaults

func NewGetRuleTypes200ResponseInnerActionVariablesContextInnerWithDefaults() *GetRuleTypes200ResponseInnerActionVariablesContextInner

NewGetRuleTypes200ResponseInnerActionVariablesContextInnerWithDefaults instantiates a new GetRuleTypes200ResponseInnerActionVariablesContextInner 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 (*GetRuleTypes200ResponseInnerActionVariablesContextInner) GetDescription

GetDescription returns the Description field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) GetDescriptionOk

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) GetUseWithTripleBracesInTemplates

func (o *GetRuleTypes200ResponseInnerActionVariablesContextInner) GetUseWithTripleBracesInTemplates() bool

GetUseWithTripleBracesInTemplates returns the UseWithTripleBracesInTemplates field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) GetUseWithTripleBracesInTemplatesOk

func (o *GetRuleTypes200ResponseInnerActionVariablesContextInner) GetUseWithTripleBracesInTemplatesOk() (*bool, bool)

GetUseWithTripleBracesInTemplatesOk returns a tuple with the UseWithTripleBracesInTemplates field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) HasDescription

HasDescription returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) HasName

HasName returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) HasUseWithTripleBracesInTemplates

func (o *GetRuleTypes200ResponseInnerActionVariablesContextInner) HasUseWithTripleBracesInTemplates() bool

HasUseWithTripleBracesInTemplates returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerActionVariablesContextInner) MarshalJSON

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) SetDescription

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) SetUseWithTripleBracesInTemplates

func (o *GetRuleTypes200ResponseInnerActionVariablesContextInner) SetUseWithTripleBracesInTemplates(v bool)

SetUseWithTripleBracesInTemplates gets a reference to the given bool and assigns it to the UseWithTripleBracesInTemplates field.

func (GetRuleTypes200ResponseInnerActionVariablesContextInner) ToMap

type GetRuleTypes200ResponseInnerActionVariablesParamsInner

type GetRuleTypes200ResponseInnerActionVariablesParamsInner struct {
	Description *string `json:"description,omitempty"`
	Name        *string `json:"name,omitempty"`
}

GetRuleTypes200ResponseInnerActionVariablesParamsInner struct for GetRuleTypes200ResponseInnerActionVariablesParamsInner

func NewGetRuleTypes200ResponseInnerActionVariablesParamsInner

func NewGetRuleTypes200ResponseInnerActionVariablesParamsInner() *GetRuleTypes200ResponseInnerActionVariablesParamsInner

NewGetRuleTypes200ResponseInnerActionVariablesParamsInner instantiates a new GetRuleTypes200ResponseInnerActionVariablesParamsInner 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 NewGetRuleTypes200ResponseInnerActionVariablesParamsInnerWithDefaults

func NewGetRuleTypes200ResponseInnerActionVariablesParamsInnerWithDefaults() *GetRuleTypes200ResponseInnerActionVariablesParamsInner

NewGetRuleTypes200ResponseInnerActionVariablesParamsInnerWithDefaults instantiates a new GetRuleTypes200ResponseInnerActionVariablesParamsInner 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 (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) GetDescription

GetDescription returns the Description field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) GetDescriptionOk

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) HasDescription

HasDescription returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) HasName

HasName returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerActionVariablesParamsInner) MarshalJSON

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) SetDescription

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (GetRuleTypes200ResponseInnerActionVariablesParamsInner) ToMap

type GetRuleTypes200ResponseInnerAuthorizedConsumers

type GetRuleTypes200ResponseInnerAuthorizedConsumers struct {
	Alerts         *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"alerts,omitempty"`
	Apm            *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"apm,omitempty"`
	Discover       *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"discover,omitempty"`
	Infrastructure *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"infrastructure,omitempty"`
	Logs           *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"logs,omitempty"`
	Ml             *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"ml,omitempty"`
	Monitoring     *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"monitoring,omitempty"`
	Siem           *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"siem,omitempty"`
	StackAlerts    *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"stackAlerts,omitempty"`
	Uptime         *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"uptime,omitempty"`
}

GetRuleTypes200ResponseInnerAuthorizedConsumers The list of the plugins IDs that have access to the rule type.

func NewGetRuleTypes200ResponseInnerAuthorizedConsumers

func NewGetRuleTypes200ResponseInnerAuthorizedConsumers() *GetRuleTypes200ResponseInnerAuthorizedConsumers

NewGetRuleTypes200ResponseInnerAuthorizedConsumers instantiates a new GetRuleTypes200ResponseInnerAuthorizedConsumers 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 NewGetRuleTypes200ResponseInnerAuthorizedConsumersWithDefaults

func NewGetRuleTypes200ResponseInnerAuthorizedConsumersWithDefaults() *GetRuleTypes200ResponseInnerAuthorizedConsumers

NewGetRuleTypes200ResponseInnerAuthorizedConsumersWithDefaults instantiates a new GetRuleTypes200ResponseInnerAuthorizedConsumers 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 (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetAlerts

GetAlerts returns the Alerts field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetAlertsOk

GetAlertsOk returns a tuple with the Alerts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetApm

GetApm returns the Apm field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetApmOk

GetApmOk returns a tuple with the Apm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetDiscover

GetDiscover returns the Discover field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetDiscoverOk

GetDiscoverOk returns a tuple with the Discover field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetInfrastructure

GetInfrastructure returns the Infrastructure field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetInfrastructureOk

GetInfrastructureOk returns a tuple with the Infrastructure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetLogs

GetLogs returns the Logs field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetLogsOk

GetLogsOk returns a tuple with the Logs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetMl

GetMl returns the Ml field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetMlOk

GetMlOk returns a tuple with the Ml field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetMonitoring

GetMonitoring returns the Monitoring field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetMonitoringOk

GetMonitoringOk returns a tuple with the Monitoring field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetSiem

GetSiem returns the Siem field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetSiemOk

GetSiemOk returns a tuple with the Siem field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetStackAlerts

GetStackAlerts returns the StackAlerts field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetStackAlertsOk

GetStackAlertsOk returns a tuple with the StackAlerts field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetUptime

GetUptime returns the Uptime field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetUptimeOk

GetUptimeOk returns a tuple with the Uptime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasAlerts

HasAlerts returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasApm

HasApm returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasDiscover

HasDiscover returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasInfrastructure

HasInfrastructure returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasLogs

HasLogs returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasMl

HasMl returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasMonitoring

HasMonitoring returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasSiem

HasSiem returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasStackAlerts

HasStackAlerts returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) HasUptime

HasUptime returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerAuthorizedConsumers) MarshalJSON

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetAlerts

SetAlerts gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Alerts field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetApm

SetApm gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Apm field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetDiscover

SetDiscover gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Discover field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetInfrastructure

SetInfrastructure gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Infrastructure field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetLogs

SetLogs gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Logs field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetMl

SetMl gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Ml field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetMonitoring

SetMonitoring gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Monitoring field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetSiem

SetSiem gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Siem field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetStackAlerts

SetStackAlerts gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the StackAlerts field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) SetUptime

SetUptime gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Uptime field.

func (GetRuleTypes200ResponseInnerAuthorizedConsumers) ToMap

func (o GetRuleTypes200ResponseInnerAuthorizedConsumers) ToMap() (map[string]interface{}, error)

type GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts

type GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts struct {
	All  *bool `json:"all,omitempty"`
	Read *bool `json:"read,omitempty"`
}

GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts struct for GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts

func NewGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts

func NewGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts() *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts

NewGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts instantiates a new GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts 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 NewGetRuleTypes200ResponseInnerAuthorizedConsumersAlertsWithDefaults

func NewGetRuleTypes200ResponseInnerAuthorizedConsumersAlertsWithDefaults() *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts

NewGetRuleTypes200ResponseInnerAuthorizedConsumersAlertsWithDefaults instantiates a new GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts 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 (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) GetAll

GetAll returns the All field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) GetAllOk

GetAllOk returns a tuple with the All field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) GetRead

GetRead returns the Read field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) GetReadOk

GetReadOk returns a tuple with the Read field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) HasAll

HasAll returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) HasRead

HasRead returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) MarshalJSON

func (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) SetAll

SetAll gets a reference to the given bool and assigns it to the All field.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) SetRead

SetRead gets a reference to the given bool and assigns it to the Read field.

func (GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) ToMap

type GetRuleTypes200ResponseInnerRecoveryActionGroup

type GetRuleTypes200ResponseInnerRecoveryActionGroup struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

GetRuleTypes200ResponseInnerRecoveryActionGroup An action group to use when an alert goes from an active state to an inactive one.

func NewGetRuleTypes200ResponseInnerRecoveryActionGroup

func NewGetRuleTypes200ResponseInnerRecoveryActionGroup() *GetRuleTypes200ResponseInnerRecoveryActionGroup

NewGetRuleTypes200ResponseInnerRecoveryActionGroup instantiates a new GetRuleTypes200ResponseInnerRecoveryActionGroup 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 NewGetRuleTypes200ResponseInnerRecoveryActionGroupWithDefaults

func NewGetRuleTypes200ResponseInnerRecoveryActionGroupWithDefaults() *GetRuleTypes200ResponseInnerRecoveryActionGroup

NewGetRuleTypes200ResponseInnerRecoveryActionGroupWithDefaults instantiates a new GetRuleTypes200ResponseInnerRecoveryActionGroup 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 (*GetRuleTypes200ResponseInnerRecoveryActionGroup) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) GetIdOk

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) HasId

HasId returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) HasName

HasName returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerRecoveryActionGroup) MarshalJSON

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (GetRuleTypes200ResponseInnerRecoveryActionGroup) ToMap

func (o GetRuleTypes200ResponseInnerRecoveryActionGroup) ToMap() (map[string]interface{}, error)

type LegacyCreateAlertRequestProperties

type LegacyCreateAlertRequestProperties struct {
	Actions []LegacyUpdateAlertRequestPropertiesActionsInner `json:"actions,omitempty"`
	// The ID of the alert type that you want to call when the alert is scheduled to run.
	AlertTypeId string `json:"alertTypeId"`
	// The name of the application that owns the alert. This name has to match the Kibana feature name, as that dictates the required role-based access control privileges.
	Consumer string `json:"consumer"`
	// Indicates if you want to run the alert on an interval basis after it is created.
	Enabled *bool `json:"enabled,omitempty"`
	// A name to reference and search.
	Name string `json:"name"`
	// The condition for throttling the notification.
	NotifyWhen string `json:"notifyWhen"`
	// The parameters to pass to the alert type executor `params` value. This will also validate against the alert type params validator, if defined.
	Params   map[string]interface{}                     `json:"params"`
	Schedule LegacyCreateAlertRequestPropertiesSchedule `json:"schedule"`
	// A list of keywords to reference and search.
	Tags []string `json:"tags,omitempty"`
	// How often this alert should fire the same actions. This will prevent the alert from sending out the same notification over and over. For example, if an alert with a schedule of 1 minute stays in a triggered state for 90 minutes, setting a throttle of `10m` or `1h` will prevent it from sending 90 notifications during this period.
	Throttle *string `json:"throttle,omitempty"`
}

LegacyCreateAlertRequestProperties struct for LegacyCreateAlertRequestProperties

func NewLegacyCreateAlertRequestProperties

func NewLegacyCreateAlertRequestProperties(alertTypeId string, consumer string, name string, notifyWhen string, params map[string]interface{}, schedule LegacyCreateAlertRequestPropertiesSchedule) *LegacyCreateAlertRequestProperties

NewLegacyCreateAlertRequestProperties instantiates a new LegacyCreateAlertRequestProperties 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 NewLegacyCreateAlertRequestPropertiesWithDefaults

func NewLegacyCreateAlertRequestPropertiesWithDefaults() *LegacyCreateAlertRequestProperties

NewLegacyCreateAlertRequestPropertiesWithDefaults instantiates a new LegacyCreateAlertRequestProperties 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 (*LegacyCreateAlertRequestProperties) GetActions

GetActions returns the Actions field value if set, zero value otherwise.

func (*LegacyCreateAlertRequestProperties) GetActionsOk

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetAlertTypeId

func (o *LegacyCreateAlertRequestProperties) GetAlertTypeId() string

GetAlertTypeId returns the AlertTypeId field value

func (*LegacyCreateAlertRequestProperties) GetAlertTypeIdOk

func (o *LegacyCreateAlertRequestProperties) GetAlertTypeIdOk() (*string, bool)

GetAlertTypeIdOk returns a tuple with the AlertTypeId field value and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetConsumer

func (o *LegacyCreateAlertRequestProperties) GetConsumer() string

GetConsumer returns the Consumer field value

func (*LegacyCreateAlertRequestProperties) GetConsumerOk

func (o *LegacyCreateAlertRequestProperties) GetConsumerOk() (*string, bool)

GetConsumerOk returns a tuple with the Consumer field value and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetEnabled

func (o *LegacyCreateAlertRequestProperties) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*LegacyCreateAlertRequestProperties) GetEnabledOk

func (o *LegacyCreateAlertRequestProperties) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetName

GetName returns the Name field value

func (*LegacyCreateAlertRequestProperties) GetNameOk

func (o *LegacyCreateAlertRequestProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetNotifyWhen

func (o *LegacyCreateAlertRequestProperties) GetNotifyWhen() string

GetNotifyWhen returns the NotifyWhen field value

func (*LegacyCreateAlertRequestProperties) GetNotifyWhenOk

func (o *LegacyCreateAlertRequestProperties) GetNotifyWhenOk() (*string, bool)

GetNotifyWhenOk returns a tuple with the NotifyWhen field value and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetParams

func (o *LegacyCreateAlertRequestProperties) GetParams() map[string]interface{}

GetParams returns the Params field value

func (*LegacyCreateAlertRequestProperties) GetParamsOk

func (o *LegacyCreateAlertRequestProperties) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetSchedule

GetSchedule returns the Schedule field value

func (*LegacyCreateAlertRequestProperties) GetScheduleOk

GetScheduleOk returns a tuple with the Schedule field value and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetTags

GetTags returns the Tags field value if set, zero value otherwise.

func (*LegacyCreateAlertRequestProperties) GetTagsOk

func (o *LegacyCreateAlertRequestProperties) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) GetThrottle

func (o *LegacyCreateAlertRequestProperties) GetThrottle() string

GetThrottle returns the Throttle field value if set, zero value otherwise.

func (*LegacyCreateAlertRequestProperties) GetThrottleOk

func (o *LegacyCreateAlertRequestProperties) GetThrottleOk() (*string, bool)

GetThrottleOk returns a tuple with the Throttle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestProperties) HasActions

func (o *LegacyCreateAlertRequestProperties) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*LegacyCreateAlertRequestProperties) HasEnabled

func (o *LegacyCreateAlertRequestProperties) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*LegacyCreateAlertRequestProperties) HasTags

HasTags returns a boolean if a field has been set.

func (*LegacyCreateAlertRequestProperties) HasThrottle

func (o *LegacyCreateAlertRequestProperties) HasThrottle() bool

HasThrottle returns a boolean if a field has been set.

func (LegacyCreateAlertRequestProperties) MarshalJSON

func (o LegacyCreateAlertRequestProperties) MarshalJSON() ([]byte, error)

func (*LegacyCreateAlertRequestProperties) SetActions

SetActions gets a reference to the given []LegacyUpdateAlertRequestPropertiesActionsInner and assigns it to the Actions field.

func (*LegacyCreateAlertRequestProperties) SetAlertTypeId

func (o *LegacyCreateAlertRequestProperties) SetAlertTypeId(v string)

SetAlertTypeId sets field value

func (*LegacyCreateAlertRequestProperties) SetConsumer

func (o *LegacyCreateAlertRequestProperties) SetConsumer(v string)

SetConsumer sets field value

func (*LegacyCreateAlertRequestProperties) SetEnabled

func (o *LegacyCreateAlertRequestProperties) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*LegacyCreateAlertRequestProperties) SetName

SetName sets field value

func (*LegacyCreateAlertRequestProperties) SetNotifyWhen

func (o *LegacyCreateAlertRequestProperties) SetNotifyWhen(v string)

SetNotifyWhen sets field value

func (*LegacyCreateAlertRequestProperties) SetParams

func (o *LegacyCreateAlertRequestProperties) SetParams(v map[string]interface{})

SetParams sets field value

func (*LegacyCreateAlertRequestProperties) SetSchedule

SetSchedule sets field value

func (*LegacyCreateAlertRequestProperties) SetTags

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*LegacyCreateAlertRequestProperties) SetThrottle

func (o *LegacyCreateAlertRequestProperties) SetThrottle(v string)

SetThrottle gets a reference to the given string and assigns it to the Throttle field.

func (LegacyCreateAlertRequestProperties) ToMap

func (o LegacyCreateAlertRequestProperties) ToMap() (map[string]interface{}, error)

func (*LegacyCreateAlertRequestProperties) UnmarshalJSON added in v0.11.0

func (o *LegacyCreateAlertRequestProperties) UnmarshalJSON(bytes []byte) (err error)

type LegacyCreateAlertRequestPropertiesSchedule

type LegacyCreateAlertRequestPropertiesSchedule struct {
	// The interval format specifies the interval in seconds, minutes, hours or days at which the alert should execute.
	Interval *string `json:"interval,omitempty"`
}

LegacyCreateAlertRequestPropertiesSchedule The schedule specifying when this alert should be run. A schedule is structured such that the key specifies the format you wish to use and its value specifies the schedule.

func NewLegacyCreateAlertRequestPropertiesSchedule

func NewLegacyCreateAlertRequestPropertiesSchedule() *LegacyCreateAlertRequestPropertiesSchedule

NewLegacyCreateAlertRequestPropertiesSchedule instantiates a new LegacyCreateAlertRequestPropertiesSchedule 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 NewLegacyCreateAlertRequestPropertiesScheduleWithDefaults

func NewLegacyCreateAlertRequestPropertiesScheduleWithDefaults() *LegacyCreateAlertRequestPropertiesSchedule

NewLegacyCreateAlertRequestPropertiesScheduleWithDefaults instantiates a new LegacyCreateAlertRequestPropertiesSchedule 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 (*LegacyCreateAlertRequestPropertiesSchedule) GetInterval

GetInterval returns the Interval field value if set, zero value otherwise.

func (*LegacyCreateAlertRequestPropertiesSchedule) GetIntervalOk

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyCreateAlertRequestPropertiesSchedule) HasInterval

HasInterval returns a boolean if a field has been set.

func (LegacyCreateAlertRequestPropertiesSchedule) MarshalJSON

func (*LegacyCreateAlertRequestPropertiesSchedule) SetInterval

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (LegacyCreateAlertRequestPropertiesSchedule) ToMap

func (o LegacyCreateAlertRequestPropertiesSchedule) ToMap() (map[string]interface{}, error)

type LegacyFindAlerts200Response

type LegacyFindAlerts200Response struct {
	Data    []AlertResponseProperties `json:"data,omitempty"`
	Page    *int32                    `json:"page,omitempty"`
	PerPage *int32                    `json:"perPage,omitempty"`
	Total   *int32                    `json:"total,omitempty"`
}

LegacyFindAlerts200Response struct for LegacyFindAlerts200Response

func NewLegacyFindAlerts200Response

func NewLegacyFindAlerts200Response() *LegacyFindAlerts200Response

NewLegacyFindAlerts200Response instantiates a new LegacyFindAlerts200Response 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 NewLegacyFindAlerts200ResponseWithDefaults

func NewLegacyFindAlerts200ResponseWithDefaults() *LegacyFindAlerts200Response

NewLegacyFindAlerts200ResponseWithDefaults instantiates a new LegacyFindAlerts200Response 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 (*LegacyFindAlerts200Response) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*LegacyFindAlerts200Response) GetDataOk

GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyFindAlerts200Response) GetPage

func (o *LegacyFindAlerts200Response) GetPage() int32

GetPage returns the Page field value if set, zero value otherwise.

func (*LegacyFindAlerts200Response) GetPageOk

func (o *LegacyFindAlerts200Response) GetPageOk() (*int32, bool)

GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyFindAlerts200Response) GetPerPage

func (o *LegacyFindAlerts200Response) GetPerPage() int32

GetPerPage returns the PerPage field value if set, zero value otherwise.

func (*LegacyFindAlerts200Response) GetPerPageOk

func (o *LegacyFindAlerts200Response) GetPerPageOk() (*int32, bool)

GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyFindAlerts200Response) GetTotal

func (o *LegacyFindAlerts200Response) GetTotal() int32

GetTotal returns the Total field value if set, zero value otherwise.

func (*LegacyFindAlerts200Response) GetTotalOk

func (o *LegacyFindAlerts200Response) GetTotalOk() (*int32, bool)

GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyFindAlerts200Response) HasData

func (o *LegacyFindAlerts200Response) HasData() bool

HasData returns a boolean if a field has been set.

func (*LegacyFindAlerts200Response) HasPage

func (o *LegacyFindAlerts200Response) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*LegacyFindAlerts200Response) HasPerPage

func (o *LegacyFindAlerts200Response) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

func (*LegacyFindAlerts200Response) HasTotal

func (o *LegacyFindAlerts200Response) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (LegacyFindAlerts200Response) MarshalJSON

func (o LegacyFindAlerts200Response) MarshalJSON() ([]byte, error)

func (*LegacyFindAlerts200Response) SetData

SetData gets a reference to the given []AlertResponseProperties and assigns it to the Data field.

func (*LegacyFindAlerts200Response) SetPage

func (o *LegacyFindAlerts200Response) SetPage(v int32)

SetPage gets a reference to the given int32 and assigns it to the Page field.

func (*LegacyFindAlerts200Response) SetPerPage

func (o *LegacyFindAlerts200Response) SetPerPage(v int32)

SetPerPage gets a reference to the given int32 and assigns it to the PerPage field.

func (*LegacyFindAlerts200Response) SetTotal

func (o *LegacyFindAlerts200Response) SetTotal(v int32)

SetTotal gets a reference to the given int32 and assigns it to the Total field.

func (LegacyFindAlerts200Response) ToMap

func (o LegacyFindAlerts200Response) ToMap() (map[string]interface{}, error)

type LegacyGetAlertTypes200ResponseInner

type LegacyGetAlertTypes200ResponseInner struct {
	// An explicit list of groups for which the alert type can schedule actions, each with the action group's unique ID and human readable name. Alert actions validation uses this configuration to ensure that groups are valid.
	ActionGroups    []GetRuleTypes200ResponseInnerActionGroupsInner     `json:"actionGroups,omitempty"`
	ActionVariables *LegacyGetAlertTypes200ResponseInnerActionVariables `json:"actionVariables,omitempty"`
	// The list of the plugins IDs that have access to the alert type.
	AuthorizedConsumers map[string]interface{} `json:"authorizedConsumers,omitempty"`
	// The default identifier for the alert type group.
	DefaultActionGroupId *string `json:"defaultActionGroupId,omitempty"`
	// Indicates whether the rule type is enabled based on the subscription.
	EnabledInLicense *bool `json:"enabledInLicense,omitempty"`
	// The unique identifier for the alert type.
	Id *string `json:"id,omitempty"`
	// Indicates whether the alert type is exportable in Saved Objects Management UI.
	IsExportable *bool `json:"isExportable,omitempty"`
	// The subscriptions required to use the alert type.
	MinimumLicenseRequired *string `json:"minimumLicenseRequired,omitempty"`
	// The descriptive name of the alert type.
	Name *string `json:"name,omitempty"`
	// An identifier for the application that produces this alert type.
	Producer            *string                                                 `json:"producer,omitempty"`
	RecoveryActionGroup *LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup `json:"recoveryActionGroup,omitempty"`
}

LegacyGetAlertTypes200ResponseInner struct for LegacyGetAlertTypes200ResponseInner

func NewLegacyGetAlertTypes200ResponseInner

func NewLegacyGetAlertTypes200ResponseInner() *LegacyGetAlertTypes200ResponseInner

NewLegacyGetAlertTypes200ResponseInner instantiates a new LegacyGetAlertTypes200ResponseInner 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 NewLegacyGetAlertTypes200ResponseInnerWithDefaults

func NewLegacyGetAlertTypes200ResponseInnerWithDefaults() *LegacyGetAlertTypes200ResponseInner

NewLegacyGetAlertTypes200ResponseInnerWithDefaults instantiates a new LegacyGetAlertTypes200ResponseInner 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 (*LegacyGetAlertTypes200ResponseInner) GetActionGroups

GetActionGroups returns the ActionGroups field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetActionGroupsOk

GetActionGroupsOk returns a tuple with the ActionGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetActionVariables

GetActionVariables returns the ActionVariables field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetActionVariablesOk

GetActionVariablesOk returns a tuple with the ActionVariables field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetAuthorizedConsumers

func (o *LegacyGetAlertTypes200ResponseInner) GetAuthorizedConsumers() map[string]interface{}

GetAuthorizedConsumers returns the AuthorizedConsumers field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetAuthorizedConsumersOk

func (o *LegacyGetAlertTypes200ResponseInner) GetAuthorizedConsumersOk() (map[string]interface{}, bool)

GetAuthorizedConsumersOk returns a tuple with the AuthorizedConsumers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetDefaultActionGroupId

func (o *LegacyGetAlertTypes200ResponseInner) GetDefaultActionGroupId() string

GetDefaultActionGroupId returns the DefaultActionGroupId field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetDefaultActionGroupIdOk

func (o *LegacyGetAlertTypes200ResponseInner) GetDefaultActionGroupIdOk() (*string, bool)

GetDefaultActionGroupIdOk returns a tuple with the DefaultActionGroupId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetEnabledInLicense

func (o *LegacyGetAlertTypes200ResponseInner) GetEnabledInLicense() bool

GetEnabledInLicense returns the EnabledInLicense field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetEnabledInLicenseOk

func (o *LegacyGetAlertTypes200ResponseInner) GetEnabledInLicenseOk() (*bool, bool)

GetEnabledInLicenseOk returns a tuple with the EnabledInLicense field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetIdOk

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetIsExportable

func (o *LegacyGetAlertTypes200ResponseInner) GetIsExportable() bool

GetIsExportable returns the IsExportable field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetIsExportableOk

func (o *LegacyGetAlertTypes200ResponseInner) GetIsExportableOk() (*bool, bool)

GetIsExportableOk returns a tuple with the IsExportable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetMinimumLicenseRequired

func (o *LegacyGetAlertTypes200ResponseInner) GetMinimumLicenseRequired() string

GetMinimumLicenseRequired returns the MinimumLicenseRequired field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetMinimumLicenseRequiredOk

func (o *LegacyGetAlertTypes200ResponseInner) GetMinimumLicenseRequiredOk() (*string, bool)

GetMinimumLicenseRequiredOk returns a tuple with the MinimumLicenseRequired field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetNameOk

func (o *LegacyGetAlertTypes200ResponseInner) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetProducer

GetProducer returns the Producer field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetProducerOk

func (o *LegacyGetAlertTypes200ResponseInner) GetProducerOk() (*string, bool)

GetProducerOk returns a tuple with the Producer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) GetRecoveryActionGroup

GetRecoveryActionGroup returns the RecoveryActionGroup field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInner) GetRecoveryActionGroupOk

GetRecoveryActionGroupOk returns a tuple with the RecoveryActionGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasActionGroups

func (o *LegacyGetAlertTypes200ResponseInner) HasActionGroups() bool

HasActionGroups returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasActionVariables

func (o *LegacyGetAlertTypes200ResponseInner) HasActionVariables() bool

HasActionVariables returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasAuthorizedConsumers

func (o *LegacyGetAlertTypes200ResponseInner) HasAuthorizedConsumers() bool

HasAuthorizedConsumers returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasDefaultActionGroupId

func (o *LegacyGetAlertTypes200ResponseInner) HasDefaultActionGroupId() bool

HasDefaultActionGroupId returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasEnabledInLicense

func (o *LegacyGetAlertTypes200ResponseInner) HasEnabledInLicense() bool

HasEnabledInLicense returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasId

HasId returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasIsExportable

func (o *LegacyGetAlertTypes200ResponseInner) HasIsExportable() bool

HasIsExportable returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasMinimumLicenseRequired

func (o *LegacyGetAlertTypes200ResponseInner) HasMinimumLicenseRequired() bool

HasMinimumLicenseRequired returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasName

HasName returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasProducer

func (o *LegacyGetAlertTypes200ResponseInner) HasProducer() bool

HasProducer returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInner) HasRecoveryActionGroup

func (o *LegacyGetAlertTypes200ResponseInner) HasRecoveryActionGroup() bool

HasRecoveryActionGroup returns a boolean if a field has been set.

func (LegacyGetAlertTypes200ResponseInner) MarshalJSON

func (o LegacyGetAlertTypes200ResponseInner) MarshalJSON() ([]byte, error)

func (*LegacyGetAlertTypes200ResponseInner) SetActionGroups

SetActionGroups gets a reference to the given []GetRuleTypes200ResponseInnerActionGroupsInner and assigns it to the ActionGroups field.

func (*LegacyGetAlertTypes200ResponseInner) SetActionVariables

SetActionVariables gets a reference to the given LegacyGetAlertTypes200ResponseInnerActionVariables and assigns it to the ActionVariables field.

func (*LegacyGetAlertTypes200ResponseInner) SetAuthorizedConsumers

func (o *LegacyGetAlertTypes200ResponseInner) SetAuthorizedConsumers(v map[string]interface{})

SetAuthorizedConsumers gets a reference to the given map[string]interface{} and assigns it to the AuthorizedConsumers field.

func (*LegacyGetAlertTypes200ResponseInner) SetDefaultActionGroupId

func (o *LegacyGetAlertTypes200ResponseInner) SetDefaultActionGroupId(v string)

SetDefaultActionGroupId gets a reference to the given string and assigns it to the DefaultActionGroupId field.

func (*LegacyGetAlertTypes200ResponseInner) SetEnabledInLicense

func (o *LegacyGetAlertTypes200ResponseInner) SetEnabledInLicense(v bool)

SetEnabledInLicense gets a reference to the given bool and assigns it to the EnabledInLicense field.

func (*LegacyGetAlertTypes200ResponseInner) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*LegacyGetAlertTypes200ResponseInner) SetIsExportable

func (o *LegacyGetAlertTypes200ResponseInner) SetIsExportable(v bool)

SetIsExportable gets a reference to the given bool and assigns it to the IsExportable field.

func (*LegacyGetAlertTypes200ResponseInner) SetMinimumLicenseRequired

func (o *LegacyGetAlertTypes200ResponseInner) SetMinimumLicenseRequired(v string)

SetMinimumLicenseRequired gets a reference to the given string and assigns it to the MinimumLicenseRequired field.

func (*LegacyGetAlertTypes200ResponseInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*LegacyGetAlertTypes200ResponseInner) SetProducer

func (o *LegacyGetAlertTypes200ResponseInner) SetProducer(v string)

SetProducer gets a reference to the given string and assigns it to the Producer field.

func (*LegacyGetAlertTypes200ResponseInner) SetRecoveryActionGroup

SetRecoveryActionGroup gets a reference to the given LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup and assigns it to the RecoveryActionGroup field.

func (LegacyGetAlertTypes200ResponseInner) ToMap

func (o LegacyGetAlertTypes200ResponseInner) ToMap() (map[string]interface{}, error)

type LegacyGetAlertTypes200ResponseInnerActionVariables

type LegacyGetAlertTypes200ResponseInnerActionVariables struct {
	Context []LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner `json:"context,omitempty"`
	Params  []GetRuleTypes200ResponseInnerActionVariablesParamsInner         `json:"params,omitempty"`
	State   []GetRuleTypes200ResponseInnerActionVariablesParamsInner         `json:"state,omitempty"`
}

LegacyGetAlertTypes200ResponseInnerActionVariables A list of action variables that the alert type makes available via context and state in action parameter templates, and a short human readable description. The Alert UI will use this information to prompt users for these variables in action parameter editors.

func NewLegacyGetAlertTypes200ResponseInnerActionVariables

func NewLegacyGetAlertTypes200ResponseInnerActionVariables() *LegacyGetAlertTypes200ResponseInnerActionVariables

NewLegacyGetAlertTypes200ResponseInnerActionVariables instantiates a new LegacyGetAlertTypes200ResponseInnerActionVariables 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 NewLegacyGetAlertTypes200ResponseInnerActionVariablesWithDefaults

func NewLegacyGetAlertTypes200ResponseInnerActionVariablesWithDefaults() *LegacyGetAlertTypes200ResponseInnerActionVariables

NewLegacyGetAlertTypes200ResponseInnerActionVariablesWithDefaults instantiates a new LegacyGetAlertTypes200ResponseInnerActionVariables 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 (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetContext

GetContext returns the Context field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetContextOk

GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetParams

GetParams returns the Params field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetParamsOk

GetParamsOk returns a tuple with the Params field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetState

GetState returns the State field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetStateOk

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) HasContext

HasContext returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) HasParams

HasParams returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) HasState

HasState returns a boolean if a field has been set.

func (LegacyGetAlertTypes200ResponseInnerActionVariables) MarshalJSON

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) SetContext

SetContext gets a reference to the given []LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner and assigns it to the Context field.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) SetParams

SetParams gets a reference to the given []GetRuleTypes200ResponseInnerActionVariablesParamsInner and assigns it to the Params field.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) SetState

SetState gets a reference to the given []GetRuleTypes200ResponseInnerActionVariablesParamsInner and assigns it to the State field.

func (LegacyGetAlertTypes200ResponseInnerActionVariables) ToMap

type LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner

type LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner struct for LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner

func NewLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner

func NewLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner() *LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner

NewLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner instantiates a new LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner 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 NewLegacyGetAlertTypes200ResponseInnerActionVariablesContextInnerWithDefaults

func NewLegacyGetAlertTypes200ResponseInnerActionVariablesContextInnerWithDefaults() *LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner

NewLegacyGetAlertTypes200ResponseInnerActionVariablesContextInnerWithDefaults instantiates a new LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner 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 (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) GetDescription

GetDescription returns the Description field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) GetDescriptionOk

GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) HasDescription

HasDescription returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) HasName

HasName returns a boolean if a field has been set.

func (LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) MarshalJSON

func (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) SetDescription

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (LegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) ToMap

type LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup

type LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup An action group to use when an alert instance goes from an active state to an inactive one. If it is not specified, the default recovered action group is used.

func NewLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup

func NewLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup() *LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup

NewLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup instantiates a new LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup 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 NewLegacyGetAlertTypes200ResponseInnerRecoveryActionGroupWithDefaults

func NewLegacyGetAlertTypes200ResponseInnerRecoveryActionGroupWithDefaults() *LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup

NewLegacyGetAlertTypes200ResponseInnerRecoveryActionGroupWithDefaults instantiates a new LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup 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 (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) GetIdOk

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) GetNameOk

GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) HasId

HasId returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) HasName

HasName returns a boolean if a field has been set.

func (LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) MarshalJSON

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) ToMap

type LegacyGetAlertingHealth200Response

type LegacyGetAlertingHealth200Response struct {
	AlertingFrameworkHealth *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth `json:"alertingFrameworkHealth,omitempty"`
	// If `false`, the encrypted saved object plugin does not have a permanent encryption key.
	HasPermanentEncryptionKey *bool `json:"hasPermanentEncryptionKey,omitempty"`
	// If `false`, security is enabled but TLS is not.
	IsSufficientlySecure *bool `json:"isSufficientlySecure,omitempty"`
}

LegacyGetAlertingHealth200Response struct for LegacyGetAlertingHealth200Response

func NewLegacyGetAlertingHealth200Response

func NewLegacyGetAlertingHealth200Response() *LegacyGetAlertingHealth200Response

NewLegacyGetAlertingHealth200Response instantiates a new LegacyGetAlertingHealth200Response 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 NewLegacyGetAlertingHealth200ResponseWithDefaults

func NewLegacyGetAlertingHealth200ResponseWithDefaults() *LegacyGetAlertingHealth200Response

NewLegacyGetAlertingHealth200ResponseWithDefaults instantiates a new LegacyGetAlertingHealth200Response 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 (*LegacyGetAlertingHealth200Response) GetAlertingFrameworkHealth

GetAlertingFrameworkHealth returns the AlertingFrameworkHealth field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200Response) GetAlertingFrameworkHealthOk

GetAlertingFrameworkHealthOk returns a tuple with the AlertingFrameworkHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200Response) GetHasPermanentEncryptionKey

func (o *LegacyGetAlertingHealth200Response) GetHasPermanentEncryptionKey() bool

GetHasPermanentEncryptionKey returns the HasPermanentEncryptionKey field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200Response) GetHasPermanentEncryptionKeyOk

func (o *LegacyGetAlertingHealth200Response) GetHasPermanentEncryptionKeyOk() (*bool, bool)

GetHasPermanentEncryptionKeyOk returns a tuple with the HasPermanentEncryptionKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200Response) GetIsSufficientlySecure

func (o *LegacyGetAlertingHealth200Response) GetIsSufficientlySecure() bool

GetIsSufficientlySecure returns the IsSufficientlySecure field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200Response) GetIsSufficientlySecureOk

func (o *LegacyGetAlertingHealth200Response) GetIsSufficientlySecureOk() (*bool, bool)

GetIsSufficientlySecureOk returns a tuple with the IsSufficientlySecure field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200Response) HasAlertingFrameworkHealth

func (o *LegacyGetAlertingHealth200Response) HasAlertingFrameworkHealth() bool

HasAlertingFrameworkHealth returns a boolean if a field has been set.

func (*LegacyGetAlertingHealth200Response) HasHasPermanentEncryptionKey

func (o *LegacyGetAlertingHealth200Response) HasHasPermanentEncryptionKey() bool

HasHasPermanentEncryptionKey returns a boolean if a field has been set.

func (*LegacyGetAlertingHealth200Response) HasIsSufficientlySecure

func (o *LegacyGetAlertingHealth200Response) HasIsSufficientlySecure() bool

HasIsSufficientlySecure returns a boolean if a field has been set.

func (LegacyGetAlertingHealth200Response) MarshalJSON

func (o LegacyGetAlertingHealth200Response) MarshalJSON() ([]byte, error)

func (*LegacyGetAlertingHealth200Response) SetAlertingFrameworkHealth

SetAlertingFrameworkHealth gets a reference to the given LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth and assigns it to the AlertingFrameworkHealth field.

func (*LegacyGetAlertingHealth200Response) SetHasPermanentEncryptionKey

func (o *LegacyGetAlertingHealth200Response) SetHasPermanentEncryptionKey(v bool)

SetHasPermanentEncryptionKey gets a reference to the given bool and assigns it to the HasPermanentEncryptionKey field.

func (*LegacyGetAlertingHealth200Response) SetIsSufficientlySecure

func (o *LegacyGetAlertingHealth200Response) SetIsSufficientlySecure(v bool)

SetIsSufficientlySecure gets a reference to the given bool and assigns it to the IsSufficientlySecure field.

func (LegacyGetAlertingHealth200Response) ToMap

func (o LegacyGetAlertingHealth200Response) ToMap() (map[string]interface{}, error)

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth struct {
	DecryptionHealth *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth `json:"decryptionHealth,omitempty"`
	ExecutionHealth  *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth  `json:"executionHealth,omitempty"`
	ReadHealth       *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth       `json:"readHealth,omitempty"`
}

LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth Three substates identify the health of the alerting framework: `decryptionHealth`, `executionHealth`, and `readHealth`.

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth 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 NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthWithDefaults

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthWithDefaults() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthWithDefaults instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth 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 (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) GetDecryptionHealth

GetDecryptionHealth returns the DecryptionHealth field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) GetDecryptionHealthOk

GetDecryptionHealthOk returns a tuple with the DecryptionHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) GetExecutionHealth

GetExecutionHealth returns the ExecutionHealth field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) GetExecutionHealthOk

GetExecutionHealthOk returns a tuple with the ExecutionHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) GetReadHealth

GetReadHealth returns the ReadHealth field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) GetReadHealthOk

GetReadHealthOk returns a tuple with the ReadHealth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) HasDecryptionHealth

HasDecryptionHealth returns a boolean if a field has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) HasExecutionHealth

HasExecutionHealth returns a boolean if a field has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) HasReadHealth

HasReadHealth returns a boolean if a field has been set.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) MarshalJSON

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) SetDecryptionHealth

SetDecryptionHealth gets a reference to the given LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth and assigns it to the DecryptionHealth field.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) SetExecutionHealth

SetExecutionHealth gets a reference to the given LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth and assigns it to the ExecutionHealth field.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) SetReadHealth

SetReadHealth gets a reference to the given LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth and assigns it to the ReadHealth field.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) ToMap

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth struct {
	Status    *string    `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth The timestamp and status of the alert decryption.

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth 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 NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealthWithDefaults

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealthWithDefaults() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealthWithDefaults instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth 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 (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) GetTimestampOk

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) HasStatus

HasStatus returns a boolean if a field has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) MarshalJSON

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) ToMap

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth struct {
	Status    *string    `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth The timestamp and status of the alert execution.

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth 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 NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealthWithDefaults

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealthWithDefaults() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealthWithDefaults instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth 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 (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) GetTimestampOk

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) HasStatus

HasStatus returns a boolean if a field has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) MarshalJSON

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) ToMap

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

type LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth struct {
	Status    *string    `json:"status,omitempty"`
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth The timestamp and status of the alert reading events.

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth 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 NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealthWithDefaults

func NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealthWithDefaults() *LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

NewLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealthWithDefaults instantiates a new LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth 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 (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetStatusOk

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetTimestamp

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) GetTimestampOk

GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) HasStatus

HasStatus returns a boolean if a field has been set.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) HasTimestamp

HasTimestamp returns a boolean if a field has been set.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) MarshalJSON

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) SetTimestamp

SetTimestamp gets a reference to the given time.Time and assigns it to the Timestamp field.

func (LegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) ToMap

type LegacyUpdateAlertRequestProperties

type LegacyUpdateAlertRequestProperties struct {
	Actions []LegacyUpdateAlertRequestPropertiesActionsInner `json:"actions,omitempty"`
	// A name to reference and search.
	Name string `json:"name"`
	// The condition for throttling the notification.
	NotifyWhen string `json:"notifyWhen"`
	// The parameters to pass to the alert type executor `params` value. This will also validate against the alert type params validator, if defined.
	Params   map[string]interface{}                     `json:"params"`
	Schedule LegacyUpdateAlertRequestPropertiesSchedule `json:"schedule"`
	// A list of keywords to reference and search.
	Tags []string `json:"tags,omitempty"`
	// How often this alert should fire the same actions. This will prevent the alert from sending out the same notification over and over. For example, if an alert with a schedule of 1 minute stays in a triggered state for 90 minutes, setting a throttle of `10m` or `1h` will prevent it from sending 90 notifications during this period.
	Throttle *string `json:"throttle,omitempty"`
}

LegacyUpdateAlertRequestProperties struct for LegacyUpdateAlertRequestProperties

func NewLegacyUpdateAlertRequestProperties

func NewLegacyUpdateAlertRequestProperties(name string, notifyWhen string, params map[string]interface{}, schedule LegacyUpdateAlertRequestPropertiesSchedule) *LegacyUpdateAlertRequestProperties

NewLegacyUpdateAlertRequestProperties instantiates a new LegacyUpdateAlertRequestProperties 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 NewLegacyUpdateAlertRequestPropertiesWithDefaults

func NewLegacyUpdateAlertRequestPropertiesWithDefaults() *LegacyUpdateAlertRequestProperties

NewLegacyUpdateAlertRequestPropertiesWithDefaults instantiates a new LegacyUpdateAlertRequestProperties 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 (*LegacyUpdateAlertRequestProperties) GetActions

GetActions returns the Actions field value if set, zero value otherwise.

func (*LegacyUpdateAlertRequestProperties) GetActionsOk

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestProperties) GetName

GetName returns the Name field value

func (*LegacyUpdateAlertRequestProperties) GetNameOk

func (o *LegacyUpdateAlertRequestProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestProperties) GetNotifyWhen

func (o *LegacyUpdateAlertRequestProperties) GetNotifyWhen() string

GetNotifyWhen returns the NotifyWhen field value

func (*LegacyUpdateAlertRequestProperties) GetNotifyWhenOk

func (o *LegacyUpdateAlertRequestProperties) GetNotifyWhenOk() (*string, bool)

GetNotifyWhenOk returns a tuple with the NotifyWhen field value and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestProperties) GetParams

func (o *LegacyUpdateAlertRequestProperties) GetParams() map[string]interface{}

GetParams returns the Params field value

func (*LegacyUpdateAlertRequestProperties) GetParamsOk

func (o *LegacyUpdateAlertRequestProperties) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestProperties) GetSchedule

GetSchedule returns the Schedule field value

func (*LegacyUpdateAlertRequestProperties) GetScheduleOk

GetScheduleOk returns a tuple with the Schedule field value and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestProperties) GetTags

GetTags returns the Tags field value if set, zero value otherwise.

func (*LegacyUpdateAlertRequestProperties) GetTagsOk

func (o *LegacyUpdateAlertRequestProperties) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestProperties) GetThrottle

func (o *LegacyUpdateAlertRequestProperties) GetThrottle() string

GetThrottle returns the Throttle field value if set, zero value otherwise.

func (*LegacyUpdateAlertRequestProperties) GetThrottleOk

func (o *LegacyUpdateAlertRequestProperties) GetThrottleOk() (*string, bool)

GetThrottleOk returns a tuple with the Throttle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestProperties) HasActions

func (o *LegacyUpdateAlertRequestProperties) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*LegacyUpdateAlertRequestProperties) HasTags

HasTags returns a boolean if a field has been set.

func (*LegacyUpdateAlertRequestProperties) HasThrottle

func (o *LegacyUpdateAlertRequestProperties) HasThrottle() bool

HasThrottle returns a boolean if a field has been set.

func (LegacyUpdateAlertRequestProperties) MarshalJSON

func (o LegacyUpdateAlertRequestProperties) MarshalJSON() ([]byte, error)

func (*LegacyUpdateAlertRequestProperties) SetActions

SetActions gets a reference to the given []LegacyUpdateAlertRequestPropertiesActionsInner and assigns it to the Actions field.

func (*LegacyUpdateAlertRequestProperties) SetName

SetName sets field value

func (*LegacyUpdateAlertRequestProperties) SetNotifyWhen

func (o *LegacyUpdateAlertRequestProperties) SetNotifyWhen(v string)

SetNotifyWhen sets field value

func (*LegacyUpdateAlertRequestProperties) SetParams

func (o *LegacyUpdateAlertRequestProperties) SetParams(v map[string]interface{})

SetParams sets field value

func (*LegacyUpdateAlertRequestProperties) SetSchedule

SetSchedule sets field value

func (*LegacyUpdateAlertRequestProperties) SetTags

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*LegacyUpdateAlertRequestProperties) SetThrottle

func (o *LegacyUpdateAlertRequestProperties) SetThrottle(v string)

SetThrottle gets a reference to the given string and assigns it to the Throttle field.

func (LegacyUpdateAlertRequestProperties) ToMap

func (o LegacyUpdateAlertRequestProperties) ToMap() (map[string]interface{}, error)

func (*LegacyUpdateAlertRequestProperties) UnmarshalJSON added in v0.11.0

func (o *LegacyUpdateAlertRequestProperties) UnmarshalJSON(bytes []byte) (err error)

type LegacyUpdateAlertRequestPropertiesActionsInner

type LegacyUpdateAlertRequestPropertiesActionsInner struct {
	// The identifier for the action type.
	ActionTypeId string `json:"actionTypeId"`
	// Grouping actions is recommended for escalations for different types of alert instances. If you don't need this functionality, set it to `default`.
	Group string `json:"group"`
	// The ID of the action saved object to execute.
	Id string `json:"id"`
	// The map to the `params` that the action type will receive. `params` are handled as Mustache templates and passed a default set of context.
	Params map[string]interface{} `json:"params"`
}

LegacyUpdateAlertRequestPropertiesActionsInner struct for LegacyUpdateAlertRequestPropertiesActionsInner

func NewLegacyUpdateAlertRequestPropertiesActionsInner

func NewLegacyUpdateAlertRequestPropertiesActionsInner(actionTypeId string, group string, id string, params map[string]interface{}) *LegacyUpdateAlertRequestPropertiesActionsInner

NewLegacyUpdateAlertRequestPropertiesActionsInner instantiates a new LegacyUpdateAlertRequestPropertiesActionsInner 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 NewLegacyUpdateAlertRequestPropertiesActionsInnerWithDefaults

func NewLegacyUpdateAlertRequestPropertiesActionsInnerWithDefaults() *LegacyUpdateAlertRequestPropertiesActionsInner

NewLegacyUpdateAlertRequestPropertiesActionsInnerWithDefaults instantiates a new LegacyUpdateAlertRequestPropertiesActionsInner 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 (*LegacyUpdateAlertRequestPropertiesActionsInner) GetActionTypeId

GetActionTypeId returns the ActionTypeId field value

func (*LegacyUpdateAlertRequestPropertiesActionsInner) GetActionTypeIdOk

func (o *LegacyUpdateAlertRequestPropertiesActionsInner) GetActionTypeIdOk() (*string, bool)

GetActionTypeIdOk returns a tuple with the ActionTypeId field value and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestPropertiesActionsInner) GetGroup

GetGroup returns the Group field value

func (*LegacyUpdateAlertRequestPropertiesActionsInner) GetGroupOk

GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestPropertiesActionsInner) GetId

GetId returns the Id field value

func (*LegacyUpdateAlertRequestPropertiesActionsInner) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestPropertiesActionsInner) GetParams

func (o *LegacyUpdateAlertRequestPropertiesActionsInner) GetParams() map[string]interface{}

GetParams returns the Params field value

func (*LegacyUpdateAlertRequestPropertiesActionsInner) GetParamsOk

func (o *LegacyUpdateAlertRequestPropertiesActionsInner) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (LegacyUpdateAlertRequestPropertiesActionsInner) MarshalJSON

func (*LegacyUpdateAlertRequestPropertiesActionsInner) SetActionTypeId

SetActionTypeId sets field value

func (*LegacyUpdateAlertRequestPropertiesActionsInner) SetGroup

SetGroup sets field value

func (*LegacyUpdateAlertRequestPropertiesActionsInner) SetId

SetId sets field value

func (*LegacyUpdateAlertRequestPropertiesActionsInner) SetParams

func (o *LegacyUpdateAlertRequestPropertiesActionsInner) SetParams(v map[string]interface{})

SetParams sets field value

func (LegacyUpdateAlertRequestPropertiesActionsInner) ToMap

func (o LegacyUpdateAlertRequestPropertiesActionsInner) ToMap() (map[string]interface{}, error)

func (*LegacyUpdateAlertRequestPropertiesActionsInner) UnmarshalJSON added in v0.11.0

func (o *LegacyUpdateAlertRequestPropertiesActionsInner) UnmarshalJSON(bytes []byte) (err error)

type LegacyUpdateAlertRequestPropertiesSchedule

type LegacyUpdateAlertRequestPropertiesSchedule struct {
	// The interval format specifies the interval in seconds, minutes, hours or days at which the alert should execute.
	Interval *string `json:"interval,omitempty"`
}

LegacyUpdateAlertRequestPropertiesSchedule The schedule specifying when this alert should be run. A schedule is structured such that the key specifies the format you wish to use and its value specifies the schedule.

func NewLegacyUpdateAlertRequestPropertiesSchedule

func NewLegacyUpdateAlertRequestPropertiesSchedule() *LegacyUpdateAlertRequestPropertiesSchedule

NewLegacyUpdateAlertRequestPropertiesSchedule instantiates a new LegacyUpdateAlertRequestPropertiesSchedule 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 NewLegacyUpdateAlertRequestPropertiesScheduleWithDefaults

func NewLegacyUpdateAlertRequestPropertiesScheduleWithDefaults() *LegacyUpdateAlertRequestPropertiesSchedule

NewLegacyUpdateAlertRequestPropertiesScheduleWithDefaults instantiates a new LegacyUpdateAlertRequestPropertiesSchedule 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 (*LegacyUpdateAlertRequestPropertiesSchedule) GetInterval

GetInterval returns the Interval field value if set, zero value otherwise.

func (*LegacyUpdateAlertRequestPropertiesSchedule) GetIntervalOk

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LegacyUpdateAlertRequestPropertiesSchedule) HasInterval

HasInterval returns a boolean if a field has been set.

func (LegacyUpdateAlertRequestPropertiesSchedule) MarshalJSON

func (*LegacyUpdateAlertRequestPropertiesSchedule) SetInterval

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (LegacyUpdateAlertRequestPropertiesSchedule) ToMap

func (o LegacyUpdateAlertRequestPropertiesSchedule) ToMap() (map[string]interface{}, error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Model401Response

type Model401Response struct {
	Error      *string `json:"error,omitempty"`
	Message    *string `json:"message,omitempty"`
	StatusCode *int32  `json:"statusCode,omitempty"`
}

Model401Response struct for Model401Response

func NewModel401Response

func NewModel401Response() *Model401Response

NewModel401Response instantiates a new Model401Response 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 NewModel401ResponseWithDefaults

func NewModel401ResponseWithDefaults() *Model401Response

NewModel401ResponseWithDefaults instantiates a new Model401Response 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 (*Model401Response) GetError

func (o *Model401Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Model401Response) GetErrorOk

func (o *Model401Response) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Model401Response) GetMessage

func (o *Model401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Model401Response) GetMessageOk

func (o *Model401Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Model401Response) GetStatusCode

func (o *Model401Response) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*Model401Response) GetStatusCodeOk

func (o *Model401Response) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Model401Response) HasError

func (o *Model401Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*Model401Response) HasMessage

func (o *Model401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Model401Response) HasStatusCode

func (o *Model401Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (Model401Response) MarshalJSON

func (o Model401Response) MarshalJSON() ([]byte, error)

func (*Model401Response) SetError

func (o *Model401Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Model401Response) SetMessage

func (o *Model401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Model401Response) SetStatusCode

func (o *Model401Response) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (Model401Response) ToMap

func (o Model401Response) ToMap() (map[string]interface{}, error)

type Model404Response

type Model404Response struct {
	Error      *string `json:"error,omitempty"`
	Message    *string `json:"message,omitempty"`
	StatusCode *int32  `json:"statusCode,omitempty"`
}

Model404Response struct for Model404Response

func NewModel404Response

func NewModel404Response() *Model404Response

NewModel404Response instantiates a new Model404Response 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 NewModel404ResponseWithDefaults

func NewModel404ResponseWithDefaults() *Model404Response

NewModel404ResponseWithDefaults instantiates a new Model404Response 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 (*Model404Response) GetError

func (o *Model404Response) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Model404Response) GetErrorOk

func (o *Model404Response) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Model404Response) GetMessage

func (o *Model404Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*Model404Response) GetMessageOk

func (o *Model404Response) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Model404Response) GetStatusCode

func (o *Model404Response) GetStatusCode() int32

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*Model404Response) GetStatusCodeOk

func (o *Model404Response) GetStatusCodeOk() (*int32, bool)

GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Model404Response) HasError

func (o *Model404Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*Model404Response) HasMessage

func (o *Model404Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*Model404Response) HasStatusCode

func (o *Model404Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (Model404Response) MarshalJSON

func (o Model404Response) MarshalJSON() ([]byte, error)

func (*Model404Response) SetError

func (o *Model404Response) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Model404Response) SetMessage

func (o *Model404Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*Model404Response) SetStatusCode

func (o *Model404Response) SetStatusCode(v int32)

SetStatusCode gets a reference to the given int32 and assigns it to the StatusCode field.

func (Model404Response) ToMap

func (o Model404Response) ToMap() (map[string]interface{}, error)

type NotifyWhen

type NotifyWhen string

NotifyWhen Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met.

const (
	ON_ACTION_GROUP_CHANGE NotifyWhen = "onActionGroupChange"
	ON_ACTIVE_ALERT        NotifyWhen = "onActiveAlert"
	ON_THROTTLE_INTERVAL   NotifyWhen = "onThrottleInterval"
)

List of notify_when

func NewNotifyWhenFromValue

func NewNotifyWhenFromValue(v string) (*NotifyWhen, error)

NewNotifyWhenFromValue returns a pointer to a valid NotifyWhen for the value passed as argument, or an error if the value passed is not allowed by the enum

func (NotifyWhen) IsValid

func (v NotifyWhen) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (NotifyWhen) Ptr

func (v NotifyWhen) Ptr() *NotifyWhen

Ptr returns reference to notify_when value

func (*NotifyWhen) UnmarshalJSON

func (v *NotifyWhen) UnmarshalJSON(src []byte) error

type NullableActionsInner

type NullableActionsInner struct {
	// contains filtered or unexported fields
}

func NewNullableActionsInner

func NewNullableActionsInner(val *ActionsInner) *NullableActionsInner

func (NullableActionsInner) Get

func (NullableActionsInner) IsSet

func (v NullableActionsInner) IsSet() bool

func (NullableActionsInner) MarshalJSON

func (v NullableActionsInner) MarshalJSON() ([]byte, error)

func (*NullableActionsInner) Set

func (v *NullableActionsInner) Set(val *ActionsInner)

func (*NullableActionsInner) UnmarshalJSON

func (v *NullableActionsInner) UnmarshalJSON(src []byte) error

func (*NullableActionsInner) Unset

func (v *NullableActionsInner) Unset()

type NullableActionsInnerFrequency

type NullableActionsInnerFrequency struct {
	// contains filtered or unexported fields
}

func (NullableActionsInnerFrequency) Get

func (NullableActionsInnerFrequency) IsSet

func (NullableActionsInnerFrequency) MarshalJSON

func (v NullableActionsInnerFrequency) MarshalJSON() ([]byte, error)

func (*NullableActionsInnerFrequency) Set

func (*NullableActionsInnerFrequency) UnmarshalJSON

func (v *NullableActionsInnerFrequency) UnmarshalJSON(src []byte) error

func (*NullableActionsInnerFrequency) Unset

func (v *NullableActionsInnerFrequency) Unset()

type NullableAlertResponseProperties

type NullableAlertResponseProperties struct {
	// contains filtered or unexported fields
}

func (NullableAlertResponseProperties) Get

func (NullableAlertResponseProperties) IsSet

func (NullableAlertResponseProperties) MarshalJSON

func (v NullableAlertResponseProperties) MarshalJSON() ([]byte, error)

func (*NullableAlertResponseProperties) Set

func (*NullableAlertResponseProperties) UnmarshalJSON

func (v *NullableAlertResponseProperties) UnmarshalJSON(src []byte) error

func (*NullableAlertResponseProperties) Unset

type NullableAlertResponsePropertiesExecutionStatus

type NullableAlertResponsePropertiesExecutionStatus struct {
	// contains filtered or unexported fields
}

func (NullableAlertResponsePropertiesExecutionStatus) Get

func (NullableAlertResponsePropertiesExecutionStatus) IsSet

func (NullableAlertResponsePropertiesExecutionStatus) MarshalJSON

func (*NullableAlertResponsePropertiesExecutionStatus) Set

func (*NullableAlertResponsePropertiesExecutionStatus) UnmarshalJSON

func (*NullableAlertResponsePropertiesExecutionStatus) Unset

type NullableAlertResponsePropertiesSchedule

type NullableAlertResponsePropertiesSchedule struct {
	// contains filtered or unexported fields
}

func (NullableAlertResponsePropertiesSchedule) Get

func (NullableAlertResponsePropertiesSchedule) IsSet

func (NullableAlertResponsePropertiesSchedule) MarshalJSON

func (v NullableAlertResponsePropertiesSchedule) MarshalJSON() ([]byte, error)

func (*NullableAlertResponsePropertiesSchedule) Set

func (*NullableAlertResponsePropertiesSchedule) UnmarshalJSON

func (v *NullableAlertResponsePropertiesSchedule) UnmarshalJSON(src []byte) error

func (*NullableAlertResponsePropertiesSchedule) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateRuleRequest

type NullableCreateRuleRequest struct {
	// contains filtered or unexported fields
}

func NewNullableCreateRuleRequest

func NewNullableCreateRuleRequest(val *CreateRuleRequest) *NullableCreateRuleRequest

func (NullableCreateRuleRequest) Get

func (NullableCreateRuleRequest) IsSet

func (v NullableCreateRuleRequest) IsSet() bool

func (NullableCreateRuleRequest) MarshalJSON

func (v NullableCreateRuleRequest) MarshalJSON() ([]byte, error)

func (*NullableCreateRuleRequest) Set

func (*NullableCreateRuleRequest) UnmarshalJSON

func (v *NullableCreateRuleRequest) UnmarshalJSON(src []byte) error

func (*NullableCreateRuleRequest) Unset

func (v *NullableCreateRuleRequest) Unset()

type NullableFindRules200Response

type NullableFindRules200Response struct {
	// contains filtered or unexported fields
}

func NewNullableFindRules200Response

func NewNullableFindRules200Response(val *FindRules200Response) *NullableFindRules200Response

func (NullableFindRules200Response) Get

func (NullableFindRules200Response) IsSet

func (NullableFindRules200Response) MarshalJSON

func (v NullableFindRules200Response) MarshalJSON() ([]byte, error)

func (*NullableFindRules200Response) Set

func (*NullableFindRules200Response) UnmarshalJSON

func (v *NullableFindRules200Response) UnmarshalJSON(src []byte) error

func (*NullableFindRules200Response) Unset

func (v *NullableFindRules200Response) Unset()

type NullableFindRulesHasReferenceParameter

type NullableFindRulesHasReferenceParameter struct {
	// contains filtered or unexported fields
}

func (NullableFindRulesHasReferenceParameter) Get

func (NullableFindRulesHasReferenceParameter) IsSet

func (NullableFindRulesHasReferenceParameter) MarshalJSON

func (v NullableFindRulesHasReferenceParameter) MarshalJSON() ([]byte, error)

func (*NullableFindRulesHasReferenceParameter) Set

func (*NullableFindRulesHasReferenceParameter) UnmarshalJSON

func (v *NullableFindRulesHasReferenceParameter) UnmarshalJSON(src []byte) error

func (*NullableFindRulesHasReferenceParameter) Unset

type NullableFindRulesSearchFieldsParameter

type NullableFindRulesSearchFieldsParameter struct {
	// contains filtered or unexported fields
}

func (NullableFindRulesSearchFieldsParameter) Get

func (NullableFindRulesSearchFieldsParameter) IsSet

func (NullableFindRulesSearchFieldsParameter) MarshalJSON

func (v NullableFindRulesSearchFieldsParameter) MarshalJSON() ([]byte, error)

func (*NullableFindRulesSearchFieldsParameter) Set

func (*NullableFindRulesSearchFieldsParameter) UnmarshalJSON

func (v *NullableFindRulesSearchFieldsParameter) UnmarshalJSON(src []byte) error

func (*NullableFindRulesSearchFieldsParameter) Unset

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGetAlertingHealth200Response

type NullableGetAlertingHealth200Response struct {
	// contains filtered or unexported fields
}

func (NullableGetAlertingHealth200Response) Get

func (NullableGetAlertingHealth200Response) IsSet

func (NullableGetAlertingHealth200Response) MarshalJSON

func (v NullableGetAlertingHealth200Response) MarshalJSON() ([]byte, error)

func (*NullableGetAlertingHealth200Response) Set

func (*NullableGetAlertingHealth200Response) UnmarshalJSON

func (v *NullableGetAlertingHealth200Response) UnmarshalJSON(src []byte) error

func (*NullableGetAlertingHealth200Response) Unset

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealth

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealth struct {
	// contains filtered or unexported fields
}

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealth) Get

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealth) IsSet

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealth) MarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealth) Set

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealth) UnmarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealth) Unset

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth struct {
	// contains filtered or unexported fields
}

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) Get

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) IsSet

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) MarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) Set

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) UnmarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) Unset

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth struct {
	// contains filtered or unexported fields
}

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) Get

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) IsSet

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) MarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) Set

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) UnmarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) Unset

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

type NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth struct {
	// contains filtered or unexported fields
}

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) Get

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) IsSet

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) MarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) Set

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) UnmarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) Unset

type NullableGetAlertingHealth200ResponseAlertingFrameworkHeath

type NullableGetAlertingHealth200ResponseAlertingFrameworkHeath struct {
	// contains filtered or unexported fields
}

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHeath) Get

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHeath) IsSet

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHeath) MarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHeath) Set

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHeath) UnmarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHeath) Unset

type NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth

type NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth struct {
	// contains filtered or unexported fields
}

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) Get

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) IsSet

func (NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) MarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) Set

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) UnmarshalJSON

func (*NullableGetAlertingHealth200ResponseAlertingFrameworkHeathDecryptionHealth) Unset

type NullableGetRuleTypes200ResponseInner

type NullableGetRuleTypes200ResponseInner struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInner) Get

func (NullableGetRuleTypes200ResponseInner) IsSet

func (NullableGetRuleTypes200ResponseInner) MarshalJSON

func (v NullableGetRuleTypes200ResponseInner) MarshalJSON() ([]byte, error)

func (*NullableGetRuleTypes200ResponseInner) Set

func (*NullableGetRuleTypes200ResponseInner) UnmarshalJSON

func (v *NullableGetRuleTypes200ResponseInner) UnmarshalJSON(src []byte) error

func (*NullableGetRuleTypes200ResponseInner) Unset

type NullableGetRuleTypes200ResponseInnerActionGroupsInner

type NullableGetRuleTypes200ResponseInnerActionGroupsInner struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInnerActionGroupsInner) Get

func (NullableGetRuleTypes200ResponseInnerActionGroupsInner) IsSet

func (NullableGetRuleTypes200ResponseInnerActionGroupsInner) MarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionGroupsInner) Set

func (*NullableGetRuleTypes200ResponseInnerActionGroupsInner) UnmarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionGroupsInner) Unset

type NullableGetRuleTypes200ResponseInnerActionVariables

type NullableGetRuleTypes200ResponseInnerActionVariables struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInnerActionVariables) Get

func (NullableGetRuleTypes200ResponseInnerActionVariables) IsSet

func (NullableGetRuleTypes200ResponseInnerActionVariables) MarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionVariables) Set

func (*NullableGetRuleTypes200ResponseInnerActionVariables) UnmarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionVariables) Unset

type NullableGetRuleTypes200ResponseInnerActionVariablesContextInner

type NullableGetRuleTypes200ResponseInnerActionVariablesContextInner struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInnerActionVariablesContextInner) Get

func (NullableGetRuleTypes200ResponseInnerActionVariablesContextInner) IsSet

func (NullableGetRuleTypes200ResponseInnerActionVariablesContextInner) MarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionVariablesContextInner) Set

func (*NullableGetRuleTypes200ResponseInnerActionVariablesContextInner) UnmarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionVariablesContextInner) Unset

type NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner

type NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner) Get

func (NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner) IsSet

func (NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner) MarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner) Set

func (*NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner) UnmarshalJSON

func (*NullableGetRuleTypes200ResponseInnerActionVariablesParamsInner) Unset

type NullableGetRuleTypes200ResponseInnerAuthorizedConsumers

type NullableGetRuleTypes200ResponseInnerAuthorizedConsumers struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInnerAuthorizedConsumers) Get

func (NullableGetRuleTypes200ResponseInnerAuthorizedConsumers) IsSet

func (NullableGetRuleTypes200ResponseInnerAuthorizedConsumers) MarshalJSON

func (*NullableGetRuleTypes200ResponseInnerAuthorizedConsumers) Set

func (*NullableGetRuleTypes200ResponseInnerAuthorizedConsumers) UnmarshalJSON

func (*NullableGetRuleTypes200ResponseInnerAuthorizedConsumers) Unset

type NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts

type NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) Get

func (NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) IsSet

func (NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) MarshalJSON

func (*NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) Set

func (*NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) UnmarshalJSON

func (*NullableGetRuleTypes200ResponseInnerAuthorizedConsumersAlerts) Unset

type NullableGetRuleTypes200ResponseInnerRecoveryActionGroup

type NullableGetRuleTypes200ResponseInnerRecoveryActionGroup struct {
	// contains filtered or unexported fields
}

func (NullableGetRuleTypes200ResponseInnerRecoveryActionGroup) Get

func (NullableGetRuleTypes200ResponseInnerRecoveryActionGroup) IsSet

func (NullableGetRuleTypes200ResponseInnerRecoveryActionGroup) MarshalJSON

func (*NullableGetRuleTypes200ResponseInnerRecoveryActionGroup) Set

func (*NullableGetRuleTypes200ResponseInnerRecoveryActionGroup) UnmarshalJSON

func (*NullableGetRuleTypes200ResponseInnerRecoveryActionGroup) Unset

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLegacyCreateAlertRequestProperties

type NullableLegacyCreateAlertRequestProperties struct {
	// contains filtered or unexported fields
}

func (NullableLegacyCreateAlertRequestProperties) Get

func (NullableLegacyCreateAlertRequestProperties) IsSet

func (NullableLegacyCreateAlertRequestProperties) MarshalJSON

func (*NullableLegacyCreateAlertRequestProperties) Set

func (*NullableLegacyCreateAlertRequestProperties) UnmarshalJSON

func (v *NullableLegacyCreateAlertRequestProperties) UnmarshalJSON(src []byte) error

func (*NullableLegacyCreateAlertRequestProperties) Unset

type NullableLegacyCreateAlertRequestPropertiesSchedule

type NullableLegacyCreateAlertRequestPropertiesSchedule struct {
	// contains filtered or unexported fields
}

func (NullableLegacyCreateAlertRequestPropertiesSchedule) Get

func (NullableLegacyCreateAlertRequestPropertiesSchedule) IsSet

func (NullableLegacyCreateAlertRequestPropertiesSchedule) MarshalJSON

func (*NullableLegacyCreateAlertRequestPropertiesSchedule) Set

func (*NullableLegacyCreateAlertRequestPropertiesSchedule) UnmarshalJSON

func (*NullableLegacyCreateAlertRequestPropertiesSchedule) Unset

type NullableLegacyFindAlerts200Response

type NullableLegacyFindAlerts200Response struct {
	// contains filtered or unexported fields
}

func (NullableLegacyFindAlerts200Response) Get

func (NullableLegacyFindAlerts200Response) IsSet

func (NullableLegacyFindAlerts200Response) MarshalJSON

func (v NullableLegacyFindAlerts200Response) MarshalJSON() ([]byte, error)

func (*NullableLegacyFindAlerts200Response) Set

func (*NullableLegacyFindAlerts200Response) UnmarshalJSON

func (v *NullableLegacyFindAlerts200Response) UnmarshalJSON(src []byte) error

func (*NullableLegacyFindAlerts200Response) Unset

type NullableLegacyGetAlertTypes200ResponseInner

type NullableLegacyGetAlertTypes200ResponseInner struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertTypes200ResponseInner) Get

func (NullableLegacyGetAlertTypes200ResponseInner) IsSet

func (NullableLegacyGetAlertTypes200ResponseInner) MarshalJSON

func (*NullableLegacyGetAlertTypes200ResponseInner) Set

func (*NullableLegacyGetAlertTypes200ResponseInner) UnmarshalJSON

func (v *NullableLegacyGetAlertTypes200ResponseInner) UnmarshalJSON(src []byte) error

func (*NullableLegacyGetAlertTypes200ResponseInner) Unset

type NullableLegacyGetAlertTypes200ResponseInnerActionVariables

type NullableLegacyGetAlertTypes200ResponseInnerActionVariables struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertTypes200ResponseInnerActionVariables) Get

func (NullableLegacyGetAlertTypes200ResponseInnerActionVariables) IsSet

func (NullableLegacyGetAlertTypes200ResponseInnerActionVariables) MarshalJSON

func (*NullableLegacyGetAlertTypes200ResponseInnerActionVariables) Set

func (*NullableLegacyGetAlertTypes200ResponseInnerActionVariables) UnmarshalJSON

func (*NullableLegacyGetAlertTypes200ResponseInnerActionVariables) Unset

type NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner

type NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) Get

func (NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) IsSet

func (NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) MarshalJSON

func (*NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) Set

func (*NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) UnmarshalJSON

func (*NullableLegacyGetAlertTypes200ResponseInnerActionVariablesContextInner) Unset

type NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup

type NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) Get

func (NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) IsSet

func (NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) MarshalJSON

func (*NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) Set

func (*NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) UnmarshalJSON

func (*NullableLegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) Unset

type NullableLegacyGetAlertingHealth200Response

type NullableLegacyGetAlertingHealth200Response struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertingHealth200Response) Get

func (NullableLegacyGetAlertingHealth200Response) IsSet

func (NullableLegacyGetAlertingHealth200Response) MarshalJSON

func (*NullableLegacyGetAlertingHealth200Response) Set

func (*NullableLegacyGetAlertingHealth200Response) UnmarshalJSON

func (v *NullableLegacyGetAlertingHealth200Response) UnmarshalJSON(src []byte) error

func (*NullableLegacyGetAlertingHealth200Response) Unset

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) Get

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) IsSet

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) MarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) Set

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) UnmarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealth) Unset

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) Get

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) IsSet

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) MarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) Set

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) UnmarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthDecryptionHealth) Unset

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) Get

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) IsSet

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) MarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) Set

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) UnmarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthExecutionHealth) Unset

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth

type NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth struct {
	// contains filtered or unexported fields
}

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) Get

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) IsSet

func (NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) MarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) Set

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) UnmarshalJSON

func (*NullableLegacyGetAlertingHealth200ResponseAlertingFrameworkHealthReadHealth) Unset

type NullableLegacyUpdateAlertRequestProperties

type NullableLegacyUpdateAlertRequestProperties struct {
	// contains filtered or unexported fields
}

func (NullableLegacyUpdateAlertRequestProperties) Get

func (NullableLegacyUpdateAlertRequestProperties) IsSet

func (NullableLegacyUpdateAlertRequestProperties) MarshalJSON

func (*NullableLegacyUpdateAlertRequestProperties) Set

func (*NullableLegacyUpdateAlertRequestProperties) UnmarshalJSON

func (v *NullableLegacyUpdateAlertRequestProperties) UnmarshalJSON(src []byte) error

func (*NullableLegacyUpdateAlertRequestProperties) Unset

type NullableLegacyUpdateAlertRequestPropertiesActionsInner

type NullableLegacyUpdateAlertRequestPropertiesActionsInner struct {
	// contains filtered or unexported fields
}

func (NullableLegacyUpdateAlertRequestPropertiesActionsInner) Get

func (NullableLegacyUpdateAlertRequestPropertiesActionsInner) IsSet

func (NullableLegacyUpdateAlertRequestPropertiesActionsInner) MarshalJSON

func (*NullableLegacyUpdateAlertRequestPropertiesActionsInner) Set

func (*NullableLegacyUpdateAlertRequestPropertiesActionsInner) UnmarshalJSON

func (*NullableLegacyUpdateAlertRequestPropertiesActionsInner) Unset

type NullableLegacyUpdateAlertRequestPropertiesSchedule

type NullableLegacyUpdateAlertRequestPropertiesSchedule struct {
	// contains filtered or unexported fields
}

func (NullableLegacyUpdateAlertRequestPropertiesSchedule) Get

func (NullableLegacyUpdateAlertRequestPropertiesSchedule) IsSet

func (NullableLegacyUpdateAlertRequestPropertiesSchedule) MarshalJSON

func (*NullableLegacyUpdateAlertRequestPropertiesSchedule) Set

func (*NullableLegacyUpdateAlertRequestPropertiesSchedule) UnmarshalJSON

func (*NullableLegacyUpdateAlertRequestPropertiesSchedule) Unset

type NullableModel401Response

type NullableModel401Response struct {
	// contains filtered or unexported fields
}

func NewNullableModel401Response

func NewNullableModel401Response(val *Model401Response) *NullableModel401Response

func (NullableModel401Response) Get

func (NullableModel401Response) IsSet

func (v NullableModel401Response) IsSet() bool

func (NullableModel401Response) MarshalJSON

func (v NullableModel401Response) MarshalJSON() ([]byte, error)

func (*NullableModel401Response) Set

func (*NullableModel401Response) UnmarshalJSON

func (v *NullableModel401Response) UnmarshalJSON(src []byte) error

func (*NullableModel401Response) Unset

func (v *NullableModel401Response) Unset()

type NullableModel404Response

type NullableModel404Response struct {
	// contains filtered or unexported fields
}

func NewNullableModel404Response

func NewNullableModel404Response(val *Model404Response) *NullableModel404Response

func (NullableModel404Response) Get

func (NullableModel404Response) IsSet

func (v NullableModel404Response) IsSet() bool

func (NullableModel404Response) MarshalJSON

func (v NullableModel404Response) MarshalJSON() ([]byte, error)

func (*NullableModel404Response) Set

func (*NullableModel404Response) UnmarshalJSON

func (v *NullableModel404Response) UnmarshalJSON(src []byte) error

func (*NullableModel404Response) Unset

func (v *NullableModel404Response) Unset()

type NullableNotifyWhen

type NullableNotifyWhen struct {
	// contains filtered or unexported fields
}

func NewNullableNotifyWhen

func NewNullableNotifyWhen(val *NotifyWhen) *NullableNotifyWhen

func (NullableNotifyWhen) Get

func (v NullableNotifyWhen) Get() *NotifyWhen

func (NullableNotifyWhen) IsSet

func (v NullableNotifyWhen) IsSet() bool

func (NullableNotifyWhen) MarshalJSON

func (v NullableNotifyWhen) MarshalJSON() ([]byte, error)

func (*NullableNotifyWhen) Set

func (v *NullableNotifyWhen) Set(val *NotifyWhen)

func (*NullableNotifyWhen) UnmarshalJSON

func (v *NullableNotifyWhen) UnmarshalJSON(src []byte) error

func (*NullableNotifyWhen) Unset

func (v *NullableNotifyWhen) Unset()

type NullableRuleResponseProperties

type NullableRuleResponseProperties struct {
	// contains filtered or unexported fields
}

func (NullableRuleResponseProperties) Get

func (NullableRuleResponseProperties) IsSet

func (NullableRuleResponseProperties) MarshalJSON

func (v NullableRuleResponseProperties) MarshalJSON() ([]byte, error)

func (*NullableRuleResponseProperties) Set

func (*NullableRuleResponseProperties) UnmarshalJSON

func (v *NullableRuleResponseProperties) UnmarshalJSON(src []byte) error

func (*NullableRuleResponseProperties) Unset

func (v *NullableRuleResponseProperties) Unset()

type NullableRuleResponsePropertiesExecutionStatus

type NullableRuleResponsePropertiesExecutionStatus struct {
	// contains filtered or unexported fields
}

func (NullableRuleResponsePropertiesExecutionStatus) Get

func (NullableRuleResponsePropertiesExecutionStatus) IsSet

func (NullableRuleResponsePropertiesExecutionStatus) MarshalJSON

func (*NullableRuleResponsePropertiesExecutionStatus) Set

func (*NullableRuleResponsePropertiesExecutionStatus) UnmarshalJSON

func (*NullableRuleResponsePropertiesExecutionStatus) Unset

type NullableRuleResponsePropertiesLastRun

type NullableRuleResponsePropertiesLastRun struct {
	// contains filtered or unexported fields
}

func (NullableRuleResponsePropertiesLastRun) Get

func (NullableRuleResponsePropertiesLastRun) IsSet

func (NullableRuleResponsePropertiesLastRun) MarshalJSON

func (v NullableRuleResponsePropertiesLastRun) MarshalJSON() ([]byte, error)

func (*NullableRuleResponsePropertiesLastRun) Set

func (*NullableRuleResponsePropertiesLastRun) UnmarshalJSON

func (v *NullableRuleResponsePropertiesLastRun) UnmarshalJSON(src []byte) error

func (*NullableRuleResponsePropertiesLastRun) Unset

type NullableRuleResponsePropertiesLastRunAlertsCount

type NullableRuleResponsePropertiesLastRunAlertsCount struct {
	// contains filtered or unexported fields
}

func (NullableRuleResponsePropertiesLastRunAlertsCount) Get

func (NullableRuleResponsePropertiesLastRunAlertsCount) IsSet

func (NullableRuleResponsePropertiesLastRunAlertsCount) MarshalJSON

func (*NullableRuleResponsePropertiesLastRunAlertsCount) Set

func (*NullableRuleResponsePropertiesLastRunAlertsCount) UnmarshalJSON

func (*NullableRuleResponsePropertiesLastRunAlertsCount) Unset

type NullableSchedule

type NullableSchedule struct {
	// contains filtered or unexported fields
}

func NewNullableSchedule

func NewNullableSchedule(val *Schedule) *NullableSchedule

func (NullableSchedule) Get

func (v NullableSchedule) Get() *Schedule

func (NullableSchedule) IsSet

func (v NullableSchedule) IsSet() bool

func (NullableSchedule) MarshalJSON

func (v NullableSchedule) MarshalJSON() ([]byte, error)

func (*NullableSchedule) Set

func (v *NullableSchedule) Set(val *Schedule)

func (*NullableSchedule) UnmarshalJSON

func (v *NullableSchedule) UnmarshalJSON(src []byte) error

func (*NullableSchedule) Unset

func (v *NullableSchedule) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type NullableUpdateRuleRequest

type NullableUpdateRuleRequest struct {
	// contains filtered or unexported fields
}

func NewNullableUpdateRuleRequest

func NewNullableUpdateRuleRequest(val *UpdateRuleRequest) *NullableUpdateRuleRequest

func (NullableUpdateRuleRequest) Get

func (NullableUpdateRuleRequest) IsSet

func (v NullableUpdateRuleRequest) IsSet() bool

func (NullableUpdateRuleRequest) MarshalJSON

func (v NullableUpdateRuleRequest) MarshalJSON() ([]byte, error)

func (*NullableUpdateRuleRequest) Set

func (*NullableUpdateRuleRequest) UnmarshalJSON

func (v *NullableUpdateRuleRequest) UnmarshalJSON(src []byte) error

func (*NullableUpdateRuleRequest) Unset

func (v *NullableUpdateRuleRequest) Unset()

type RuleResponseProperties

type RuleResponseProperties struct {
	Actions     []ActionsInner `json:"actions"`
	ApiKeyOwner NullableString `json:"api_key_owner"`
	// The application or feature that owns the rule. For example, `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.
	Consumer string `json:"consumer"`
	// The date and time that the rule was created.
	CreatedAt time.Time `json:"created_at"`
	// The identifier for the user that created the rule.
	CreatedBy NullableString `json:"created_by"`
	// Indicates whether the rule is currently enabled.
	Enabled         bool                                  `json:"enabled"`
	ExecutionStatus RuleResponsePropertiesExecutionStatus `json:"execution_status"`
	// The identifier for the rule.
	Id            string                         `json:"id"`
	LastRun       *RuleResponsePropertiesLastRun `json:"last_run,omitempty"`
	MutedAlertIds []string                       `json:"muted_alert_ids"`
	MuteAll       bool                           `json:"mute_all"`
	// The name of the rule.
	Name       string       `json:"name"`
	NextRun    NullableTime `json:"next_run,omitempty"`
	NotifyWhen *NotifyWhen  `json:"notify_when,omitempty"`
	// The parameters for the rule.
	Params map[string]interface{} `json:"params"`
	// The identifier for the type of rule. For example, `.es-query`, `.index-threshold`, `logs.alert.document.count`, `monitoring_alert_cluster_health`, `siem.thresholdRule`, or `xpack.ml.anomaly_detection_alert`.
	RuleTypeId string `json:"rule_type_id"`
	// Indicates whether the rule is running.
	Running         *bool    `json:"running,omitempty"`
	Schedule        Schedule `json:"schedule"`
	ScheduledTaskId *string  `json:"scheduled_task_id,omitempty"`
	// The tags for the rule.
	Tags []string `json:"tags"`
	// The throttle interval, which defines how often an alert generates repeated actions. It is applicable only if `notify_when` is set to `onThrottleInterval`. It is specified in seconds, minutes, hours, or days.
	Throttle NullableString `json:"throttle"`
	// The date and time that the rule was updated most recently.
	UpdatedAt string `json:"updated_at"`
	// The identifier for the user that updated this rule most recently.
	UpdatedBy NullableString `json:"updated_by"`
}

RuleResponseProperties struct for RuleResponseProperties

func NewRuleResponseProperties

func NewRuleResponseProperties(actions []ActionsInner, apiKeyOwner NullableString, consumer string, createdAt time.Time, createdBy NullableString, enabled bool, executionStatus RuleResponsePropertiesExecutionStatus, id string, mutedAlertIds []string, muteAll bool, name string, params map[string]interface{}, ruleTypeId string, schedule Schedule, tags []string, throttle NullableString, updatedAt string, updatedBy NullableString) *RuleResponseProperties

NewRuleResponseProperties instantiates a new RuleResponseProperties 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 NewRuleResponsePropertiesWithDefaults

func NewRuleResponsePropertiesWithDefaults() *RuleResponseProperties

NewRuleResponsePropertiesWithDefaults instantiates a new RuleResponseProperties 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 (*RuleResponseProperties) GetActions

func (o *RuleResponseProperties) GetActions() []ActionsInner

GetActions returns the Actions field value If the value is explicit nil, the zero value for []ActionsInner will be returned

func (*RuleResponseProperties) GetActionsOk

func (o *RuleResponseProperties) GetActionsOk() ([]ActionsInner, bool)

GetActionsOk returns a tuple with the Actions field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponseProperties) GetApiKeyOwner

func (o *RuleResponseProperties) GetApiKeyOwner() string

GetApiKeyOwner returns the ApiKeyOwner field value If the value is explicit nil, the zero value for string will be returned

func (*RuleResponseProperties) GetApiKeyOwnerOk

func (o *RuleResponseProperties) GetApiKeyOwnerOk() (*string, bool)

GetApiKeyOwnerOk returns a tuple with the ApiKeyOwner field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponseProperties) GetConsumer

func (o *RuleResponseProperties) GetConsumer() string

GetConsumer returns the Consumer field value

func (*RuleResponseProperties) GetConsumerOk

func (o *RuleResponseProperties) GetConsumerOk() (*string, bool)

GetConsumerOk returns a tuple with the Consumer field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetCreatedAt

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

GetCreatedAt returns the CreatedAt field value

func (*RuleResponseProperties) GetCreatedAtOk

func (o *RuleResponseProperties) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetCreatedBy

func (o *RuleResponseProperties) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*RuleResponseProperties) GetCreatedByOk

func (o *RuleResponseProperties) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponseProperties) GetEnabled

func (o *RuleResponseProperties) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*RuleResponseProperties) GetEnabledOk

func (o *RuleResponseProperties) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetExecutionStatus

GetExecutionStatus returns the ExecutionStatus field value

func (*RuleResponseProperties) GetExecutionStatusOk

GetExecutionStatusOk returns a tuple with the ExecutionStatus field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetId

func (o *RuleResponseProperties) GetId() string

GetId returns the Id field value

func (*RuleResponseProperties) GetIdOk

func (o *RuleResponseProperties) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetLastRun

GetLastRun returns the LastRun field value if set, zero value otherwise.

func (*RuleResponseProperties) GetLastRunOk

GetLastRunOk returns a tuple with the LastRun field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetMuteAll

func (o *RuleResponseProperties) GetMuteAll() bool

GetMuteAll returns the MuteAll field value

func (*RuleResponseProperties) GetMuteAllOk

func (o *RuleResponseProperties) GetMuteAllOk() (*bool, bool)

GetMuteAllOk returns a tuple with the MuteAll field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetMutedAlertIds

func (o *RuleResponseProperties) GetMutedAlertIds() []string

GetMutedAlertIds returns the MutedAlertIds field value If the value is explicit nil, the zero value for []string will be returned

func (*RuleResponseProperties) GetMutedAlertIdsOk

func (o *RuleResponseProperties) GetMutedAlertIdsOk() ([]string, bool)

GetMutedAlertIdsOk returns a tuple with the MutedAlertIds field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponseProperties) GetName

func (o *RuleResponseProperties) GetName() string

GetName returns the Name field value

func (*RuleResponseProperties) GetNameOk

func (o *RuleResponseProperties) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetNextRun

func (o *RuleResponseProperties) GetNextRun() time.Time

GetNextRun returns the NextRun field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RuleResponseProperties) GetNextRunOk

func (o *RuleResponseProperties) GetNextRunOk() (*time.Time, bool)

GetNextRunOk returns a tuple with the NextRun field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponseProperties) GetNotifyWhen

func (o *RuleResponseProperties) GetNotifyWhen() NotifyWhen

GetNotifyWhen returns the NotifyWhen field value if set, zero value otherwise.

func (*RuleResponseProperties) GetNotifyWhenOk

func (o *RuleResponseProperties) GetNotifyWhenOk() (*NotifyWhen, bool)

GetNotifyWhenOk returns a tuple with the NotifyWhen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetParams

func (o *RuleResponseProperties) GetParams() map[string]interface{}

GetParams returns the Params field value

func (*RuleResponseProperties) GetParamsOk

func (o *RuleResponseProperties) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetRuleTypeId

func (o *RuleResponseProperties) GetRuleTypeId() string

GetRuleTypeId returns the RuleTypeId field value

func (*RuleResponseProperties) GetRuleTypeIdOk

func (o *RuleResponseProperties) GetRuleTypeIdOk() (*string, bool)

GetRuleTypeIdOk returns a tuple with the RuleTypeId field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetRunning

func (o *RuleResponseProperties) GetRunning() bool

GetRunning returns the Running field value if set, zero value otherwise.

func (*RuleResponseProperties) GetRunningOk

func (o *RuleResponseProperties) GetRunningOk() (*bool, bool)

GetRunningOk returns a tuple with the Running field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetSchedule

func (o *RuleResponseProperties) GetSchedule() Schedule

GetSchedule returns the Schedule field value

func (*RuleResponseProperties) GetScheduleOk

func (o *RuleResponseProperties) GetScheduleOk() (*Schedule, bool)

GetScheduleOk returns a tuple with the Schedule field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetScheduledTaskId

func (o *RuleResponseProperties) GetScheduledTaskId() string

GetScheduledTaskId returns the ScheduledTaskId field value if set, zero value otherwise.

func (*RuleResponseProperties) GetScheduledTaskIdOk

func (o *RuleResponseProperties) GetScheduledTaskIdOk() (*string, bool)

GetScheduledTaskIdOk returns a tuple with the ScheduledTaskId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetTags

func (o *RuleResponseProperties) GetTags() []string

GetTags returns the Tags field value

func (*RuleResponseProperties) GetTagsOk

func (o *RuleResponseProperties) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetThrottle

func (o *RuleResponseProperties) GetThrottle() string

GetThrottle returns the Throttle field value If the value is explicit nil, the zero value for string will be returned

func (*RuleResponseProperties) GetThrottleOk

func (o *RuleResponseProperties) GetThrottleOk() (*string, bool)

GetThrottleOk returns a tuple with the Throttle field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponseProperties) GetUpdatedAt

func (o *RuleResponseProperties) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value

func (*RuleResponseProperties) GetUpdatedAtOk

func (o *RuleResponseProperties) GetUpdatedAtOk() (*string, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*RuleResponseProperties) GetUpdatedBy

func (o *RuleResponseProperties) GetUpdatedBy() string

GetUpdatedBy returns the UpdatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*RuleResponseProperties) GetUpdatedByOk

func (o *RuleResponseProperties) GetUpdatedByOk() (*string, bool)

GetUpdatedByOk returns a tuple with the UpdatedBy field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponseProperties) HasLastRun

func (o *RuleResponseProperties) HasLastRun() bool

HasLastRun returns a boolean if a field has been set.

func (*RuleResponseProperties) HasNextRun

func (o *RuleResponseProperties) HasNextRun() bool

HasNextRun returns a boolean if a field has been set.

func (*RuleResponseProperties) HasNotifyWhen

func (o *RuleResponseProperties) HasNotifyWhen() bool

HasNotifyWhen returns a boolean if a field has been set.

func (*RuleResponseProperties) HasRunning

func (o *RuleResponseProperties) HasRunning() bool

HasRunning returns a boolean if a field has been set.

func (*RuleResponseProperties) HasScheduledTaskId

func (o *RuleResponseProperties) HasScheduledTaskId() bool

HasScheduledTaskId returns a boolean if a field has been set.

func (RuleResponseProperties) MarshalJSON

func (o RuleResponseProperties) MarshalJSON() ([]byte, error)

func (*RuleResponseProperties) SetActions

func (o *RuleResponseProperties) SetActions(v []ActionsInner)

SetActions sets field value

func (*RuleResponseProperties) SetApiKeyOwner

func (o *RuleResponseProperties) SetApiKeyOwner(v string)

SetApiKeyOwner sets field value

func (*RuleResponseProperties) SetConsumer

func (o *RuleResponseProperties) SetConsumer(v string)

SetConsumer sets field value

func (*RuleResponseProperties) SetCreatedAt

func (o *RuleResponseProperties) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*RuleResponseProperties) SetCreatedBy

func (o *RuleResponseProperties) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*RuleResponseProperties) SetEnabled

func (o *RuleResponseProperties) SetEnabled(v bool)

SetEnabled sets field value

func (*RuleResponseProperties) SetExecutionStatus

SetExecutionStatus sets field value

func (*RuleResponseProperties) SetId

func (o *RuleResponseProperties) SetId(v string)

SetId sets field value

func (*RuleResponseProperties) SetLastRun

SetLastRun gets a reference to the given RuleResponsePropertiesLastRun and assigns it to the LastRun field.

func (*RuleResponseProperties) SetMuteAll

func (o *RuleResponseProperties) SetMuteAll(v bool)

SetMuteAll sets field value

func (*RuleResponseProperties) SetMutedAlertIds

func (o *RuleResponseProperties) SetMutedAlertIds(v []string)

SetMutedAlertIds sets field value

func (*RuleResponseProperties) SetName

func (o *RuleResponseProperties) SetName(v string)

SetName sets field value

func (*RuleResponseProperties) SetNextRun

func (o *RuleResponseProperties) SetNextRun(v time.Time)

SetNextRun gets a reference to the given NullableTime and assigns it to the NextRun field.

func (*RuleResponseProperties) SetNextRunNil

func (o *RuleResponseProperties) SetNextRunNil()

SetNextRunNil sets the value for NextRun to be an explicit nil

func (*RuleResponseProperties) SetNotifyWhen

func (o *RuleResponseProperties) SetNotifyWhen(v NotifyWhen)

SetNotifyWhen gets a reference to the given NotifyWhen and assigns it to the NotifyWhen field.

func (*RuleResponseProperties) SetParams

func (o *RuleResponseProperties) SetParams(v map[string]interface{})

SetParams sets field value

func (*RuleResponseProperties) SetRuleTypeId

func (o *RuleResponseProperties) SetRuleTypeId(v string)

SetRuleTypeId sets field value

func (*RuleResponseProperties) SetRunning

func (o *RuleResponseProperties) SetRunning(v bool)

SetRunning gets a reference to the given bool and assigns it to the Running field.

func (*RuleResponseProperties) SetSchedule

func (o *RuleResponseProperties) SetSchedule(v Schedule)

SetSchedule sets field value

func (*RuleResponseProperties) SetScheduledTaskId

func (o *RuleResponseProperties) SetScheduledTaskId(v string)

SetScheduledTaskId gets a reference to the given string and assigns it to the ScheduledTaskId field.

func (*RuleResponseProperties) SetTags

func (o *RuleResponseProperties) SetTags(v []string)

SetTags sets field value

func (*RuleResponseProperties) SetThrottle

func (o *RuleResponseProperties) SetThrottle(v string)

SetThrottle sets field value

func (*RuleResponseProperties) SetUpdatedAt

func (o *RuleResponseProperties) SetUpdatedAt(v string)

SetUpdatedAt sets field value

func (*RuleResponseProperties) SetUpdatedBy

func (o *RuleResponseProperties) SetUpdatedBy(v string)

SetUpdatedBy sets field value

func (RuleResponseProperties) ToMap

func (o RuleResponseProperties) ToMap() (map[string]interface{}, error)

func (*RuleResponseProperties) UnmarshalJSON added in v0.11.0

func (o *RuleResponseProperties) UnmarshalJSON(bytes []byte) (err error)

func (*RuleResponseProperties) UnsetNextRun

func (o *RuleResponseProperties) UnsetNextRun()

UnsetNextRun ensures that no value is present for NextRun, not even an explicit nil

type RuleResponsePropertiesExecutionStatus

type RuleResponsePropertiesExecutionStatus struct {
	LastDuration      *int32     `json:"last_duration,omitempty"`
	LastExecutionDate *time.Time `json:"last_execution_date,omitempty"`
	Status            *string    `json:"status,omitempty"`
}

RuleResponsePropertiesExecutionStatus struct for RuleResponsePropertiesExecutionStatus

func NewRuleResponsePropertiesExecutionStatus

func NewRuleResponsePropertiesExecutionStatus() *RuleResponsePropertiesExecutionStatus

NewRuleResponsePropertiesExecutionStatus instantiates a new RuleResponsePropertiesExecutionStatus 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 NewRuleResponsePropertiesExecutionStatusWithDefaults

func NewRuleResponsePropertiesExecutionStatusWithDefaults() *RuleResponsePropertiesExecutionStatus

NewRuleResponsePropertiesExecutionStatusWithDefaults instantiates a new RuleResponsePropertiesExecutionStatus 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 (*RuleResponsePropertiesExecutionStatus) GetLastDuration

func (o *RuleResponsePropertiesExecutionStatus) GetLastDuration() int32

GetLastDuration returns the LastDuration field value if set, zero value otherwise.

func (*RuleResponsePropertiesExecutionStatus) GetLastDurationOk

func (o *RuleResponsePropertiesExecutionStatus) GetLastDurationOk() (*int32, bool)

GetLastDurationOk returns a tuple with the LastDuration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesExecutionStatus) GetLastExecutionDate

func (o *RuleResponsePropertiesExecutionStatus) GetLastExecutionDate() time.Time

GetLastExecutionDate returns the LastExecutionDate field value if set, zero value otherwise.

func (*RuleResponsePropertiesExecutionStatus) GetLastExecutionDateOk

func (o *RuleResponsePropertiesExecutionStatus) GetLastExecutionDateOk() (*time.Time, bool)

GetLastExecutionDateOk returns a tuple with the LastExecutionDate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesExecutionStatus) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*RuleResponsePropertiesExecutionStatus) GetStatusOk

func (o *RuleResponsePropertiesExecutionStatus) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesExecutionStatus) HasLastDuration

func (o *RuleResponsePropertiesExecutionStatus) HasLastDuration() bool

HasLastDuration returns a boolean if a field has been set.

func (*RuleResponsePropertiesExecutionStatus) HasLastExecutionDate

func (o *RuleResponsePropertiesExecutionStatus) HasLastExecutionDate() bool

HasLastExecutionDate returns a boolean if a field has been set.

func (*RuleResponsePropertiesExecutionStatus) HasStatus

HasStatus returns a boolean if a field has been set.

func (RuleResponsePropertiesExecutionStatus) MarshalJSON

func (o RuleResponsePropertiesExecutionStatus) MarshalJSON() ([]byte, error)

func (*RuleResponsePropertiesExecutionStatus) SetLastDuration

func (o *RuleResponsePropertiesExecutionStatus) SetLastDuration(v int32)

SetLastDuration gets a reference to the given int32 and assigns it to the LastDuration field.

func (*RuleResponsePropertiesExecutionStatus) SetLastExecutionDate

func (o *RuleResponsePropertiesExecutionStatus) SetLastExecutionDate(v time.Time)

SetLastExecutionDate gets a reference to the given time.Time and assigns it to the LastExecutionDate field.

func (*RuleResponsePropertiesExecutionStatus) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

func (RuleResponsePropertiesExecutionStatus) ToMap

func (o RuleResponsePropertiesExecutionStatus) ToMap() (map[string]interface{}, error)

type RuleResponsePropertiesLastRun

type RuleResponsePropertiesLastRun struct {
	AlertsCount *RuleResponsePropertiesLastRunAlertsCount `json:"alerts_count,omitempty"`
	Outcome     *string                                   `json:"outcome,omitempty"`
	OutcomeMsg  NullableString                            `json:"outcome_msg,omitempty"`
	Warning     NullableString                            `json:"warning,omitempty"`
}

RuleResponsePropertiesLastRun struct for RuleResponsePropertiesLastRun

func NewRuleResponsePropertiesLastRun

func NewRuleResponsePropertiesLastRun() *RuleResponsePropertiesLastRun

NewRuleResponsePropertiesLastRun instantiates a new RuleResponsePropertiesLastRun 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 NewRuleResponsePropertiesLastRunWithDefaults

func NewRuleResponsePropertiesLastRunWithDefaults() *RuleResponsePropertiesLastRun

NewRuleResponsePropertiesLastRunWithDefaults instantiates a new RuleResponsePropertiesLastRun 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 (*RuleResponsePropertiesLastRun) GetAlertsCount

GetAlertsCount returns the AlertsCount field value if set, zero value otherwise.

func (*RuleResponsePropertiesLastRun) GetAlertsCountOk

GetAlertsCountOk returns a tuple with the AlertsCount field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesLastRun) GetOutcome

func (o *RuleResponsePropertiesLastRun) GetOutcome() string

GetOutcome returns the Outcome field value if set, zero value otherwise.

func (*RuleResponsePropertiesLastRun) GetOutcomeMsg

func (o *RuleResponsePropertiesLastRun) GetOutcomeMsg() string

GetOutcomeMsg returns the OutcomeMsg field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RuleResponsePropertiesLastRun) GetOutcomeMsgOk

func (o *RuleResponsePropertiesLastRun) GetOutcomeMsgOk() (*string, bool)

GetOutcomeMsgOk returns a tuple with the OutcomeMsg field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponsePropertiesLastRun) GetOutcomeOk

func (o *RuleResponsePropertiesLastRun) GetOutcomeOk() (*string, bool)

GetOutcomeOk returns a tuple with the Outcome field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesLastRun) GetWarning

func (o *RuleResponsePropertiesLastRun) GetWarning() string

GetWarning returns the Warning field value if set, zero value otherwise (both if not set or set to explicit null).

func (*RuleResponsePropertiesLastRun) GetWarningOk

func (o *RuleResponsePropertiesLastRun) GetWarningOk() (*string, bool)

GetWarningOk returns a tuple with the Warning field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*RuleResponsePropertiesLastRun) HasAlertsCount

func (o *RuleResponsePropertiesLastRun) HasAlertsCount() bool

HasAlertsCount returns a boolean if a field has been set.

func (*RuleResponsePropertiesLastRun) HasOutcome

func (o *RuleResponsePropertiesLastRun) HasOutcome() bool

HasOutcome returns a boolean if a field has been set.

func (*RuleResponsePropertiesLastRun) HasOutcomeMsg

func (o *RuleResponsePropertiesLastRun) HasOutcomeMsg() bool

HasOutcomeMsg returns a boolean if a field has been set.

func (*RuleResponsePropertiesLastRun) HasWarning

func (o *RuleResponsePropertiesLastRun) HasWarning() bool

HasWarning returns a boolean if a field has been set.

func (RuleResponsePropertiesLastRun) MarshalJSON

func (o RuleResponsePropertiesLastRun) MarshalJSON() ([]byte, error)

func (*RuleResponsePropertiesLastRun) SetAlertsCount

SetAlertsCount gets a reference to the given RuleResponsePropertiesLastRunAlertsCount and assigns it to the AlertsCount field.

func (*RuleResponsePropertiesLastRun) SetOutcome

func (o *RuleResponsePropertiesLastRun) SetOutcome(v string)

SetOutcome gets a reference to the given string and assigns it to the Outcome field.

func (*RuleResponsePropertiesLastRun) SetOutcomeMsg

func (o *RuleResponsePropertiesLastRun) SetOutcomeMsg(v string)

SetOutcomeMsg gets a reference to the given NullableString and assigns it to the OutcomeMsg field.

func (*RuleResponsePropertiesLastRun) SetOutcomeMsgNil

func (o *RuleResponsePropertiesLastRun) SetOutcomeMsgNil()

SetOutcomeMsgNil sets the value for OutcomeMsg to be an explicit nil

func (*RuleResponsePropertiesLastRun) SetWarning

func (o *RuleResponsePropertiesLastRun) SetWarning(v string)

SetWarning gets a reference to the given NullableString and assigns it to the Warning field.

func (*RuleResponsePropertiesLastRun) SetWarningNil

func (o *RuleResponsePropertiesLastRun) SetWarningNil()

SetWarningNil sets the value for Warning to be an explicit nil

func (RuleResponsePropertiesLastRun) ToMap

func (o RuleResponsePropertiesLastRun) ToMap() (map[string]interface{}, error)

func (*RuleResponsePropertiesLastRun) UnsetOutcomeMsg

func (o *RuleResponsePropertiesLastRun) UnsetOutcomeMsg()

UnsetOutcomeMsg ensures that no value is present for OutcomeMsg, not even an explicit nil

func (*RuleResponsePropertiesLastRun) UnsetWarning

func (o *RuleResponsePropertiesLastRun) UnsetWarning()

UnsetWarning ensures that no value is present for Warning, not even an explicit nil

type RuleResponsePropertiesLastRunAlertsCount

type RuleResponsePropertiesLastRunAlertsCount struct {
	Active    *int32 `json:"active,omitempty"`
	Ignored   *int32 `json:"ignored,omitempty"`
	New       *int32 `json:"new,omitempty"`
	Recovered *int32 `json:"recovered,omitempty"`
}

RuleResponsePropertiesLastRunAlertsCount struct for RuleResponsePropertiesLastRunAlertsCount

func NewRuleResponsePropertiesLastRunAlertsCount

func NewRuleResponsePropertiesLastRunAlertsCount() *RuleResponsePropertiesLastRunAlertsCount

NewRuleResponsePropertiesLastRunAlertsCount instantiates a new RuleResponsePropertiesLastRunAlertsCount 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 NewRuleResponsePropertiesLastRunAlertsCountWithDefaults

func NewRuleResponsePropertiesLastRunAlertsCountWithDefaults() *RuleResponsePropertiesLastRunAlertsCount

NewRuleResponsePropertiesLastRunAlertsCountWithDefaults instantiates a new RuleResponsePropertiesLastRunAlertsCount 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 (*RuleResponsePropertiesLastRunAlertsCount) GetActive

GetActive returns the Active field value if set, zero value otherwise.

func (*RuleResponsePropertiesLastRunAlertsCount) GetActiveOk

GetActiveOk returns a tuple with the Active field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesLastRunAlertsCount) GetIgnored

GetIgnored returns the Ignored field value if set, zero value otherwise.

func (*RuleResponsePropertiesLastRunAlertsCount) GetIgnoredOk

func (o *RuleResponsePropertiesLastRunAlertsCount) GetIgnoredOk() (*int32, bool)

GetIgnoredOk returns a tuple with the Ignored field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesLastRunAlertsCount) GetNew

GetNew returns the New field value if set, zero value otherwise.

func (*RuleResponsePropertiesLastRunAlertsCount) GetNewOk

GetNewOk returns a tuple with the New field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesLastRunAlertsCount) GetRecovered

GetRecovered returns the Recovered field value if set, zero value otherwise.

func (*RuleResponsePropertiesLastRunAlertsCount) GetRecoveredOk

func (o *RuleResponsePropertiesLastRunAlertsCount) GetRecoveredOk() (*int32, bool)

GetRecoveredOk returns a tuple with the Recovered field value if set, nil otherwise and a boolean to check if the value has been set.

func (*RuleResponsePropertiesLastRunAlertsCount) HasActive

HasActive returns a boolean if a field has been set.

func (*RuleResponsePropertiesLastRunAlertsCount) HasIgnored

HasIgnored returns a boolean if a field has been set.

func (*RuleResponsePropertiesLastRunAlertsCount) HasNew

HasNew returns a boolean if a field has been set.

func (*RuleResponsePropertiesLastRunAlertsCount) HasRecovered

HasRecovered returns a boolean if a field has been set.

func (RuleResponsePropertiesLastRunAlertsCount) MarshalJSON

func (*RuleResponsePropertiesLastRunAlertsCount) SetActive

SetActive gets a reference to the given int32 and assigns it to the Active field.

func (*RuleResponsePropertiesLastRunAlertsCount) SetIgnored

SetIgnored gets a reference to the given int32 and assigns it to the Ignored field.

func (*RuleResponsePropertiesLastRunAlertsCount) SetNew

SetNew gets a reference to the given int32 and assigns it to the New field.

func (*RuleResponsePropertiesLastRunAlertsCount) SetRecovered

SetRecovered gets a reference to the given int32 and assigns it to the Recovered field.

func (RuleResponsePropertiesLastRunAlertsCount) ToMap

func (o RuleResponsePropertiesLastRunAlertsCount) ToMap() (map[string]interface{}, error)

type Schedule

type Schedule struct {
	Interval *string `json:"interval,omitempty"`
}

Schedule The check interval, which specifies how frequently the rule conditions are checked. The interval is specified in seconds, minutes, hours, or days.

func NewSchedule

func NewSchedule() *Schedule

NewSchedule instantiates a new Schedule 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 NewScheduleWithDefaults

func NewScheduleWithDefaults() *Schedule

NewScheduleWithDefaults instantiates a new Schedule 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 (*Schedule) GetInterval

func (o *Schedule) GetInterval() string

GetInterval returns the Interval field value if set, zero value otherwise.

func (*Schedule) GetIntervalOk

func (o *Schedule) GetIntervalOk() (*string, bool)

GetIntervalOk returns a tuple with the Interval field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Schedule) HasInterval

func (o *Schedule) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (Schedule) MarshalJSON

func (o Schedule) MarshalJSON() ([]byte, error)

func (*Schedule) SetInterval

func (o *Schedule) SetInterval(v string)

SetInterval gets a reference to the given string and assigns it to the Interval field.

func (Schedule) ToMap

func (o Schedule) ToMap() (map[string]interface{}, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type UpdateRuleRequest

type UpdateRuleRequest struct {
	Actions []ActionsInner `json:"actions,omitempty"`
	// The name of the rule.
	Name       string      `json:"name"`
	NotifyWhen *NotifyWhen `json:"notify_when,omitempty"`
	// The parameters for the rule.
	Params   map[string]interface{} `json:"params"`
	Schedule Schedule               `json:"schedule"`
	// The tags for the rule.
	Tags []string `json:"tags,omitempty"`
	// The throttle interval, which defines how often an alert generates repeated actions. It is applicable only if `notify_when` is set to `onThrottleInterval`. It is specified in seconds, minutes, hours, or days.
	Throttle NullableString `json:"throttle,omitempty"`
}

UpdateRuleRequest The update rule API request body varies depending on the type of rule and actions.

func NewUpdateRuleRequest

func NewUpdateRuleRequest(name string, params map[string]interface{}, schedule Schedule) *UpdateRuleRequest

NewUpdateRuleRequest instantiates a new UpdateRuleRequest 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 NewUpdateRuleRequestWithDefaults

func NewUpdateRuleRequestWithDefaults() *UpdateRuleRequest

NewUpdateRuleRequestWithDefaults instantiates a new UpdateRuleRequest 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 (*UpdateRuleRequest) GetActions

func (o *UpdateRuleRequest) GetActions() []ActionsInner

GetActions returns the Actions field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateRuleRequest) GetActionsOk

func (o *UpdateRuleRequest) GetActionsOk() ([]ActionsInner, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateRuleRequest) GetName

func (o *UpdateRuleRequest) GetName() string

GetName returns the Name field value

func (*UpdateRuleRequest) GetNameOk

func (o *UpdateRuleRequest) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*UpdateRuleRequest) GetNotifyWhen

func (o *UpdateRuleRequest) GetNotifyWhen() NotifyWhen

GetNotifyWhen returns the NotifyWhen field value if set, zero value otherwise.

func (*UpdateRuleRequest) GetNotifyWhenOk

func (o *UpdateRuleRequest) GetNotifyWhenOk() (*NotifyWhen, bool)

GetNotifyWhenOk returns a tuple with the NotifyWhen field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRuleRequest) GetParams

func (o *UpdateRuleRequest) GetParams() map[string]interface{}

GetParams returns the Params field value

func (*UpdateRuleRequest) GetParamsOk

func (o *UpdateRuleRequest) GetParamsOk() (map[string]interface{}, bool)

GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.

func (*UpdateRuleRequest) GetSchedule

func (o *UpdateRuleRequest) GetSchedule() Schedule

GetSchedule returns the Schedule field value

func (*UpdateRuleRequest) GetScheduleOk

func (o *UpdateRuleRequest) GetScheduleOk() (*Schedule, bool)

GetScheduleOk returns a tuple with the Schedule field value and a boolean to check if the value has been set.

func (*UpdateRuleRequest) GetTags

func (o *UpdateRuleRequest) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*UpdateRuleRequest) GetTagsOk

func (o *UpdateRuleRequest) GetTagsOk() ([]string, bool)

GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateRuleRequest) GetThrottle

func (o *UpdateRuleRequest) GetThrottle() string

GetThrottle returns the Throttle field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UpdateRuleRequest) GetThrottleOk

func (o *UpdateRuleRequest) GetThrottleOk() (*string, bool)

GetThrottleOk returns a tuple with the Throttle field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UpdateRuleRequest) HasActions

func (o *UpdateRuleRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*UpdateRuleRequest) HasNotifyWhen

func (o *UpdateRuleRequest) HasNotifyWhen() bool

HasNotifyWhen returns a boolean if a field has been set.

func (*UpdateRuleRequest) HasTags

func (o *UpdateRuleRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateRuleRequest) HasThrottle

func (o *UpdateRuleRequest) HasThrottle() bool

HasThrottle returns a boolean if a field has been set.

func (UpdateRuleRequest) MarshalJSON

func (o UpdateRuleRequest) MarshalJSON() ([]byte, error)

func (*UpdateRuleRequest) SetActions

func (o *UpdateRuleRequest) SetActions(v []ActionsInner)

SetActions gets a reference to the given []ActionsInner and assigns it to the Actions field.

func (*UpdateRuleRequest) SetName

func (o *UpdateRuleRequest) SetName(v string)

SetName sets field value

func (*UpdateRuleRequest) SetNotifyWhen

func (o *UpdateRuleRequest) SetNotifyWhen(v NotifyWhen)

SetNotifyWhen gets a reference to the given NotifyWhen and assigns it to the NotifyWhen field.

func (*UpdateRuleRequest) SetParams

func (o *UpdateRuleRequest) SetParams(v map[string]interface{})

SetParams sets field value

func (*UpdateRuleRequest) SetSchedule

func (o *UpdateRuleRequest) SetSchedule(v Schedule)

SetSchedule sets field value

func (*UpdateRuleRequest) SetTags

func (o *UpdateRuleRequest) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*UpdateRuleRequest) SetThrottle

func (o *UpdateRuleRequest) SetThrottle(v string)

SetThrottle gets a reference to the given NullableString and assigns it to the Throttle field.

func (*UpdateRuleRequest) SetThrottleNil

func (o *UpdateRuleRequest) SetThrottleNil()

SetThrottleNil sets the value for Throttle to be an explicit nil

func (UpdateRuleRequest) ToMap

func (o UpdateRuleRequest) ToMap() (map[string]interface{}, error)

func (*UpdateRuleRequest) UnmarshalJSON added in v0.11.0

func (o *UpdateRuleRequest) UnmarshalJSON(bytes []byte) (err error)

func (*UpdateRuleRequest) UnsetThrottle

func (o *UpdateRuleRequest) UnsetThrottle()

UnsetThrottle ensures that no value is present for Throttle, not even an explicit nil

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL