alerting

package
v0.11.11 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 21 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.2
  • 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 sw.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 sw.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 sw.ContextOperationServerIndices and sw.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

Class Method HTTP request Description
AlertingAPI CreateRule Post /s/{spaceId}/api/alerting/rule Creates a rule with a randomly generated rule identifier.
AlertingAPI CreateRuleId Post /s/{spaceId}/api/alerting/rule/{ruleId} Creates a rule with a specific rule identifier.
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.
AlertingAPI UpdateRuleAPIKey Post /s/{spaceId}/api/alerting/rule/{ruleId}/_update_api_key Updates the API key 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(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)
apiKeyAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

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

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {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

Overview

Package alerting is a generated GoMock package.

Index

Constants

This section is empty.

Variables

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.2 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 {
	AlertsFilter *ActionsInnerAlertsFilter `json:"alerts_filter,omitempty"`
	// 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, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`.
	Group string `json:"group"`
	// The identifier for the connector saved object.
	Id string `json:"id"`
	// 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"`
	// A universally unique identifier (UUID) for the action.
	Uuid *string `json:"uuid,omitempty"`
}

ActionsInner An action that runs under defined conditions.

func NewActionsInner

func NewActionsInner(group string, id string, params map[string]interface{}) *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) GetAlertsFilter added in v0.11.7

func (o *ActionsInner) GetAlertsFilter() ActionsInnerAlertsFilter

GetAlertsFilter returns the AlertsFilter field value if set, zero value otherwise.

func (*ActionsInner) GetAlertsFilterOk added in v0.11.7

func (o *ActionsInner) GetAlertsFilterOk() (*ActionsInnerAlertsFilter, bool)

GetAlertsFilterOk returns a tuple with the AlertsFilter field value if set, nil otherwise and a boolean to check if the value has been 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

func (*ActionsInner) GetGroupOk

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

GetGroupOk returns a tuple with the Group field value 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

func (*ActionsInner) GetIdOk

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

GetIdOk returns a tuple with the Id field value 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

func (*ActionsInner) GetParamsOk

func (o *ActionsInner) 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 (*ActionsInner) GetUuid added in v0.11.7

func (o *ActionsInner) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*ActionsInner) GetUuidOk added in v0.11.7

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

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

func (*ActionsInner) HasAlertsFilter added in v0.11.7

func (o *ActionsInner) HasAlertsFilter() bool

HasAlertsFilter returns a boolean if a field 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) HasUuid added in v0.11.7

func (o *ActionsInner) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (ActionsInner) MarshalJSON

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

func (*ActionsInner) SetAlertsFilter added in v0.11.7

func (o *ActionsInner) SetAlertsFilter(v ActionsInnerAlertsFilter)

SetAlertsFilter gets a reference to the given ActionsInnerAlertsFilter and assigns it to the AlertsFilter field.

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 sets field value

func (*ActionsInner) SetId

func (o *ActionsInner) SetId(v string)

SetId sets field value

func (*ActionsInner) SetParams

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

SetParams sets field value

func (*ActionsInner) SetUuid added in v0.11.7

func (o *ActionsInner) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (ActionsInner) ToMap

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

type ActionsInnerAlertsFilter added in v0.11.7

type ActionsInnerAlertsFilter struct {
	Query     *ActionsInnerAlertsFilterQuery     `json:"query,omitempty"`
	Timeframe *ActionsInnerAlertsFilterTimeframe `json:"timeframe,omitempty"`
}

ActionsInnerAlertsFilter Conditions that affect whether the action runs. If you specify multiple conditions, all conditions must be met for the action to run. For example, if an alert occurs within the specified time frame and matches the query, the action runs.

func NewActionsInnerAlertsFilter added in v0.11.7

func NewActionsInnerAlertsFilter() *ActionsInnerAlertsFilter

NewActionsInnerAlertsFilter instantiates a new ActionsInnerAlertsFilter 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 NewActionsInnerAlertsFilterWithDefaults added in v0.11.7

func NewActionsInnerAlertsFilterWithDefaults() *ActionsInnerAlertsFilter

NewActionsInnerAlertsFilterWithDefaults instantiates a new ActionsInnerAlertsFilter 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 (*ActionsInnerAlertsFilter) GetQuery added in v0.11.7

GetQuery returns the Query field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilter) GetQueryOk added in v0.11.7

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

func (*ActionsInnerAlertsFilter) GetTimeframe added in v0.11.7

GetTimeframe returns the Timeframe field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilter) GetTimeframeOk added in v0.11.7

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

func (*ActionsInnerAlertsFilter) HasQuery added in v0.11.7

func (o *ActionsInnerAlertsFilter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*ActionsInnerAlertsFilter) HasTimeframe added in v0.11.7

func (o *ActionsInnerAlertsFilter) HasTimeframe() bool

HasTimeframe returns a boolean if a field has been set.

func (ActionsInnerAlertsFilter) MarshalJSON added in v0.11.7

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

func (*ActionsInnerAlertsFilter) SetQuery added in v0.11.7

SetQuery gets a reference to the given ActionsInnerAlertsFilterQuery and assigns it to the Query field.

func (*ActionsInnerAlertsFilter) SetTimeframe added in v0.11.7

SetTimeframe gets a reference to the given ActionsInnerAlertsFilterTimeframe and assigns it to the Timeframe field.

func (ActionsInnerAlertsFilter) ToMap added in v0.11.7

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

type ActionsInnerAlertsFilterQuery added in v0.11.7

type ActionsInnerAlertsFilterQuery struct {
	// A filter written in Kibana Query Language (KQL).
	Kql     *string  `json:"kql,omitempty"`
	Filters []Filter `json:"filters,omitempty"`
}

ActionsInnerAlertsFilterQuery Defines a query filter that determines whether the action runs.

func NewActionsInnerAlertsFilterQuery added in v0.11.7

func NewActionsInnerAlertsFilterQuery() *ActionsInnerAlertsFilterQuery

NewActionsInnerAlertsFilterQuery instantiates a new ActionsInnerAlertsFilterQuery 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 NewActionsInnerAlertsFilterQueryWithDefaults added in v0.11.7

func NewActionsInnerAlertsFilterQueryWithDefaults() *ActionsInnerAlertsFilterQuery

NewActionsInnerAlertsFilterQueryWithDefaults instantiates a new ActionsInnerAlertsFilterQuery 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 (*ActionsInnerAlertsFilterQuery) GetFilters added in v0.11.7

func (o *ActionsInnerAlertsFilterQuery) GetFilters() []Filter

GetFilters returns the Filters field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilterQuery) GetFiltersOk added in v0.11.7

func (o *ActionsInnerAlertsFilterQuery) GetFiltersOk() ([]Filter, bool)

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

func (*ActionsInnerAlertsFilterQuery) GetKql added in v0.11.7

GetKql returns the Kql field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilterQuery) GetKqlOk added in v0.11.7

func (o *ActionsInnerAlertsFilterQuery) GetKqlOk() (*string, bool)

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

func (*ActionsInnerAlertsFilterQuery) HasFilters added in v0.11.7

func (o *ActionsInnerAlertsFilterQuery) HasFilters() bool

HasFilters returns a boolean if a field has been set.

func (*ActionsInnerAlertsFilterQuery) HasKql added in v0.11.7

func (o *ActionsInnerAlertsFilterQuery) HasKql() bool

HasKql returns a boolean if a field has been set.

func (ActionsInnerAlertsFilterQuery) MarshalJSON added in v0.11.7

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

func (*ActionsInnerAlertsFilterQuery) SetFilters added in v0.11.7

func (o *ActionsInnerAlertsFilterQuery) SetFilters(v []Filter)

SetFilters gets a reference to the given []Filter and assigns it to the Filters field.

func (*ActionsInnerAlertsFilterQuery) SetKql added in v0.11.7

SetKql gets a reference to the given string and assigns it to the Kql field.

func (ActionsInnerAlertsFilterQuery) ToMap added in v0.11.7

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

type ActionsInnerAlertsFilterTimeframe added in v0.11.7

type ActionsInnerAlertsFilterTimeframe struct {
	Days  []int32                                 `json:"days,omitempty"`
	Hours *ActionsInnerAlertsFilterTimeframeHours `json:"hours,omitempty"`
	// The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended.
	Timezone *string `json:"timezone,omitempty"`
}

ActionsInnerAlertsFilterTimeframe Defines a period that limits whether the action runs.

func NewActionsInnerAlertsFilterTimeframe added in v0.11.7

func NewActionsInnerAlertsFilterTimeframe() *ActionsInnerAlertsFilterTimeframe

NewActionsInnerAlertsFilterTimeframe instantiates a new ActionsInnerAlertsFilterTimeframe 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 NewActionsInnerAlertsFilterTimeframeWithDefaults added in v0.11.7

func NewActionsInnerAlertsFilterTimeframeWithDefaults() *ActionsInnerAlertsFilterTimeframe

NewActionsInnerAlertsFilterTimeframeWithDefaults instantiates a new ActionsInnerAlertsFilterTimeframe 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 (*ActionsInnerAlertsFilterTimeframe) GetDays added in v0.11.7

GetDays returns the Days field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilterTimeframe) GetDaysOk added in v0.11.7

func (o *ActionsInnerAlertsFilterTimeframe) GetDaysOk() ([]int32, bool)

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

func (*ActionsInnerAlertsFilterTimeframe) GetHours added in v0.11.7

GetHours returns the Hours field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilterTimeframe) GetHoursOk added in v0.11.7

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

func (*ActionsInnerAlertsFilterTimeframe) GetTimezone added in v0.11.7

func (o *ActionsInnerAlertsFilterTimeframe) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilterTimeframe) GetTimezoneOk added in v0.11.7

func (o *ActionsInnerAlertsFilterTimeframe) GetTimezoneOk() (*string, bool)

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

func (*ActionsInnerAlertsFilterTimeframe) HasDays added in v0.11.7

HasDays returns a boolean if a field has been set.

func (*ActionsInnerAlertsFilterTimeframe) HasHours added in v0.11.7

HasHours returns a boolean if a field has been set.

func (*ActionsInnerAlertsFilterTimeframe) HasTimezone added in v0.11.7

func (o *ActionsInnerAlertsFilterTimeframe) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (ActionsInnerAlertsFilterTimeframe) MarshalJSON added in v0.11.7

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

func (*ActionsInnerAlertsFilterTimeframe) SetDays added in v0.11.7

func (o *ActionsInnerAlertsFilterTimeframe) SetDays(v []int32)

SetDays gets a reference to the given []int32 and assigns it to the Days field.

func (*ActionsInnerAlertsFilterTimeframe) SetHours added in v0.11.7

SetHours gets a reference to the given ActionsInnerAlertsFilterTimeframeHours and assigns it to the Hours field.

func (*ActionsInnerAlertsFilterTimeframe) SetTimezone added in v0.11.7

func (o *ActionsInnerAlertsFilterTimeframe) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (ActionsInnerAlertsFilterTimeframe) ToMap added in v0.11.7

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

type ActionsInnerAlertsFilterTimeframeHours added in v0.11.7

type ActionsInnerAlertsFilterTimeframeHours struct {
	// The end of the time frame in 24-hour notation (`hh:mm`).
	End *string `json:"end,omitempty"`
	// The start of the time frame in 24-hour notation (`hh:mm`).
	Start *string `json:"start,omitempty"`
}

ActionsInnerAlertsFilterTimeframeHours Defines the range of time in a day that the action can run. If the `start` value is `00:00` and the `end` value is `24:00`, actions be generated all day.

func NewActionsInnerAlertsFilterTimeframeHours added in v0.11.7

func NewActionsInnerAlertsFilterTimeframeHours() *ActionsInnerAlertsFilterTimeframeHours

NewActionsInnerAlertsFilterTimeframeHours instantiates a new ActionsInnerAlertsFilterTimeframeHours 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 NewActionsInnerAlertsFilterTimeframeHoursWithDefaults added in v0.11.7

func NewActionsInnerAlertsFilterTimeframeHoursWithDefaults() *ActionsInnerAlertsFilterTimeframeHours

NewActionsInnerAlertsFilterTimeframeHoursWithDefaults instantiates a new ActionsInnerAlertsFilterTimeframeHours 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 (*ActionsInnerAlertsFilterTimeframeHours) GetEnd added in v0.11.7

GetEnd returns the End field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilterTimeframeHours) GetEndOk added in v0.11.7

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

func (*ActionsInnerAlertsFilterTimeframeHours) GetStart added in v0.11.7

GetStart returns the Start field value if set, zero value otherwise.

func (*ActionsInnerAlertsFilterTimeframeHours) GetStartOk added in v0.11.7

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

func (*ActionsInnerAlertsFilterTimeframeHours) HasEnd added in v0.11.7

HasEnd returns a boolean if a field has been set.

func (*ActionsInnerAlertsFilterTimeframeHours) HasStart added in v0.11.7

HasStart returns a boolean if a field has been set.

func (ActionsInnerAlertsFilterTimeframeHours) MarshalJSON added in v0.11.7

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

func (*ActionsInnerAlertsFilterTimeframeHours) SetEnd added in v0.11.7

SetEnd gets a reference to the given string and assigns it to the End field.

func (*ActionsInnerAlertsFilterTimeframeHours) SetStart added in v0.11.7

SetStart gets a reference to the given string and assigns it to the Start field.

func (ActionsInnerAlertsFilterTimeframeHours) ToMap added in v0.11.7

func (o ActionsInnerAlertsFilterTimeframeHours) 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 specified in seconds, minutes, hours, or days and is applicable only if `notify_when` is set to `onThrottleInterval`. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.
	Throttle NullableString `json:"throttle,omitempty"`
}

ActionsInnerFrequency The properties that affect how often actions are generated. If the rule type supports setting `summary` to `true`, the action can be a summary of alerts at the specified notification interval. Otherwise, an action runs for each alert at the specified notification interval. 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) UnsetThrottle

func (o *ActionsInnerFrequency) UnsetThrottle()

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

type AlertDelay added in v0.11.7

type AlertDelay struct {
	// The number of consecutive runs that must meet the rule conditions.
	Active float32 `json:"active"`
}

AlertDelay Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions.

func NewAlertDelay added in v0.11.7

func NewAlertDelay(active float32) *AlertDelay

NewAlertDelay instantiates a new AlertDelay 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 NewAlertDelayWithDefaults added in v0.11.7

func NewAlertDelayWithDefaults() *AlertDelay

NewAlertDelayWithDefaults instantiates a new AlertDelay 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 (*AlertDelay) GetActive added in v0.11.7

func (o *AlertDelay) GetActive() float32

GetActive returns the Active field value

func (*AlertDelay) GetActiveOk added in v0.11.7

func (o *AlertDelay) GetActiveOk() (*float32, bool)

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

func (AlertDelay) MarshalJSON added in v0.11.7

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

func (*AlertDelay) SetActive added in v0.11.7

func (o *AlertDelay) SetActive(v float32)

SetActive sets field value

func (AlertDelay) ToMap added in v0.11.7

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

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.

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.

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 with a randomly generated rule identifier.

		To create 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.


		@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 ApiCreateRuleRequest
	*/
	CreateRule(ctx context.Context, spaceId interface{}) ApiCreateRuleRequest

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

	/*
		CreateRuleId Creates a rule with a specific rule identifier.

		To create 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.


		@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 ApiCreateRuleIdRequest
	*/
	CreateRuleId(ctx context.Context, spaceId interface{}, ruleId string) ApiCreateRuleIdRequest

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

	/*
		DeleteRule Deletes a rule.

		To delete 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. If the API key that is used by the rule was created automatically, it is deleted.


		@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 interface{}, spaceId interface{}) 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 interface{}, spaceId interface{}) ApiDisableRuleRequest

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

	/*
		EnableRule Enables a rule.

		To enable 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.


		@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 interface{}, spaceId interface{}) 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 interface{}) 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 interface{}) 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 interface{}, spaceId interface{}) 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 interface{}) 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 interface{}) 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 interface{}, 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 interface{}, 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 interface{}) 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 interface{}, 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 interface{}) 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 interface{}) 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, ruleId interface{}, spaceId interface{}) 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 interface{}, spaceId interface{}) 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 interface{}, ruleId interface{}, spaceId interface{}) 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 interface{}, spaceId interface{}) ApiUnmuteAllAlertsRequest

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

	/*
		UpdateRule Updates the attributes for a rule.

		To update 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. NOTE: If the API key has different privileges than the key that created or most recently updated the rule, the rule behavior might change. 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 interface{}, spaceId interface{}) ApiUpdateRuleRequest

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

	/*
		UpdateRuleAPIKey Updates the API key for a rule.

		The new API key has the credentials of the user that submits the request.

		@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 ApiUpdateRuleAPIKeyRequest
	*/
	UpdateRuleAPIKey(ctx context.Context, ruleId interface{}, spaceId interface{}) ApiUpdateRuleAPIKeyRequest

	// UpdateRuleAPIKeyExecute executes the request
	UpdateRuleAPIKeyExecute(r ApiUpdateRuleAPIKeyRequest) (*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 interface{}) ApiCreateRuleRequest

CreateRule Creates a rule with a randomly generated rule identifier.

To create 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.

@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 ApiCreateRuleRequest

func (*AlertingAPIService) CreateRuleExecute added in v0.11.0

Execute executes the request

@return RuleResponseProperties

func (*AlertingAPIService) CreateRuleId added in v0.11.7

func (a *AlertingAPIService) CreateRuleId(ctx context.Context, spaceId interface{}, ruleId string) ApiCreateRuleIdRequest

CreateRuleId Creates a rule with a specific rule identifier.

To create 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.

@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 ApiCreateRuleIdRequest

func (*AlertingAPIService) CreateRuleIdExecute added in v0.11.7

Execute executes the request

@return RuleResponseProperties

func (*AlertingAPIService) DeleteRule added in v0.11.0

func (a *AlertingAPIService) DeleteRule(ctx context.Context, ruleId interface{}, spaceId interface{}) ApiDeleteRuleRequest

DeleteRule Deletes a rule.

To delete 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. If the API key that is used by the rule was created automatically, it is deleted.

@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 interface{}, spaceId interface{}) 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 interface{}, spaceId interface{}) ApiEnableRuleRequest

EnableRule Enables a rule.

To enable 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs.

@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 interface{}) 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 interface{}) 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 interface{}, spaceId interface{}) 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 interface{}) 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 interface{}) 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 interface{}, 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 interface{}, 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 interface{}) 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 interface{}, 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 interface{}) 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 interface{}) 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, 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 interface{}, ruleId interface{}, spaceId interface{}) 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 interface{}, spaceId interface{}) 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 interface{}, ruleId interface{}, spaceId interface{}) 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 interface{}, spaceId interface{}) 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 interface{}, spaceId interface{}) ApiUpdateRuleRequest

UpdateRule Updates the attributes for a rule.

To update 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. This API supports both key- and token-based authentication. To use key-based authentication, create an API key in Kibana and use it in the header of the API call. To use token-based authentication, provide a username and password; an API key that matches the current privileges of the user is created automatically. In both cases, the API key is subsequently used for authorization when the rule runs. NOTE: If the API key has different privileges than the key that created or most recently updated the rule, the rule behavior might change. 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) UpdateRuleAPIKey added in v0.11.7

func (a *AlertingAPIService) UpdateRuleAPIKey(ctx context.Context, ruleId interface{}, spaceId interface{}) ApiUpdateRuleAPIKeyRequest

UpdateRuleAPIKey Updates the API key for a rule.

The new API key has the credentials of the user that submits the request.

@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 ApiUpdateRuleAPIKeyRequest

func (*AlertingAPIService) UpdateRuleAPIKeyExecute added in v0.11.7

func (a *AlertingAPIService) UpdateRuleAPIKeyExecute(r ApiUpdateRuleAPIKeyRequest) (*http.Response, error)

Execute executes the request

func (*AlertingAPIService) UpdateRuleExecute added in v0.11.0

Execute executes the request

@return RuleResponseProperties

type ApiCreateRuleIdRequest added in v0.11.7

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

func (ApiCreateRuleIdRequest) CreateRuleRequest added in v0.11.7

func (r ApiCreateRuleIdRequest) CreateRuleRequest(createRuleRequest CreateRuleRequest) ApiCreateRuleIdRequest

func (ApiCreateRuleIdRequest) Execute added in v0.11.7

func (ApiCreateRuleIdRequest) KbnXsrf added in v0.11.7

func (r ApiCreateRuleIdRequest) KbnXsrf(kbnXsrf interface{}) ApiCreateRuleIdRequest

Cross-site request forgery protection

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

func (r ApiCreateRuleRequest) KbnXsrf(kbnXsrf interface{}) ApiCreateRuleRequest

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

func (r ApiDeleteRuleRequest) KbnXsrf(kbnXsrf interface{}) ApiDeleteRuleRequest

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

func (r ApiDisableRuleRequest) KbnXsrf(kbnXsrf interface{}) ApiDisableRuleRequest

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

func (r ApiEnableRuleRequest) KbnXsrf(kbnXsrf interface{}) ApiEnableRuleRequest

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

func (r ApiFindRulesRequest) SearchFields(searchFields string) ApiFindRulesRequest

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

func (r ApiLegacyCreateAlertRequest) KbnXsrf(kbnXsrf interface{}) ApiLegacyCreateAlertRequest

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

func (r ApiLegacyDisableAlertRequest) KbnXsrf(kbnXsrf interface{}) ApiLegacyDisableAlertRequest

Cross-site request forgery protection

type ApiLegacyEnableAlertRequest

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

func (ApiLegacyEnableAlertRequest) Execute

func (ApiLegacyEnableAlertRequest) KbnXsrf

func (r ApiLegacyEnableAlertRequest) KbnXsrf(kbnXsrf interface{}) ApiLegacyEnableAlertRequest

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

func (r ApiLegacyFindAlertsRequest) SearchFields(searchFields string) ApiLegacyFindAlertsRequest

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

func (r ApiLegacyUpdateAlertRequest) KbnXsrf(kbnXsrf interface{}) ApiLegacyUpdateAlertRequest

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

func (r ApiLegaryDeleteAlertRequest) KbnXsrf(kbnXsrf interface{}) ApiLegaryDeleteAlertRequest

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 interface{}) 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

func (r ApiMuteAllAlertsRequest) KbnXsrf(kbnXsrf interface{}) ApiMuteAllAlertsRequest

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

func (r ApiUnmuteAlertRequest) KbnXsrf(kbnXsrf interface{}) ApiUnmuteAlertRequest

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

func (r ApiUnmuteAllAlertsRequest) KbnXsrf(kbnXsrf interface{}) ApiUnmuteAllAlertsRequest

Cross-site request forgery protection

type ApiUpdateRuleAPIKeyRequest added in v0.11.7

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

func (ApiUpdateRuleAPIKeyRequest) Execute added in v0.11.7

func (ApiUpdateRuleAPIKeyRequest) KbnXsrf added in v0.11.7

func (r ApiUpdateRuleAPIKeyRequest) KbnXsrf(kbnXsrf interface{}) ApiUpdateRuleAPIKeyRequest

Cross-site request forgery protection

type ApiUpdateRuleRequest

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

func (ApiUpdateRuleRequest) Execute

func (ApiUpdateRuleRequest) KbnXsrf

func (r ApiUpdateRuleRequest) KbnXsrf(kbnXsrf interface{}) ApiUpdateRuleRequest

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"`
	// Deprecated
	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"`
	Tags       []string `json:"tags,omitempty"`
	// Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.
	// Deprecated
	Throttle   NullableString `json:"throttle,omitempty"`
	AlertDelay *AlertDelay    `json:"alert_delay,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.

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.

func (*CreateRuleRequest) GetAlertDelay added in v0.11.7

func (o *CreateRuleRequest) GetAlertDelay() AlertDelay

GetAlertDelay returns the AlertDelay field value if set, zero value otherwise.

func (*CreateRuleRequest) GetAlertDelayOk added in v0.11.7

func (o *CreateRuleRequest) GetAlertDelayOk() (*AlertDelay, bool)

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

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. Deprecated

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. Deprecated

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). Deprecated

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 Deprecated

func (*CreateRuleRequest) HasActions

func (o *CreateRuleRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*CreateRuleRequest) HasAlertDelay added in v0.11.7

func (o *CreateRuleRequest) HasAlertDelay() bool

HasAlertDelay 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) SetAlertDelay added in v0.11.7

func (o *CreateRuleRequest) SetAlertDelay(v AlertDelay)

SetAlertDelay gets a reference to the given AlertDelay and assigns it to the AlertDelay 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. Deprecated

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. Deprecated

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) UnsetThrottle

func (o *CreateRuleRequest) UnsetThrottle()

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

type FieldmapProperties added in v0.11.7

type FieldmapProperties struct {
	// Indicates whether the field is an array.
	Array *bool `json:"array,omitempty"`
	// Indicates whether it is a dynamic field mapping.
	Dynamic *bool `json:"dynamic,omitempty"`
	// Indicates the format of the field. For example, if the `type` is `date_range`, the `format` can be `epoch_millis||strict_date_optional_time`.
	Format *string `json:"format,omitempty"`
	// Specifies the maximum length of a string field. Longer strings are not indexed or stored.
	IgnoreAbove *int32 `json:"ignore_above,omitempty"`
	// Indicates whether field values are indexed.
	Index *bool `json:"index,omitempty"`
	// TBD
	Path *string `json:"path,omitempty"`
	// Details about the object properties. This property is applicable when `type` is `object`.
	Properties map[string]FieldmapPropertiesPropertiesValue `json:"properties,omitempty"`
	// Indicates whether the field is required.
	Required *bool `json:"required,omitempty"`
	// The scaling factor to use when encoding values. This property is applicable when `type` is `scaled_float`. Values will be multiplied by this factor at index time and rounded to the closest long value.
	ScalingFactor *int32 `json:"scaling_factor,omitempty"`
	// Specifies the data type for the field.
	Type *string `json:"type,omitempty"`
}

FieldmapProperties struct for FieldmapProperties

func NewFieldmapProperties added in v0.11.7

func NewFieldmapProperties() *FieldmapProperties

NewFieldmapProperties instantiates a new FieldmapProperties 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 NewFieldmapPropertiesWithDefaults added in v0.11.7

func NewFieldmapPropertiesWithDefaults() *FieldmapProperties

NewFieldmapPropertiesWithDefaults instantiates a new FieldmapProperties 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 (*FieldmapProperties) GetArray added in v0.11.7

func (o *FieldmapProperties) GetArray() bool

GetArray returns the Array field value if set, zero value otherwise.

func (*FieldmapProperties) GetArrayOk added in v0.11.7

func (o *FieldmapProperties) GetArrayOk() (*bool, bool)

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

func (*FieldmapProperties) GetDynamic added in v0.11.7

func (o *FieldmapProperties) GetDynamic() bool

GetDynamic returns the Dynamic field value if set, zero value otherwise.

func (*FieldmapProperties) GetDynamicOk added in v0.11.7

func (o *FieldmapProperties) GetDynamicOk() (*bool, bool)

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

func (*FieldmapProperties) GetFormat added in v0.11.7

func (o *FieldmapProperties) GetFormat() string

GetFormat returns the Format field value if set, zero value otherwise.

func (*FieldmapProperties) GetFormatOk added in v0.11.7

func (o *FieldmapProperties) GetFormatOk() (*string, bool)

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

func (*FieldmapProperties) GetIgnoreAbove added in v0.11.7

func (o *FieldmapProperties) GetIgnoreAbove() int32

GetIgnoreAbove returns the IgnoreAbove field value if set, zero value otherwise.

func (*FieldmapProperties) GetIgnoreAboveOk added in v0.11.7

func (o *FieldmapProperties) GetIgnoreAboveOk() (*int32, bool)

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

func (*FieldmapProperties) GetIndex added in v0.11.7

func (o *FieldmapProperties) GetIndex() bool

GetIndex returns the Index field value if set, zero value otherwise.

func (*FieldmapProperties) GetIndexOk added in v0.11.7

func (o *FieldmapProperties) GetIndexOk() (*bool, bool)

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

func (*FieldmapProperties) GetPath added in v0.11.7

func (o *FieldmapProperties) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*FieldmapProperties) GetPathOk added in v0.11.7

func (o *FieldmapProperties) GetPathOk() (*string, bool)

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

func (*FieldmapProperties) GetProperties added in v0.11.7

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

func (*FieldmapProperties) GetPropertiesOk added in v0.11.7

func (o *FieldmapProperties) GetPropertiesOk() (*map[string]FieldmapPropertiesPropertiesValue, bool)

GetPropertiesOk returns a tuple with the Properties 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 (*FieldmapProperties) GetRequired added in v0.11.7

func (o *FieldmapProperties) GetRequired() bool

GetRequired returns the Required field value if set, zero value otherwise.

func (*FieldmapProperties) GetRequiredOk added in v0.11.7

func (o *FieldmapProperties) GetRequiredOk() (*bool, bool)

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

func (*FieldmapProperties) GetScalingFactor added in v0.11.7

func (o *FieldmapProperties) GetScalingFactor() int32

GetScalingFactor returns the ScalingFactor field value if set, zero value otherwise.

func (*FieldmapProperties) GetScalingFactorOk added in v0.11.7

func (o *FieldmapProperties) GetScalingFactorOk() (*int32, bool)

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

func (*FieldmapProperties) GetType added in v0.11.7

func (o *FieldmapProperties) GetType() string

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

func (*FieldmapProperties) GetTypeOk added in v0.11.7

func (o *FieldmapProperties) 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 (*FieldmapProperties) HasArray added in v0.11.7

func (o *FieldmapProperties) HasArray() bool

HasArray returns a boolean if a field has been set.

func (*FieldmapProperties) HasDynamic added in v0.11.7

func (o *FieldmapProperties) HasDynamic() bool

HasDynamic returns a boolean if a field has been set.

func (*FieldmapProperties) HasFormat added in v0.11.7

func (o *FieldmapProperties) HasFormat() bool

HasFormat returns a boolean if a field has been set.

func (*FieldmapProperties) HasIgnoreAbove added in v0.11.7

func (o *FieldmapProperties) HasIgnoreAbove() bool

HasIgnoreAbove returns a boolean if a field has been set.

func (*FieldmapProperties) HasIndex added in v0.11.7

func (o *FieldmapProperties) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*FieldmapProperties) HasPath added in v0.11.7

func (o *FieldmapProperties) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*FieldmapProperties) HasProperties added in v0.11.7

func (o *FieldmapProperties) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*FieldmapProperties) HasRequired added in v0.11.7

func (o *FieldmapProperties) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (*FieldmapProperties) HasScalingFactor added in v0.11.7

func (o *FieldmapProperties) HasScalingFactor() bool

HasScalingFactor returns a boolean if a field has been set.

func (*FieldmapProperties) HasType added in v0.11.7

func (o *FieldmapProperties) HasType() bool

HasType returns a boolean if a field has been set.

func (FieldmapProperties) MarshalJSON added in v0.11.7

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

func (*FieldmapProperties) SetArray added in v0.11.7

func (o *FieldmapProperties) SetArray(v bool)

SetArray gets a reference to the given bool and assigns it to the Array field.

func (*FieldmapProperties) SetDynamic added in v0.11.7

func (o *FieldmapProperties) SetDynamic(v bool)

SetDynamic gets a reference to the given bool and assigns it to the Dynamic field.

func (*FieldmapProperties) SetFormat added in v0.11.7

func (o *FieldmapProperties) SetFormat(v string)

SetFormat gets a reference to the given string and assigns it to the Format field.

func (*FieldmapProperties) SetIgnoreAbove added in v0.11.7

func (o *FieldmapProperties) SetIgnoreAbove(v int32)

SetIgnoreAbove gets a reference to the given int32 and assigns it to the IgnoreAbove field.

func (*FieldmapProperties) SetIndex added in v0.11.7

func (o *FieldmapProperties) SetIndex(v bool)

SetIndex gets a reference to the given bool and assigns it to the Index field.

func (*FieldmapProperties) SetPath added in v0.11.7

func (o *FieldmapProperties) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*FieldmapProperties) SetProperties added in v0.11.7

SetProperties gets a reference to the given map[string]FieldmapPropertiesPropertiesValue and assigns it to the Properties field.

func (*FieldmapProperties) SetRequired added in v0.11.7

func (o *FieldmapProperties) SetRequired(v bool)

SetRequired gets a reference to the given bool and assigns it to the Required field.

func (*FieldmapProperties) SetScalingFactor added in v0.11.7

func (o *FieldmapProperties) SetScalingFactor(v int32)

SetScalingFactor gets a reference to the given int32 and assigns it to the ScalingFactor field.

func (*FieldmapProperties) SetType added in v0.11.7

func (o *FieldmapProperties) SetType(v string)

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

func (FieldmapProperties) ToMap added in v0.11.7

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

type FieldmapPropertiesPropertiesValue added in v0.11.7

type FieldmapPropertiesPropertiesValue struct {
	// The data type for each object property.
	Type *string `json:"type,omitempty"`
}

FieldmapPropertiesPropertiesValue struct for FieldmapPropertiesPropertiesValue

func NewFieldmapPropertiesPropertiesValue added in v0.11.7

func NewFieldmapPropertiesPropertiesValue() *FieldmapPropertiesPropertiesValue

NewFieldmapPropertiesPropertiesValue instantiates a new FieldmapPropertiesPropertiesValue 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 NewFieldmapPropertiesPropertiesValueWithDefaults added in v0.11.7

func NewFieldmapPropertiesPropertiesValueWithDefaults() *FieldmapPropertiesPropertiesValue

NewFieldmapPropertiesPropertiesValueWithDefaults instantiates a new FieldmapPropertiesPropertiesValue 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 (*FieldmapPropertiesPropertiesValue) GetType added in v0.11.7

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

func (*FieldmapPropertiesPropertiesValue) GetTypeOk added in v0.11.7

func (o *FieldmapPropertiesPropertiesValue) 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 (*FieldmapPropertiesPropertiesValue) HasType added in v0.11.7

HasType returns a boolean if a field has been set.

func (FieldmapPropertiesPropertiesValue) MarshalJSON added in v0.11.7

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

func (*FieldmapPropertiesPropertiesValue) SetType added in v0.11.7

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

func (FieldmapPropertiesPropertiesValue) ToMap added in v0.11.7

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

type Filter added in v0.11.7

type Filter struct {
	Meta  *FilterMeta            `json:"meta,omitempty"`
	Query map[string]interface{} `json:"query,omitempty"`
	State map[string]interface{} `json:"$state,omitempty"`
}

Filter A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package.

func NewFilter added in v0.11.7

func NewFilter() *Filter

NewFilter instantiates a new Filter 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 NewFilterWithDefaults added in v0.11.7

func NewFilterWithDefaults() *Filter

NewFilterWithDefaults instantiates a new Filter 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 (*Filter) GetMeta added in v0.11.7

func (o *Filter) GetMeta() FilterMeta

GetMeta returns the Meta field value if set, zero value otherwise.

func (*Filter) GetMetaOk added in v0.11.7

func (o *Filter) GetMetaOk() (*FilterMeta, bool)

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

func (*Filter) GetQuery added in v0.11.7

func (o *Filter) GetQuery() map[string]interface{}

GetQuery returns the Query field value if set, zero value otherwise.

func (*Filter) GetQueryOk added in v0.11.7

func (o *Filter) GetQueryOk() (map[string]interface{}, bool)

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

func (*Filter) GetState added in v0.11.7

func (o *Filter) GetState() map[string]interface{}

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

func (*Filter) GetStateOk added in v0.11.7

func (o *Filter) GetStateOk() (map[string]interface{}, bool)

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 (*Filter) HasMeta added in v0.11.7

func (o *Filter) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*Filter) HasQuery added in v0.11.7

func (o *Filter) HasQuery() bool

HasQuery returns a boolean if a field has been set.

func (*Filter) HasState added in v0.11.7

func (o *Filter) HasState() bool

HasState returns a boolean if a field has been set.

func (Filter) MarshalJSON added in v0.11.7

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

func (*Filter) SetMeta added in v0.11.7

func (o *Filter) SetMeta(v FilterMeta)

SetMeta gets a reference to the given FilterMeta and assigns it to the Meta field.

func (*Filter) SetQuery added in v0.11.7

func (o *Filter) SetQuery(v map[string]interface{})

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

func (*Filter) SetState added in v0.11.7

func (o *Filter) SetState(v map[string]interface{})

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

func (Filter) ToMap added in v0.11.7

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

type FilterMeta added in v0.11.7

type FilterMeta struct {
	Alias        NullableString         `json:"alias,omitempty"`
	ControlledBy *string                `json:"controlledBy,omitempty"`
	Disabled     *bool                  `json:"disabled,omitempty"`
	Field        *string                `json:"field,omitempty"`
	Group        *string                `json:"group,omitempty"`
	Index        *string                `json:"index,omitempty"`
	IsMultiIndex *bool                  `json:"isMultiIndex,omitempty"`
	Key          *string                `json:"key,omitempty"`
	Negate       *bool                  `json:"negate,omitempty"`
	Params       map[string]interface{} `json:"params,omitempty"`
	Type         *string                `json:"type,omitempty"`
	Value        *string                `json:"value,omitempty"`
}

FilterMeta struct for FilterMeta

func NewFilterMeta added in v0.11.7

func NewFilterMeta() *FilterMeta

NewFilterMeta instantiates a new FilterMeta 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 NewFilterMetaWithDefaults added in v0.11.7

func NewFilterMetaWithDefaults() *FilterMeta

NewFilterMetaWithDefaults instantiates a new FilterMeta 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 (*FilterMeta) GetAlias added in v0.11.7

func (o *FilterMeta) GetAlias() string

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

func (*FilterMeta) GetAliasOk added in v0.11.7

func (o *FilterMeta) GetAliasOk() (*string, bool)

GetAliasOk returns a tuple with the Alias 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 (*FilterMeta) GetControlledBy added in v0.11.7

func (o *FilterMeta) GetControlledBy() string

GetControlledBy returns the ControlledBy field value if set, zero value otherwise.

func (*FilterMeta) GetControlledByOk added in v0.11.7

func (o *FilterMeta) GetControlledByOk() (*string, bool)

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

func (*FilterMeta) GetDisabled added in v0.11.7

func (o *FilterMeta) GetDisabled() bool

GetDisabled returns the Disabled field value if set, zero value otherwise.

func (*FilterMeta) GetDisabledOk added in v0.11.7

func (o *FilterMeta) GetDisabledOk() (*bool, bool)

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

func (*FilterMeta) GetField added in v0.11.7

func (o *FilterMeta) GetField() string

GetField returns the Field field value if set, zero value otherwise.

func (*FilterMeta) GetFieldOk added in v0.11.7

func (o *FilterMeta) GetFieldOk() (*string, bool)

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

func (*FilterMeta) GetGroup added in v0.11.7

func (o *FilterMeta) GetGroup() string

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

func (*FilterMeta) GetGroupOk added in v0.11.7

func (o *FilterMeta) 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 (*FilterMeta) GetIndex added in v0.11.7

func (o *FilterMeta) GetIndex() string

GetIndex returns the Index field value if set, zero value otherwise.

func (*FilterMeta) GetIndexOk added in v0.11.7

func (o *FilterMeta) GetIndexOk() (*string, bool)

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

func (*FilterMeta) GetIsMultiIndex added in v0.11.7

func (o *FilterMeta) GetIsMultiIndex() bool

GetIsMultiIndex returns the IsMultiIndex field value if set, zero value otherwise.

func (*FilterMeta) GetIsMultiIndexOk added in v0.11.7

func (o *FilterMeta) GetIsMultiIndexOk() (*bool, bool)

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

func (*FilterMeta) GetKey added in v0.11.7

func (o *FilterMeta) GetKey() string

GetKey returns the Key field value if set, zero value otherwise.

func (*FilterMeta) GetKeyOk added in v0.11.7

func (o *FilterMeta) GetKeyOk() (*string, bool)

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

func (*FilterMeta) GetNegate added in v0.11.7

func (o *FilterMeta) GetNegate() bool

GetNegate returns the Negate field value if set, zero value otherwise.

func (*FilterMeta) GetNegateOk added in v0.11.7

func (o *FilterMeta) GetNegateOk() (*bool, bool)

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

func (*FilterMeta) GetParams added in v0.11.7

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

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

func (*FilterMeta) GetParamsOk added in v0.11.7

func (o *FilterMeta) 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 (*FilterMeta) GetType added in v0.11.7

func (o *FilterMeta) GetType() string

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

func (*FilterMeta) GetTypeOk added in v0.11.7

func (o *FilterMeta) 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 (*FilterMeta) GetValue added in v0.11.7

func (o *FilterMeta) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*FilterMeta) GetValueOk added in v0.11.7

func (o *FilterMeta) GetValueOk() (*string, bool)

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

func (*FilterMeta) HasAlias added in v0.11.7

func (o *FilterMeta) HasAlias() bool

HasAlias returns a boolean if a field has been set.

func (*FilterMeta) HasControlledBy added in v0.11.7

func (o *FilterMeta) HasControlledBy() bool

HasControlledBy returns a boolean if a field has been set.

func (*FilterMeta) HasDisabled added in v0.11.7

func (o *FilterMeta) HasDisabled() bool

HasDisabled returns a boolean if a field has been set.

func (*FilterMeta) HasField added in v0.11.7

func (o *FilterMeta) HasField() bool

HasField returns a boolean if a field has been set.

func (*FilterMeta) HasGroup added in v0.11.7

func (o *FilterMeta) HasGroup() bool

HasGroup returns a boolean if a field has been set.

func (*FilterMeta) HasIndex added in v0.11.7

func (o *FilterMeta) HasIndex() bool

HasIndex returns a boolean if a field has been set.

func (*FilterMeta) HasIsMultiIndex added in v0.11.7

func (o *FilterMeta) HasIsMultiIndex() bool

HasIsMultiIndex returns a boolean if a field has been set.

func (*FilterMeta) HasKey added in v0.11.7

func (o *FilterMeta) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*FilterMeta) HasNegate added in v0.11.7

func (o *FilterMeta) HasNegate() bool

HasNegate returns a boolean if a field has been set.

func (*FilterMeta) HasParams added in v0.11.7

func (o *FilterMeta) HasParams() bool

HasParams returns a boolean if a field has been set.

func (*FilterMeta) HasType added in v0.11.7

func (o *FilterMeta) HasType() bool

HasType returns a boolean if a field has been set.

func (*FilterMeta) HasValue added in v0.11.7

func (o *FilterMeta) HasValue() bool

HasValue returns a boolean if a field has been set.

func (FilterMeta) MarshalJSON added in v0.11.7

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

func (*FilterMeta) SetAlias added in v0.11.7

func (o *FilterMeta) SetAlias(v string)

SetAlias gets a reference to the given NullableString and assigns it to the Alias field.

func (*FilterMeta) SetAliasNil added in v0.11.7

func (o *FilterMeta) SetAliasNil()

SetAliasNil sets the value for Alias to be an explicit nil

func (*FilterMeta) SetControlledBy added in v0.11.7

func (o *FilterMeta) SetControlledBy(v string)

SetControlledBy gets a reference to the given string and assigns it to the ControlledBy field.

func (*FilterMeta) SetDisabled added in v0.11.7

func (o *FilterMeta) SetDisabled(v bool)

SetDisabled gets a reference to the given bool and assigns it to the Disabled field.

func (*FilterMeta) SetField added in v0.11.7

func (o *FilterMeta) SetField(v string)

SetField gets a reference to the given string and assigns it to the Field field.

func (*FilterMeta) SetGroup added in v0.11.7

func (o *FilterMeta) SetGroup(v string)

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

func (*FilterMeta) SetIndex added in v0.11.7

func (o *FilterMeta) SetIndex(v string)

SetIndex gets a reference to the given string and assigns it to the Index field.

func (*FilterMeta) SetIsMultiIndex added in v0.11.7

func (o *FilterMeta) SetIsMultiIndex(v bool)

SetIsMultiIndex gets a reference to the given bool and assigns it to the IsMultiIndex field.

func (*FilterMeta) SetKey added in v0.11.7

func (o *FilterMeta) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*FilterMeta) SetNegate added in v0.11.7

func (o *FilterMeta) SetNegate(v bool)

SetNegate gets a reference to the given bool and assigns it to the Negate field.

func (*FilterMeta) SetParams added in v0.11.7

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

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

func (*FilterMeta) SetType added in v0.11.7

func (o *FilterMeta) SetType(v string)

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

func (*FilterMeta) SetValue added in v0.11.7

func (o *FilterMeta) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (FilterMeta) ToMap added in v0.11.7

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

func (*FilterMeta) UnsetAlias added in v0.11.7

func (o *FilterMeta) UnsetAlias()

UnsetAlias ensures that no value is present for Alias, 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   NullableString `json:"id,omitempty"`
	Type NullableString `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 (both if not set or set to explicit null).

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*FindRulesHasReferenceParameter) GetType

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

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 NullableString and assigns it to the Id field.

func (*FindRulesHasReferenceParameter) SetIdNil added in v0.11.7

func (o *FindRulesHasReferenceParameter) SetIdNil()

SetIdNil sets the value for Id to be an explicit nil

func (*FindRulesHasReferenceParameter) SetType

func (o *FindRulesHasReferenceParameter) SetType(v string)

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

func (*FindRulesHasReferenceParameter) SetTypeNil added in v0.11.7

func (o *FindRulesHasReferenceParameter) SetTypeNil()

SetTypeNil sets the value for Type to be an explicit nil

func (FindRulesHasReferenceParameter) ToMap

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

func (*FindRulesHasReferenceParameter) UnsetId added in v0.11.7

func (o *FindRulesHasReferenceParameter) UnsetId()

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*FindRulesHasReferenceParameter) UnsetType added in v0.11.7

func (o *FindRulesHasReferenceParameter) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

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 {
	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) 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) 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) 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 {
	ActionGroups        []GetRuleTypes200ResponseInnerActionGroupsInner  `json:"action_groups,omitempty"`
	ActionVariables     *GetRuleTypes200ResponseInnerActionVariables     `json:"action_variables,omitempty"`
	Alerts              *GetRuleTypes200ResponseInnerAlerts              `json:"alerts,omitempty"`
	AuthorizedConsumers *GetRuleTypes200ResponseInnerAuthorizedConsumers `json:"authorized_consumers,omitempty"`
	// The rule category, which is used by features such as category-specific maintenance windows.
	Category *string `json:"category,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"`
	// Indicates whether the rule type has custom mappings for the alert data.
	HasAlertsMappings *bool `json:"has_alerts_mappings,omitempty"`
	HasFieldsForAAD   *bool `json:"has_fields_for_a_a_d,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) GetAlerts added in v0.11.7

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

func (*GetRuleTypes200ResponseInner) GetAlertsOk added in v0.11.7

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 (*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) GetCategory added in v0.11.7

func (o *GetRuleTypes200ResponseInner) GetCategory() string

GetCategory returns the Category field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetCategoryOk added in v0.11.7

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

GetCategoryOk returns a tuple with the Category 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) GetHasAlertsMappings added in v0.11.7

func (o *GetRuleTypes200ResponseInner) GetHasAlertsMappings() bool

GetHasAlertsMappings returns the HasAlertsMappings field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetHasAlertsMappingsOk added in v0.11.7

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

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

func (*GetRuleTypes200ResponseInner) GetHasFieldsForAAD added in v0.11.7

func (o *GetRuleTypes200ResponseInner) GetHasFieldsForAAD() bool

GetHasFieldsForAAD returns the HasFieldsForAAD field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInner) GetHasFieldsForAADOk added in v0.11.7

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

GetHasFieldsForAADOk returns a tuple with the HasFieldsForAAD 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) HasAlerts added in v0.11.7

func (o *GetRuleTypes200ResponseInner) HasAlerts() bool

HasAlerts 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) HasCategory added in v0.11.7

func (o *GetRuleTypes200ResponseInner) HasCategory() bool

HasCategory 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) HasHasAlertsMappings added in v0.11.7

func (o *GetRuleTypes200ResponseInner) HasHasAlertsMappings() bool

HasHasAlertsMappings returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInner) HasHasFieldsForAAD added in v0.11.7

func (o *GetRuleTypes200ResponseInner) HasHasFieldsForAAD() bool

HasHasFieldsForAAD 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) SetAlerts added in v0.11.7

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

func (*GetRuleTypes200ResponseInner) SetAuthorizedConsumers

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

func (*GetRuleTypes200ResponseInner) SetCategory added in v0.11.7

func (o *GetRuleTypes200ResponseInner) SetCategory(v string)

SetCategory gets a reference to the given string and assigns it to the Category 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) SetHasAlertsMappings added in v0.11.7

func (o *GetRuleTypes200ResponseInner) SetHasAlertsMappings(v bool)

SetHasAlertsMappings gets a reference to the given bool and assigns it to the HasAlertsMappings field.

func (*GetRuleTypes200ResponseInner) SetHasFieldsForAAD added in v0.11.7

func (o *GetRuleTypes200ResponseInner) SetHasFieldsForAAD(v bool)

SetHasFieldsForAAD gets a reference to the given bool and assigns it to the HasFieldsForAAD 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   NullableString `json:"id,omitempty"`
	Name NullableString `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 (both if not set or set to explicit null).

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetRuleTypes200ResponseInnerActionGroupsInner) GetName

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

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 NullableString and assigns it to the Id field.

func (*GetRuleTypes200ResponseInnerActionGroupsInner) SetIdNil added in v0.11.7

SetIdNil sets the value for Id to be an explicit nil

func (*GetRuleTypes200ResponseInnerActionGroupsInner) SetName

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

func (*GetRuleTypes200ResponseInnerActionGroupsInner) SetNameNil added in v0.11.7

SetNameNil sets the value for Name to be an explicit nil

func (GetRuleTypes200ResponseInnerActionGroupsInner) ToMap

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

func (*GetRuleTypes200ResponseInnerActionGroupsInner) UnsetId added in v0.11.7

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*GetRuleTypes200ResponseInnerActionGroupsInner) UnsetName added in v0.11.7

UnsetName ensures that no value is present for Name, not even an explicit nil

type GetRuleTypes200ResponseInnerActionVariables

type GetRuleTypes200ResponseInnerActionVariables struct {
	Context []GetRuleTypes200ResponseInnerActionVariablesContextInner `json:"context,omitempty"`
	Params  []GetRuleTypes200ResponseInnerActionVariablesParamsInner  `json:"params,omitempty"`
	State   []GetRuleTypes200ResponseInnerActionVariablesStateInner   `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 []GetRuleTypes200ResponseInnerActionVariablesStateInner and assigns it to the State field.

func (GetRuleTypes200ResponseInnerActionVariables) ToMap

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

type GetRuleTypes200ResponseInnerActionVariablesContextInner

type GetRuleTypes200ResponseInnerActionVariablesContextInner struct {
	Name                           NullableString `json:"name,omitempty"`
	Description                    NullableString `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 (both if not set or set to explicit null).

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) GetName

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

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 NullableString and assigns it to the Description field.

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) SetDescriptionNil added in v0.11.7

SetDescriptionNil sets the value for Description to be an explicit nil

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) SetName

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

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) SetNameNil added in v0.11.7

SetNameNil sets the value for Name to be an explicit nil

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

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) UnsetDescription added in v0.11.7

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*GetRuleTypes200ResponseInnerActionVariablesContextInner) UnsetName added in v0.11.7

UnsetName ensures that no value is present for Name, not even an explicit nil

type GetRuleTypes200ResponseInnerActionVariablesParamsInner

type GetRuleTypes200ResponseInnerActionVariablesParamsInner struct {
	Description NullableString `json:"description,omitempty"`
	Name        NullableString `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 (both if not set or set to explicit null).

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) GetName

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

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 NullableString and assigns it to the Description field.

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) SetDescriptionNil added in v0.11.7

SetDescriptionNil sets the value for Description to be an explicit nil

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) SetName

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

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) SetNameNil added in v0.11.7

SetNameNil sets the value for Name to be an explicit nil

func (GetRuleTypes200ResponseInnerActionVariablesParamsInner) ToMap

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) UnsetDescription added in v0.11.7

UnsetDescription ensures that no value is present for Description, not even an explicit nil

func (*GetRuleTypes200ResponseInnerActionVariablesParamsInner) UnsetName added in v0.11.7

UnsetName ensures that no value is present for Name, not even an explicit nil

type GetRuleTypes200ResponseInnerActionVariablesStateInner added in v0.11.7

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

GetRuleTypes200ResponseInnerActionVariablesStateInner struct for GetRuleTypes200ResponseInnerActionVariablesStateInner

func NewGetRuleTypes200ResponseInnerActionVariablesStateInner added in v0.11.7

func NewGetRuleTypes200ResponseInnerActionVariablesStateInner() *GetRuleTypes200ResponseInnerActionVariablesStateInner

NewGetRuleTypes200ResponseInnerActionVariablesStateInner instantiates a new GetRuleTypes200ResponseInnerActionVariablesStateInner 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 NewGetRuleTypes200ResponseInnerActionVariablesStateInnerWithDefaults added in v0.11.7

func NewGetRuleTypes200ResponseInnerActionVariablesStateInnerWithDefaults() *GetRuleTypes200ResponseInnerActionVariablesStateInner

NewGetRuleTypes200ResponseInnerActionVariablesStateInnerWithDefaults instantiates a new GetRuleTypes200ResponseInnerActionVariablesStateInner 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 (*GetRuleTypes200ResponseInnerActionVariablesStateInner) GetDescription added in v0.11.7

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

func (*GetRuleTypes200ResponseInnerActionVariablesStateInner) GetDescriptionOk added in v0.11.7

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 (*GetRuleTypes200ResponseInnerActionVariablesStateInner) GetName added in v0.11.7

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

func (*GetRuleTypes200ResponseInnerActionVariablesStateInner) GetNameOk added in v0.11.7

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 (*GetRuleTypes200ResponseInnerActionVariablesStateInner) HasDescription added in v0.11.7

HasDescription returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerActionVariablesStateInner) HasName added in v0.11.7

HasName returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerActionVariablesStateInner) MarshalJSON added in v0.11.7

func (*GetRuleTypes200ResponseInnerActionVariablesStateInner) SetDescription added in v0.11.7

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

func (*GetRuleTypes200ResponseInnerActionVariablesStateInner) SetName added in v0.11.7

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

func (GetRuleTypes200ResponseInnerActionVariablesStateInner) ToMap added in v0.11.7

type GetRuleTypes200ResponseInnerAlerts added in v0.11.7

type GetRuleTypes200ResponseInnerAlerts struct {
	// The namespace for this rule type.
	Context *string `json:"context,omitempty"`
	// Indicates whether new fields are added dynamically.
	Dynamic *string `json:"dynamic,omitempty"`
	// Indicates whether the alerts are space-aware. If true, space-specific alert indices are used.
	IsSpaceAware *bool                                       `json:"isSpaceAware,omitempty"`
	Mappings     *GetRuleTypes200ResponseInnerAlertsMappings `json:"mappings,omitempty"`
	// A secondary alias. It is typically used to support the signals alias for detection rules.
	SecondaryAlias *string `json:"secondaryAlias,omitempty"`
	// Indicates whether the rule should write out alerts as data.
	ShouldWrite *bool `json:"shouldWrite,omitempty"`
	// Indicates whether to include the ECS component template for the alerts.
	UseEcs *bool `json:"useEcs,omitempty"`
	// Indicates whether to include the legacy component template for the alerts.
	UseLegacyAlerts *bool `json:"useLegacyAlerts,omitempty"`
}

GetRuleTypes200ResponseInnerAlerts Details for writing alerts as data documents for this rule type.

func NewGetRuleTypes200ResponseInnerAlerts added in v0.11.7

func NewGetRuleTypes200ResponseInnerAlerts() *GetRuleTypes200ResponseInnerAlerts

NewGetRuleTypes200ResponseInnerAlerts instantiates a new GetRuleTypes200ResponseInnerAlerts 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 NewGetRuleTypes200ResponseInnerAlertsWithDefaults added in v0.11.7

func NewGetRuleTypes200ResponseInnerAlertsWithDefaults() *GetRuleTypes200ResponseInnerAlerts

NewGetRuleTypes200ResponseInnerAlertsWithDefaults instantiates a new GetRuleTypes200ResponseInnerAlerts 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 (*GetRuleTypes200ResponseInnerAlerts) GetContext added in v0.11.7

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

func (*GetRuleTypes200ResponseInnerAlerts) GetContextOk added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetContextOk() (*string, bool)

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 (*GetRuleTypes200ResponseInnerAlerts) GetDynamic added in v0.11.7

GetDynamic returns the Dynamic field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAlerts) GetDynamicOk added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetDynamicOk() (*string, bool)

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

func (*GetRuleTypes200ResponseInnerAlerts) GetIsSpaceAware added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetIsSpaceAware() bool

GetIsSpaceAware returns the IsSpaceAware field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAlerts) GetIsSpaceAwareOk added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetIsSpaceAwareOk() (*bool, bool)

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

func (*GetRuleTypes200ResponseInnerAlerts) GetMappings added in v0.11.7

GetMappings returns the Mappings field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAlerts) GetMappingsOk added in v0.11.7

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

func (*GetRuleTypes200ResponseInnerAlerts) GetSecondaryAlias added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetSecondaryAlias() string

GetSecondaryAlias returns the SecondaryAlias field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAlerts) GetSecondaryAliasOk added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetSecondaryAliasOk() (*string, bool)

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

func (*GetRuleTypes200ResponseInnerAlerts) GetShouldWrite added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetShouldWrite() bool

GetShouldWrite returns the ShouldWrite field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAlerts) GetShouldWriteOk added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetShouldWriteOk() (*bool, bool)

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

func (*GetRuleTypes200ResponseInnerAlerts) GetUseEcs added in v0.11.7

GetUseEcs returns the UseEcs field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAlerts) GetUseEcsOk added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetUseEcsOk() (*bool, bool)

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

func (*GetRuleTypes200ResponseInnerAlerts) GetUseLegacyAlerts added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetUseLegacyAlerts() bool

GetUseLegacyAlerts returns the UseLegacyAlerts field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAlerts) GetUseLegacyAlertsOk added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) GetUseLegacyAlertsOk() (*bool, bool)

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

func (*GetRuleTypes200ResponseInnerAlerts) HasContext added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAlerts) HasDynamic added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) HasDynamic() bool

HasDynamic returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAlerts) HasIsSpaceAware added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) HasIsSpaceAware() bool

HasIsSpaceAware returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAlerts) HasMappings added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) HasMappings() bool

HasMappings returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAlerts) HasSecondaryAlias added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) HasSecondaryAlias() bool

HasSecondaryAlias returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAlerts) HasShouldWrite added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) HasShouldWrite() bool

HasShouldWrite returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAlerts) HasUseEcs added in v0.11.7

HasUseEcs returns a boolean if a field has been set.

func (*GetRuleTypes200ResponseInnerAlerts) HasUseLegacyAlerts added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) HasUseLegacyAlerts() bool

HasUseLegacyAlerts returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerAlerts) MarshalJSON added in v0.11.7

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

func (*GetRuleTypes200ResponseInnerAlerts) SetContext added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) SetContext(v string)

SetContext gets a reference to the given string and assigns it to the Context field.

func (*GetRuleTypes200ResponseInnerAlerts) SetDynamic added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) SetDynamic(v string)

SetDynamic gets a reference to the given string and assigns it to the Dynamic field.

func (*GetRuleTypes200ResponseInnerAlerts) SetIsSpaceAware added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) SetIsSpaceAware(v bool)

SetIsSpaceAware gets a reference to the given bool and assigns it to the IsSpaceAware field.

func (*GetRuleTypes200ResponseInnerAlerts) SetMappings added in v0.11.7

SetMappings gets a reference to the given GetRuleTypes200ResponseInnerAlertsMappings and assigns it to the Mappings field.

func (*GetRuleTypes200ResponseInnerAlerts) SetSecondaryAlias added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) SetSecondaryAlias(v string)

SetSecondaryAlias gets a reference to the given string and assigns it to the SecondaryAlias field.

func (*GetRuleTypes200ResponseInnerAlerts) SetShouldWrite added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) SetShouldWrite(v bool)

SetShouldWrite gets a reference to the given bool and assigns it to the ShouldWrite field.

func (*GetRuleTypes200ResponseInnerAlerts) SetUseEcs added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) SetUseEcs(v bool)

SetUseEcs gets a reference to the given bool and assigns it to the UseEcs field.

func (*GetRuleTypes200ResponseInnerAlerts) SetUseLegacyAlerts added in v0.11.7

func (o *GetRuleTypes200ResponseInnerAlerts) SetUseLegacyAlerts(v bool)

SetUseLegacyAlerts gets a reference to the given bool and assigns it to the UseLegacyAlerts field.

func (GetRuleTypes200ResponseInnerAlerts) ToMap added in v0.11.7

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

type GetRuleTypes200ResponseInnerAlertsMappings added in v0.11.7

type GetRuleTypes200ResponseInnerAlertsMappings struct {
	// Mapping information for each field supported in alerts as data documents for this rule type. For more information about mapping parameters, refer to the Elasticsearch documentation.
	FieldMap map[string]FieldmapProperties `json:"fieldMap,omitempty"`
}

GetRuleTypes200ResponseInnerAlertsMappings struct for GetRuleTypes200ResponseInnerAlertsMappings

func NewGetRuleTypes200ResponseInnerAlertsMappings added in v0.11.7

func NewGetRuleTypes200ResponseInnerAlertsMappings() *GetRuleTypes200ResponseInnerAlertsMappings

NewGetRuleTypes200ResponseInnerAlertsMappings instantiates a new GetRuleTypes200ResponseInnerAlertsMappings 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 NewGetRuleTypes200ResponseInnerAlertsMappingsWithDefaults added in v0.11.7

func NewGetRuleTypes200ResponseInnerAlertsMappingsWithDefaults() *GetRuleTypes200ResponseInnerAlertsMappings

NewGetRuleTypes200ResponseInnerAlertsMappingsWithDefaults instantiates a new GetRuleTypes200ResponseInnerAlertsMappings 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 (*GetRuleTypes200ResponseInnerAlertsMappings) GetFieldMap added in v0.11.7

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

func (*GetRuleTypes200ResponseInnerAlertsMappings) GetFieldMapOk added in v0.11.7

GetFieldMapOk returns a tuple with the FieldMap 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 (*GetRuleTypes200ResponseInnerAlertsMappings) HasFieldMap added in v0.11.7

HasFieldMap returns a boolean if a field has been set.

func (GetRuleTypes200ResponseInnerAlertsMappings) MarshalJSON added in v0.11.7

func (*GetRuleTypes200ResponseInnerAlertsMappings) SetFieldMap added in v0.11.7

SetFieldMap gets a reference to the given map[string]FieldmapProperties and assigns it to the FieldMap field.

func (GetRuleTypes200ResponseInnerAlertsMappings) ToMap added in v0.11.7

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

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"`
	Slo            *GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts `json:"slo,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) GetSlo added in v0.11.7

GetSlo returns the Slo field value if set, zero value otherwise.

func (*GetRuleTypes200ResponseInnerAuthorizedConsumers) GetSloOk added in v0.11.7

GetSloOk returns a tuple with the Slo 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) HasSlo added in v0.11.7

HasSlo 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) SetSlo added in v0.11.7

SetSlo gets a reference to the given GetRuleTypes200ResponseInnerAuthorizedConsumersAlerts and assigns it to the Slo 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   NullableString `json:"id,omitempty"`
	Name NullableString `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 (both if not set or set to explicit null).

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) GetName

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

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 NullableString and assigns it to the Id field.

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) SetIdNil added in v0.11.7

SetIdNil sets the value for Id to be an explicit nil

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) SetName

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

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) SetNameNil added in v0.11.7

SetNameNil sets the value for Name to be an explicit nil

func (GetRuleTypes200ResponseInnerRecoveryActionGroup) ToMap

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

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) UnsetId added in v0.11.7

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*GetRuleTypes200ResponseInnerRecoveryActionGroup) UnsetName added in v0.11.7

UnsetName ensures that no value is present for Name, not even an explicit nil

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 LegacyUpdateAlertRequestPropertiesSchedule `json:"schedule"`
	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 LegacyUpdateAlertRequestPropertiesSchedule) *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)

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 LegacyFindAlertsHasReferenceParameter added in v0.11.7

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

LegacyFindAlertsHasReferenceParameter struct for LegacyFindAlertsHasReferenceParameter

func NewLegacyFindAlertsHasReferenceParameter added in v0.11.7

func NewLegacyFindAlertsHasReferenceParameter() *LegacyFindAlertsHasReferenceParameter

NewLegacyFindAlertsHasReferenceParameter instantiates a new LegacyFindAlertsHasReferenceParameter 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 NewLegacyFindAlertsHasReferenceParameterWithDefaults added in v0.11.7

func NewLegacyFindAlertsHasReferenceParameterWithDefaults() *LegacyFindAlertsHasReferenceParameter

NewLegacyFindAlertsHasReferenceParameterWithDefaults instantiates a new LegacyFindAlertsHasReferenceParameter 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 (*LegacyFindAlertsHasReferenceParameter) GetId added in v0.11.7

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

func (*LegacyFindAlertsHasReferenceParameter) GetIdOk added in v0.11.7

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 (*LegacyFindAlertsHasReferenceParameter) GetType added in v0.11.7

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

func (*LegacyFindAlertsHasReferenceParameter) GetTypeOk added in v0.11.7

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 (*LegacyFindAlertsHasReferenceParameter) HasId added in v0.11.7

HasId returns a boolean if a field has been set.

func (*LegacyFindAlertsHasReferenceParameter) HasType added in v0.11.7

HasType returns a boolean if a field has been set.

func (LegacyFindAlertsHasReferenceParameter) MarshalJSON added in v0.11.7

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

func (*LegacyFindAlertsHasReferenceParameter) SetId added in v0.11.7

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

func (*LegacyFindAlertsHasReferenceParameter) SetType added in v0.11.7

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

func (LegacyFindAlertsHasReferenceParameter) ToMap added in v0.11.7

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

type LegacyGetAlertTypes200ResponseInner

type LegacyGetAlertTypes200ResponseInner struct {
	ActionGroups    []LegacyGetAlertTypes200ResponseInnerActionGroupsInner `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 []LegacyGetAlertTypes200ResponseInnerActionGroupsInner 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 LegacyGetAlertTypes200ResponseInnerActionGroupsInner added in v0.11.7

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

LegacyGetAlertTypes200ResponseInnerActionGroupsInner struct for LegacyGetAlertTypes200ResponseInnerActionGroupsInner

func NewLegacyGetAlertTypes200ResponseInnerActionGroupsInner added in v0.11.7

func NewLegacyGetAlertTypes200ResponseInnerActionGroupsInner() *LegacyGetAlertTypes200ResponseInnerActionGroupsInner

NewLegacyGetAlertTypes200ResponseInnerActionGroupsInner instantiates a new LegacyGetAlertTypes200ResponseInnerActionGroupsInner 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 NewLegacyGetAlertTypes200ResponseInnerActionGroupsInnerWithDefaults added in v0.11.7

func NewLegacyGetAlertTypes200ResponseInnerActionGroupsInnerWithDefaults() *LegacyGetAlertTypes200ResponseInnerActionGroupsInner

NewLegacyGetAlertTypes200ResponseInnerActionGroupsInnerWithDefaults instantiates a new LegacyGetAlertTypes200ResponseInnerActionGroupsInner 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 (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) GetId added in v0.11.7

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

func (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) GetIdOk added in v0.11.7

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 (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) GetName added in v0.11.7

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

func (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) GetNameOk added in v0.11.7

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 (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) HasId added in v0.11.7

HasId returns a boolean if a field has been set.

func (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) HasName added in v0.11.7

HasName returns a boolean if a field has been set.

func (LegacyGetAlertTypes200ResponseInnerActionGroupsInner) MarshalJSON added in v0.11.7

func (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) SetId added in v0.11.7

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

func (*LegacyGetAlertTypes200ResponseInnerActionGroupsInner) SetName added in v0.11.7

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

func (LegacyGetAlertTypes200ResponseInnerActionGroupsInner) ToMap added in v0.11.7

type LegacyGetAlertTypes200ResponseInnerActionVariables

type LegacyGetAlertTypes200ResponseInnerActionVariables struct {
	Context []GetRuleTypes200ResponseInnerActionVariablesStateInner `json:"context,omitempty"`
	Params  interface{}                                             `json:"params,omitempty"`
	State   interface{}                                             `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

func (o *LegacyGetAlertTypes200ResponseInnerActionVariables) GetParams() interface{}

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

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetParamsOk

func (o *LegacyGetAlertTypes200ResponseInnerActionVariables) GetParamsOk() (*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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetState

func (o *LegacyGetAlertTypes200ResponseInnerActionVariables) GetState() interface{}

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

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) GetStateOk

func (o *LegacyGetAlertTypes200ResponseInnerActionVariables) GetStateOk() (*interface{}, bool)

GetStateOk returns a tuple with the State 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 (*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 []GetRuleTypes200ResponseInnerActionVariablesStateInner and assigns it to the Context field.

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) SetParams

func (o *LegacyGetAlertTypes200ResponseInnerActionVariables) SetParams(v interface{})

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

func (*LegacyGetAlertTypes200ResponseInnerActionVariables) SetState

func (o *LegacyGetAlertTypes200ResponseInnerActionVariables) SetState(v interface{})

SetState gets a reference to the given interface{} 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   NullableString `json:"id,omitempty"`
	Name NullableString `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 (both if not set or set to explicit null).

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) GetName

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

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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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 NullableString and assigns it to the Id field.

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) SetIdNil added in v0.11.7

SetIdNil sets the value for Id to be an explicit nil

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) SetName

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

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) SetNameNil added in v0.11.7

SetNameNil sets the value for Name to be an explicit nil

func (LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) ToMap

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) UnsetId added in v0.11.7

UnsetId ensures that no value is present for Id, not even an explicit nil

func (*LegacyGetAlertTypes200ResponseInnerRecoveryActionGroup) UnsetName added in v0.11.7

UnsetName ensures that no value is present for Name, not even an explicit nil

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"`
	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

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

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)

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)

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 MockAlertingAPI added in v0.11.4

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

MockAlertingAPI is a mock of AlertingAPI interface.

func NewMockAlertingAPI added in v0.11.4

func NewMockAlertingAPI(ctrl *gomock.Controller) *MockAlertingAPI

NewMockAlertingAPI creates a new mock instance.

func (*MockAlertingAPI) CreateRule added in v0.11.4

func (m *MockAlertingAPI) CreateRule(ctx context.Context, spaceId any) ApiCreateRuleRequest

CreateRule mocks base method.

func (*MockAlertingAPI) CreateRuleExecute added in v0.11.4

CreateRuleExecute mocks base method.

func (*MockAlertingAPI) CreateRuleId added in v0.11.7

func (m *MockAlertingAPI) CreateRuleId(ctx context.Context, spaceId any, ruleId string) ApiCreateRuleIdRequest

CreateRuleId mocks base method.

func (*MockAlertingAPI) CreateRuleIdExecute added in v0.11.7

CreateRuleIdExecute mocks base method.

func (*MockAlertingAPI) DeleteRule added in v0.11.4

func (m *MockAlertingAPI) DeleteRule(ctx context.Context, ruleId, spaceId any) ApiDeleteRuleRequest

DeleteRule mocks base method.

func (*MockAlertingAPI) DeleteRuleExecute added in v0.11.4

func (m *MockAlertingAPI) DeleteRuleExecute(r ApiDeleteRuleRequest) (*http.Response, error)

DeleteRuleExecute mocks base method.

func (*MockAlertingAPI) DisableRule added in v0.11.4

func (m *MockAlertingAPI) DisableRule(ctx context.Context, ruleId, spaceId any) ApiDisableRuleRequest

DisableRule mocks base method.

func (*MockAlertingAPI) DisableRuleExecute added in v0.11.4

func (m *MockAlertingAPI) DisableRuleExecute(r ApiDisableRuleRequest) (*http.Response, error)

DisableRuleExecute mocks base method.

func (*MockAlertingAPI) EXPECT added in v0.11.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAlertingAPI) EnableRule added in v0.11.4

func (m *MockAlertingAPI) EnableRule(ctx context.Context, ruleId, spaceId any) ApiEnableRuleRequest

EnableRule mocks base method.

func (*MockAlertingAPI) EnableRuleExecute added in v0.11.4

func (m *MockAlertingAPI) EnableRuleExecute(r ApiEnableRuleRequest) (*http.Response, error)

EnableRuleExecute mocks base method.

func (*MockAlertingAPI) FindRules added in v0.11.4

func (m *MockAlertingAPI) FindRules(ctx context.Context, spaceId any) ApiFindRulesRequest

FindRules mocks base method.

func (*MockAlertingAPI) FindRulesExecute added in v0.11.4

FindRulesExecute mocks base method.

func (*MockAlertingAPI) GetAlertingHealth added in v0.11.4

func (m *MockAlertingAPI) GetAlertingHealth(ctx context.Context, spaceId any) ApiGetAlertingHealthRequest

GetAlertingHealth mocks base method.

func (*MockAlertingAPI) GetAlertingHealthExecute added in v0.11.4

GetAlertingHealthExecute mocks base method.

func (*MockAlertingAPI) GetRule added in v0.11.4

func (m *MockAlertingAPI) GetRule(ctx context.Context, ruleId, spaceId any) ApiGetRuleRequest

GetRule mocks base method.

func (*MockAlertingAPI) GetRuleExecute added in v0.11.4

GetRuleExecute mocks base method.

func (*MockAlertingAPI) GetRuleTypes added in v0.11.4

func (m *MockAlertingAPI) GetRuleTypes(ctx context.Context, spaceId any) ApiGetRuleTypesRequest

GetRuleTypes mocks base method.

func (*MockAlertingAPI) GetRuleTypesExecute added in v0.11.4

GetRuleTypesExecute mocks base method.

func (*MockAlertingAPI) LegacyCreateAlert added in v0.11.4

func (m *MockAlertingAPI) LegacyCreateAlert(ctx context.Context, alertId string, spaceId any) ApiLegacyCreateAlertRequest

LegacyCreateAlert mocks base method.

func (*MockAlertingAPI) LegacyCreateAlertExecute added in v0.11.4

LegacyCreateAlertExecute mocks base method.

func (*MockAlertingAPI) LegacyDisableAlert added in v0.11.4

func (m *MockAlertingAPI) LegacyDisableAlert(ctx context.Context, spaceId any, alertId string) ApiLegacyDisableAlertRequest

LegacyDisableAlert mocks base method.

func (*MockAlertingAPI) LegacyDisableAlertExecute added in v0.11.4

func (m *MockAlertingAPI) LegacyDisableAlertExecute(r ApiLegacyDisableAlertRequest) (*http.Response, error)

LegacyDisableAlertExecute mocks base method.

func (*MockAlertingAPI) LegacyEnableAlert added in v0.11.4

func (m *MockAlertingAPI) LegacyEnableAlert(ctx context.Context, spaceId any, alertId string) ApiLegacyEnableAlertRequest

LegacyEnableAlert mocks base method.

func (*MockAlertingAPI) LegacyEnableAlertExecute added in v0.11.4

func (m *MockAlertingAPI) LegacyEnableAlertExecute(r ApiLegacyEnableAlertRequest) (*http.Response, error)

LegacyEnableAlertExecute mocks base method.

func (*MockAlertingAPI) LegacyFindAlerts added in v0.11.4

func (m *MockAlertingAPI) LegacyFindAlerts(ctx context.Context, spaceId any) ApiLegacyFindAlertsRequest

LegacyFindAlerts mocks base method.

func (*MockAlertingAPI) LegacyFindAlertsExecute added in v0.11.4

LegacyFindAlertsExecute mocks base method.

func (*MockAlertingAPI) LegacyGetAlert added in v0.11.4

func (m *MockAlertingAPI) LegacyGetAlert(ctx context.Context, spaceId any, alertId string) ApiLegacyGetAlertRequest

LegacyGetAlert mocks base method.

func (*MockAlertingAPI) LegacyGetAlertExecute added in v0.11.4

LegacyGetAlertExecute mocks base method.

func (*MockAlertingAPI) LegacyGetAlertTypes added in v0.11.4

func (m *MockAlertingAPI) LegacyGetAlertTypes(ctx context.Context, spaceId any) ApiLegacyGetAlertTypesRequest

LegacyGetAlertTypes mocks base method.

func (*MockAlertingAPI) LegacyGetAlertTypesExecute added in v0.11.4

LegacyGetAlertTypesExecute mocks base method.

func (*MockAlertingAPI) LegacyGetAlertingHealth added in v0.11.4

func (m *MockAlertingAPI) LegacyGetAlertingHealth(ctx context.Context, spaceId any) ApiLegacyGetAlertingHealthRequest

LegacyGetAlertingHealth mocks base method.

func (*MockAlertingAPI) LegacyGetAlertingHealthExecute added in v0.11.4

LegacyGetAlertingHealthExecute mocks base method.

func (*MockAlertingAPI) LegacyMuteAlertInstance added in v0.11.4

func (m *MockAlertingAPI) LegacyMuteAlertInstance(ctx context.Context, spaceId any, alertId, alertInstanceId string) ApiLegacyMuteAlertInstanceRequest

LegacyMuteAlertInstance mocks base method.

func (*MockAlertingAPI) LegacyMuteAlertInstanceExecute added in v0.11.4

func (m *MockAlertingAPI) LegacyMuteAlertInstanceExecute(r ApiLegacyMuteAlertInstanceRequest) (*http.Response, error)

LegacyMuteAlertInstanceExecute mocks base method.

func (*MockAlertingAPI) LegacyMuteAllAlertInstances added in v0.11.4

func (m *MockAlertingAPI) LegacyMuteAllAlertInstances(ctx context.Context, spaceId any, alertId string) ApiLegacyMuteAllAlertInstancesRequest

LegacyMuteAllAlertInstances mocks base method.

func (*MockAlertingAPI) LegacyMuteAllAlertInstancesExecute added in v0.11.4

func (m *MockAlertingAPI) LegacyMuteAllAlertInstancesExecute(r ApiLegacyMuteAllAlertInstancesRequest) (*http.Response, error)

LegacyMuteAllAlertInstancesExecute mocks base method.

func (*MockAlertingAPI) LegacyUnmuteAlertInstance added in v0.11.4

func (m *MockAlertingAPI) LegacyUnmuteAlertInstance(ctx context.Context, spaceId any, alertId, alertInstanceId string) ApiLegacyUnmuteAlertInstanceRequest

LegacyUnmuteAlertInstance mocks base method.

func (*MockAlertingAPI) LegacyUnmuteAlertInstanceExecute added in v0.11.4

func (m *MockAlertingAPI) LegacyUnmuteAlertInstanceExecute(r ApiLegacyUnmuteAlertInstanceRequest) (*http.Response, error)

LegacyUnmuteAlertInstanceExecute mocks base method.

func (*MockAlertingAPI) LegacyUnmuteAllAlertInstances added in v0.11.4

func (m *MockAlertingAPI) LegacyUnmuteAllAlertInstances(ctx context.Context, spaceId any, alertId string) ApiLegacyUnmuteAllAlertInstancesRequest

LegacyUnmuteAllAlertInstances mocks base method.

func (*MockAlertingAPI) LegacyUnmuteAllAlertInstancesExecute added in v0.11.4

func (m *MockAlertingAPI) LegacyUnmuteAllAlertInstancesExecute(r ApiLegacyUnmuteAllAlertInstancesRequest) (*http.Response, error)

LegacyUnmuteAllAlertInstancesExecute mocks base method.

func (*MockAlertingAPI) LegacyUpdateAlert added in v0.11.4

func (m *MockAlertingAPI) LegacyUpdateAlert(ctx context.Context, spaceId any, alertId string) ApiLegacyUpdateAlertRequest

LegacyUpdateAlert mocks base method.

func (*MockAlertingAPI) LegacyUpdateAlertExecute added in v0.11.4

LegacyUpdateAlertExecute mocks base method.

func (*MockAlertingAPI) LegaryDeleteAlert added in v0.11.4

func (m *MockAlertingAPI) LegaryDeleteAlert(ctx context.Context, spaceId any, alertId string) ApiLegaryDeleteAlertRequest

LegaryDeleteAlert mocks base method.

func (*MockAlertingAPI) LegaryDeleteAlertExecute added in v0.11.4

func (m *MockAlertingAPI) LegaryDeleteAlertExecute(r ApiLegaryDeleteAlertRequest) (*http.Response, error)

LegaryDeleteAlertExecute mocks base method.

func (*MockAlertingAPI) MuteAlert added in v0.11.4

func (m *MockAlertingAPI) MuteAlert(ctx context.Context, alertId, ruleId, spaceId any) ApiMuteAlertRequest

MuteAlert mocks base method.

func (*MockAlertingAPI) MuteAlertExecute added in v0.11.4

func (m *MockAlertingAPI) MuteAlertExecute(r ApiMuteAlertRequest) (*http.Response, error)

MuteAlertExecute mocks base method.

func (*MockAlertingAPI) MuteAllAlerts added in v0.11.4

func (m *MockAlertingAPI) MuteAllAlerts(ctx context.Context, ruleId, spaceId any) ApiMuteAllAlertsRequest

MuteAllAlerts mocks base method.

func (*MockAlertingAPI) MuteAllAlertsExecute added in v0.11.4

func (m *MockAlertingAPI) MuteAllAlertsExecute(r ApiMuteAllAlertsRequest) (*http.Response, error)

MuteAllAlertsExecute mocks base method.

func (*MockAlertingAPI) UnmuteAlert added in v0.11.4

func (m *MockAlertingAPI) UnmuteAlert(ctx context.Context, alertId, ruleId, spaceId any) ApiUnmuteAlertRequest

UnmuteAlert mocks base method.

func (*MockAlertingAPI) UnmuteAlertExecute added in v0.11.4

func (m *MockAlertingAPI) UnmuteAlertExecute(r ApiUnmuteAlertRequest) (*http.Response, error)

UnmuteAlertExecute mocks base method.

func (*MockAlertingAPI) UnmuteAllAlerts added in v0.11.4

func (m *MockAlertingAPI) UnmuteAllAlerts(ctx context.Context, ruleId, spaceId any) ApiUnmuteAllAlertsRequest

UnmuteAllAlerts mocks base method.

func (*MockAlertingAPI) UnmuteAllAlertsExecute added in v0.11.4

func (m *MockAlertingAPI) UnmuteAllAlertsExecute(r ApiUnmuteAllAlertsRequest) (*http.Response, error)

UnmuteAllAlertsExecute mocks base method.

func (*MockAlertingAPI) UpdateRule added in v0.11.4

func (m *MockAlertingAPI) UpdateRule(ctx context.Context, ruleId, spaceId any) ApiUpdateRuleRequest

UpdateRule mocks base method.

func (*MockAlertingAPI) UpdateRuleAPIKey added in v0.11.7

func (m *MockAlertingAPI) UpdateRuleAPIKey(ctx context.Context, ruleId, spaceId any) ApiUpdateRuleAPIKeyRequest

UpdateRuleAPIKey mocks base method.

func (*MockAlertingAPI) UpdateRuleAPIKeyExecute added in v0.11.7

func (m *MockAlertingAPI) UpdateRuleAPIKeyExecute(r ApiUpdateRuleAPIKeyRequest) (*http.Response, error)

UpdateRuleAPIKeyExecute mocks base method.

func (*MockAlertingAPI) UpdateRuleExecute added in v0.11.4

UpdateRuleExecute mocks base method.

type MockAlertingAPIMockRecorder added in v0.11.4

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

MockAlertingAPIMockRecorder is the mock recorder for MockAlertingAPI.

func (*MockAlertingAPIMockRecorder) CreateRule added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) CreateRule(ctx, spaceId any) *gomock.Call

CreateRule indicates an expected call of CreateRule.

func (*MockAlertingAPIMockRecorder) CreateRuleExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) CreateRuleExecute(r any) *gomock.Call

CreateRuleExecute indicates an expected call of CreateRuleExecute.

func (*MockAlertingAPIMockRecorder) CreateRuleId added in v0.11.7

func (mr *MockAlertingAPIMockRecorder) CreateRuleId(ctx, spaceId, ruleId any) *gomock.Call

CreateRuleId indicates an expected call of CreateRuleId.

func (*MockAlertingAPIMockRecorder) CreateRuleIdExecute added in v0.11.7

func (mr *MockAlertingAPIMockRecorder) CreateRuleIdExecute(r any) *gomock.Call

CreateRuleIdExecute indicates an expected call of CreateRuleIdExecute.

func (*MockAlertingAPIMockRecorder) DeleteRule added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) DeleteRule(ctx, ruleId, spaceId any) *gomock.Call

DeleteRule indicates an expected call of DeleteRule.

func (*MockAlertingAPIMockRecorder) DeleteRuleExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) DeleteRuleExecute(r any) *gomock.Call

DeleteRuleExecute indicates an expected call of DeleteRuleExecute.

func (*MockAlertingAPIMockRecorder) DisableRule added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) DisableRule(ctx, ruleId, spaceId any) *gomock.Call

DisableRule indicates an expected call of DisableRule.

func (*MockAlertingAPIMockRecorder) DisableRuleExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) DisableRuleExecute(r any) *gomock.Call

DisableRuleExecute indicates an expected call of DisableRuleExecute.

func (*MockAlertingAPIMockRecorder) EnableRule added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) EnableRule(ctx, ruleId, spaceId any) *gomock.Call

EnableRule indicates an expected call of EnableRule.

func (*MockAlertingAPIMockRecorder) EnableRuleExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) EnableRuleExecute(r any) *gomock.Call

EnableRuleExecute indicates an expected call of EnableRuleExecute.

func (*MockAlertingAPIMockRecorder) FindRules added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) FindRules(ctx, spaceId any) *gomock.Call

FindRules indicates an expected call of FindRules.

func (*MockAlertingAPIMockRecorder) FindRulesExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) FindRulesExecute(r any) *gomock.Call

FindRulesExecute indicates an expected call of FindRulesExecute.

func (*MockAlertingAPIMockRecorder) GetAlertingHealth added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) GetAlertingHealth(ctx, spaceId any) *gomock.Call

GetAlertingHealth indicates an expected call of GetAlertingHealth.

func (*MockAlertingAPIMockRecorder) GetAlertingHealthExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) GetAlertingHealthExecute(r any) *gomock.Call

GetAlertingHealthExecute indicates an expected call of GetAlertingHealthExecute.

func (*MockAlertingAPIMockRecorder) GetRule added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) GetRule(ctx, ruleId, spaceId any) *gomock.Call

GetRule indicates an expected call of GetRule.

func (*MockAlertingAPIMockRecorder) GetRuleExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) GetRuleExecute(r any) *gomock.Call

GetRuleExecute indicates an expected call of GetRuleExecute.

func (*MockAlertingAPIMockRecorder) GetRuleTypes added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) GetRuleTypes(ctx, spaceId any) *gomock.Call

GetRuleTypes indicates an expected call of GetRuleTypes.

func (*MockAlertingAPIMockRecorder) GetRuleTypesExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) GetRuleTypesExecute(r any) *gomock.Call

GetRuleTypesExecute indicates an expected call of GetRuleTypesExecute.

func (*MockAlertingAPIMockRecorder) LegacyCreateAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyCreateAlert(ctx, alertId, spaceId any) *gomock.Call

LegacyCreateAlert indicates an expected call of LegacyCreateAlert.

func (*MockAlertingAPIMockRecorder) LegacyCreateAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyCreateAlertExecute(r any) *gomock.Call

LegacyCreateAlertExecute indicates an expected call of LegacyCreateAlertExecute.

func (*MockAlertingAPIMockRecorder) LegacyDisableAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyDisableAlert(ctx, spaceId, alertId any) *gomock.Call

LegacyDisableAlert indicates an expected call of LegacyDisableAlert.

func (*MockAlertingAPIMockRecorder) LegacyDisableAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyDisableAlertExecute(r any) *gomock.Call

LegacyDisableAlertExecute indicates an expected call of LegacyDisableAlertExecute.

func (*MockAlertingAPIMockRecorder) LegacyEnableAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyEnableAlert(ctx, spaceId, alertId any) *gomock.Call

LegacyEnableAlert indicates an expected call of LegacyEnableAlert.

func (*MockAlertingAPIMockRecorder) LegacyEnableAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyEnableAlertExecute(r any) *gomock.Call

LegacyEnableAlertExecute indicates an expected call of LegacyEnableAlertExecute.

func (*MockAlertingAPIMockRecorder) LegacyFindAlerts added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyFindAlerts(ctx, spaceId any) *gomock.Call

LegacyFindAlerts indicates an expected call of LegacyFindAlerts.

func (*MockAlertingAPIMockRecorder) LegacyFindAlertsExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyFindAlertsExecute(r any) *gomock.Call

LegacyFindAlertsExecute indicates an expected call of LegacyFindAlertsExecute.

func (*MockAlertingAPIMockRecorder) LegacyGetAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyGetAlert(ctx, spaceId, alertId any) *gomock.Call

LegacyGetAlert indicates an expected call of LegacyGetAlert.

func (*MockAlertingAPIMockRecorder) LegacyGetAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyGetAlertExecute(r any) *gomock.Call

LegacyGetAlertExecute indicates an expected call of LegacyGetAlertExecute.

func (*MockAlertingAPIMockRecorder) LegacyGetAlertTypes added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyGetAlertTypes(ctx, spaceId any) *gomock.Call

LegacyGetAlertTypes indicates an expected call of LegacyGetAlertTypes.

func (*MockAlertingAPIMockRecorder) LegacyGetAlertTypesExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyGetAlertTypesExecute(r any) *gomock.Call

LegacyGetAlertTypesExecute indicates an expected call of LegacyGetAlertTypesExecute.

func (*MockAlertingAPIMockRecorder) LegacyGetAlertingHealth added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyGetAlertingHealth(ctx, spaceId any) *gomock.Call

LegacyGetAlertingHealth indicates an expected call of LegacyGetAlertingHealth.

func (*MockAlertingAPIMockRecorder) LegacyGetAlertingHealthExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyGetAlertingHealthExecute(r any) *gomock.Call

LegacyGetAlertingHealthExecute indicates an expected call of LegacyGetAlertingHealthExecute.

func (*MockAlertingAPIMockRecorder) LegacyMuteAlertInstance added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyMuteAlertInstance(ctx, spaceId, alertId, alertInstanceId any) *gomock.Call

LegacyMuteAlertInstance indicates an expected call of LegacyMuteAlertInstance.

func (*MockAlertingAPIMockRecorder) LegacyMuteAlertInstanceExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyMuteAlertInstanceExecute(r any) *gomock.Call

LegacyMuteAlertInstanceExecute indicates an expected call of LegacyMuteAlertInstanceExecute.

func (*MockAlertingAPIMockRecorder) LegacyMuteAllAlertInstances added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyMuteAllAlertInstances(ctx, spaceId, alertId any) *gomock.Call

LegacyMuteAllAlertInstances indicates an expected call of LegacyMuteAllAlertInstances.

func (*MockAlertingAPIMockRecorder) LegacyMuteAllAlertInstancesExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyMuteAllAlertInstancesExecute(r any) *gomock.Call

LegacyMuteAllAlertInstancesExecute indicates an expected call of LegacyMuteAllAlertInstancesExecute.

func (*MockAlertingAPIMockRecorder) LegacyUnmuteAlertInstance added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyUnmuteAlertInstance(ctx, spaceId, alertId, alertInstanceId any) *gomock.Call

LegacyUnmuteAlertInstance indicates an expected call of LegacyUnmuteAlertInstance.

func (*MockAlertingAPIMockRecorder) LegacyUnmuteAlertInstanceExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyUnmuteAlertInstanceExecute(r any) *gomock.Call

LegacyUnmuteAlertInstanceExecute indicates an expected call of LegacyUnmuteAlertInstanceExecute.

func (*MockAlertingAPIMockRecorder) LegacyUnmuteAllAlertInstances added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyUnmuteAllAlertInstances(ctx, spaceId, alertId any) *gomock.Call

LegacyUnmuteAllAlertInstances indicates an expected call of LegacyUnmuteAllAlertInstances.

func (*MockAlertingAPIMockRecorder) LegacyUnmuteAllAlertInstancesExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyUnmuteAllAlertInstancesExecute(r any) *gomock.Call

LegacyUnmuteAllAlertInstancesExecute indicates an expected call of LegacyUnmuteAllAlertInstancesExecute.

func (*MockAlertingAPIMockRecorder) LegacyUpdateAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyUpdateAlert(ctx, spaceId, alertId any) *gomock.Call

LegacyUpdateAlert indicates an expected call of LegacyUpdateAlert.

func (*MockAlertingAPIMockRecorder) LegacyUpdateAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegacyUpdateAlertExecute(r any) *gomock.Call

LegacyUpdateAlertExecute indicates an expected call of LegacyUpdateAlertExecute.

func (*MockAlertingAPIMockRecorder) LegaryDeleteAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegaryDeleteAlert(ctx, spaceId, alertId any) *gomock.Call

LegaryDeleteAlert indicates an expected call of LegaryDeleteAlert.

func (*MockAlertingAPIMockRecorder) LegaryDeleteAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) LegaryDeleteAlertExecute(r any) *gomock.Call

LegaryDeleteAlertExecute indicates an expected call of LegaryDeleteAlertExecute.

func (*MockAlertingAPIMockRecorder) MuteAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) MuteAlert(ctx, alertId, ruleId, spaceId any) *gomock.Call

MuteAlert indicates an expected call of MuteAlert.

func (*MockAlertingAPIMockRecorder) MuteAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) MuteAlertExecute(r any) *gomock.Call

MuteAlertExecute indicates an expected call of MuteAlertExecute.

func (*MockAlertingAPIMockRecorder) MuteAllAlerts added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) MuteAllAlerts(ctx, ruleId, spaceId any) *gomock.Call

MuteAllAlerts indicates an expected call of MuteAllAlerts.

func (*MockAlertingAPIMockRecorder) MuteAllAlertsExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) MuteAllAlertsExecute(r any) *gomock.Call

MuteAllAlertsExecute indicates an expected call of MuteAllAlertsExecute.

func (*MockAlertingAPIMockRecorder) UnmuteAlert added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) UnmuteAlert(ctx, alertId, ruleId, spaceId any) *gomock.Call

UnmuteAlert indicates an expected call of UnmuteAlert.

func (*MockAlertingAPIMockRecorder) UnmuteAlertExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) UnmuteAlertExecute(r any) *gomock.Call

UnmuteAlertExecute indicates an expected call of UnmuteAlertExecute.

func (*MockAlertingAPIMockRecorder) UnmuteAllAlerts added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) UnmuteAllAlerts(ctx, ruleId, spaceId any) *gomock.Call

UnmuteAllAlerts indicates an expected call of UnmuteAllAlerts.

func (*MockAlertingAPIMockRecorder) UnmuteAllAlertsExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) UnmuteAllAlertsExecute(r any) *gomock.Call

UnmuteAllAlertsExecute indicates an expected call of UnmuteAllAlertsExecute.

func (*MockAlertingAPIMockRecorder) UpdateRule added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) UpdateRule(ctx, ruleId, spaceId any) *gomock.Call

UpdateRule indicates an expected call of UpdateRule.

func (*MockAlertingAPIMockRecorder) UpdateRuleAPIKey added in v0.11.7

func (mr *MockAlertingAPIMockRecorder) UpdateRuleAPIKey(ctx, ruleId, spaceId any) *gomock.Call

UpdateRuleAPIKey indicates an expected call of UpdateRuleAPIKey.

func (*MockAlertingAPIMockRecorder) UpdateRuleAPIKeyExecute added in v0.11.7

func (mr *MockAlertingAPIMockRecorder) UpdateRuleAPIKeyExecute(r any) *gomock.Call

UpdateRuleAPIKeyExecute indicates an expected call of UpdateRuleAPIKeyExecute.

func (*MockAlertingAPIMockRecorder) UpdateRuleExecute added in v0.11.4

func (mr *MockAlertingAPIMockRecorder) UpdateRuleExecute(r any) *gomock.Call

UpdateRuleExecute indicates an expected call of UpdateRuleExecute.

type Model400Response added in v0.11.7

type Model400Response struct {
	Error      string `json:"error"`
	Message    string `json:"message"`
	StatusCode int32  `json:"statusCode"`
}

Model400Response struct for Model400Response

func NewModel400Response added in v0.11.7

func NewModel400Response(error_ string, message string, statusCode int32) *Model400Response

NewModel400Response instantiates a new Model400Response 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 NewModel400ResponseWithDefaults added in v0.11.7

func NewModel400ResponseWithDefaults() *Model400Response

NewModel400ResponseWithDefaults instantiates a new Model400Response 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 (*Model400Response) GetError added in v0.11.7

func (o *Model400Response) GetError() string

GetError returns the Error field value

func (*Model400Response) GetErrorOk added in v0.11.7

func (o *Model400Response) GetErrorOk() (*string, bool)

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

func (*Model400Response) GetMessage added in v0.11.7

func (o *Model400Response) GetMessage() string

GetMessage returns the Message field value

func (*Model400Response) GetMessageOk added in v0.11.7

func (o *Model400Response) GetMessageOk() (*string, bool)

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

func (*Model400Response) GetStatusCode added in v0.11.7

func (o *Model400Response) GetStatusCode() int32

GetStatusCode returns the StatusCode field value

func (*Model400Response) GetStatusCodeOk added in v0.11.7

func (o *Model400Response) GetStatusCodeOk() (*int32, bool)

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

func (Model400Response) MarshalJSON added in v0.11.7

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

func (*Model400Response) SetError added in v0.11.7

func (o *Model400Response) SetError(v string)

SetError sets field value

func (*Model400Response) SetMessage added in v0.11.7

func (o *Model400Response) SetMessage(v string)

SetMessage sets field value

func (*Model400Response) SetStatusCode added in v0.11.7

func (o *Model400Response) SetStatusCode(v int32)

SetStatusCode sets field value

func (Model400Response) ToMap added in v0.11.7

func (o Model400Response) 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 Deprecated in 8.13.0. Use the `notify_when` property in the action `frequency` object instead. Indicates how often alerts generate actions. NOTE: You cannot specify `notify_when` at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.

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 NullableActionsInnerAlertsFilter added in v0.11.7

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

func NewNullableActionsInnerAlertsFilter added in v0.11.7

func NewNullableActionsInnerAlertsFilter(val *ActionsInnerAlertsFilter) *NullableActionsInnerAlertsFilter

func (NullableActionsInnerAlertsFilter) Get added in v0.11.7

func (NullableActionsInnerAlertsFilter) IsSet added in v0.11.7

func (NullableActionsInnerAlertsFilter) MarshalJSON added in v0.11.7

func (v NullableActionsInnerAlertsFilter) MarshalJSON() ([]byte, error)

func (*NullableActionsInnerAlertsFilter) Set added in v0.11.7

func (*NullableActionsInnerAlertsFilter) UnmarshalJSON added in v0.11.7

func (v *NullableActionsInnerAlertsFilter) UnmarshalJSON(src []byte) error

func (*NullableActionsInnerAlertsFilter) Unset added in v0.11.7

type NullableActionsInnerAlertsFilterQuery added in v0.11.7

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

func NewNullableActionsInnerAlertsFilterQuery added in v0.11.7

func NewNullableActionsInnerAlertsFilterQuery(val *ActionsInnerAlertsFilterQuery) *NullableActionsInnerAlertsFilterQuery

func (NullableActionsInnerAlertsFilterQuery) Get added in v0.11.7

func (NullableActionsInnerAlertsFilterQuery) IsSet added in v0.11.7

func (NullableActionsInnerAlertsFilterQuery) MarshalJSON added in v0.11.7

func (v NullableActionsInnerAlertsFilterQuery) MarshalJSON() ([]byte, error)

func (*NullableActionsInnerAlertsFilterQuery) Set added in v0.11.7

func (*NullableActionsInnerAlertsFilterQuery) UnmarshalJSON added in v0.11.7

func (v *NullableActionsInnerAlertsFilterQuery) UnmarshalJSON(src []byte) error

func (*NullableActionsInnerAlertsFilterQuery) Unset added in v0.11.7

type NullableActionsInnerAlertsFilterTimeframe added in v0.11.7

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

func NewNullableActionsInnerAlertsFilterTimeframe added in v0.11.7

func NewNullableActionsInnerAlertsFilterTimeframe(val *ActionsInnerAlertsFilterTimeframe) *NullableActionsInnerAlertsFilterTimeframe

func (NullableActionsInnerAlertsFilterTimeframe) Get added in v0.11.7

func (NullableActionsInnerAlertsFilterTimeframe) IsSet added in v0.11.7

func (NullableActionsInnerAlertsFilterTimeframe) MarshalJSON added in v0.11.7

func (*NullableActionsInnerAlertsFilterTimeframe) Set added in v0.11.7

func (*NullableActionsInnerAlertsFilterTimeframe) UnmarshalJSON added in v0.11.7

func (v *NullableActionsInnerAlertsFilterTimeframe) UnmarshalJSON(src []byte) error

func (*NullableActionsInnerAlertsFilterTimeframe) Unset added in v0.11.7

type NullableActionsInnerAlertsFilterTimeframeHours added in v0.11.7

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

func (NullableActionsInnerAlertsFilterTimeframeHours) Get added in v0.11.7

func (NullableActionsInnerAlertsFilterTimeframeHours) IsSet added in v0.11.7

func (NullableActionsInnerAlertsFilterTimeframeHours) MarshalJSON added in v0.11.7

func (*NullableActionsInnerAlertsFilterTimeframeHours) Set added in v0.11.7

func (*NullableActionsInnerAlertsFilterTimeframeHours) UnmarshalJSON added in v0.11.7

func (*NullableActionsInnerAlertsFilterTimeframeHours) Unset added in v0.11.7

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 NullableAlertDelay added in v0.11.7

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

func NewNullableAlertDelay added in v0.11.7

func NewNullableAlertDelay(val *AlertDelay) *NullableAlertDelay

func (NullableAlertDelay) Get added in v0.11.7

func (v NullableAlertDelay) Get() *AlertDelay

func (NullableAlertDelay) IsSet added in v0.11.7

func (v NullableAlertDelay) IsSet() bool

func (NullableAlertDelay) MarshalJSON added in v0.11.7

func (v NullableAlertDelay) MarshalJSON() ([]byte, error)

func (*NullableAlertDelay) Set added in v0.11.7

func (v *NullableAlertDelay) Set(val *AlertDelay)

func (*NullableAlertDelay) UnmarshalJSON added in v0.11.7

func (v *NullableAlertDelay) UnmarshalJSON(src []byte) error

func (*NullableAlertDelay) Unset added in v0.11.7

func (v *NullableAlertDelay) 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 NullableFieldmapProperties added in v0.11.7

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

func NewNullableFieldmapProperties added in v0.11.7

func NewNullableFieldmapProperties(val *FieldmapProperties) *NullableFieldmapProperties

func (NullableFieldmapProperties) Get added in v0.11.7

func (NullableFieldmapProperties) IsSet added in v0.11.7

func (v NullableFieldmapProperties) IsSet() bool

func (NullableFieldmapProperties) MarshalJSON added in v0.11.7

func (v NullableFieldmapProperties) MarshalJSON() ([]byte, error)

func (*NullableFieldmapProperties) Set added in v0.11.7

func (*NullableFieldmapProperties) UnmarshalJSON added in v0.11.7

func (v *NullableFieldmapProperties) UnmarshalJSON(src []byte) error

func (*NullableFieldmapProperties) Unset added in v0.11.7

func (v *NullableFieldmapProperties) Unset()

type NullableFieldmapPropertiesPropertiesValue added in v0.11.7

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

func NewNullableFieldmapPropertiesPropertiesValue added in v0.11.7

func NewNullableFieldmapPropertiesPropertiesValue(val *FieldmapPropertiesPropertiesValue) *NullableFieldmapPropertiesPropertiesValue

func (NullableFieldmapPropertiesPropertiesValue) Get added in v0.11.7

func (NullableFieldmapPropertiesPropertiesValue) IsSet added in v0.11.7

func (NullableFieldmapPropertiesPropertiesValue) MarshalJSON added in v0.11.7

func (*NullableFieldmapPropertiesPropertiesValue) Set added in v0.11.7

func (*NullableFieldmapPropertiesPropertiesValue) UnmarshalJSON added in v0.11.7

func (v *NullableFieldmapPropertiesPropertiesValue) UnmarshalJSON(src []byte) error

func (*NullableFieldmapPropertiesPropertiesValue) Unset added in v0.11.7

type NullableFilter added in v0.11.7

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

func NewNullableFilter added in v0.11.7

func NewNullableFilter(val *Filter) *NullableFilter

func (NullableFilter) Get added in v0.11.7

func (v NullableFilter) Get() *Filter

func (NullableFilter) IsSet added in v0.11.7

func (v NullableFilter) IsSet() bool

func (NullableFilter) MarshalJSON added in v0.11.7

func (v NullableFilter) MarshalJSON() ([]byte, error)

func (*NullableFilter) Set added in v0.11.7

func (v *NullableFilter) Set(val *Filter)

func (*NullableFilter) UnmarshalJSON added in v0.11.7

func (v *NullableFilter) UnmarshalJSON(src []byte) error

func (*NullableFilter) Unset added in v0.11.7

func (v *NullableFilter) Unset()

type NullableFilterMeta added in v0.11.7

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

func NewNullableFilterMeta added in v0.11.7

func NewNullableFilterMeta(val *FilterMeta) *NullableFilterMeta

func (NullableFilterMeta) Get added in v0.11.7

func (v NullableFilterMeta) Get() *FilterMeta

func (NullableFilterMeta) IsSet added in v0.11.7

func (v NullableFilterMeta) IsSet() bool

func (NullableFilterMeta) MarshalJSON added in v0.11.7

func (v NullableFilterMeta) MarshalJSON() ([]byte, error)

func (*NullableFilterMeta) Set added in v0.11.7

func (v *NullableFilterMeta) Set(val *FilterMeta)

func (*NullableFilterMeta) UnmarshalJSON added in v0.11.7

func (v *NullableFilterMeta) UnmarshalJSON(src []byte) error

func (*NullableFilterMeta) Unset added in v0.11.7

func (v *NullableFilterMeta) 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 NullableGetRuleTypes200ResponseInnerActionVariablesStateInner added in v0.11.7

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

func (NullableGetRuleTypes200ResponseInnerActionVariablesStateInner) Get added in v0.11.7

func (NullableGetRuleTypes200ResponseInnerActionVariablesStateInner) IsSet added in v0.11.7

func (NullableGetRuleTypes200ResponseInnerActionVariablesStateInner) MarshalJSON added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerActionVariablesStateInner) Set added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerActionVariablesStateInner) UnmarshalJSON added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerActionVariablesStateInner) Unset added in v0.11.7

type NullableGetRuleTypes200ResponseInnerAlerts added in v0.11.7

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

func NewNullableGetRuleTypes200ResponseInnerAlerts added in v0.11.7

func NewNullableGetRuleTypes200ResponseInnerAlerts(val *GetRuleTypes200ResponseInnerAlerts) *NullableGetRuleTypes200ResponseInnerAlerts

func (NullableGetRuleTypes200ResponseInnerAlerts) Get added in v0.11.7

func (NullableGetRuleTypes200ResponseInnerAlerts) IsSet added in v0.11.7

func (NullableGetRuleTypes200ResponseInnerAlerts) MarshalJSON added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerAlerts) Set added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerAlerts) UnmarshalJSON added in v0.11.7

func (v *NullableGetRuleTypes200ResponseInnerAlerts) UnmarshalJSON(src []byte) error

func (*NullableGetRuleTypes200ResponseInnerAlerts) Unset added in v0.11.7

type NullableGetRuleTypes200ResponseInnerAlertsMappings added in v0.11.7

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

func (NullableGetRuleTypes200ResponseInnerAlertsMappings) Get added in v0.11.7

func (NullableGetRuleTypes200ResponseInnerAlertsMappings) IsSet added in v0.11.7

func (NullableGetRuleTypes200ResponseInnerAlertsMappings) MarshalJSON added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerAlertsMappings) Set added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerAlertsMappings) UnmarshalJSON added in v0.11.7

func (*NullableGetRuleTypes200ResponseInnerAlertsMappings) Unset added in v0.11.7

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 NullableLegacyFindAlertsHasReferenceParameter added in v0.11.7

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

func NewNullableLegacyFindAlertsHasReferenceParameter added in v0.11.7

func NewNullableLegacyFindAlertsHasReferenceParameter(val *LegacyFindAlertsHasReferenceParameter) *NullableLegacyFindAlertsHasReferenceParameter

func (NullableLegacyFindAlertsHasReferenceParameter) Get added in v0.11.7

func (NullableLegacyFindAlertsHasReferenceParameter) IsSet added in v0.11.7

func (NullableLegacyFindAlertsHasReferenceParameter) MarshalJSON added in v0.11.7

func (*NullableLegacyFindAlertsHasReferenceParameter) Set added in v0.11.7

func (*NullableLegacyFindAlertsHasReferenceParameter) UnmarshalJSON added in v0.11.7

func (*NullableLegacyFindAlertsHasReferenceParameter) Unset added in v0.11.7

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 NullableLegacyGetAlertTypes200ResponseInnerActionGroupsInner added in v0.11.7

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

func (NullableLegacyGetAlertTypes200ResponseInnerActionGroupsInner) Get added in v0.11.7

func (NullableLegacyGetAlertTypes200ResponseInnerActionGroupsInner) IsSet added in v0.11.7

func (NullableLegacyGetAlertTypes200ResponseInnerActionGroupsInner) MarshalJSON added in v0.11.7

func (*NullableLegacyGetAlertTypes200ResponseInnerActionGroupsInner) Set added in v0.11.7

func (*NullableLegacyGetAlertTypes200ResponseInnerActionGroupsInner) UnmarshalJSON added in v0.11.7

func (*NullableLegacyGetAlertTypes200ResponseInnerActionGroupsInner) Unset added in v0.11.7

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 NullableModel400Response added in v0.11.7

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

func NewNullableModel400Response added in v0.11.7

func NewNullableModel400Response(val *Model400Response) *NullableModel400Response

func (NullableModel400Response) Get added in v0.11.7

func (NullableModel400Response) IsSet added in v0.11.7

func (v NullableModel400Response) IsSet() bool

func (NullableModel400Response) MarshalJSON added in v0.11.7

func (v NullableModel400Response) MarshalJSON() ([]byte, error)

func (*NullableModel400Response) Set added in v0.11.7

func (*NullableModel400Response) UnmarshalJSON added in v0.11.7

func (v *NullableModel400Response) UnmarshalJSON(src []byte) error

func (*NullableModel400Response) Unset added in v0.11.7

func (v *NullableModel400Response) 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"`
	AlertDelay *AlertDelay    `json:"alert_delay,omitempty"`
	// Indicates whether the API key that is associated with the rule was created by the user.
	ApiKeyCreatedByUser *bool `json:"api_key_created_by_user,omitempty"`
	// The owner of the API key that is associated with the rule and used to run background tasks.
	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"`
	// Indicates how often alerts generate actions.
	NotifyWhen NullableString `json:"notify_when,omitempty"`
	// The parameters for the rule.
	Params map[string]interface{} `json:"params"`
	// The rule revision number.
	Revision *int32 `json:"revision,omitempty"`
	// 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"`
	Tags            []string `json:"tags"`
	// Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.
	// Deprecated
	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

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.

func (*RuleResponseProperties) GetAlertDelay added in v0.11.7

func (o *RuleResponseProperties) GetAlertDelay() AlertDelay

GetAlertDelay returns the AlertDelay field value if set, zero value otherwise.

func (*RuleResponseProperties) GetAlertDelayOk added in v0.11.7

func (o *RuleResponseProperties) GetAlertDelayOk() (*AlertDelay, bool)

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

func (*RuleResponseProperties) GetApiKeyCreatedByUser added in v0.11.7

func (o *RuleResponseProperties) GetApiKeyCreatedByUser() bool

GetApiKeyCreatedByUser returns the ApiKeyCreatedByUser field value if set, zero value otherwise.

func (*RuleResponseProperties) GetApiKeyCreatedByUserOk added in v0.11.7

func (o *RuleResponseProperties) GetApiKeyCreatedByUserOk() (*bool, bool)

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

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

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.

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() string

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

func (*RuleResponseProperties) GetNotifyWhenOk

func (o *RuleResponseProperties) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

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) GetRevision added in v0.11.7

func (o *RuleResponseProperties) GetRevision() int32

GetRevision returns the Revision field value if set, zero value otherwise.

func (*RuleResponseProperties) GetRevisionOk added in v0.11.7

func (o *RuleResponseProperties) GetRevisionOk() (*int32, bool)

GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise 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 Deprecated

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 Deprecated

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) HasAlertDelay added in v0.11.7

func (o *RuleResponseProperties) HasAlertDelay() bool

HasAlertDelay returns a boolean if a field has been set.

func (*RuleResponseProperties) HasApiKeyCreatedByUser added in v0.11.7

func (o *RuleResponseProperties) HasApiKeyCreatedByUser() bool

HasApiKeyCreatedByUser returns a boolean if a field has been set.

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) HasRevision added in v0.11.7

func (o *RuleResponseProperties) HasRevision() bool

HasRevision 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) SetAlertDelay added in v0.11.7

func (o *RuleResponseProperties) SetAlertDelay(v AlertDelay)

SetAlertDelay gets a reference to the given AlertDelay and assigns it to the AlertDelay field.

func (*RuleResponseProperties) SetApiKeyCreatedByUser added in v0.11.7

func (o *RuleResponseProperties) SetApiKeyCreatedByUser(v bool)

SetApiKeyCreatedByUser gets a reference to the given bool and assigns it to the ApiKeyCreatedByUser field.

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 string)

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

func (*RuleResponseProperties) SetNotifyWhenNil added in v0.11.7

func (o *RuleResponseProperties) SetNotifyWhenNil()

SetNotifyWhenNil sets the value for NotifyWhen to be an explicit nil

func (*RuleResponseProperties) SetParams

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

SetParams sets field value

func (*RuleResponseProperties) SetRevision added in v0.11.7

func (o *RuleResponseProperties) SetRevision(v int32)

SetRevision gets a reference to the given int32 and assigns it to the Revision field.

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 Deprecated

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) UnsetNextRun

func (o *RuleResponseProperties) UnsetNextRun()

UnsetNextRun ensures that no value is present for NextRun, not even an explicit nil

func (*RuleResponseProperties) UnsetNotifyWhen added in v0.11.7

func (o *RuleResponseProperties) UnsetNotifyWhen()

UnsetNotifyWhen ensures that no value is present for NotifyWhen, 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   []string                                  `json:"outcome_msg,omitempty"`
	OutcomeOrder *int32                                    `json:"outcome_order,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.

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.

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) GetOutcomeOrder added in v0.11.7

func (o *RuleResponsePropertiesLastRun) GetOutcomeOrder() int32

GetOutcomeOrder returns the OutcomeOrder field value if set, zero value otherwise.

func (*RuleResponsePropertiesLastRun) GetOutcomeOrderOk added in v0.11.7

func (o *RuleResponsePropertiesLastRun) GetOutcomeOrderOk() (*int32, bool)

GetOutcomeOrderOk returns a tuple with the OutcomeOrder 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) HasOutcomeOrder added in v0.11.7

func (o *RuleResponsePropertiesLastRun) HasOutcomeOrder() bool

HasOutcomeOrder 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 []string and assigns it to the OutcomeMsg field.

func (*RuleResponsePropertiesLastRun) SetOutcomeOrder added in v0.11.7

func (o *RuleResponsePropertiesLastRun) SetOutcomeOrder(v int32)

SetOutcomeOrder gets a reference to the given int32 and assigns it to the OutcomeOrder field.

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) 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"`
	AlertDelay *AlertDelay    `json:"alert_delay,omitempty"`
	// The name of the rule.
	Name string `json:"name"`
	// Deprecated
	NotifyWhen *NotifyWhen `json:"notify_when,omitempty"`
	// The parameters for the rule.
	Params   map[string]interface{} `json:"params"`
	Schedule Schedule               `json:"schedule"`
	Tags     []string               `json:"tags,omitempty"`
	// Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.
	// Deprecated
	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.

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.

func (*UpdateRuleRequest) GetAlertDelay added in v0.11.7

func (o *UpdateRuleRequest) GetAlertDelay() AlertDelay

GetAlertDelay returns the AlertDelay field value if set, zero value otherwise.

func (*UpdateRuleRequest) GetAlertDelayOk added in v0.11.7

func (o *UpdateRuleRequest) GetAlertDelayOk() (*AlertDelay, bool)

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

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. Deprecated

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. Deprecated

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). Deprecated

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 Deprecated

func (*UpdateRuleRequest) HasActions

func (o *UpdateRuleRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*UpdateRuleRequest) HasAlertDelay added in v0.11.7

func (o *UpdateRuleRequest) HasAlertDelay() bool

HasAlertDelay 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) SetAlertDelay added in v0.11.7

func (o *UpdateRuleRequest) SetAlertDelay(v AlertDelay)

SetAlertDelay gets a reference to the given AlertDelay and assigns it to the AlertDelay 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. Deprecated

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. Deprecated

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) 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