slo

package
v0.11.2 Latest Latest
Warning

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

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

README

Go API client for slo

OpenAPI schema for SLOs 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: 1.0
  • 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 slo "github.com/elastic/terraform-provider-elasticstack/slo"

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(), slo.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(), slo.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(), slo.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), slo.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

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

Class Method HTTP request Description
SloAPI CreateSloOp Post /s/{spaceId}/api/observability/slos Creates an SLO.
SloAPI DeleteSloInstancesOp Post /s/{spaceId}/api/observability/slos/_delete_instances Batch delete rollup and summary data for the matching list of sloId and instanceId
SloAPI DeleteSloOp Delete /s/{spaceId}/api/observability/slos/{sloId} Deletes an SLO
SloAPI DisableSloOp Post /s/{spaceId}/api/observability/slos/{sloId}/disable Disables an SLO
SloAPI EnableSloOp Post /s/{spaceId}/api/observability/slos/{sloId}/enable Enables an SLO
SloAPI FindSlosOp Get /s/{spaceId}/api/observability/slos Retrieves a paginated list of SLOs
SloAPI GetSloOp Get /s/{spaceId}/api/observability/slos/{sloId} Retrieves a SLO
SloAPI HistoricalSummaryOp Post /s/{spaceId}/internal/observability/slos/_historical_summary Retrieves the historical summary for a list of SLOs
SloAPI UpdateSloOp Put /s/{spaceId}/api/observability/slos/{sloId} Updates an SLO

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

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 AllowedBudgetingMethodEnumValues = []BudgetingMethod{
	"occurrences",
	"timeslices",
}

All allowed values of BudgetingMethod enum

View Source
var AllowedSummaryStatusEnumValues = []SummaryStatus{
	"NO_DATA",
	"HEALTHY",
	"DEGRADING",
	"VIOLATED",
}

All allowed values of SummaryStatus 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 {
	SloAPI SloAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the SLOs API v1.0 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 ApiCreateSloOpRequest added in v0.7.0

type ApiCreateSloOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiCreateSloOpRequest) CreateSloRequest added in v0.7.0

func (r ApiCreateSloOpRequest) CreateSloRequest(createSloRequest CreateSloRequest) ApiCreateSloOpRequest

func (ApiCreateSloOpRequest) Execute added in v0.7.0

func (ApiCreateSloOpRequest) KbnXsrf added in v0.7.0

Cross-site request forgery protection

type ApiDeleteSloInstancesOpRequest added in v0.11.0

type ApiDeleteSloInstancesOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiDeleteSloInstancesOpRequest) DeleteSloInstancesRequest added in v0.11.0

func (r ApiDeleteSloInstancesOpRequest) DeleteSloInstancesRequest(deleteSloInstancesRequest DeleteSloInstancesRequest) ApiDeleteSloInstancesOpRequest

func (ApiDeleteSloInstancesOpRequest) Execute added in v0.11.0

func (ApiDeleteSloInstancesOpRequest) KbnXsrf added in v0.11.0

Cross-site request forgery protection

type ApiDeleteSloOpRequest added in v0.7.0

type ApiDeleteSloOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiDeleteSloOpRequest) Execute added in v0.7.0

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

func (ApiDeleteSloOpRequest) KbnXsrf added in v0.7.0

Cross-site request forgery protection

type ApiDisableSloOpRequest added in v0.7.0

type ApiDisableSloOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiDisableSloOpRequest) Execute added in v0.7.0

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

func (ApiDisableSloOpRequest) KbnXsrf added in v0.7.0

Cross-site request forgery protection

type ApiEnableSloOpRequest added in v0.7.0

type ApiEnableSloOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiEnableSloOpRequest) Execute added in v0.7.0

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

func (ApiEnableSloOpRequest) KbnXsrf added in v0.7.0

Cross-site request forgery protection

type ApiFindSlosOpRequest added in v0.7.0

type ApiFindSlosOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiFindSlosOpRequest) Execute added in v0.7.0

func (ApiFindSlosOpRequest) KbnXsrf added in v0.7.0

Cross-site request forgery protection

func (ApiFindSlosOpRequest) KqlQuery added in v0.7.0

func (r ApiFindSlosOpRequest) KqlQuery(kqlQuery string) ApiFindSlosOpRequest

A valid kql query to filter the SLO with

func (ApiFindSlosOpRequest) Page added in v0.7.0

The page number to return

func (ApiFindSlosOpRequest) PerPage added in v0.7.0

func (r ApiFindSlosOpRequest) PerPage(perPage int32) ApiFindSlosOpRequest

The number of SLOs to return per page

func (ApiFindSlosOpRequest) SortBy added in v0.7.0

Sort by field

func (ApiFindSlosOpRequest) SortDirection added in v0.7.0

func (r ApiFindSlosOpRequest) SortDirection(sortDirection string) ApiFindSlosOpRequest

Sort order

type ApiGetSloOpRequest added in v0.7.0

type ApiGetSloOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiGetSloOpRequest) Execute added in v0.7.0

func (r ApiGetSloOpRequest) Execute() (*SloResponse, *http.Response, error)

func (ApiGetSloOpRequest) InstanceId added in v0.7.0

func (r ApiGetSloOpRequest) InstanceId(instanceId string) ApiGetSloOpRequest

the specific instanceId used by the summary calculation

func (ApiGetSloOpRequest) KbnXsrf added in v0.7.0

func (r ApiGetSloOpRequest) KbnXsrf(kbnXsrf string) ApiGetSloOpRequest

Cross-site request forgery protection

type ApiHistoricalSummaryOpRequest added in v0.7.0

type ApiHistoricalSummaryOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiHistoricalSummaryOpRequest) Execute added in v0.7.0

func (ApiHistoricalSummaryOpRequest) HistoricalSummaryRequest added in v0.7.0

func (r ApiHistoricalSummaryOpRequest) HistoricalSummaryRequest(historicalSummaryRequest HistoricalSummaryRequest) ApiHistoricalSummaryOpRequest

func (ApiHistoricalSummaryOpRequest) KbnXsrf added in v0.7.0

Cross-site request forgery protection

type ApiUpdateSloOpRequest added in v0.7.0

type ApiUpdateSloOpRequest struct {
	ApiService SloAPI
	// contains filtered or unexported fields
}

func (ApiUpdateSloOpRequest) Execute added in v0.7.0

func (ApiUpdateSloOpRequest) KbnXsrf added in v0.7.0

Cross-site request forgery protection

func (ApiUpdateSloOpRequest) UpdateSloRequest added in v0.7.0

func (r ApiUpdateSloOpRequest) UpdateSloRequest(updateSloRequest UpdateSloRequest) ApiUpdateSloOpRequest

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 BudgetingMethod

type BudgetingMethod string

BudgetingMethod The budgeting method to use when computing the rollup data.

const (
	OCCURRENCES BudgetingMethod = "occurrences"
	TIMESLICES  BudgetingMethod = "timeslices"
)

List of budgeting_method

func NewBudgetingMethodFromValue

func NewBudgetingMethodFromValue(v string) (*BudgetingMethod, error)

NewBudgetingMethodFromValue returns a pointer to a valid BudgetingMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BudgetingMethod) IsValid

func (v BudgetingMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BudgetingMethod) Ptr

Ptr returns reference to budgeting_method value

func (*BudgetingMethod) UnmarshalJSON

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

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 CreateSloRequest

type CreateSloRequest struct {
	// A optional and unique identifier for the SLO. Must be between 8 and 36 chars
	Id *string `json:"id,omitempty"`
	// A name for the SLO.
	Name string `json:"name"`
	// A description for the SLO.
	Description     string                    `json:"description"`
	Indicator       CreateSloRequestIndicator `json:"indicator"`
	TimeWindow      TimeWindow                `json:"timeWindow"`
	BudgetingMethod BudgetingMethod           `json:"budgetingMethod"`
	Objective       Objective                 `json:"objective"`
	Settings        *Settings                 `json:"settings,omitempty"`
	// optional group by field to use to generate an SLO per distinct value
	GroupBy *string `json:"groupBy,omitempty"`
	// List of tags
	Tags []string `json:"tags,omitempty"`
}

CreateSloRequest The create SLO API request body varies depending on the type of indicator, time window and budgeting method.

func NewCreateSloRequest

func NewCreateSloRequest(name string, description string, indicator CreateSloRequestIndicator, timeWindow TimeWindow, budgetingMethod BudgetingMethod, objective Objective) *CreateSloRequest

NewCreateSloRequest instantiates a new CreateSloRequest 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 NewCreateSloRequestWithDefaults

func NewCreateSloRequestWithDefaults() *CreateSloRequest

NewCreateSloRequestWithDefaults instantiates a new CreateSloRequest 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 (*CreateSloRequest) GetBudgetingMethod

func (o *CreateSloRequest) GetBudgetingMethod() BudgetingMethod

GetBudgetingMethod returns the BudgetingMethod field value

func (*CreateSloRequest) GetBudgetingMethodOk

func (o *CreateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)

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

func (*CreateSloRequest) GetDescription

func (o *CreateSloRequest) GetDescription() string

GetDescription returns the Description field value

func (*CreateSloRequest) GetDescriptionOk

func (o *CreateSloRequest) GetDescriptionOk() (*string, bool)

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

func (*CreateSloRequest) GetGroupBy added in v0.7.0

func (o *CreateSloRequest) GetGroupBy() string

GetGroupBy returns the GroupBy field value if set, zero value otherwise.

func (*CreateSloRequest) GetGroupByOk added in v0.7.0

func (o *CreateSloRequest) GetGroupByOk() (*string, bool)

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

func (*CreateSloRequest) GetId added in v0.7.0

func (o *CreateSloRequest) GetId() string

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

func (*CreateSloRequest) GetIdOk added in v0.7.0

func (o *CreateSloRequest) 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 (*CreateSloRequest) GetIndicator

func (o *CreateSloRequest) GetIndicator() CreateSloRequestIndicator

GetIndicator returns the Indicator field value

func (*CreateSloRequest) GetIndicatorOk

func (o *CreateSloRequest) GetIndicatorOk() (*CreateSloRequestIndicator, bool)

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

func (*CreateSloRequest) GetName

func (o *CreateSloRequest) GetName() string

GetName returns the Name field value

func (*CreateSloRequest) GetNameOk

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

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

func (*CreateSloRequest) GetObjective

func (o *CreateSloRequest) GetObjective() Objective

GetObjective returns the Objective field value

func (*CreateSloRequest) GetObjectiveOk

func (o *CreateSloRequest) GetObjectiveOk() (*Objective, bool)

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

func (*CreateSloRequest) GetSettings

func (o *CreateSloRequest) GetSettings() Settings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*CreateSloRequest) GetSettingsOk

func (o *CreateSloRequest) GetSettingsOk() (*Settings, bool)

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

func (*CreateSloRequest) GetTags added in v0.11.0

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

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

func (*CreateSloRequest) GetTagsOk added in v0.11.0

func (o *CreateSloRequest) 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 (*CreateSloRequest) GetTimeWindow

func (o *CreateSloRequest) GetTimeWindow() TimeWindow

GetTimeWindow returns the TimeWindow field value

func (*CreateSloRequest) GetTimeWindowOk

func (o *CreateSloRequest) GetTimeWindowOk() (*TimeWindow, bool)

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

func (*CreateSloRequest) HasGroupBy added in v0.7.0

func (o *CreateSloRequest) HasGroupBy() bool

HasGroupBy returns a boolean if a field has been set.

func (*CreateSloRequest) HasId added in v0.7.0

func (o *CreateSloRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateSloRequest) HasSettings

func (o *CreateSloRequest) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*CreateSloRequest) HasTags added in v0.11.0

func (o *CreateSloRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (CreateSloRequest) MarshalJSON

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

func (*CreateSloRequest) SetBudgetingMethod

func (o *CreateSloRequest) SetBudgetingMethod(v BudgetingMethod)

SetBudgetingMethod sets field value

func (*CreateSloRequest) SetDescription

func (o *CreateSloRequest) SetDescription(v string)

SetDescription sets field value

func (*CreateSloRequest) SetGroupBy added in v0.7.0

func (o *CreateSloRequest) SetGroupBy(v string)

SetGroupBy gets a reference to the given string and assigns it to the GroupBy field.

func (*CreateSloRequest) SetId added in v0.7.0

func (o *CreateSloRequest) SetId(v string)

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

func (*CreateSloRequest) SetIndicator

func (o *CreateSloRequest) SetIndicator(v CreateSloRequestIndicator)

SetIndicator sets field value

func (*CreateSloRequest) SetName

func (o *CreateSloRequest) SetName(v string)

SetName sets field value

func (*CreateSloRequest) SetObjective

func (o *CreateSloRequest) SetObjective(v Objective)

SetObjective sets field value

func (*CreateSloRequest) SetSettings

func (o *CreateSloRequest) SetSettings(v Settings)

SetSettings gets a reference to the given Settings and assigns it to the Settings field.

func (*CreateSloRequest) SetTags added in v0.11.0

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

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

func (*CreateSloRequest) SetTimeWindow

func (o *CreateSloRequest) SetTimeWindow(v TimeWindow)

SetTimeWindow sets field value

func (CreateSloRequest) ToMap

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

type CreateSloRequestIndicator added in v0.7.0

type CreateSloRequestIndicator struct {
	IndicatorPropertiesApmAvailability *IndicatorPropertiesApmAvailability
	IndicatorPropertiesApmLatency      *IndicatorPropertiesApmLatency
	IndicatorPropertiesCustomKql       *IndicatorPropertiesCustomKql
	IndicatorPropertiesCustomMetric    *IndicatorPropertiesCustomMetric
	IndicatorPropertiesHistogram       *IndicatorPropertiesHistogram
	IndicatorPropertiesTimesliceMetric *IndicatorPropertiesTimesliceMetric
}

CreateSloRequestIndicator - struct for CreateSloRequestIndicator

func IndicatorPropertiesApmAvailabilityAsCreateSloRequestIndicator added in v0.7.0

func IndicatorPropertiesApmAvailabilityAsCreateSloRequestIndicator(v *IndicatorPropertiesApmAvailability) CreateSloRequestIndicator

IndicatorPropertiesApmAvailabilityAsCreateSloRequestIndicator is a convenience function that returns IndicatorPropertiesApmAvailability wrapped in CreateSloRequestIndicator

func IndicatorPropertiesApmLatencyAsCreateSloRequestIndicator added in v0.7.0

func IndicatorPropertiesApmLatencyAsCreateSloRequestIndicator(v *IndicatorPropertiesApmLatency) CreateSloRequestIndicator

IndicatorPropertiesApmLatencyAsCreateSloRequestIndicator is a convenience function that returns IndicatorPropertiesApmLatency wrapped in CreateSloRequestIndicator

func IndicatorPropertiesCustomKqlAsCreateSloRequestIndicator added in v0.7.0

func IndicatorPropertiesCustomKqlAsCreateSloRequestIndicator(v *IndicatorPropertiesCustomKql) CreateSloRequestIndicator

IndicatorPropertiesCustomKqlAsCreateSloRequestIndicator is a convenience function that returns IndicatorPropertiesCustomKql wrapped in CreateSloRequestIndicator

func IndicatorPropertiesCustomMetricAsCreateSloRequestIndicator added in v0.7.0

func IndicatorPropertiesCustomMetricAsCreateSloRequestIndicator(v *IndicatorPropertiesCustomMetric) CreateSloRequestIndicator

IndicatorPropertiesCustomMetricAsCreateSloRequestIndicator is a convenience function that returns IndicatorPropertiesCustomMetric wrapped in CreateSloRequestIndicator

func IndicatorPropertiesHistogramAsCreateSloRequestIndicator added in v0.7.0

func IndicatorPropertiesHistogramAsCreateSloRequestIndicator(v *IndicatorPropertiesHistogram) CreateSloRequestIndicator

IndicatorPropertiesHistogramAsCreateSloRequestIndicator is a convenience function that returns IndicatorPropertiesHistogram wrapped in CreateSloRequestIndicator

func IndicatorPropertiesTimesliceMetricAsCreateSloRequestIndicator added in v0.11.0

func IndicatorPropertiesTimesliceMetricAsCreateSloRequestIndicator(v *IndicatorPropertiesTimesliceMetric) CreateSloRequestIndicator

IndicatorPropertiesTimesliceMetricAsCreateSloRequestIndicator is a convenience function that returns IndicatorPropertiesTimesliceMetric wrapped in CreateSloRequestIndicator

func (*CreateSloRequestIndicator) GetActualInstance added in v0.7.0

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

Get the actual instance

func (CreateSloRequestIndicator) MarshalJSON added in v0.7.0

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

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

func (*CreateSloRequestIndicator) UnmarshalJSON added in v0.7.0

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

Unmarshal JSON data into one of the pointers in the struct

type CreateSloResponse

type CreateSloResponse struct {
	Id string `json:"id"`
}

CreateSloResponse struct for CreateSloResponse

func NewCreateSloResponse

func NewCreateSloResponse(id string) *CreateSloResponse

NewCreateSloResponse instantiates a new CreateSloResponse 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 NewCreateSloResponseWithDefaults

func NewCreateSloResponseWithDefaults() *CreateSloResponse

NewCreateSloResponseWithDefaults instantiates a new CreateSloResponse 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 (*CreateSloResponse) GetId

func (o *CreateSloResponse) GetId() string

GetId returns the Id field value

func (*CreateSloResponse) GetIdOk

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

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

func (CreateSloResponse) MarshalJSON

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

func (*CreateSloResponse) SetId

func (o *CreateSloResponse) SetId(v string)

SetId sets field value

func (CreateSloResponse) ToMap

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

type DeleteSloInstancesRequest added in v0.11.0

type DeleteSloInstancesRequest struct {
	// An array of slo id and instance id
	List []DeleteSloInstancesRequestListInner `json:"list"`
}

DeleteSloInstancesRequest The delete SLO instances request takes a list of SLO id and instance id, then delete the rollup and summary data. This API can be used to remove the staled data of an instance SLO that no longer get updated.

func NewDeleteSloInstancesRequest added in v0.11.0

func NewDeleteSloInstancesRequest(list []DeleteSloInstancesRequestListInner) *DeleteSloInstancesRequest

NewDeleteSloInstancesRequest instantiates a new DeleteSloInstancesRequest 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 NewDeleteSloInstancesRequestWithDefaults added in v0.11.0

func NewDeleteSloInstancesRequestWithDefaults() *DeleteSloInstancesRequest

NewDeleteSloInstancesRequestWithDefaults instantiates a new DeleteSloInstancesRequest 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 (*DeleteSloInstancesRequest) GetList added in v0.11.0

GetList returns the List field value

func (*DeleteSloInstancesRequest) GetListOk added in v0.11.0

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

func (DeleteSloInstancesRequest) MarshalJSON added in v0.11.0

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

func (*DeleteSloInstancesRequest) SetList added in v0.11.0

SetList sets field value

func (DeleteSloInstancesRequest) ToMap added in v0.11.0

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

type DeleteSloInstancesRequestListInner added in v0.11.0

type DeleteSloInstancesRequestListInner struct {
	// The SLO unique identifier
	SloId string `json:"sloId"`
	// The SLO instance identifier
	InstanceId string `json:"instanceId"`
}

DeleteSloInstancesRequestListInner struct for DeleteSloInstancesRequestListInner

func NewDeleteSloInstancesRequestListInner added in v0.11.0

func NewDeleteSloInstancesRequestListInner(sloId string, instanceId string) *DeleteSloInstancesRequestListInner

NewDeleteSloInstancesRequestListInner instantiates a new DeleteSloInstancesRequestListInner 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 NewDeleteSloInstancesRequestListInnerWithDefaults added in v0.11.0

func NewDeleteSloInstancesRequestListInnerWithDefaults() *DeleteSloInstancesRequestListInner

NewDeleteSloInstancesRequestListInnerWithDefaults instantiates a new DeleteSloInstancesRequestListInner 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 (*DeleteSloInstancesRequestListInner) GetInstanceId added in v0.11.0

func (o *DeleteSloInstancesRequestListInner) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*DeleteSloInstancesRequestListInner) GetInstanceIdOk added in v0.11.0

func (o *DeleteSloInstancesRequestListInner) GetInstanceIdOk() (*string, bool)

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

func (*DeleteSloInstancesRequestListInner) GetSloId added in v0.11.0

GetSloId returns the SloId field value

func (*DeleteSloInstancesRequestListInner) GetSloIdOk added in v0.11.0

func (o *DeleteSloInstancesRequestListInner) GetSloIdOk() (*string, bool)

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

func (DeleteSloInstancesRequestListInner) MarshalJSON added in v0.11.0

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

func (*DeleteSloInstancesRequestListInner) SetInstanceId added in v0.11.0

func (o *DeleteSloInstancesRequestListInner) SetInstanceId(v string)

SetInstanceId sets field value

func (*DeleteSloInstancesRequestListInner) SetSloId added in v0.11.0

SetSloId sets field value

func (DeleteSloInstancesRequestListInner) ToMap added in v0.11.0

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

type ErrorBudget

type ErrorBudget struct {
	// The initial error budget, as 1 - objective
	Initial float64 `json:"initial"`
	// The error budget consummed, as a percentage of the initial value.
	Consumed float64 `json:"consumed"`
	// The error budget remaining, as a percentage of the initial value.
	Remaining float64 `json:"remaining"`
	// Only for SLO defined with occurrences budgeting method and calendar aligned time window.
	IsEstimated bool `json:"isEstimated"`
}

ErrorBudget struct for ErrorBudget

func NewErrorBudget

func NewErrorBudget(initial float64, consumed float64, remaining float64, isEstimated bool) *ErrorBudget

NewErrorBudget instantiates a new ErrorBudget 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 NewErrorBudgetWithDefaults

func NewErrorBudgetWithDefaults() *ErrorBudget

NewErrorBudgetWithDefaults instantiates a new ErrorBudget 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 (*ErrorBudget) GetConsumed

func (o *ErrorBudget) GetConsumed() float64

GetConsumed returns the Consumed field value

func (*ErrorBudget) GetConsumedOk

func (o *ErrorBudget) GetConsumedOk() (*float64, bool)

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

func (*ErrorBudget) GetInitial

func (o *ErrorBudget) GetInitial() float64

GetInitial returns the Initial field value

func (*ErrorBudget) GetInitialOk

func (o *ErrorBudget) GetInitialOk() (*float64, bool)

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

func (*ErrorBudget) GetIsEstimated

func (o *ErrorBudget) GetIsEstimated() bool

GetIsEstimated returns the IsEstimated field value

func (*ErrorBudget) GetIsEstimatedOk

func (o *ErrorBudget) GetIsEstimatedOk() (*bool, bool)

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

func (*ErrorBudget) GetRemaining

func (o *ErrorBudget) GetRemaining() float64

GetRemaining returns the Remaining field value

func (*ErrorBudget) GetRemainingOk

func (o *ErrorBudget) GetRemainingOk() (*float64, bool)

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

func (ErrorBudget) MarshalJSON

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

func (*ErrorBudget) SetConsumed

func (o *ErrorBudget) SetConsumed(v float64)

SetConsumed sets field value

func (*ErrorBudget) SetInitial

func (o *ErrorBudget) SetInitial(v float64)

SetInitial sets field value

func (*ErrorBudget) SetIsEstimated

func (o *ErrorBudget) SetIsEstimated(v bool)

SetIsEstimated sets field value

func (*ErrorBudget) SetRemaining

func (o *ErrorBudget) SetRemaining(v float64)

SetRemaining sets field value

func (ErrorBudget) ToMap

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

type FindSloResponse

type FindSloResponse struct {
	Page    *float64      `json:"page,omitempty"`
	PerPage *float64      `json:"perPage,omitempty"`
	Total   *float64      `json:"total,omitempty"`
	Results []SloResponse `json:"results,omitempty"`
}

FindSloResponse A paginated response of SLOs matching the query.

func NewFindSloResponse

func NewFindSloResponse() *FindSloResponse

NewFindSloResponse instantiates a new FindSloResponse 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 NewFindSloResponseWithDefaults

func NewFindSloResponseWithDefaults() *FindSloResponse

NewFindSloResponseWithDefaults instantiates a new FindSloResponse 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 (*FindSloResponse) GetPage

func (o *FindSloResponse) GetPage() float64

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

func (*FindSloResponse) GetPageOk

func (o *FindSloResponse) GetPageOk() (*float64, 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 (*FindSloResponse) GetPerPage

func (o *FindSloResponse) GetPerPage() float64

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

func (*FindSloResponse) GetPerPageOk

func (o *FindSloResponse) GetPerPageOk() (*float64, 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 (*FindSloResponse) GetResults

func (o *FindSloResponse) GetResults() []SloResponse

GetResults returns the Results field value if set, zero value otherwise.

func (*FindSloResponse) GetResultsOk

func (o *FindSloResponse) GetResultsOk() ([]SloResponse, bool)

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

func (*FindSloResponse) GetTotal

func (o *FindSloResponse) GetTotal() float64

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

func (*FindSloResponse) GetTotalOk

func (o *FindSloResponse) GetTotalOk() (*float64, 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 (*FindSloResponse) HasPage

func (o *FindSloResponse) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*FindSloResponse) HasPerPage

func (o *FindSloResponse) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

func (*FindSloResponse) HasResults

func (o *FindSloResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*FindSloResponse) HasTotal

func (o *FindSloResponse) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (FindSloResponse) MarshalJSON

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

func (*FindSloResponse) SetPage

func (o *FindSloResponse) SetPage(v float64)

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

func (*FindSloResponse) SetPerPage

func (o *FindSloResponse) SetPerPage(v float64)

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

func (*FindSloResponse) SetResults

func (o *FindSloResponse) SetResults(v []SloResponse)

SetResults gets a reference to the given []SloResponse and assigns it to the Results field.

func (*FindSloResponse) SetTotal

func (o *FindSloResponse) SetTotal(v float64)

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

func (FindSloResponse) ToMap

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

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 HistoricalSummaryRequest

type HistoricalSummaryRequest struct {
	// The list of SLO identifiers to get the historical summary for
	List []string `json:"list"`
}

HistoricalSummaryRequest struct for HistoricalSummaryRequest

func NewHistoricalSummaryRequest

func NewHistoricalSummaryRequest(list []string) *HistoricalSummaryRequest

NewHistoricalSummaryRequest instantiates a new HistoricalSummaryRequest 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 NewHistoricalSummaryRequestWithDefaults

func NewHistoricalSummaryRequestWithDefaults() *HistoricalSummaryRequest

NewHistoricalSummaryRequestWithDefaults instantiates a new HistoricalSummaryRequest 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 (*HistoricalSummaryRequest) GetList added in v0.11.0

func (o *HistoricalSummaryRequest) GetList() []string

GetList returns the List field value

func (*HistoricalSummaryRequest) GetListOk added in v0.11.0

func (o *HistoricalSummaryRequest) GetListOk() ([]string, bool)

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

func (HistoricalSummaryRequest) MarshalJSON

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

func (*HistoricalSummaryRequest) SetList added in v0.11.0

func (o *HistoricalSummaryRequest) SetList(v []string)

SetList sets field value

func (HistoricalSummaryRequest) ToMap

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

type HistoricalSummaryResponseInner

type HistoricalSummaryResponseInner struct {
	Date        *string        `json:"date,omitempty"`
	Status      *SummaryStatus `json:"status,omitempty"`
	SliValue    *float64       `json:"sliValue,omitempty"`
	ErrorBudget *ErrorBudget   `json:"errorBudget,omitempty"`
}

HistoricalSummaryResponseInner struct for HistoricalSummaryResponseInner

func NewHistoricalSummaryResponseInner

func NewHistoricalSummaryResponseInner() *HistoricalSummaryResponseInner

NewHistoricalSummaryResponseInner instantiates a new HistoricalSummaryResponseInner 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 NewHistoricalSummaryResponseInnerWithDefaults

func NewHistoricalSummaryResponseInnerWithDefaults() *HistoricalSummaryResponseInner

NewHistoricalSummaryResponseInnerWithDefaults instantiates a new HistoricalSummaryResponseInner 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 (*HistoricalSummaryResponseInner) GetDate

GetDate returns the Date field value if set, zero value otherwise.

func (*HistoricalSummaryResponseInner) GetDateOk

func (o *HistoricalSummaryResponseInner) GetDateOk() (*string, bool)

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

func (*HistoricalSummaryResponseInner) GetErrorBudget

func (o *HistoricalSummaryResponseInner) GetErrorBudget() ErrorBudget

GetErrorBudget returns the ErrorBudget field value if set, zero value otherwise.

func (*HistoricalSummaryResponseInner) GetErrorBudgetOk

func (o *HistoricalSummaryResponseInner) GetErrorBudgetOk() (*ErrorBudget, bool)

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

func (*HistoricalSummaryResponseInner) GetSliValue

func (o *HistoricalSummaryResponseInner) GetSliValue() float64

GetSliValue returns the SliValue field value if set, zero value otherwise.

func (*HistoricalSummaryResponseInner) GetSliValueOk

func (o *HistoricalSummaryResponseInner) GetSliValueOk() (*float64, bool)

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

func (*HistoricalSummaryResponseInner) GetStatus

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

func (*HistoricalSummaryResponseInner) GetStatusOk

func (o *HistoricalSummaryResponseInner) GetStatusOk() (*SummaryStatus, 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 (*HistoricalSummaryResponseInner) HasDate

func (o *HistoricalSummaryResponseInner) HasDate() bool

HasDate returns a boolean if a field has been set.

func (*HistoricalSummaryResponseInner) HasErrorBudget

func (o *HistoricalSummaryResponseInner) HasErrorBudget() bool

HasErrorBudget returns a boolean if a field has been set.

func (*HistoricalSummaryResponseInner) HasSliValue

func (o *HistoricalSummaryResponseInner) HasSliValue() bool

HasSliValue returns a boolean if a field has been set.

func (*HistoricalSummaryResponseInner) HasStatus

func (o *HistoricalSummaryResponseInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HistoricalSummaryResponseInner) MarshalJSON

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

func (*HistoricalSummaryResponseInner) SetDate

func (o *HistoricalSummaryResponseInner) SetDate(v string)

SetDate gets a reference to the given string and assigns it to the Date field.

func (*HistoricalSummaryResponseInner) SetErrorBudget

func (o *HistoricalSummaryResponseInner) SetErrorBudget(v ErrorBudget)

SetErrorBudget gets a reference to the given ErrorBudget and assigns it to the ErrorBudget field.

func (*HistoricalSummaryResponseInner) SetSliValue

func (o *HistoricalSummaryResponseInner) SetSliValue(v float64)

SetSliValue gets a reference to the given float64 and assigns it to the SliValue field.

func (*HistoricalSummaryResponseInner) SetStatus

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

func (HistoricalSummaryResponseInner) ToMap

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

type IndicatorPropertiesApmAvailability

type IndicatorPropertiesApmAvailability struct {
	Params IndicatorPropertiesApmAvailabilityParams `json:"params"`
	// The type of indicator.
	Type string `json:"type"`
}

IndicatorPropertiesApmAvailability Defines properties for the APM availability indicator type

func NewIndicatorPropertiesApmAvailability

func NewIndicatorPropertiesApmAvailability(params IndicatorPropertiesApmAvailabilityParams, type_ string) *IndicatorPropertiesApmAvailability

NewIndicatorPropertiesApmAvailability instantiates a new IndicatorPropertiesApmAvailability 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 NewIndicatorPropertiesApmAvailabilityWithDefaults

func NewIndicatorPropertiesApmAvailabilityWithDefaults() *IndicatorPropertiesApmAvailability

NewIndicatorPropertiesApmAvailabilityWithDefaults instantiates a new IndicatorPropertiesApmAvailability 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 (*IndicatorPropertiesApmAvailability) GetParams

GetParams returns the Params field value

func (*IndicatorPropertiesApmAvailability) GetParamsOk

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

func (*IndicatorPropertiesApmAvailability) GetType

GetType returns the Type field value

func (*IndicatorPropertiesApmAvailability) GetTypeOk

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

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

func (IndicatorPropertiesApmAvailability) MarshalJSON

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

func (*IndicatorPropertiesApmAvailability) SetParams

SetParams sets field value

func (*IndicatorPropertiesApmAvailability) SetType

SetType sets field value

func (IndicatorPropertiesApmAvailability) ToMap

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

type IndicatorPropertiesApmAvailabilityParams

type IndicatorPropertiesApmAvailabilityParams struct {
	// The APM service name
	Service string `json:"service"`
	// The APM service environment or \"*\"
	Environment string `json:"environment"`
	// The APM transaction type or \"*\"
	TransactionType string `json:"transactionType"`
	// The APM transaction name or \"*\"
	TransactionName string `json:"transactionName"`
	// KQL query used for filtering the data
	Filter *string `json:"filter,omitempty"`
	// The index used by APM metrics
	Index string `json:"index"`
}

IndicatorPropertiesApmAvailabilityParams An object containing the indicator parameters.

func NewIndicatorPropertiesApmAvailabilityParams

func NewIndicatorPropertiesApmAvailabilityParams(service string, environment string, transactionType string, transactionName string, index string) *IndicatorPropertiesApmAvailabilityParams

NewIndicatorPropertiesApmAvailabilityParams instantiates a new IndicatorPropertiesApmAvailabilityParams 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 NewIndicatorPropertiesApmAvailabilityParamsWithDefaults

func NewIndicatorPropertiesApmAvailabilityParamsWithDefaults() *IndicatorPropertiesApmAvailabilityParams

NewIndicatorPropertiesApmAvailabilityParamsWithDefaults instantiates a new IndicatorPropertiesApmAvailabilityParams 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 (*IndicatorPropertiesApmAvailabilityParams) GetEnvironment

GetEnvironment returns the Environment field value

func (*IndicatorPropertiesApmAvailabilityParams) GetEnvironmentOk

func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironmentOk() (*string, bool)

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

func (*IndicatorPropertiesApmAvailabilityParams) GetFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesApmAvailabilityParams) GetFilterOk

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

func (*IndicatorPropertiesApmAvailabilityParams) GetIndex

GetIndex returns the Index field value

func (*IndicatorPropertiesApmAvailabilityParams) GetIndexOk

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

func (*IndicatorPropertiesApmAvailabilityParams) GetService

GetService returns the Service field value

func (*IndicatorPropertiesApmAvailabilityParams) GetServiceOk

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

func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionName

func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionName() string

GetTransactionName returns the TransactionName field value

func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionNameOk

func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionNameOk() (*string, bool)

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

func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionType

func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionType() string

GetTransactionType returns the TransactionType field value

func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionTypeOk

func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionTypeOk() (*string, bool)

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

func (*IndicatorPropertiesApmAvailabilityParams) HasFilter

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesApmAvailabilityParams) MarshalJSON

func (*IndicatorPropertiesApmAvailabilityParams) SetEnvironment

func (o *IndicatorPropertiesApmAvailabilityParams) SetEnvironment(v string)

SetEnvironment sets field value

func (*IndicatorPropertiesApmAvailabilityParams) SetFilter

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesApmAvailabilityParams) SetIndex

SetIndex sets field value

func (*IndicatorPropertiesApmAvailabilityParams) SetService

SetService sets field value

func (*IndicatorPropertiesApmAvailabilityParams) SetTransactionName

func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionName(v string)

SetTransactionName sets field value

func (*IndicatorPropertiesApmAvailabilityParams) SetTransactionType

func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionType(v string)

SetTransactionType sets field value

func (IndicatorPropertiesApmAvailabilityParams) ToMap

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

type IndicatorPropertiesApmLatency

type IndicatorPropertiesApmLatency struct {
	Params IndicatorPropertiesApmLatencyParams `json:"params"`
	// The type of indicator.
	Type string `json:"type"`
}

IndicatorPropertiesApmLatency Defines properties for the APM latency indicator type

func NewIndicatorPropertiesApmLatency

func NewIndicatorPropertiesApmLatency(params IndicatorPropertiesApmLatencyParams, type_ string) *IndicatorPropertiesApmLatency

NewIndicatorPropertiesApmLatency instantiates a new IndicatorPropertiesApmLatency 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 NewIndicatorPropertiesApmLatencyWithDefaults

func NewIndicatorPropertiesApmLatencyWithDefaults() *IndicatorPropertiesApmLatency

NewIndicatorPropertiesApmLatencyWithDefaults instantiates a new IndicatorPropertiesApmLatency 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 (*IndicatorPropertiesApmLatency) GetParams

GetParams returns the Params field value

func (*IndicatorPropertiesApmLatency) GetParamsOk

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

func (*IndicatorPropertiesApmLatency) GetType

GetType returns the Type field value

func (*IndicatorPropertiesApmLatency) GetTypeOk

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

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

func (IndicatorPropertiesApmLatency) MarshalJSON

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

func (*IndicatorPropertiesApmLatency) SetParams

SetParams sets field value

func (*IndicatorPropertiesApmLatency) SetType

func (o *IndicatorPropertiesApmLatency) SetType(v string)

SetType sets field value

func (IndicatorPropertiesApmLatency) ToMap

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

type IndicatorPropertiesApmLatencyParams

type IndicatorPropertiesApmLatencyParams struct {
	// The APM service name
	Service string `json:"service"`
	// The APM service environment or \"*\"
	Environment string `json:"environment"`
	// The APM transaction type or \"*\"
	TransactionType string `json:"transactionType"`
	// The APM transaction name or \"*\"
	TransactionName string `json:"transactionName"`
	// KQL query used for filtering the data
	Filter *string `json:"filter,omitempty"`
	// The index used by APM metrics
	Index string `json:"index"`
	// The latency threshold in milliseconds
	Threshold float64 `json:"threshold"`
}

IndicatorPropertiesApmLatencyParams An object containing the indicator parameters.

func NewIndicatorPropertiesApmLatencyParams

func NewIndicatorPropertiesApmLatencyParams(service string, environment string, transactionType string, transactionName string, index string, threshold float64) *IndicatorPropertiesApmLatencyParams

NewIndicatorPropertiesApmLatencyParams instantiates a new IndicatorPropertiesApmLatencyParams 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 NewIndicatorPropertiesApmLatencyParamsWithDefaults

func NewIndicatorPropertiesApmLatencyParamsWithDefaults() *IndicatorPropertiesApmLatencyParams

NewIndicatorPropertiesApmLatencyParamsWithDefaults instantiates a new IndicatorPropertiesApmLatencyParams 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 (*IndicatorPropertiesApmLatencyParams) GetEnvironment

func (o *IndicatorPropertiesApmLatencyParams) GetEnvironment() string

GetEnvironment returns the Environment field value

func (*IndicatorPropertiesApmLatencyParams) GetEnvironmentOk

func (o *IndicatorPropertiesApmLatencyParams) GetEnvironmentOk() (*string, bool)

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

func (*IndicatorPropertiesApmLatencyParams) GetFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesApmLatencyParams) GetFilterOk

func (o *IndicatorPropertiesApmLatencyParams) GetFilterOk() (*string, bool)

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

func (*IndicatorPropertiesApmLatencyParams) GetIndex

GetIndex returns the Index field value

func (*IndicatorPropertiesApmLatencyParams) GetIndexOk

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

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

func (*IndicatorPropertiesApmLatencyParams) GetService

GetService returns the Service field value

func (*IndicatorPropertiesApmLatencyParams) GetServiceOk

func (o *IndicatorPropertiesApmLatencyParams) GetServiceOk() (*string, bool)

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

func (*IndicatorPropertiesApmLatencyParams) GetThreshold added in v0.7.0

func (o *IndicatorPropertiesApmLatencyParams) GetThreshold() float64

GetThreshold returns the Threshold field value

func (*IndicatorPropertiesApmLatencyParams) GetThresholdOk added in v0.7.0

func (o *IndicatorPropertiesApmLatencyParams) GetThresholdOk() (*float64, bool)

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

func (*IndicatorPropertiesApmLatencyParams) GetTransactionName

func (o *IndicatorPropertiesApmLatencyParams) GetTransactionName() string

GetTransactionName returns the TransactionName field value

func (*IndicatorPropertiesApmLatencyParams) GetTransactionNameOk

func (o *IndicatorPropertiesApmLatencyParams) GetTransactionNameOk() (*string, bool)

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

func (*IndicatorPropertiesApmLatencyParams) GetTransactionType

func (o *IndicatorPropertiesApmLatencyParams) GetTransactionType() string

GetTransactionType returns the TransactionType field value

func (*IndicatorPropertiesApmLatencyParams) GetTransactionTypeOk

func (o *IndicatorPropertiesApmLatencyParams) GetTransactionTypeOk() (*string, bool)

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

func (*IndicatorPropertiesApmLatencyParams) HasFilter

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesApmLatencyParams) MarshalJSON

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

func (*IndicatorPropertiesApmLatencyParams) SetEnvironment

func (o *IndicatorPropertiesApmLatencyParams) SetEnvironment(v string)

SetEnvironment sets field value

func (*IndicatorPropertiesApmLatencyParams) SetFilter

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesApmLatencyParams) SetIndex

SetIndex sets field value

func (*IndicatorPropertiesApmLatencyParams) SetService

SetService sets field value

func (*IndicatorPropertiesApmLatencyParams) SetThreshold added in v0.7.0

func (o *IndicatorPropertiesApmLatencyParams) SetThreshold(v float64)

SetThreshold sets field value

func (*IndicatorPropertiesApmLatencyParams) SetTransactionName

func (o *IndicatorPropertiesApmLatencyParams) SetTransactionName(v string)

SetTransactionName sets field value

func (*IndicatorPropertiesApmLatencyParams) SetTransactionType

func (o *IndicatorPropertiesApmLatencyParams) SetTransactionType(v string)

SetTransactionType sets field value

func (IndicatorPropertiesApmLatencyParams) ToMap

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

type IndicatorPropertiesCustomKql

type IndicatorPropertiesCustomKql struct {
	Params IndicatorPropertiesCustomKqlParams `json:"params"`
	// The type of indicator.
	Type string `json:"type"`
}

IndicatorPropertiesCustomKql Defines properties for a custom KQL indicator type

func NewIndicatorPropertiesCustomKql

func NewIndicatorPropertiesCustomKql(params IndicatorPropertiesCustomKqlParams, type_ string) *IndicatorPropertiesCustomKql

NewIndicatorPropertiesCustomKql instantiates a new IndicatorPropertiesCustomKql 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 NewIndicatorPropertiesCustomKqlWithDefaults

func NewIndicatorPropertiesCustomKqlWithDefaults() *IndicatorPropertiesCustomKql

NewIndicatorPropertiesCustomKqlWithDefaults instantiates a new IndicatorPropertiesCustomKql 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 (*IndicatorPropertiesCustomKql) GetParams

GetParams returns the Params field value

func (*IndicatorPropertiesCustomKql) GetParamsOk

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

func (*IndicatorPropertiesCustomKql) GetType

func (o *IndicatorPropertiesCustomKql) GetType() string

GetType returns the Type field value

func (*IndicatorPropertiesCustomKql) GetTypeOk

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

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

func (IndicatorPropertiesCustomKql) MarshalJSON

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

func (*IndicatorPropertiesCustomKql) SetParams

SetParams sets field value

func (*IndicatorPropertiesCustomKql) SetType

func (o *IndicatorPropertiesCustomKql) SetType(v string)

SetType sets field value

func (IndicatorPropertiesCustomKql) ToMap

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

type IndicatorPropertiesCustomKqlParams

type IndicatorPropertiesCustomKqlParams struct {
	// The index or index pattern to use
	Index string `json:"index"`
	// the KQL query to filter the documents with.
	Filter *string `json:"filter,omitempty"`
	// the KQL query used to define the good events.
	Good string `json:"good"`
	// the KQL query used to define all events.
	Total string `json:"total"`
	// The timestamp field used in the source indice.
	TimestampField string `json:"timestampField"`
}

IndicatorPropertiesCustomKqlParams An object containing the indicator parameters.

func NewIndicatorPropertiesCustomKqlParams

func NewIndicatorPropertiesCustomKqlParams(index string, good string, total string, timestampField string) *IndicatorPropertiesCustomKqlParams

NewIndicatorPropertiesCustomKqlParams instantiates a new IndicatorPropertiesCustomKqlParams 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 NewIndicatorPropertiesCustomKqlParamsWithDefaults

func NewIndicatorPropertiesCustomKqlParamsWithDefaults() *IndicatorPropertiesCustomKqlParams

NewIndicatorPropertiesCustomKqlParamsWithDefaults instantiates a new IndicatorPropertiesCustomKqlParams 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 (*IndicatorPropertiesCustomKqlParams) GetFilter

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesCustomKqlParams) GetFilterOk

func (o *IndicatorPropertiesCustomKqlParams) GetFilterOk() (*string, bool)

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

func (*IndicatorPropertiesCustomKqlParams) GetGood

GetGood returns the Good field value

func (*IndicatorPropertiesCustomKqlParams) GetGoodOk

func (o *IndicatorPropertiesCustomKqlParams) GetGoodOk() (*string, bool)

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

func (*IndicatorPropertiesCustomKqlParams) GetIndex

GetIndex returns the Index field value

func (*IndicatorPropertiesCustomKqlParams) GetIndexOk

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

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

func (*IndicatorPropertiesCustomKqlParams) GetTimestampField

func (o *IndicatorPropertiesCustomKqlParams) GetTimestampField() string

GetTimestampField returns the TimestampField field value

func (*IndicatorPropertiesCustomKqlParams) GetTimestampFieldOk

func (o *IndicatorPropertiesCustomKqlParams) GetTimestampFieldOk() (*string, bool)

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

func (*IndicatorPropertiesCustomKqlParams) GetTotal

GetTotal returns the Total field value

func (*IndicatorPropertiesCustomKqlParams) GetTotalOk

func (o *IndicatorPropertiesCustomKqlParams) GetTotalOk() (*string, bool)

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

func (*IndicatorPropertiesCustomKqlParams) HasFilter

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesCustomKqlParams) MarshalJSON

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

func (*IndicatorPropertiesCustomKqlParams) SetFilter

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesCustomKqlParams) SetGood

SetGood sets field value

func (*IndicatorPropertiesCustomKqlParams) SetIndex

SetIndex sets field value

func (*IndicatorPropertiesCustomKqlParams) SetTimestampField

func (o *IndicatorPropertiesCustomKqlParams) SetTimestampField(v string)

SetTimestampField sets field value

func (*IndicatorPropertiesCustomKqlParams) SetTotal

SetTotal sets field value

func (IndicatorPropertiesCustomKqlParams) ToMap

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

type IndicatorPropertiesCustomMetric added in v0.7.0

type IndicatorPropertiesCustomMetric struct {
	Params IndicatorPropertiesCustomMetricParams `json:"params"`
	// The type of indicator.
	Type string `json:"type"`
}

IndicatorPropertiesCustomMetric Defines properties for a custom metric indicator type

func NewIndicatorPropertiesCustomMetric added in v0.7.0

func NewIndicatorPropertiesCustomMetric(params IndicatorPropertiesCustomMetricParams, type_ string) *IndicatorPropertiesCustomMetric

NewIndicatorPropertiesCustomMetric instantiates a new IndicatorPropertiesCustomMetric 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 NewIndicatorPropertiesCustomMetricWithDefaults added in v0.7.0

func NewIndicatorPropertiesCustomMetricWithDefaults() *IndicatorPropertiesCustomMetric

NewIndicatorPropertiesCustomMetricWithDefaults instantiates a new IndicatorPropertiesCustomMetric 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 (*IndicatorPropertiesCustomMetric) GetParams added in v0.7.0

GetParams returns the Params field value

func (*IndicatorPropertiesCustomMetric) GetParamsOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetric) GetType added in v0.7.0

GetType returns the Type field value

func (*IndicatorPropertiesCustomMetric) GetTypeOk added in v0.7.0

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

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

func (IndicatorPropertiesCustomMetric) MarshalJSON added in v0.7.0

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

func (*IndicatorPropertiesCustomMetric) SetParams added in v0.7.0

SetParams sets field value

func (*IndicatorPropertiesCustomMetric) SetType added in v0.7.0

SetType sets field value

func (IndicatorPropertiesCustomMetric) ToMap added in v0.7.0

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

type IndicatorPropertiesCustomMetricParams added in v0.7.0

type IndicatorPropertiesCustomMetricParams struct {
	// The index or index pattern to use
	Index string `json:"index"`
	// the KQL query to filter the documents with.
	Filter *string `json:"filter,omitempty"`
	// The timestamp field used in the source indice.
	TimestampField string                                     `json:"timestampField"`
	Good           IndicatorPropertiesCustomMetricParamsGood  `json:"good"`
	Total          IndicatorPropertiesCustomMetricParamsTotal `json:"total"`
}

IndicatorPropertiesCustomMetricParams An object containing the indicator parameters.

func NewIndicatorPropertiesCustomMetricParams added in v0.7.0

func NewIndicatorPropertiesCustomMetricParams(index string, timestampField string, good IndicatorPropertiesCustomMetricParamsGood, total IndicatorPropertiesCustomMetricParamsTotal) *IndicatorPropertiesCustomMetricParams

NewIndicatorPropertiesCustomMetricParams instantiates a new IndicatorPropertiesCustomMetricParams 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 NewIndicatorPropertiesCustomMetricParamsWithDefaults added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsWithDefaults() *IndicatorPropertiesCustomMetricParams

NewIndicatorPropertiesCustomMetricParamsWithDefaults instantiates a new IndicatorPropertiesCustomMetricParams 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 (*IndicatorPropertiesCustomMetricParams) GetFilter added in v0.7.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesCustomMetricParams) GetFilterOk added in v0.7.0

func (o *IndicatorPropertiesCustomMetricParams) GetFilterOk() (*string, bool)

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

func (*IndicatorPropertiesCustomMetricParams) GetGood added in v0.7.0

GetGood returns the Good field value

func (*IndicatorPropertiesCustomMetricParams) GetGoodOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParams) GetIndex added in v0.7.0

GetIndex returns the Index field value

func (*IndicatorPropertiesCustomMetricParams) GetIndexOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParams) GetTimestampField added in v0.7.0

func (o *IndicatorPropertiesCustomMetricParams) GetTimestampField() string

GetTimestampField returns the TimestampField field value

func (*IndicatorPropertiesCustomMetricParams) GetTimestampFieldOk added in v0.7.0

func (o *IndicatorPropertiesCustomMetricParams) GetTimestampFieldOk() (*string, bool)

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

func (*IndicatorPropertiesCustomMetricParams) GetTotal added in v0.7.0

GetTotal returns the Total field value

func (*IndicatorPropertiesCustomMetricParams) GetTotalOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParams) HasFilter added in v0.11.0

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesCustomMetricParams) MarshalJSON added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParams) SetFilter added in v0.7.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesCustomMetricParams) SetGood added in v0.7.0

SetGood sets field value

func (*IndicatorPropertiesCustomMetricParams) SetIndex added in v0.7.0

SetIndex sets field value

func (*IndicatorPropertiesCustomMetricParams) SetTimestampField added in v0.7.0

func (o *IndicatorPropertiesCustomMetricParams) SetTimestampField(v string)

SetTimestampField sets field value

func (*IndicatorPropertiesCustomMetricParams) SetTotal added in v0.7.0

SetTotal sets field value

func (IndicatorPropertiesCustomMetricParams) ToMap added in v0.7.0

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

type IndicatorPropertiesCustomMetricParamsGood added in v0.7.0

type IndicatorPropertiesCustomMetricParamsGood struct {
	// List of metrics with their name, aggregation type, and field.
	Metrics []IndicatorPropertiesCustomMetricParamsGoodMetricsInner `json:"metrics"`
	// The equation to calculate the \"good\" metric.
	Equation string `json:"equation"`
}

IndicatorPropertiesCustomMetricParamsGood An object defining the \"good\" metrics and equation

func NewIndicatorPropertiesCustomMetricParamsGood added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsGood(metrics []IndicatorPropertiesCustomMetricParamsGoodMetricsInner, equation string) *IndicatorPropertiesCustomMetricParamsGood

NewIndicatorPropertiesCustomMetricParamsGood instantiates a new IndicatorPropertiesCustomMetricParamsGood 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 NewIndicatorPropertiesCustomMetricParamsGoodWithDefaults added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsGoodWithDefaults() *IndicatorPropertiesCustomMetricParamsGood

NewIndicatorPropertiesCustomMetricParamsGoodWithDefaults instantiates a new IndicatorPropertiesCustomMetricParamsGood 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 (*IndicatorPropertiesCustomMetricParamsGood) GetEquation added in v0.7.0

GetEquation returns the Equation field value

func (*IndicatorPropertiesCustomMetricParamsGood) GetEquationOk added in v0.7.0

func (o *IndicatorPropertiesCustomMetricParamsGood) GetEquationOk() (*string, bool)

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

func (*IndicatorPropertiesCustomMetricParamsGood) GetMetrics added in v0.7.0

GetMetrics returns the Metrics field value

func (*IndicatorPropertiesCustomMetricParamsGood) GetMetricsOk added in v0.7.0

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

func (IndicatorPropertiesCustomMetricParamsGood) MarshalJSON added in v0.7.0

func (*IndicatorPropertiesCustomMetricParamsGood) SetEquation added in v0.7.0

SetEquation sets field value

func (*IndicatorPropertiesCustomMetricParamsGood) SetMetrics added in v0.7.0

SetMetrics sets field value

func (IndicatorPropertiesCustomMetricParamsGood) ToMap added in v0.7.0

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

type IndicatorPropertiesCustomMetricParamsGoodMetricsInner added in v0.7.0

type IndicatorPropertiesCustomMetricParamsGoodMetricsInner struct {
	// The name of the metric. Only valid options are A-Z
	Name string `json:"name"`
	// The aggregation type of the metric. Only valid option is \"sum\"
	Aggregation string `json:"aggregation"`
	// The field of the metric.
	Field string `json:"field"`
	// The filter to apply to the metric.
	Filter *string `json:"filter,omitempty"`
}

IndicatorPropertiesCustomMetricParamsGoodMetricsInner struct for IndicatorPropertiesCustomMetricParamsGoodMetricsInner

func NewIndicatorPropertiesCustomMetricParamsGoodMetricsInner added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsGoodMetricsInner(name string, aggregation string, field string) *IndicatorPropertiesCustomMetricParamsGoodMetricsInner

NewIndicatorPropertiesCustomMetricParamsGoodMetricsInner instantiates a new IndicatorPropertiesCustomMetricParamsGoodMetricsInner 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 NewIndicatorPropertiesCustomMetricParamsGoodMetricsInnerWithDefaults added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsGoodMetricsInnerWithDefaults() *IndicatorPropertiesCustomMetricParamsGoodMetricsInner

NewIndicatorPropertiesCustomMetricParamsGoodMetricsInnerWithDefaults instantiates a new IndicatorPropertiesCustomMetricParamsGoodMetricsInner 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 (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetAggregation added in v0.7.0

GetAggregation returns the Aggregation field value

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetAggregationOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetField added in v0.7.0

GetField returns the Field field value

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFieldOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFilter added in v0.7.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFilterOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetName added in v0.7.0

GetName returns the Name field value

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetNameOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) HasFilter added in v0.7.0

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON added in v0.7.0

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetAggregation added in v0.7.0

SetAggregation sets field value

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetField added in v0.7.0

SetField sets field value

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetFilter added in v0.7.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetName added in v0.7.0

SetName sets field value

func (IndicatorPropertiesCustomMetricParamsGoodMetricsInner) ToMap added in v0.7.0

type IndicatorPropertiesCustomMetricParamsTotal added in v0.7.0

type IndicatorPropertiesCustomMetricParamsTotal struct {
	// List of metrics with their name, aggregation type, and field.
	Metrics []IndicatorPropertiesCustomMetricParamsTotalMetricsInner `json:"metrics"`
	// The equation to calculate the \"total\" metric.
	Equation string `json:"equation"`
}

IndicatorPropertiesCustomMetricParamsTotal An object defining the \"total\" metrics and equation

func NewIndicatorPropertiesCustomMetricParamsTotal added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsTotal(metrics []IndicatorPropertiesCustomMetricParamsTotalMetricsInner, equation string) *IndicatorPropertiesCustomMetricParamsTotal

NewIndicatorPropertiesCustomMetricParamsTotal instantiates a new IndicatorPropertiesCustomMetricParamsTotal 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 NewIndicatorPropertiesCustomMetricParamsTotalWithDefaults added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsTotalWithDefaults() *IndicatorPropertiesCustomMetricParamsTotal

NewIndicatorPropertiesCustomMetricParamsTotalWithDefaults instantiates a new IndicatorPropertiesCustomMetricParamsTotal 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 (*IndicatorPropertiesCustomMetricParamsTotal) GetEquation added in v0.7.0

GetEquation returns the Equation field value

func (*IndicatorPropertiesCustomMetricParamsTotal) GetEquationOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsTotal) GetMetrics added in v0.7.0

GetMetrics returns the Metrics field value

func (*IndicatorPropertiesCustomMetricParamsTotal) GetMetricsOk added in v0.7.0

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

func (IndicatorPropertiesCustomMetricParamsTotal) MarshalJSON added in v0.7.0

func (*IndicatorPropertiesCustomMetricParamsTotal) SetEquation added in v0.7.0

SetEquation sets field value

func (*IndicatorPropertiesCustomMetricParamsTotal) SetMetrics added in v0.7.0

SetMetrics sets field value

func (IndicatorPropertiesCustomMetricParamsTotal) ToMap added in v0.7.0

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

type IndicatorPropertiesCustomMetricParamsTotalMetricsInner added in v0.7.0

type IndicatorPropertiesCustomMetricParamsTotalMetricsInner struct {
	// The name of the metric. Only valid options are A-Z
	Name string `json:"name"`
	// The aggregation type of the metric. Only valid option is \"sum\"
	Aggregation string `json:"aggregation"`
	// The field of the metric.
	Field string `json:"field"`
	// The filter to apply to the metric.
	Filter *string `json:"filter,omitempty"`
}

IndicatorPropertiesCustomMetricParamsTotalMetricsInner struct for IndicatorPropertiesCustomMetricParamsTotalMetricsInner

func NewIndicatorPropertiesCustomMetricParamsTotalMetricsInner added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsTotalMetricsInner(name string, aggregation string, field string) *IndicatorPropertiesCustomMetricParamsTotalMetricsInner

NewIndicatorPropertiesCustomMetricParamsTotalMetricsInner instantiates a new IndicatorPropertiesCustomMetricParamsTotalMetricsInner 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 NewIndicatorPropertiesCustomMetricParamsTotalMetricsInnerWithDefaults added in v0.7.0

func NewIndicatorPropertiesCustomMetricParamsTotalMetricsInnerWithDefaults() *IndicatorPropertiesCustomMetricParamsTotalMetricsInner

NewIndicatorPropertiesCustomMetricParamsTotalMetricsInnerWithDefaults instantiates a new IndicatorPropertiesCustomMetricParamsTotalMetricsInner 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 (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetAggregation added in v0.7.0

GetAggregation returns the Aggregation field value

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetAggregationOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetField added in v0.7.0

GetField returns the Field field value

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFieldOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFilter added in v0.7.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFilterOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetName added in v0.7.0

GetName returns the Name field value

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetNameOk added in v0.7.0

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

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) HasFilter added in v0.7.0

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON added in v0.7.0

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetAggregation added in v0.7.0

SetAggregation sets field value

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetField added in v0.7.0

SetField sets field value

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetFilter added in v0.7.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetName added in v0.7.0

SetName sets field value

func (IndicatorPropertiesCustomMetricParamsTotalMetricsInner) ToMap added in v0.7.0

type IndicatorPropertiesHistogram added in v0.7.0

type IndicatorPropertiesHistogram struct {
	Params IndicatorPropertiesHistogramParams `json:"params"`
	// The type of indicator.
	Type string `json:"type"`
}

IndicatorPropertiesHistogram Defines properties for a histogram indicator type

func NewIndicatorPropertiesHistogram added in v0.7.0

func NewIndicatorPropertiesHistogram(params IndicatorPropertiesHistogramParams, type_ string) *IndicatorPropertiesHistogram

NewIndicatorPropertiesHistogram instantiates a new IndicatorPropertiesHistogram 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 NewIndicatorPropertiesHistogramWithDefaults added in v0.7.0

func NewIndicatorPropertiesHistogramWithDefaults() *IndicatorPropertiesHistogram

NewIndicatorPropertiesHistogramWithDefaults instantiates a new IndicatorPropertiesHistogram 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 (*IndicatorPropertiesHistogram) GetParams added in v0.7.0

GetParams returns the Params field value

func (*IndicatorPropertiesHistogram) GetParamsOk added in v0.7.0

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

func (*IndicatorPropertiesHistogram) GetType added in v0.7.0

func (o *IndicatorPropertiesHistogram) GetType() string

GetType returns the Type field value

func (*IndicatorPropertiesHistogram) GetTypeOk added in v0.7.0

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

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

func (IndicatorPropertiesHistogram) MarshalJSON added in v0.7.0

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

func (*IndicatorPropertiesHistogram) SetParams added in v0.7.0

SetParams sets field value

func (*IndicatorPropertiesHistogram) SetType added in v0.7.0

func (o *IndicatorPropertiesHistogram) SetType(v string)

SetType sets field value

func (IndicatorPropertiesHistogram) ToMap added in v0.7.0

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

type IndicatorPropertiesHistogramParams added in v0.7.0

type IndicatorPropertiesHistogramParams struct {
	// The index or index pattern to use
	Index string `json:"index"`
	// the KQL query to filter the documents with.
	Filter *string `json:"filter,omitempty"`
	// The timestamp field used in the source indice.
	TimestampField string                                  `json:"timestampField"`
	Good           IndicatorPropertiesHistogramParamsGood  `json:"good"`
	Total          IndicatorPropertiesHistogramParamsTotal `json:"total"`
}

IndicatorPropertiesHistogramParams An object containing the indicator parameters.

func NewIndicatorPropertiesHistogramParams added in v0.7.0

func NewIndicatorPropertiesHistogramParams(index string, timestampField string, good IndicatorPropertiesHistogramParamsGood, total IndicatorPropertiesHistogramParamsTotal) *IndicatorPropertiesHistogramParams

NewIndicatorPropertiesHistogramParams instantiates a new IndicatorPropertiesHistogramParams 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 NewIndicatorPropertiesHistogramParamsWithDefaults added in v0.7.0

func NewIndicatorPropertiesHistogramParamsWithDefaults() *IndicatorPropertiesHistogramParams

NewIndicatorPropertiesHistogramParamsWithDefaults instantiates a new IndicatorPropertiesHistogramParams 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 (*IndicatorPropertiesHistogramParams) GetFilter added in v0.7.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesHistogramParams) GetFilterOk added in v0.7.0

func (o *IndicatorPropertiesHistogramParams) GetFilterOk() (*string, bool)

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

func (*IndicatorPropertiesHistogramParams) GetGood added in v0.7.0

GetGood returns the Good field value

func (*IndicatorPropertiesHistogramParams) GetGoodOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParams) GetIndex added in v0.7.0

GetIndex returns the Index field value

func (*IndicatorPropertiesHistogramParams) GetIndexOk added in v0.7.0

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

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

func (*IndicatorPropertiesHistogramParams) GetTimestampField added in v0.7.0

func (o *IndicatorPropertiesHistogramParams) GetTimestampField() string

GetTimestampField returns the TimestampField field value

func (*IndicatorPropertiesHistogramParams) GetTimestampFieldOk added in v0.7.0

func (o *IndicatorPropertiesHistogramParams) GetTimestampFieldOk() (*string, bool)

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

func (*IndicatorPropertiesHistogramParams) GetTotal added in v0.7.0

GetTotal returns the Total field value

func (*IndicatorPropertiesHistogramParams) GetTotalOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParams) HasFilter added in v0.7.0

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesHistogramParams) MarshalJSON added in v0.7.0

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

func (*IndicatorPropertiesHistogramParams) SetFilter added in v0.7.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesHistogramParams) SetGood added in v0.7.0

SetGood sets field value

func (*IndicatorPropertiesHistogramParams) SetIndex added in v0.7.0

SetIndex sets field value

func (*IndicatorPropertiesHistogramParams) SetTimestampField added in v0.7.0

func (o *IndicatorPropertiesHistogramParams) SetTimestampField(v string)

SetTimestampField sets field value

func (*IndicatorPropertiesHistogramParams) SetTotal added in v0.7.0

SetTotal sets field value

func (IndicatorPropertiesHistogramParams) ToMap added in v0.7.0

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

type IndicatorPropertiesHistogramParamsGood added in v0.7.0

type IndicatorPropertiesHistogramParamsGood struct {
	// The field use to aggregate the good events.
	Field string `json:"field"`
	// The type of aggregation to use.
	Aggregation string `json:"aggregation"`
	// The filter for good events.
	Filter *string `json:"filter,omitempty"`
	// The starting value of the range. Only required for \"range\" aggregations.
	From *float64 `json:"from,omitempty"`
	// The ending value of the range. Only required for \"range\" aggregations.
	To *float64 `json:"to,omitempty"`
}

IndicatorPropertiesHistogramParamsGood An object defining the \"good\" events

func NewIndicatorPropertiesHistogramParamsGood added in v0.7.0

func NewIndicatorPropertiesHistogramParamsGood(field string, aggregation string) *IndicatorPropertiesHistogramParamsGood

NewIndicatorPropertiesHistogramParamsGood instantiates a new IndicatorPropertiesHistogramParamsGood 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 NewIndicatorPropertiesHistogramParamsGoodWithDefaults added in v0.7.0

func NewIndicatorPropertiesHistogramParamsGoodWithDefaults() *IndicatorPropertiesHistogramParamsGood

NewIndicatorPropertiesHistogramParamsGoodWithDefaults instantiates a new IndicatorPropertiesHistogramParamsGood 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 (*IndicatorPropertiesHistogramParamsGood) GetAggregation added in v0.7.0

func (o *IndicatorPropertiesHistogramParamsGood) GetAggregation() string

GetAggregation returns the Aggregation field value

func (*IndicatorPropertiesHistogramParamsGood) GetAggregationOk added in v0.7.0

func (o *IndicatorPropertiesHistogramParamsGood) GetAggregationOk() (*string, bool)

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

func (*IndicatorPropertiesHistogramParamsGood) GetField added in v0.7.0

GetField returns the Field field value

func (*IndicatorPropertiesHistogramParamsGood) GetFieldOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsGood) GetFilter added in v0.7.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesHistogramParamsGood) GetFilterOk added in v0.7.0

func (o *IndicatorPropertiesHistogramParamsGood) GetFilterOk() (*string, bool)

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

func (*IndicatorPropertiesHistogramParamsGood) GetFrom added in v0.7.0

GetFrom returns the From field value if set, zero value otherwise.

func (*IndicatorPropertiesHistogramParamsGood) GetFromOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsGood) GetTo added in v0.7.0

GetTo returns the To field value if set, zero value otherwise.

func (*IndicatorPropertiesHistogramParamsGood) GetToOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsGood) HasFilter added in v0.7.0

HasFilter returns a boolean if a field has been set.

func (*IndicatorPropertiesHistogramParamsGood) HasFrom added in v0.7.0

HasFrom returns a boolean if a field has been set.

func (*IndicatorPropertiesHistogramParamsGood) HasTo added in v0.7.0

HasTo returns a boolean if a field has been set.

func (IndicatorPropertiesHistogramParamsGood) MarshalJSON added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsGood) SetAggregation added in v0.7.0

func (o *IndicatorPropertiesHistogramParamsGood) SetAggregation(v string)

SetAggregation sets field value

func (*IndicatorPropertiesHistogramParamsGood) SetField added in v0.7.0

SetField sets field value

func (*IndicatorPropertiesHistogramParamsGood) SetFilter added in v0.7.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesHistogramParamsGood) SetFrom added in v0.7.0

SetFrom gets a reference to the given float64 and assigns it to the From field.

func (*IndicatorPropertiesHistogramParamsGood) SetTo added in v0.7.0

SetTo gets a reference to the given float64 and assigns it to the To field.

func (IndicatorPropertiesHistogramParamsGood) ToMap added in v0.7.0

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

type IndicatorPropertiesHistogramParamsTotal added in v0.7.0

type IndicatorPropertiesHistogramParamsTotal struct {
	// The field use to aggregate the good events.
	Field string `json:"field"`
	// The type of aggregation to use.
	Aggregation string `json:"aggregation"`
	// The filter for total events.
	Filter *string `json:"filter,omitempty"`
	// The starting value of the range. Only required for \"range\" aggregations.
	From *float64 `json:"from,omitempty"`
	// The ending value of the range. Only required for \"range\" aggregations.
	To *float64 `json:"to,omitempty"`
}

IndicatorPropertiesHistogramParamsTotal An object defining the \"total\" events

func NewIndicatorPropertiesHistogramParamsTotal added in v0.7.0

func NewIndicatorPropertiesHistogramParamsTotal(field string, aggregation string) *IndicatorPropertiesHistogramParamsTotal

NewIndicatorPropertiesHistogramParamsTotal instantiates a new IndicatorPropertiesHistogramParamsTotal 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 NewIndicatorPropertiesHistogramParamsTotalWithDefaults added in v0.7.0

func NewIndicatorPropertiesHistogramParamsTotalWithDefaults() *IndicatorPropertiesHistogramParamsTotal

NewIndicatorPropertiesHistogramParamsTotalWithDefaults instantiates a new IndicatorPropertiesHistogramParamsTotal 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 (*IndicatorPropertiesHistogramParamsTotal) GetAggregation added in v0.7.0

func (o *IndicatorPropertiesHistogramParamsTotal) GetAggregation() string

GetAggregation returns the Aggregation field value

func (*IndicatorPropertiesHistogramParamsTotal) GetAggregationOk added in v0.7.0

func (o *IndicatorPropertiesHistogramParamsTotal) GetAggregationOk() (*string, bool)

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

func (*IndicatorPropertiesHistogramParamsTotal) GetField added in v0.7.0

GetField returns the Field field value

func (*IndicatorPropertiesHistogramParamsTotal) GetFieldOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsTotal) GetFilter added in v0.7.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesHistogramParamsTotal) GetFilterOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsTotal) GetFrom added in v0.7.0

GetFrom returns the From field value if set, zero value otherwise.

func (*IndicatorPropertiesHistogramParamsTotal) GetFromOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsTotal) GetTo added in v0.7.0

GetTo returns the To field value if set, zero value otherwise.

func (*IndicatorPropertiesHistogramParamsTotal) GetToOk added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsTotal) HasFilter added in v0.7.0

HasFilter returns a boolean if a field has been set.

func (*IndicatorPropertiesHistogramParamsTotal) HasFrom added in v0.7.0

HasFrom returns a boolean if a field has been set.

func (*IndicatorPropertiesHistogramParamsTotal) HasTo added in v0.7.0

HasTo returns a boolean if a field has been set.

func (IndicatorPropertiesHistogramParamsTotal) MarshalJSON added in v0.7.0

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

func (*IndicatorPropertiesHistogramParamsTotal) SetAggregation added in v0.7.0

func (o *IndicatorPropertiesHistogramParamsTotal) SetAggregation(v string)

SetAggregation sets field value

func (*IndicatorPropertiesHistogramParamsTotal) SetField added in v0.7.0

SetField sets field value

func (*IndicatorPropertiesHistogramParamsTotal) SetFilter added in v0.7.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesHistogramParamsTotal) SetFrom added in v0.7.0

SetFrom gets a reference to the given float64 and assigns it to the From field.

func (*IndicatorPropertiesHistogramParamsTotal) SetTo added in v0.7.0

SetTo gets a reference to the given float64 and assigns it to the To field.

func (IndicatorPropertiesHistogramParamsTotal) ToMap added in v0.7.0

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

type IndicatorPropertiesTimesliceMetric added in v0.11.0

type IndicatorPropertiesTimesliceMetric struct {
	Params IndicatorPropertiesTimesliceMetricParams `json:"params"`
	// The type of indicator.
	Type string `json:"type"`
}

IndicatorPropertiesTimesliceMetric Defines properties for a timeslice metric indicator type

func NewIndicatorPropertiesTimesliceMetric added in v0.11.0

func NewIndicatorPropertiesTimesliceMetric(params IndicatorPropertiesTimesliceMetricParams, type_ string) *IndicatorPropertiesTimesliceMetric

NewIndicatorPropertiesTimesliceMetric instantiates a new IndicatorPropertiesTimesliceMetric 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 NewIndicatorPropertiesTimesliceMetricWithDefaults added in v0.11.0

func NewIndicatorPropertiesTimesliceMetricWithDefaults() *IndicatorPropertiesTimesliceMetric

NewIndicatorPropertiesTimesliceMetricWithDefaults instantiates a new IndicatorPropertiesTimesliceMetric 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 (*IndicatorPropertiesTimesliceMetric) GetParams added in v0.11.0

GetParams returns the Params field value

func (*IndicatorPropertiesTimesliceMetric) GetParamsOk added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetric) GetType added in v0.11.0

GetType returns the Type field value

func (*IndicatorPropertiesTimesliceMetric) GetTypeOk added in v0.11.0

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

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

func (IndicatorPropertiesTimesliceMetric) MarshalJSON added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetric) SetParams added in v0.11.0

SetParams sets field value

func (*IndicatorPropertiesTimesliceMetric) SetType added in v0.11.0

SetType sets field value

func (IndicatorPropertiesTimesliceMetric) ToMap added in v0.11.0

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

type IndicatorPropertiesTimesliceMetricParams added in v0.11.0

type IndicatorPropertiesTimesliceMetricParams struct {
	// The index or index pattern to use
	Index string `json:"index"`
	// the KQL query to filter the documents with.
	Filter *string `json:"filter,omitempty"`
	// The timestamp field used in the source indice.
	TimestampField string                                         `json:"timestampField"`
	Metric         IndicatorPropertiesTimesliceMetricParamsMetric `json:"metric"`
}

IndicatorPropertiesTimesliceMetricParams An object containing the indicator parameters.

func NewIndicatorPropertiesTimesliceMetricParams added in v0.11.0

func NewIndicatorPropertiesTimesliceMetricParams(index string, timestampField string, metric IndicatorPropertiesTimesliceMetricParamsMetric) *IndicatorPropertiesTimesliceMetricParams

NewIndicatorPropertiesTimesliceMetricParams instantiates a new IndicatorPropertiesTimesliceMetricParams 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 NewIndicatorPropertiesTimesliceMetricParamsWithDefaults added in v0.11.0

func NewIndicatorPropertiesTimesliceMetricParamsWithDefaults() *IndicatorPropertiesTimesliceMetricParams

NewIndicatorPropertiesTimesliceMetricParamsWithDefaults instantiates a new IndicatorPropertiesTimesliceMetricParams 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 (*IndicatorPropertiesTimesliceMetricParams) GetFilter added in v0.11.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*IndicatorPropertiesTimesliceMetricParams) GetFilterOk added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetricParams) GetIndex added in v0.11.0

GetIndex returns the Index field value

func (*IndicatorPropertiesTimesliceMetricParams) GetIndexOk added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetricParams) GetMetric added in v0.11.0

GetMetric returns the Metric field value

func (*IndicatorPropertiesTimesliceMetricParams) GetMetricOk added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetricParams) GetTimestampField added in v0.11.0

func (o *IndicatorPropertiesTimesliceMetricParams) GetTimestampField() string

GetTimestampField returns the TimestampField field value

func (*IndicatorPropertiesTimesliceMetricParams) GetTimestampFieldOk added in v0.11.0

func (o *IndicatorPropertiesTimesliceMetricParams) GetTimestampFieldOk() (*string, bool)

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

func (*IndicatorPropertiesTimesliceMetricParams) HasFilter added in v0.11.0

HasFilter returns a boolean if a field has been set.

func (IndicatorPropertiesTimesliceMetricParams) MarshalJSON added in v0.11.0

func (*IndicatorPropertiesTimesliceMetricParams) SetFilter added in v0.11.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*IndicatorPropertiesTimesliceMetricParams) SetIndex added in v0.11.0

SetIndex sets field value

func (*IndicatorPropertiesTimesliceMetricParams) SetMetric added in v0.11.0

SetMetric sets field value

func (*IndicatorPropertiesTimesliceMetricParams) SetTimestampField added in v0.11.0

func (o *IndicatorPropertiesTimesliceMetricParams) SetTimestampField(v string)

SetTimestampField sets field value

func (IndicatorPropertiesTimesliceMetricParams) ToMap added in v0.11.0

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

type IndicatorPropertiesTimesliceMetricParamsMetric added in v0.11.0

type IndicatorPropertiesTimesliceMetricParamsMetric struct {
	// List of metrics with their name, aggregation type, and field.
	Metrics []IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner `json:"metrics"`
	// The equation to calculate the metric.
	Equation string `json:"equation"`
	// The comparator to use to compare the equation to the threshold.
	Comparator string `json:"comparator"`
	// The threshold used to determine if the metric is a good slice or not.
	Threshold float64 `json:"threshold"`
}

IndicatorPropertiesTimesliceMetricParamsMetric An object defining the metrics, equation, and threshold to determine if it's a good slice or not

func NewIndicatorPropertiesTimesliceMetricParamsMetric added in v0.11.0

func NewIndicatorPropertiesTimesliceMetricParamsMetric(metrics []IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner, equation string, comparator string, threshold float64) *IndicatorPropertiesTimesliceMetricParamsMetric

NewIndicatorPropertiesTimesliceMetricParamsMetric instantiates a new IndicatorPropertiesTimesliceMetricParamsMetric 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 NewIndicatorPropertiesTimesliceMetricParamsMetricWithDefaults added in v0.11.0

func NewIndicatorPropertiesTimesliceMetricParamsMetricWithDefaults() *IndicatorPropertiesTimesliceMetricParamsMetric

NewIndicatorPropertiesTimesliceMetricParamsMetricWithDefaults instantiates a new IndicatorPropertiesTimesliceMetricParamsMetric 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 (*IndicatorPropertiesTimesliceMetricParamsMetric) GetComparator added in v0.11.0

GetComparator returns the Comparator field value

func (*IndicatorPropertiesTimesliceMetricParamsMetric) GetComparatorOk added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetricParamsMetric) GetEquation added in v0.11.0

GetEquation returns the Equation field value

func (*IndicatorPropertiesTimesliceMetricParamsMetric) GetEquationOk added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetricParamsMetric) GetMetrics added in v0.11.0

GetMetrics returns the Metrics field value

func (*IndicatorPropertiesTimesliceMetricParamsMetric) GetMetricsOk added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetricParamsMetric) GetThreshold added in v0.11.0

GetThreshold returns the Threshold field value

func (*IndicatorPropertiesTimesliceMetricParamsMetric) GetThresholdOk added in v0.11.0

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

func (IndicatorPropertiesTimesliceMetricParamsMetric) MarshalJSON added in v0.11.0

func (*IndicatorPropertiesTimesliceMetricParamsMetric) SetComparator added in v0.11.0

SetComparator sets field value

func (*IndicatorPropertiesTimesliceMetricParamsMetric) SetEquation added in v0.11.0

SetEquation sets field value

func (*IndicatorPropertiesTimesliceMetricParamsMetric) SetMetrics added in v0.11.0

SetMetrics sets field value

func (*IndicatorPropertiesTimesliceMetricParamsMetric) SetThreshold added in v0.11.0

SetThreshold sets field value

func (IndicatorPropertiesTimesliceMetricParamsMetric) ToMap added in v0.11.0

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

type IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner added in v0.11.0

type IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner struct {
	TimesliceMetricBasicMetricWithField *TimesliceMetricBasicMetricWithField
	TimesliceMetricDocCountMetric       *TimesliceMetricDocCountMetric
	TimesliceMetricPercentileMetric     *TimesliceMetricPercentileMetric
}

IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner struct for IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner

func (*IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) MarshalJSON added in v0.11.0

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

func (*IndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) UnmarshalJSON added in v0.11.0

Unmarshal JSON data into any of the pointers in the struct

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type Model400Response added in v0.7.0

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

Model400Response struct for Model400Response

func NewModel400Response added in v0.7.0

func NewModel400Response(statusCode float64, error_ string, message string) *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.7.0

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

func (o *Model400Response) GetError() string

GetError returns the Error field value

func (*Model400Response) GetErrorOk added in v0.7.0

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

func (o *Model400Response) GetMessage() string

GetMessage returns the Message field value

func (*Model400Response) GetMessageOk added in v0.7.0

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

func (o *Model400Response) GetStatusCode() float64

GetStatusCode returns the StatusCode field value

func (*Model400Response) GetStatusCodeOk added in v0.7.0

func (o *Model400Response) GetStatusCodeOk() (*float64, 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.7.0

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

func (*Model400Response) SetError added in v0.7.0

func (o *Model400Response) SetError(v string)

SetError sets field value

func (*Model400Response) SetMessage added in v0.7.0

func (o *Model400Response) SetMessage(v string)

SetMessage sets field value

func (*Model400Response) SetStatusCode added in v0.7.0

func (o *Model400Response) SetStatusCode(v float64)

SetStatusCode sets field value

func (Model400Response) ToMap added in v0.7.0

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

type Model401Response added in v0.7.0

type Model401Response struct {
	StatusCode float64 `json:"statusCode"`
	Error      string  `json:"error"`
	Message    string  `json:"message"`
}

Model401Response struct for Model401Response

func NewModel401Response added in v0.7.0

func NewModel401Response(statusCode float64, error_ string, message string) *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 added in v0.7.0

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

func (o *Model401Response) GetError() string

GetError returns the Error field value

func (*Model401Response) GetErrorOk added in v0.7.0

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

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

func (*Model401Response) GetMessage added in v0.7.0

func (o *Model401Response) GetMessage() string

GetMessage returns the Message field value

func (*Model401Response) GetMessageOk added in v0.7.0

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

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

func (*Model401Response) GetStatusCode added in v0.7.0

func (o *Model401Response) GetStatusCode() float64

GetStatusCode returns the StatusCode field value

func (*Model401Response) GetStatusCodeOk added in v0.7.0

func (o *Model401Response) GetStatusCodeOk() (*float64, bool)

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

func (Model401Response) MarshalJSON added in v0.7.0

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

func (*Model401Response) SetError added in v0.7.0

func (o *Model401Response) SetError(v string)

SetError sets field value

func (*Model401Response) SetMessage added in v0.7.0

func (o *Model401Response) SetMessage(v string)

SetMessage sets field value

func (*Model401Response) SetStatusCode added in v0.7.0

func (o *Model401Response) SetStatusCode(v float64)

SetStatusCode sets field value

func (Model401Response) ToMap added in v0.7.0

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

type Model403Response added in v0.7.0

type Model403Response struct {
	StatusCode float64 `json:"statusCode"`
	Error      string  `json:"error"`
	Message    string  `json:"message"`
}

Model403Response struct for Model403Response

func NewModel403Response added in v0.7.0

func NewModel403Response(statusCode float64, error_ string, message string) *Model403Response

NewModel403Response instantiates a new Model403Response 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 NewModel403ResponseWithDefaults added in v0.7.0

func NewModel403ResponseWithDefaults() *Model403Response

NewModel403ResponseWithDefaults instantiates a new Model403Response 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 (*Model403Response) GetError added in v0.7.0

func (o *Model403Response) GetError() string

GetError returns the Error field value

func (*Model403Response) GetErrorOk added in v0.7.0

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

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

func (*Model403Response) GetMessage added in v0.7.0

func (o *Model403Response) GetMessage() string

GetMessage returns the Message field value

func (*Model403Response) GetMessageOk added in v0.7.0

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

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

func (*Model403Response) GetStatusCode added in v0.7.0

func (o *Model403Response) GetStatusCode() float64

GetStatusCode returns the StatusCode field value

func (*Model403Response) GetStatusCodeOk added in v0.7.0

func (o *Model403Response) GetStatusCodeOk() (*float64, bool)

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

func (Model403Response) MarshalJSON added in v0.7.0

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

func (*Model403Response) SetError added in v0.7.0

func (o *Model403Response) SetError(v string)

SetError sets field value

func (*Model403Response) SetMessage added in v0.7.0

func (o *Model403Response) SetMessage(v string)

SetMessage sets field value

func (*Model403Response) SetStatusCode added in v0.7.0

func (o *Model403Response) SetStatusCode(v float64)

SetStatusCode sets field value

func (Model403Response) ToMap added in v0.7.0

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

type Model404Response added in v0.7.0

type Model404Response struct {
	StatusCode float64 `json:"statusCode"`
	Error      string  `json:"error"`
	Message    string  `json:"message"`
}

Model404Response struct for Model404Response

func NewModel404Response added in v0.7.0

func NewModel404Response(statusCode float64, error_ string, message string) *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 added in v0.7.0

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

func (o *Model404Response) GetError() string

GetError returns the Error field value

func (*Model404Response) GetErrorOk added in v0.7.0

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

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

func (*Model404Response) GetMessage added in v0.7.0

func (o *Model404Response) GetMessage() string

GetMessage returns the Message field value

func (*Model404Response) GetMessageOk added in v0.7.0

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

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

func (*Model404Response) GetStatusCode added in v0.7.0

func (o *Model404Response) GetStatusCode() float64

GetStatusCode returns the StatusCode field value

func (*Model404Response) GetStatusCodeOk added in v0.7.0

func (o *Model404Response) GetStatusCodeOk() (*float64, bool)

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

func (Model404Response) MarshalJSON added in v0.7.0

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

func (*Model404Response) SetError added in v0.7.0

func (o *Model404Response) SetError(v string)

SetError sets field value

func (*Model404Response) SetMessage added in v0.7.0

func (o *Model404Response) SetMessage(v string)

SetMessage sets field value

func (*Model404Response) SetStatusCode added in v0.7.0

func (o *Model404Response) SetStatusCode(v float64)

SetStatusCode sets field value

func (Model404Response) ToMap added in v0.7.0

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

type Model409Response added in v0.7.0

type Model409Response struct {
	StatusCode float64 `json:"statusCode"`
	Error      string  `json:"error"`
	Message    string  `json:"message"`
}

Model409Response struct for Model409Response

func NewModel409Response added in v0.7.0

func NewModel409Response(statusCode float64, error_ string, message string) *Model409Response

NewModel409Response instantiates a new Model409Response 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 NewModel409ResponseWithDefaults added in v0.7.0

func NewModel409ResponseWithDefaults() *Model409Response

NewModel409ResponseWithDefaults instantiates a new Model409Response 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 (*Model409Response) GetError added in v0.7.0

func (o *Model409Response) GetError() string

GetError returns the Error field value

func (*Model409Response) GetErrorOk added in v0.7.0

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

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

func (*Model409Response) GetMessage added in v0.7.0

func (o *Model409Response) GetMessage() string

GetMessage returns the Message field value

func (*Model409Response) GetMessageOk added in v0.7.0

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

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

func (*Model409Response) GetStatusCode added in v0.7.0

func (o *Model409Response) GetStatusCode() float64

GetStatusCode returns the StatusCode field value

func (*Model409Response) GetStatusCodeOk added in v0.7.0

func (o *Model409Response) GetStatusCodeOk() (*float64, bool)

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

func (Model409Response) MarshalJSON added in v0.7.0

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

func (*Model409Response) SetError added in v0.7.0

func (o *Model409Response) SetError(v string)

SetError sets field value

func (*Model409Response) SetMessage added in v0.7.0

func (o *Model409Response) SetMessage(v string)

SetMessage sets field value

func (*Model409Response) SetStatusCode added in v0.7.0

func (o *Model409Response) SetStatusCode(v float64)

SetStatusCode sets field value

func (Model409Response) ToMap added in v0.7.0

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

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 NullableBudgetingMethod

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

func NewNullableBudgetingMethod

func NewNullableBudgetingMethod(val *BudgetingMethod) *NullableBudgetingMethod

func (NullableBudgetingMethod) Get

func (NullableBudgetingMethod) IsSet

func (v NullableBudgetingMethod) IsSet() bool

func (NullableBudgetingMethod) MarshalJSON

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

func (*NullableBudgetingMethod) Set

func (*NullableBudgetingMethod) UnmarshalJSON

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

func (*NullableBudgetingMethod) Unset

func (v *NullableBudgetingMethod) Unset()

type NullableCreateSloRequest

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

func NewNullableCreateSloRequest

func NewNullableCreateSloRequest(val *CreateSloRequest) *NullableCreateSloRequest

func (NullableCreateSloRequest) Get

func (NullableCreateSloRequest) IsSet

func (v NullableCreateSloRequest) IsSet() bool

func (NullableCreateSloRequest) MarshalJSON

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

func (*NullableCreateSloRequest) Set

func (*NullableCreateSloRequest) UnmarshalJSON

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

func (*NullableCreateSloRequest) Unset

func (v *NullableCreateSloRequest) Unset()

type NullableCreateSloRequestIndicator added in v0.7.0

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

func NewNullableCreateSloRequestIndicator added in v0.7.0

func NewNullableCreateSloRequestIndicator(val *CreateSloRequestIndicator) *NullableCreateSloRequestIndicator

func (NullableCreateSloRequestIndicator) Get added in v0.7.0

func (NullableCreateSloRequestIndicator) IsSet added in v0.7.0

func (NullableCreateSloRequestIndicator) MarshalJSON added in v0.7.0

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

func (*NullableCreateSloRequestIndicator) Set added in v0.7.0

func (*NullableCreateSloRequestIndicator) UnmarshalJSON added in v0.7.0

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

func (*NullableCreateSloRequestIndicator) Unset added in v0.7.0

type NullableCreateSloResponse

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

func NewNullableCreateSloResponse

func NewNullableCreateSloResponse(val *CreateSloResponse) *NullableCreateSloResponse

func (NullableCreateSloResponse) Get

func (NullableCreateSloResponse) IsSet

func (v NullableCreateSloResponse) IsSet() bool

func (NullableCreateSloResponse) MarshalJSON

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

func (*NullableCreateSloResponse) Set

func (*NullableCreateSloResponse) UnmarshalJSON

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

func (*NullableCreateSloResponse) Unset

func (v *NullableCreateSloResponse) Unset()

type NullableDeleteSloInstancesRequest added in v0.11.0

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

func NewNullableDeleteSloInstancesRequest added in v0.11.0

func NewNullableDeleteSloInstancesRequest(val *DeleteSloInstancesRequest) *NullableDeleteSloInstancesRequest

func (NullableDeleteSloInstancesRequest) Get added in v0.11.0

func (NullableDeleteSloInstancesRequest) IsSet added in v0.11.0

func (NullableDeleteSloInstancesRequest) MarshalJSON added in v0.11.0

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

func (*NullableDeleteSloInstancesRequest) Set added in v0.11.0

func (*NullableDeleteSloInstancesRequest) UnmarshalJSON added in v0.11.0

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

func (*NullableDeleteSloInstancesRequest) Unset added in v0.11.0

type NullableDeleteSloInstancesRequestListInner added in v0.11.0

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

func NewNullableDeleteSloInstancesRequestListInner added in v0.11.0

func NewNullableDeleteSloInstancesRequestListInner(val *DeleteSloInstancesRequestListInner) *NullableDeleteSloInstancesRequestListInner

func (NullableDeleteSloInstancesRequestListInner) Get added in v0.11.0

func (NullableDeleteSloInstancesRequestListInner) IsSet added in v0.11.0

func (NullableDeleteSloInstancesRequestListInner) MarshalJSON added in v0.11.0

func (*NullableDeleteSloInstancesRequestListInner) Set added in v0.11.0

func (*NullableDeleteSloInstancesRequestListInner) UnmarshalJSON added in v0.11.0

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

func (*NullableDeleteSloInstancesRequestListInner) Unset added in v0.11.0

type NullableErrorBudget

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

func NewNullableErrorBudget

func NewNullableErrorBudget(val *ErrorBudget) *NullableErrorBudget

func (NullableErrorBudget) Get

func (NullableErrorBudget) IsSet

func (v NullableErrorBudget) IsSet() bool

func (NullableErrorBudget) MarshalJSON

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

func (*NullableErrorBudget) Set

func (v *NullableErrorBudget) Set(val *ErrorBudget)

func (*NullableErrorBudget) UnmarshalJSON

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

func (*NullableErrorBudget) Unset

func (v *NullableErrorBudget) Unset()

type NullableFindSloResponse

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

func NewNullableFindSloResponse

func NewNullableFindSloResponse(val *FindSloResponse) *NullableFindSloResponse

func (NullableFindSloResponse) Get

func (NullableFindSloResponse) IsSet

func (v NullableFindSloResponse) IsSet() bool

func (NullableFindSloResponse) MarshalJSON

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

func (*NullableFindSloResponse) Set

func (*NullableFindSloResponse) UnmarshalJSON

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

func (*NullableFindSloResponse) Unset

func (v *NullableFindSloResponse) 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 NullableHistoricalSummaryRequest

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

func (NullableHistoricalSummaryRequest) Get

func (NullableHistoricalSummaryRequest) IsSet

func (NullableHistoricalSummaryRequest) MarshalJSON

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

func (*NullableHistoricalSummaryRequest) Set

func (*NullableHistoricalSummaryRequest) UnmarshalJSON

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

func (*NullableHistoricalSummaryRequest) Unset

type NullableHistoricalSummaryResponseInner

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

func (NullableHistoricalSummaryResponseInner) Get

func (NullableHistoricalSummaryResponseInner) IsSet

func (NullableHistoricalSummaryResponseInner) MarshalJSON

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

func (*NullableHistoricalSummaryResponseInner) Set

func (*NullableHistoricalSummaryResponseInner) UnmarshalJSON

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

func (*NullableHistoricalSummaryResponseInner) Unset

type NullableIndicatorPropertiesApmAvailability

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

func (NullableIndicatorPropertiesApmAvailability) Get

func (NullableIndicatorPropertiesApmAvailability) IsSet

func (NullableIndicatorPropertiesApmAvailability) MarshalJSON

func (*NullableIndicatorPropertiesApmAvailability) Set

func (*NullableIndicatorPropertiesApmAvailability) UnmarshalJSON

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

func (*NullableIndicatorPropertiesApmAvailability) Unset

type NullableIndicatorPropertiesApmAvailabilityParams

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

func (NullableIndicatorPropertiesApmAvailabilityParams) Get

func (NullableIndicatorPropertiesApmAvailabilityParams) IsSet

func (NullableIndicatorPropertiesApmAvailabilityParams) MarshalJSON

func (*NullableIndicatorPropertiesApmAvailabilityParams) Set

func (*NullableIndicatorPropertiesApmAvailabilityParams) UnmarshalJSON

func (*NullableIndicatorPropertiesApmAvailabilityParams) Unset

type NullableIndicatorPropertiesApmLatency

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

func (NullableIndicatorPropertiesApmLatency) Get

func (NullableIndicatorPropertiesApmLatency) IsSet

func (NullableIndicatorPropertiesApmLatency) MarshalJSON

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

func (*NullableIndicatorPropertiesApmLatency) Set

func (*NullableIndicatorPropertiesApmLatency) UnmarshalJSON

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

func (*NullableIndicatorPropertiesApmLatency) Unset

type NullableIndicatorPropertiesApmLatencyParams

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

func (NullableIndicatorPropertiesApmLatencyParams) Get

func (NullableIndicatorPropertiesApmLatencyParams) IsSet

func (NullableIndicatorPropertiesApmLatencyParams) MarshalJSON

func (*NullableIndicatorPropertiesApmLatencyParams) Set

func (*NullableIndicatorPropertiesApmLatencyParams) UnmarshalJSON

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

func (*NullableIndicatorPropertiesApmLatencyParams) Unset

type NullableIndicatorPropertiesCustomKql

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

func (NullableIndicatorPropertiesCustomKql) Get

func (NullableIndicatorPropertiesCustomKql) IsSet

func (NullableIndicatorPropertiesCustomKql) MarshalJSON

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

func (*NullableIndicatorPropertiesCustomKql) Set

func (*NullableIndicatorPropertiesCustomKql) UnmarshalJSON

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

func (*NullableIndicatorPropertiesCustomKql) Unset

type NullableIndicatorPropertiesCustomKqlParams

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

func (NullableIndicatorPropertiesCustomKqlParams) Get

func (NullableIndicatorPropertiesCustomKqlParams) IsSet

func (NullableIndicatorPropertiesCustomKqlParams) MarshalJSON

func (*NullableIndicatorPropertiesCustomKqlParams) Set

func (*NullableIndicatorPropertiesCustomKqlParams) UnmarshalJSON

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

func (*NullableIndicatorPropertiesCustomKqlParams) Unset

type NullableIndicatorPropertiesCustomMetric added in v0.7.0

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

func NewNullableIndicatorPropertiesCustomMetric added in v0.7.0

func NewNullableIndicatorPropertiesCustomMetric(val *IndicatorPropertiesCustomMetric) *NullableIndicatorPropertiesCustomMetric

func (NullableIndicatorPropertiesCustomMetric) Get added in v0.7.0

func (NullableIndicatorPropertiesCustomMetric) IsSet added in v0.7.0

func (NullableIndicatorPropertiesCustomMetric) MarshalJSON added in v0.7.0

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

func (*NullableIndicatorPropertiesCustomMetric) Set added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetric) UnmarshalJSON added in v0.7.0

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

func (*NullableIndicatorPropertiesCustomMetric) Unset added in v0.7.0

type NullableIndicatorPropertiesCustomMetricParams added in v0.7.0

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

func (NullableIndicatorPropertiesCustomMetricParams) Get added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParams) IsSet added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParams) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParams) Set added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParams) UnmarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParams) Unset added in v0.7.0

type NullableIndicatorPropertiesCustomMetricParamsGood added in v0.7.0

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

func (NullableIndicatorPropertiesCustomMetricParamsGood) Get added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsGood) IsSet added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsGood) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsGood) Set added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsGood) UnmarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsGood) Unset added in v0.7.0

type NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner added in v0.7.0

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

func (NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Get added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) IsSet added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Set added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) UnmarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Unset added in v0.7.0

type NullableIndicatorPropertiesCustomMetricParamsTotal added in v0.7.0

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

func (NullableIndicatorPropertiesCustomMetricParamsTotal) Get added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsTotal) IsSet added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsTotal) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsTotal) Set added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsTotal) UnmarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsTotal) Unset added in v0.7.0

type NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner added in v0.7.0

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

func (NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Get added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) IsSet added in v0.7.0

func (NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Set added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) UnmarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Unset added in v0.7.0

type NullableIndicatorPropertiesHistogram added in v0.7.0

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

func NewNullableIndicatorPropertiesHistogram added in v0.7.0

func NewNullableIndicatorPropertiesHistogram(val *IndicatorPropertiesHistogram) *NullableIndicatorPropertiesHistogram

func (NullableIndicatorPropertiesHistogram) Get added in v0.7.0

func (NullableIndicatorPropertiesHistogram) IsSet added in v0.7.0

func (NullableIndicatorPropertiesHistogram) MarshalJSON added in v0.7.0

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

func (*NullableIndicatorPropertiesHistogram) Set added in v0.7.0

func (*NullableIndicatorPropertiesHistogram) UnmarshalJSON added in v0.7.0

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

func (*NullableIndicatorPropertiesHistogram) Unset added in v0.7.0

type NullableIndicatorPropertiesHistogramParams added in v0.7.0

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

func NewNullableIndicatorPropertiesHistogramParams added in v0.7.0

func NewNullableIndicatorPropertiesHistogramParams(val *IndicatorPropertiesHistogramParams) *NullableIndicatorPropertiesHistogramParams

func (NullableIndicatorPropertiesHistogramParams) Get added in v0.7.0

func (NullableIndicatorPropertiesHistogramParams) IsSet added in v0.7.0

func (NullableIndicatorPropertiesHistogramParams) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParams) Set added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParams) UnmarshalJSON added in v0.7.0

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

func (*NullableIndicatorPropertiesHistogramParams) Unset added in v0.7.0

type NullableIndicatorPropertiesHistogramParamsGood added in v0.7.0

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

func (NullableIndicatorPropertiesHistogramParamsGood) Get added in v0.7.0

func (NullableIndicatorPropertiesHistogramParamsGood) IsSet added in v0.7.0

func (NullableIndicatorPropertiesHistogramParamsGood) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParamsGood) Set added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParamsGood) UnmarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParamsGood) Unset added in v0.7.0

type NullableIndicatorPropertiesHistogramParamsTotal added in v0.7.0

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

func (NullableIndicatorPropertiesHistogramParamsTotal) Get added in v0.7.0

func (NullableIndicatorPropertiesHistogramParamsTotal) IsSet added in v0.7.0

func (NullableIndicatorPropertiesHistogramParamsTotal) MarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParamsTotal) Set added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParamsTotal) UnmarshalJSON added in v0.7.0

func (*NullableIndicatorPropertiesHistogramParamsTotal) Unset added in v0.7.0

type NullableIndicatorPropertiesTimesliceMetric added in v0.11.0

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

func NewNullableIndicatorPropertiesTimesliceMetric added in v0.11.0

func NewNullableIndicatorPropertiesTimesliceMetric(val *IndicatorPropertiesTimesliceMetric) *NullableIndicatorPropertiesTimesliceMetric

func (NullableIndicatorPropertiesTimesliceMetric) Get added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetric) IsSet added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetric) MarshalJSON added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetric) Set added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetric) UnmarshalJSON added in v0.11.0

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

func (*NullableIndicatorPropertiesTimesliceMetric) Unset added in v0.11.0

type NullableIndicatorPropertiesTimesliceMetricParams added in v0.11.0

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

func (NullableIndicatorPropertiesTimesliceMetricParams) Get added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetricParams) IsSet added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetricParams) MarshalJSON added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParams) Set added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParams) UnmarshalJSON added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParams) Unset added in v0.11.0

type NullableIndicatorPropertiesTimesliceMetricParamsMetric added in v0.11.0

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

func (NullableIndicatorPropertiesTimesliceMetricParamsMetric) Get added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetricParamsMetric) IsSet added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetricParamsMetric) MarshalJSON added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParamsMetric) Set added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParamsMetric) UnmarshalJSON added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParamsMetric) Unset added in v0.11.0

type NullableIndicatorPropertiesTimesliceMetricParamsMetricMetricsInner added in v0.11.0

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

func (NullableIndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) Get added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) IsSet added in v0.11.0

func (NullableIndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) MarshalJSON added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) Set added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) UnmarshalJSON added in v0.11.0

func (*NullableIndicatorPropertiesTimesliceMetricParamsMetricMetricsInner) Unset added in v0.11.0

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

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

func NewNullableModel400Response added in v0.7.0

func NewNullableModel400Response(val *Model400Response) *NullableModel400Response

func (NullableModel400Response) Get added in v0.7.0

func (NullableModel400Response) IsSet added in v0.7.0

func (v NullableModel400Response) IsSet() bool

func (NullableModel400Response) MarshalJSON added in v0.7.0

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

func (*NullableModel400Response) Set added in v0.7.0

func (*NullableModel400Response) UnmarshalJSON added in v0.7.0

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

func (*NullableModel400Response) Unset added in v0.7.0

func (v *NullableModel400Response) Unset()

type NullableModel401Response added in v0.7.0

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

func NewNullableModel401Response added in v0.7.0

func NewNullableModel401Response(val *Model401Response) *NullableModel401Response

func (NullableModel401Response) Get added in v0.7.0

func (NullableModel401Response) IsSet added in v0.7.0

func (v NullableModel401Response) IsSet() bool

func (NullableModel401Response) MarshalJSON added in v0.7.0

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

func (*NullableModel401Response) Set added in v0.7.0

func (*NullableModel401Response) UnmarshalJSON added in v0.7.0

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

func (*NullableModel401Response) Unset added in v0.7.0

func (v *NullableModel401Response) Unset()

type NullableModel403Response added in v0.7.0

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

func NewNullableModel403Response added in v0.7.0

func NewNullableModel403Response(val *Model403Response) *NullableModel403Response

func (NullableModel403Response) Get added in v0.7.0

func (NullableModel403Response) IsSet added in v0.7.0

func (v NullableModel403Response) IsSet() bool

func (NullableModel403Response) MarshalJSON added in v0.7.0

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

func (*NullableModel403Response) Set added in v0.7.0

func (*NullableModel403Response) UnmarshalJSON added in v0.7.0

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

func (*NullableModel403Response) Unset added in v0.7.0

func (v *NullableModel403Response) Unset()

type NullableModel404Response added in v0.7.0

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

func NewNullableModel404Response added in v0.7.0

func NewNullableModel404Response(val *Model404Response) *NullableModel404Response

func (NullableModel404Response) Get added in v0.7.0

func (NullableModel404Response) IsSet added in v0.7.0

func (v NullableModel404Response) IsSet() bool

func (NullableModel404Response) MarshalJSON added in v0.7.0

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

func (*NullableModel404Response) Set added in v0.7.0

func (*NullableModel404Response) UnmarshalJSON added in v0.7.0

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

func (*NullableModel404Response) Unset added in v0.7.0

func (v *NullableModel404Response) Unset()

type NullableModel409Response added in v0.7.0

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

func NewNullableModel409Response added in v0.7.0

func NewNullableModel409Response(val *Model409Response) *NullableModel409Response

func (NullableModel409Response) Get added in v0.7.0

func (NullableModel409Response) IsSet added in v0.7.0

func (v NullableModel409Response) IsSet() bool

func (NullableModel409Response) MarshalJSON added in v0.7.0

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

func (*NullableModel409Response) Set added in v0.7.0

func (*NullableModel409Response) UnmarshalJSON added in v0.7.0

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

func (*NullableModel409Response) Unset added in v0.7.0

func (v *NullableModel409Response) Unset()

type NullableObjective

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

func NewNullableObjective

func NewNullableObjective(val *Objective) *NullableObjective

func (NullableObjective) Get

func (v NullableObjective) Get() *Objective

func (NullableObjective) IsSet

func (v NullableObjective) IsSet() bool

func (NullableObjective) MarshalJSON

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

func (*NullableObjective) Set

func (v *NullableObjective) Set(val *Objective)

func (*NullableObjective) UnmarshalJSON

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

func (*NullableObjective) Unset

func (v *NullableObjective) Unset()

type NullableSettings

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

func NewNullableSettings

func NewNullableSettings(val *Settings) *NullableSettings

func (NullableSettings) Get

func (v NullableSettings) Get() *Settings

func (NullableSettings) IsSet

func (v NullableSettings) IsSet() bool

func (NullableSettings) MarshalJSON

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

func (*NullableSettings) Set

func (v *NullableSettings) Set(val *Settings)

func (*NullableSettings) UnmarshalJSON

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

func (*NullableSettings) Unset

func (v *NullableSettings) Unset()

type NullableSloResponse

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

func NewNullableSloResponse

func NewNullableSloResponse(val *SloResponse) *NullableSloResponse

func (NullableSloResponse) Get

func (NullableSloResponse) IsSet

func (v NullableSloResponse) IsSet() bool

func (NullableSloResponse) MarshalJSON

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

func (*NullableSloResponse) Set

func (v *NullableSloResponse) Set(val *SloResponse)

func (*NullableSloResponse) UnmarshalJSON

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

func (*NullableSloResponse) Unset

func (v *NullableSloResponse) Unset()

type NullableSloResponseIndicator

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

func NewNullableSloResponseIndicator

func NewNullableSloResponseIndicator(val *SloResponseIndicator) *NullableSloResponseIndicator

func (NullableSloResponseIndicator) Get

func (NullableSloResponseIndicator) IsSet

func (NullableSloResponseIndicator) MarshalJSON

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

func (*NullableSloResponseIndicator) Set

func (*NullableSloResponseIndicator) UnmarshalJSON

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

func (*NullableSloResponseIndicator) Unset

func (v *NullableSloResponseIndicator) 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 NullableSummary

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

func NewNullableSummary

func NewNullableSummary(val *Summary) *NullableSummary

func (NullableSummary) Get

func (v NullableSummary) Get() *Summary

func (NullableSummary) IsSet

func (v NullableSummary) IsSet() bool

func (NullableSummary) MarshalJSON

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

func (*NullableSummary) Set

func (v *NullableSummary) Set(val *Summary)

func (*NullableSummary) UnmarshalJSON

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

func (*NullableSummary) Unset

func (v *NullableSummary) Unset()

type NullableSummaryStatus added in v0.7.0

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

func NewNullableSummaryStatus added in v0.7.0

func NewNullableSummaryStatus(val *SummaryStatus) *NullableSummaryStatus

func (NullableSummaryStatus) Get added in v0.7.0

func (NullableSummaryStatus) IsSet added in v0.7.0

func (v NullableSummaryStatus) IsSet() bool

func (NullableSummaryStatus) MarshalJSON added in v0.7.0

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

func (*NullableSummaryStatus) Set added in v0.7.0

func (v *NullableSummaryStatus) Set(val *SummaryStatus)

func (*NullableSummaryStatus) UnmarshalJSON added in v0.7.0

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

func (*NullableSummaryStatus) Unset added in v0.7.0

func (v *NullableSummaryStatus) 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 NullableTimeWindow added in v0.7.0

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

func NewNullableTimeWindow added in v0.7.0

func NewNullableTimeWindow(val *TimeWindow) *NullableTimeWindow

func (NullableTimeWindow) Get added in v0.7.0

func (v NullableTimeWindow) Get() *TimeWindow

func (NullableTimeWindow) IsSet added in v0.7.0

func (v NullableTimeWindow) IsSet() bool

func (NullableTimeWindow) MarshalJSON added in v0.7.0

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

func (*NullableTimeWindow) Set added in v0.7.0

func (v *NullableTimeWindow) Set(val *TimeWindow)

func (*NullableTimeWindow) UnmarshalJSON added in v0.7.0

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

func (*NullableTimeWindow) Unset added in v0.7.0

func (v *NullableTimeWindow) Unset()

type NullableTimesliceMetricBasicMetricWithField added in v0.11.0

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

func NewNullableTimesliceMetricBasicMetricWithField added in v0.11.0

func NewNullableTimesliceMetricBasicMetricWithField(val *TimesliceMetricBasicMetricWithField) *NullableTimesliceMetricBasicMetricWithField

func (NullableTimesliceMetricBasicMetricWithField) Get added in v0.11.0

func (NullableTimesliceMetricBasicMetricWithField) IsSet added in v0.11.0

func (NullableTimesliceMetricBasicMetricWithField) MarshalJSON added in v0.11.0

func (*NullableTimesliceMetricBasicMetricWithField) Set added in v0.11.0

func (*NullableTimesliceMetricBasicMetricWithField) UnmarshalJSON added in v0.11.0

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

func (*NullableTimesliceMetricBasicMetricWithField) Unset added in v0.11.0

type NullableTimesliceMetricDocCountMetric added in v0.11.0

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

func NewNullableTimesliceMetricDocCountMetric added in v0.11.0

func NewNullableTimesliceMetricDocCountMetric(val *TimesliceMetricDocCountMetric) *NullableTimesliceMetricDocCountMetric

func (NullableTimesliceMetricDocCountMetric) Get added in v0.11.0

func (NullableTimesliceMetricDocCountMetric) IsSet added in v0.11.0

func (NullableTimesliceMetricDocCountMetric) MarshalJSON added in v0.11.0

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

func (*NullableTimesliceMetricDocCountMetric) Set added in v0.11.0

func (*NullableTimesliceMetricDocCountMetric) UnmarshalJSON added in v0.11.0

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

func (*NullableTimesliceMetricDocCountMetric) Unset added in v0.11.0

type NullableTimesliceMetricPercentileMetric added in v0.11.0

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

func NewNullableTimesliceMetricPercentileMetric added in v0.11.0

func NewNullableTimesliceMetricPercentileMetric(val *TimesliceMetricPercentileMetric) *NullableTimesliceMetricPercentileMetric

func (NullableTimesliceMetricPercentileMetric) Get added in v0.11.0

func (NullableTimesliceMetricPercentileMetric) IsSet added in v0.11.0

func (NullableTimesliceMetricPercentileMetric) MarshalJSON added in v0.11.0

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

func (*NullableTimesliceMetricPercentileMetric) Set added in v0.11.0

func (*NullableTimesliceMetricPercentileMetric) UnmarshalJSON added in v0.11.0

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

func (*NullableTimesliceMetricPercentileMetric) Unset added in v0.11.0

type NullableUpdateSloRequest

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

func NewNullableUpdateSloRequest

func NewNullableUpdateSloRequest(val *UpdateSloRequest) *NullableUpdateSloRequest

func (NullableUpdateSloRequest) Get

func (NullableUpdateSloRequest) IsSet

func (v NullableUpdateSloRequest) IsSet() bool

func (NullableUpdateSloRequest) MarshalJSON

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

func (*NullableUpdateSloRequest) Set

func (*NullableUpdateSloRequest) UnmarshalJSON

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

func (*NullableUpdateSloRequest) Unset

func (v *NullableUpdateSloRequest) Unset()

type Objective

type Objective struct {
	// the target objective between 0 and 1 excluded
	Target float64 `json:"target"`
	// the target objective for each slice when using a timeslices budgeting method
	TimesliceTarget *float64 `json:"timesliceTarget,omitempty"`
	// the duration of each slice when using a timeslices budgeting method, as {duraton}{unit}
	TimesliceWindow *string `json:"timesliceWindow,omitempty"`
}

Objective Defines properties for the SLO objective

func NewObjective

func NewObjective(target float64) *Objective

NewObjective instantiates a new Objective 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 NewObjectiveWithDefaults

func NewObjectiveWithDefaults() *Objective

NewObjectiveWithDefaults instantiates a new Objective 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 (*Objective) GetTarget

func (o *Objective) GetTarget() float64

GetTarget returns the Target field value

func (*Objective) GetTargetOk

func (o *Objective) GetTargetOk() (*float64, bool)

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

func (*Objective) GetTimesliceTarget added in v0.7.0

func (o *Objective) GetTimesliceTarget() float64

GetTimesliceTarget returns the TimesliceTarget field value if set, zero value otherwise.

func (*Objective) GetTimesliceTargetOk added in v0.7.0

func (o *Objective) GetTimesliceTargetOk() (*float64, bool)

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

func (*Objective) GetTimesliceWindow added in v0.7.0

func (o *Objective) GetTimesliceWindow() string

GetTimesliceWindow returns the TimesliceWindow field value if set, zero value otherwise.

func (*Objective) GetTimesliceWindowOk added in v0.7.0

func (o *Objective) GetTimesliceWindowOk() (*string, bool)

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

func (*Objective) HasTimesliceTarget added in v0.7.0

func (o *Objective) HasTimesliceTarget() bool

HasTimesliceTarget returns a boolean if a field has been set.

func (*Objective) HasTimesliceWindow added in v0.7.0

func (o *Objective) HasTimesliceWindow() bool

HasTimesliceWindow returns a boolean if a field has been set.

func (Objective) MarshalJSON

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

func (*Objective) SetTarget

func (o *Objective) SetTarget(v float64)

SetTarget sets field value

func (*Objective) SetTimesliceTarget added in v0.7.0

func (o *Objective) SetTimesliceTarget(v float64)

SetTimesliceTarget gets a reference to the given float64 and assigns it to the TimesliceTarget field.

func (*Objective) SetTimesliceWindow added in v0.7.0

func (o *Objective) SetTimesliceWindow(v string)

SetTimesliceWindow gets a reference to the given string and assigns it to the TimesliceWindow field.

func (Objective) ToMap

func (o Objective) 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 Settings

type Settings struct {
	// The synch delay to apply to the transform. Default 1m
	SyncDelay *string `json:"syncDelay,omitempty"`
	// Configure how often the transform runs, default 1m
	Frequency *string `json:"frequency,omitempty"`
}

Settings Defines properties for SLO settings.

func NewSettings

func NewSettings() *Settings

NewSettings instantiates a new Settings 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 NewSettingsWithDefaults

func NewSettingsWithDefaults() *Settings

NewSettingsWithDefaults instantiates a new Settings 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 (*Settings) GetFrequency

func (o *Settings) GetFrequency() string

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

func (*Settings) GetFrequencyOk

func (o *Settings) GetFrequencyOk() (*string, 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 (*Settings) GetSyncDelay

func (o *Settings) GetSyncDelay() string

GetSyncDelay returns the SyncDelay field value if set, zero value otherwise.

func (*Settings) GetSyncDelayOk

func (o *Settings) GetSyncDelayOk() (*string, bool)

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

func (*Settings) HasFrequency

func (o *Settings) HasFrequency() bool

HasFrequency returns a boolean if a field has been set.

func (*Settings) HasSyncDelay

func (o *Settings) HasSyncDelay() bool

HasSyncDelay returns a boolean if a field has been set.

func (Settings) MarshalJSON

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

func (*Settings) SetFrequency

func (o *Settings) SetFrequency(v string)

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

func (*Settings) SetSyncDelay

func (o *Settings) SetSyncDelay(v string)

SetSyncDelay gets a reference to the given string and assigns it to the SyncDelay field.

func (Settings) ToMap

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

type SloAPI added in v0.7.0

type SloAPI interface {

	/*
		CreateSloOp Creates an SLO.

		You must have `all` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 ApiCreateSloOpRequest
	*/
	CreateSloOp(ctx context.Context, spaceId string) ApiCreateSloOpRequest

	// CreateSloOpExecute executes the request
	//  @return CreateSloResponse
	CreateSloOpExecute(r ApiCreateSloOpRequest) (*CreateSloResponse, *http.Response, error)

	/*
		DeleteSloInstancesOp Batch delete rollup and summary data for the matching list of sloId and instanceId

		You must have `all` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 ApiDeleteSloInstancesOpRequest
	*/
	DeleteSloInstancesOp(ctx context.Context, spaceId string) ApiDeleteSloInstancesOpRequest

	// DeleteSloInstancesOpExecute executes the request
	DeleteSloInstancesOpExecute(r ApiDeleteSloInstancesOpRequest) (*http.Response, error)

	/*
		DeleteSloOp Deletes an SLO

		You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 sloId An identifier for the slo.
		@return ApiDeleteSloOpRequest
	*/
	DeleteSloOp(ctx context.Context, spaceId string, sloId string) ApiDeleteSloOpRequest

	// DeleteSloOpExecute executes the request
	DeleteSloOpExecute(r ApiDeleteSloOpRequest) (*http.Response, error)

	/*
		DisableSloOp Disables an SLO

		You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 sloId An identifier for the slo.
		@return ApiDisableSloOpRequest
	*/
	DisableSloOp(ctx context.Context, spaceId string, sloId string) ApiDisableSloOpRequest

	// DisableSloOpExecute executes the request
	DisableSloOpExecute(r ApiDisableSloOpRequest) (*http.Response, error)

	/*
		EnableSloOp Enables an SLO

		You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 sloId An identifier for the slo.
		@return ApiEnableSloOpRequest
	*/
	EnableSloOp(ctx context.Context, spaceId string, sloId string) ApiEnableSloOpRequest

	// EnableSloOpExecute executes the request
	EnableSloOpExecute(r ApiEnableSloOpRequest) (*http.Response, error)

	/*
		FindSlosOp Retrieves a paginated list of SLOs

		You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 ApiFindSlosOpRequest
	*/
	FindSlosOp(ctx context.Context, spaceId string) ApiFindSlosOpRequest

	// FindSlosOpExecute executes the request
	//  @return FindSloResponse
	FindSlosOpExecute(r ApiFindSlosOpRequest) (*FindSloResponse, *http.Response, error)

	/*
		GetSloOp Retrieves a SLO

		You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 sloId An identifier for the slo.
		@return ApiGetSloOpRequest
	*/
	GetSloOp(ctx context.Context, spaceId string, sloId string) ApiGetSloOpRequest

	// GetSloOpExecute executes the request
	//  @return SloResponse
	GetSloOpExecute(r ApiGetSloOpRequest) (*SloResponse, *http.Response, error)

	/*
		HistoricalSummaryOp Retrieves the historical summary for a list of SLOs

		You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 ApiHistoricalSummaryOpRequest
	*/
	HistoricalSummaryOp(ctx context.Context, spaceId string) ApiHistoricalSummaryOpRequest

	// HistoricalSummaryOpExecute executes the request
	//  @return map[string][]HistoricalSummaryResponseInner
	HistoricalSummaryOpExecute(r ApiHistoricalSummaryOpRequest) (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)

	/*
		UpdateSloOp Updates an SLO

		You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.


		@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 sloId An identifier for the slo.
		@return ApiUpdateSloOpRequest
	*/
	UpdateSloOp(ctx context.Context, spaceId string, sloId string) ApiUpdateSloOpRequest

	// UpdateSloOpExecute executes the request
	//  @return SloResponse
	UpdateSloOpExecute(r ApiUpdateSloOpRequest) (*SloResponse, *http.Response, error)
}

type SloAPIService added in v0.7.0

type SloAPIService service

SloAPIService SloAPI service

func (*SloAPIService) CreateSloOp added in v0.7.0

func (a *SloAPIService) CreateSloOp(ctx context.Context, spaceId string) ApiCreateSloOpRequest

CreateSloOp Creates an SLO.

You must have `all` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

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

func (*SloAPIService) CreateSloOpExecute added in v0.7.0

Execute executes the request

@return CreateSloResponse

func (*SloAPIService) DeleteSloInstancesOp added in v0.11.0

func (a *SloAPIService) DeleteSloInstancesOp(ctx context.Context, spaceId string) ApiDeleteSloInstancesOpRequest

DeleteSloInstancesOp Batch delete rollup and summary data for the matching list of sloId and instanceId

You must have `all` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

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

func (*SloAPIService) DeleteSloInstancesOpExecute added in v0.11.0

func (a *SloAPIService) DeleteSloInstancesOpExecute(r ApiDeleteSloInstancesOpRequest) (*http.Response, error)

Execute executes the request

func (*SloAPIService) DeleteSloOp added in v0.7.0

func (a *SloAPIService) DeleteSloOp(ctx context.Context, spaceId string, sloId string) ApiDeleteSloOpRequest

DeleteSloOp Deletes an SLO

You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

@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 sloId An identifier for the slo.
@return ApiDeleteSloOpRequest

func (*SloAPIService) DeleteSloOpExecute added in v0.7.0

func (a *SloAPIService) DeleteSloOpExecute(r ApiDeleteSloOpRequest) (*http.Response, error)

Execute executes the request

func (*SloAPIService) DisableSloOp added in v0.7.0

func (a *SloAPIService) DisableSloOp(ctx context.Context, spaceId string, sloId string) ApiDisableSloOpRequest

DisableSloOp Disables an SLO

You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

@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 sloId An identifier for the slo.
@return ApiDisableSloOpRequest

func (*SloAPIService) DisableSloOpExecute added in v0.7.0

func (a *SloAPIService) DisableSloOpExecute(r ApiDisableSloOpRequest) (*http.Response, error)

Execute executes the request

func (*SloAPIService) EnableSloOp added in v0.7.0

func (a *SloAPIService) EnableSloOp(ctx context.Context, spaceId string, sloId string) ApiEnableSloOpRequest

EnableSloOp Enables an SLO

You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

@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 sloId An identifier for the slo.
@return ApiEnableSloOpRequest

func (*SloAPIService) EnableSloOpExecute added in v0.7.0

func (a *SloAPIService) EnableSloOpExecute(r ApiEnableSloOpRequest) (*http.Response, error)

Execute executes the request

func (*SloAPIService) FindSlosOp added in v0.7.0

func (a *SloAPIService) FindSlosOp(ctx context.Context, spaceId string) ApiFindSlosOpRequest

FindSlosOp Retrieves a paginated list of SLOs

You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

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

func (*SloAPIService) FindSlosOpExecute added in v0.7.0

func (a *SloAPIService) FindSlosOpExecute(r ApiFindSlosOpRequest) (*FindSloResponse, *http.Response, error)

Execute executes the request

@return FindSloResponse

func (*SloAPIService) GetSloOp added in v0.7.0

func (a *SloAPIService) GetSloOp(ctx context.Context, spaceId string, sloId string) ApiGetSloOpRequest

GetSloOp Retrieves a SLO

You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

@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 sloId An identifier for the slo.
@return ApiGetSloOpRequest

func (*SloAPIService) GetSloOpExecute added in v0.7.0

func (a *SloAPIService) GetSloOpExecute(r ApiGetSloOpRequest) (*SloResponse, *http.Response, error)

Execute executes the request

@return SloResponse

func (*SloAPIService) HistoricalSummaryOp added in v0.7.0

func (a *SloAPIService) HistoricalSummaryOp(ctx context.Context, spaceId string) ApiHistoricalSummaryOpRequest

HistoricalSummaryOp Retrieves the historical summary for a list of SLOs

You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

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

func (*SloAPIService) HistoricalSummaryOpExecute added in v0.7.0

Execute executes the request

@return map[string][]HistoricalSummaryResponseInner

func (*SloAPIService) UpdateSloOp added in v0.7.0

func (a *SloAPIService) UpdateSloOp(ctx context.Context, spaceId string, sloId string) ApiUpdateSloOpRequest

UpdateSloOp Updates an SLO

You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.

@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 sloId An identifier for the slo.
@return ApiUpdateSloOpRequest

func (*SloAPIService) UpdateSloOpExecute added in v0.7.0

func (a *SloAPIService) UpdateSloOpExecute(r ApiUpdateSloOpRequest) (*SloResponse, *http.Response, error)

Execute executes the request

@return SloResponse

type SloResponse

type SloResponse struct {
	// The identifier of the SLO.
	Id string `json:"id"`
	// The name of the SLO.
	Name string `json:"name"`
	// The description of the SLO.
	Description     string               `json:"description"`
	Indicator       SloResponseIndicator `json:"indicator"`
	TimeWindow      TimeWindow           `json:"timeWindow"`
	BudgetingMethod BudgetingMethod      `json:"budgetingMethod"`
	Objective       Objective            `json:"objective"`
	Settings        Settings             `json:"settings"`
	// The SLO revision
	Revision float64 `json:"revision"`
	Summary  Summary `json:"summary"`
	// Indicate if the SLO is enabled
	Enabled bool `json:"enabled"`
	// optional group by field to use to generate an SLO per distinct value
	GroupBy string `json:"groupBy"`
	// the value derived from the groupBy field, if present, otherwise '*'
	InstanceId string `json:"instanceId"`
	// List of tags
	Tags []string `json:"tags"`
	// The creation date
	CreatedAt string `json:"createdAt"`
	// The last update date
	UpdatedAt string `json:"updatedAt"`
}

SloResponse struct for SloResponse

func NewSloResponse

func NewSloResponse(id string, name string, description string, indicator SloResponseIndicator, timeWindow TimeWindow, budgetingMethod BudgetingMethod, objective Objective, settings Settings, revision float64, summary Summary, enabled bool, groupBy string, instanceId string, tags []string, createdAt string, updatedAt string) *SloResponse

NewSloResponse instantiates a new SloResponse 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 NewSloResponseWithDefaults

func NewSloResponseWithDefaults() *SloResponse

NewSloResponseWithDefaults instantiates a new SloResponse 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 (*SloResponse) GetBudgetingMethod

func (o *SloResponse) GetBudgetingMethod() BudgetingMethod

GetBudgetingMethod returns the BudgetingMethod field value

func (*SloResponse) GetBudgetingMethodOk

func (o *SloResponse) GetBudgetingMethodOk() (*BudgetingMethod, bool)

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

func (*SloResponse) GetCreatedAt

func (o *SloResponse) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value

func (*SloResponse) GetCreatedAtOk

func (o *SloResponse) GetCreatedAtOk() (*string, bool)

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

func (*SloResponse) GetDescription

func (o *SloResponse) GetDescription() string

GetDescription returns the Description field value

func (*SloResponse) GetDescriptionOk

func (o *SloResponse) GetDescriptionOk() (*string, bool)

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

func (*SloResponse) GetEnabled

func (o *SloResponse) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*SloResponse) GetEnabledOk

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

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

func (*SloResponse) GetGroupBy added in v0.7.0

func (o *SloResponse) GetGroupBy() string

GetGroupBy returns the GroupBy field value

func (*SloResponse) GetGroupByOk added in v0.7.0

func (o *SloResponse) GetGroupByOk() (*string, bool)

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

func (*SloResponse) GetId

func (o *SloResponse) GetId() string

GetId returns the Id field value

func (*SloResponse) GetIdOk

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

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

func (*SloResponse) GetIndicator

func (o *SloResponse) GetIndicator() SloResponseIndicator

GetIndicator returns the Indicator field value

func (*SloResponse) GetIndicatorOk

func (o *SloResponse) GetIndicatorOk() (*SloResponseIndicator, bool)

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

func (*SloResponse) GetInstanceId added in v0.7.0

func (o *SloResponse) GetInstanceId() string

GetInstanceId returns the InstanceId field value

func (*SloResponse) GetInstanceIdOk added in v0.7.0

func (o *SloResponse) GetInstanceIdOk() (*string, bool)

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

func (*SloResponse) GetName

func (o *SloResponse) GetName() string

GetName returns the Name field value

func (*SloResponse) GetNameOk

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

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

func (*SloResponse) GetObjective

func (o *SloResponse) GetObjective() Objective

GetObjective returns the Objective field value

func (*SloResponse) GetObjectiveOk

func (o *SloResponse) GetObjectiveOk() (*Objective, bool)

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

func (*SloResponse) GetRevision

func (o *SloResponse) GetRevision() float64

GetRevision returns the Revision field value

func (*SloResponse) GetRevisionOk

func (o *SloResponse) GetRevisionOk() (*float64, bool)

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

func (*SloResponse) GetSettings

func (o *SloResponse) GetSettings() Settings

GetSettings returns the Settings field value

func (*SloResponse) GetSettingsOk

func (o *SloResponse) GetSettingsOk() (*Settings, bool)

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

func (*SloResponse) GetSummary

func (o *SloResponse) GetSummary() Summary

GetSummary returns the Summary field value

func (*SloResponse) GetSummaryOk

func (o *SloResponse) GetSummaryOk() (*Summary, bool)

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

func (*SloResponse) GetTags added in v0.11.0

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

GetTags returns the Tags field value

func (*SloResponse) GetTagsOk added in v0.11.0

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

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

func (*SloResponse) GetTimeWindow

func (o *SloResponse) GetTimeWindow() TimeWindow

GetTimeWindow returns the TimeWindow field value

func (*SloResponse) GetTimeWindowOk

func (o *SloResponse) GetTimeWindowOk() (*TimeWindow, bool)

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

func (*SloResponse) GetUpdatedAt

func (o *SloResponse) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value

func (*SloResponse) GetUpdatedAtOk

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

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

func (SloResponse) MarshalJSON

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

func (*SloResponse) SetBudgetingMethod

func (o *SloResponse) SetBudgetingMethod(v BudgetingMethod)

SetBudgetingMethod sets field value

func (*SloResponse) SetCreatedAt

func (o *SloResponse) SetCreatedAt(v string)

SetCreatedAt sets field value

func (*SloResponse) SetDescription

func (o *SloResponse) SetDescription(v string)

SetDescription sets field value

func (*SloResponse) SetEnabled

func (o *SloResponse) SetEnabled(v bool)

SetEnabled sets field value

func (*SloResponse) SetGroupBy added in v0.7.0

func (o *SloResponse) SetGroupBy(v string)

SetGroupBy sets field value

func (*SloResponse) SetId

func (o *SloResponse) SetId(v string)

SetId sets field value

func (*SloResponse) SetIndicator

func (o *SloResponse) SetIndicator(v SloResponseIndicator)

SetIndicator sets field value

func (*SloResponse) SetInstanceId added in v0.7.0

func (o *SloResponse) SetInstanceId(v string)

SetInstanceId sets field value

func (*SloResponse) SetName

func (o *SloResponse) SetName(v string)

SetName sets field value

func (*SloResponse) SetObjective

func (o *SloResponse) SetObjective(v Objective)

SetObjective sets field value

func (*SloResponse) SetRevision

func (o *SloResponse) SetRevision(v float64)

SetRevision sets field value

func (*SloResponse) SetSettings

func (o *SloResponse) SetSettings(v Settings)

SetSettings sets field value

func (*SloResponse) SetSummary

func (o *SloResponse) SetSummary(v Summary)

SetSummary sets field value

func (*SloResponse) SetTags added in v0.11.0

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

SetTags sets field value

func (*SloResponse) SetTimeWindow

func (o *SloResponse) SetTimeWindow(v TimeWindow)

SetTimeWindow sets field value

func (*SloResponse) SetUpdatedAt

func (o *SloResponse) SetUpdatedAt(v string)

SetUpdatedAt sets field value

func (SloResponse) ToMap

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

type SloResponseIndicator

type SloResponseIndicator struct {
	IndicatorPropertiesApmAvailability *IndicatorPropertiesApmAvailability
	IndicatorPropertiesApmLatency      *IndicatorPropertiesApmLatency
	IndicatorPropertiesCustomKql       *IndicatorPropertiesCustomKql
	IndicatorPropertiesCustomMetric    *IndicatorPropertiesCustomMetric
	IndicatorPropertiesHistogram       *IndicatorPropertiesHistogram
	IndicatorPropertiesTimesliceMetric *IndicatorPropertiesTimesliceMetric
}

SloResponseIndicator - struct for SloResponseIndicator

func IndicatorPropertiesApmAvailabilityAsSloResponseIndicator

func IndicatorPropertiesApmAvailabilityAsSloResponseIndicator(v *IndicatorPropertiesApmAvailability) SloResponseIndicator

IndicatorPropertiesApmAvailabilityAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesApmAvailability wrapped in SloResponseIndicator

func IndicatorPropertiesApmLatencyAsSloResponseIndicator

func IndicatorPropertiesApmLatencyAsSloResponseIndicator(v *IndicatorPropertiesApmLatency) SloResponseIndicator

IndicatorPropertiesApmLatencyAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesApmLatency wrapped in SloResponseIndicator

func IndicatorPropertiesCustomKqlAsSloResponseIndicator

func IndicatorPropertiesCustomKqlAsSloResponseIndicator(v *IndicatorPropertiesCustomKql) SloResponseIndicator

IndicatorPropertiesCustomKqlAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesCustomKql wrapped in SloResponseIndicator

func IndicatorPropertiesCustomMetricAsSloResponseIndicator added in v0.7.0

func IndicatorPropertiesCustomMetricAsSloResponseIndicator(v *IndicatorPropertiesCustomMetric) SloResponseIndicator

IndicatorPropertiesCustomMetricAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesCustomMetric wrapped in SloResponseIndicator

func IndicatorPropertiesHistogramAsSloResponseIndicator added in v0.7.0

func IndicatorPropertiesHistogramAsSloResponseIndicator(v *IndicatorPropertiesHistogram) SloResponseIndicator

IndicatorPropertiesHistogramAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesHistogram wrapped in SloResponseIndicator

func IndicatorPropertiesTimesliceMetricAsSloResponseIndicator added in v0.11.0

func IndicatorPropertiesTimesliceMetricAsSloResponseIndicator(v *IndicatorPropertiesTimesliceMetric) SloResponseIndicator

IndicatorPropertiesTimesliceMetricAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesTimesliceMetric wrapped in SloResponseIndicator

func (*SloResponseIndicator) GetActualInstance

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

Get the actual instance

func (SloResponseIndicator) MarshalJSON

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

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

func (*SloResponseIndicator) UnmarshalJSON

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

Unmarshal JSON data into one of the pointers in the struct

type Summary

type Summary struct {
	Status      SummaryStatus `json:"status"`
	SliValue    float64       `json:"sliValue"`
	ErrorBudget ErrorBudget   `json:"errorBudget"`
}

Summary The SLO computed data

func NewSummary

func NewSummary(status SummaryStatus, sliValue float64, errorBudget ErrorBudget) *Summary

NewSummary instantiates a new Summary 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 NewSummaryWithDefaults

func NewSummaryWithDefaults() *Summary

NewSummaryWithDefaults instantiates a new Summary 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 (*Summary) GetErrorBudget

func (o *Summary) GetErrorBudget() ErrorBudget

GetErrorBudget returns the ErrorBudget field value

func (*Summary) GetErrorBudgetOk

func (o *Summary) GetErrorBudgetOk() (*ErrorBudget, bool)

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

func (*Summary) GetSliValue

func (o *Summary) GetSliValue() float64

GetSliValue returns the SliValue field value

func (*Summary) GetSliValueOk

func (o *Summary) GetSliValueOk() (*float64, bool)

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

func (*Summary) GetStatus

func (o *Summary) GetStatus() SummaryStatus

GetStatus returns the Status field value

func (*Summary) GetStatusOk

func (o *Summary) GetStatusOk() (*SummaryStatus, bool)

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

func (Summary) MarshalJSON

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

func (*Summary) SetErrorBudget

func (o *Summary) SetErrorBudget(v ErrorBudget)

SetErrorBudget sets field value

func (*Summary) SetSliValue

func (o *Summary) SetSliValue(v float64)

SetSliValue sets field value

func (*Summary) SetStatus

func (o *Summary) SetStatus(v SummaryStatus)

SetStatus sets field value

func (Summary) ToMap

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

type SummaryStatus added in v0.7.0

type SummaryStatus string

SummaryStatus the model 'SummaryStatus'

const (
	NO_DATA   SummaryStatus = "NO_DATA"
	HEALTHY   SummaryStatus = "HEALTHY"
	DEGRADING SummaryStatus = "DEGRADING"
	VIOLATED  SummaryStatus = "VIOLATED"
)

List of summary_status

func NewSummaryStatusFromValue added in v0.7.0

func NewSummaryStatusFromValue(v string) (*SummaryStatus, error)

NewSummaryStatusFromValue returns a pointer to a valid SummaryStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (SummaryStatus) IsValid added in v0.7.0

func (v SummaryStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (SummaryStatus) Ptr added in v0.7.0

func (v SummaryStatus) Ptr() *SummaryStatus

Ptr returns reference to summary_status value

func (*SummaryStatus) UnmarshalJSON added in v0.7.0

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

type TimeWindow added in v0.7.0

type TimeWindow struct {
	// the duration formatted as {duration}{unit}. Accepted values for rolling: 7d, 30d, 90d. Accepted values for calendar aligned: 1w (weekly) or 1M (monthly)
	Duration string `json:"duration"`
	// Indicates weither the time window is a rolling or a calendar aligned time window.
	Type string `json:"type"`
}

TimeWindow Defines properties for the SLO time window

func NewTimeWindow added in v0.7.0

func NewTimeWindow(duration string, type_ string) *TimeWindow

NewTimeWindow instantiates a new TimeWindow 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 NewTimeWindowWithDefaults added in v0.7.0

func NewTimeWindowWithDefaults() *TimeWindow

NewTimeWindowWithDefaults instantiates a new TimeWindow 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 (*TimeWindow) GetDuration added in v0.7.0

func (o *TimeWindow) GetDuration() string

GetDuration returns the Duration field value

func (*TimeWindow) GetDurationOk added in v0.7.0

func (o *TimeWindow) GetDurationOk() (*string, bool)

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

func (*TimeWindow) GetType added in v0.7.0

func (o *TimeWindow) GetType() string

GetType returns the Type field value

func (*TimeWindow) GetTypeOk added in v0.7.0

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

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

func (TimeWindow) MarshalJSON added in v0.7.0

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

func (*TimeWindow) SetDuration added in v0.7.0

func (o *TimeWindow) SetDuration(v string)

SetDuration sets field value

func (*TimeWindow) SetType added in v0.7.0

func (o *TimeWindow) SetType(v string)

SetType sets field value

func (TimeWindow) ToMap added in v0.7.0

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

type TimesliceMetricBasicMetricWithField added in v0.11.0

type TimesliceMetricBasicMetricWithField struct {
	// The name of the metric. Only valid options are A-Z
	Name string `json:"name"`
	// The aggregation type of the metric.
	Aggregation string `json:"aggregation"`
	// The field of the metric.
	Field string `json:"field"`
	// The filter to apply to the metric.
	Filter *string `json:"filter,omitempty"`
}

TimesliceMetricBasicMetricWithField struct for TimesliceMetricBasicMetricWithField

func NewTimesliceMetricBasicMetricWithField added in v0.11.0

func NewTimesliceMetricBasicMetricWithField(name string, aggregation string, field string) *TimesliceMetricBasicMetricWithField

NewTimesliceMetricBasicMetricWithField instantiates a new TimesliceMetricBasicMetricWithField 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 NewTimesliceMetricBasicMetricWithFieldWithDefaults added in v0.11.0

func NewTimesliceMetricBasicMetricWithFieldWithDefaults() *TimesliceMetricBasicMetricWithField

NewTimesliceMetricBasicMetricWithFieldWithDefaults instantiates a new TimesliceMetricBasicMetricWithField 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 (*TimesliceMetricBasicMetricWithField) GetAggregation added in v0.11.0

func (o *TimesliceMetricBasicMetricWithField) GetAggregation() string

GetAggregation returns the Aggregation field value

func (*TimesliceMetricBasicMetricWithField) GetAggregationOk added in v0.11.0

func (o *TimesliceMetricBasicMetricWithField) GetAggregationOk() (*string, bool)

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

func (*TimesliceMetricBasicMetricWithField) GetField added in v0.11.0

GetField returns the Field field value

func (*TimesliceMetricBasicMetricWithField) GetFieldOk added in v0.11.0

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

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

func (*TimesliceMetricBasicMetricWithField) GetFilter added in v0.11.0

GetFilter returns the Filter field value if set, zero value otherwise.

func (*TimesliceMetricBasicMetricWithField) GetFilterOk added in v0.11.0

func (o *TimesliceMetricBasicMetricWithField) GetFilterOk() (*string, bool)

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

func (*TimesliceMetricBasicMetricWithField) GetName added in v0.11.0

GetName returns the Name field value

func (*TimesliceMetricBasicMetricWithField) GetNameOk added in v0.11.0

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

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

func (*TimesliceMetricBasicMetricWithField) HasFilter added in v0.11.0

HasFilter returns a boolean if a field has been set.

func (TimesliceMetricBasicMetricWithField) MarshalJSON added in v0.11.0

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

func (*TimesliceMetricBasicMetricWithField) SetAggregation added in v0.11.0

func (o *TimesliceMetricBasicMetricWithField) SetAggregation(v string)

SetAggregation sets field value

func (*TimesliceMetricBasicMetricWithField) SetField added in v0.11.0

SetField sets field value

func (*TimesliceMetricBasicMetricWithField) SetFilter added in v0.11.0

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*TimesliceMetricBasicMetricWithField) SetName added in v0.11.0

SetName sets field value

func (TimesliceMetricBasicMetricWithField) ToMap added in v0.11.0

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

type TimesliceMetricDocCountMetric added in v0.11.0

type TimesliceMetricDocCountMetric struct {
	// The name of the metric. Only valid options are A-Z
	Name string `json:"name"`
	// The aggregation type of the metric. Only valid option is \"doc_count\"
	Aggregation string `json:"aggregation"`
	// The filter to apply to the metric.
	Filter *string `json:"filter,omitempty"`
}

TimesliceMetricDocCountMetric struct for TimesliceMetricDocCountMetric

func NewTimesliceMetricDocCountMetric added in v0.11.0

func NewTimesliceMetricDocCountMetric(name string, aggregation string) *TimesliceMetricDocCountMetric

NewTimesliceMetricDocCountMetric instantiates a new TimesliceMetricDocCountMetric 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 NewTimesliceMetricDocCountMetricWithDefaults added in v0.11.0

func NewTimesliceMetricDocCountMetricWithDefaults() *TimesliceMetricDocCountMetric

NewTimesliceMetricDocCountMetricWithDefaults instantiates a new TimesliceMetricDocCountMetric 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 (*TimesliceMetricDocCountMetric) GetAggregation added in v0.11.0

func (o *TimesliceMetricDocCountMetric) GetAggregation() string

GetAggregation returns the Aggregation field value

func (*TimesliceMetricDocCountMetric) GetAggregationOk added in v0.11.0

func (o *TimesliceMetricDocCountMetric) GetAggregationOk() (*string, bool)

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

func (*TimesliceMetricDocCountMetric) GetFilter added in v0.11.0

func (o *TimesliceMetricDocCountMetric) GetFilter() string

GetFilter returns the Filter field value if set, zero value otherwise.

func (*TimesliceMetricDocCountMetric) GetFilterOk added in v0.11.0

func (o *TimesliceMetricDocCountMetric) GetFilterOk() (*string, bool)

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

func (*TimesliceMetricDocCountMetric) GetName added in v0.11.0

GetName returns the Name field value

func (*TimesliceMetricDocCountMetric) GetNameOk added in v0.11.0

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

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

func (*TimesliceMetricDocCountMetric) HasFilter added in v0.11.0

func (o *TimesliceMetricDocCountMetric) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (TimesliceMetricDocCountMetric) MarshalJSON added in v0.11.0

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

func (*TimesliceMetricDocCountMetric) SetAggregation added in v0.11.0

func (o *TimesliceMetricDocCountMetric) SetAggregation(v string)

SetAggregation sets field value

func (*TimesliceMetricDocCountMetric) SetFilter added in v0.11.0

func (o *TimesliceMetricDocCountMetric) SetFilter(v string)

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*TimesliceMetricDocCountMetric) SetName added in v0.11.0

func (o *TimesliceMetricDocCountMetric) SetName(v string)

SetName sets field value

func (TimesliceMetricDocCountMetric) ToMap added in v0.11.0

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

type TimesliceMetricPercentileMetric added in v0.11.0

type TimesliceMetricPercentileMetric struct {
	// The name of the metric. Only valid options are A-Z
	Name string `json:"name"`
	// The aggregation type of the metric. Only valid option is \"percentile\"
	Aggregation string `json:"aggregation"`
	// The field of the metric.
	Field string `json:"field"`
	// The percentile value.
	Percentile float64 `json:"percentile"`
	// The filter to apply to the metric.
	Filter *string `json:"filter,omitempty"`
}

TimesliceMetricPercentileMetric struct for TimesliceMetricPercentileMetric

func NewTimesliceMetricPercentileMetric added in v0.11.0

func NewTimesliceMetricPercentileMetric(name string, aggregation string, field string, percentile float64) *TimesliceMetricPercentileMetric

NewTimesliceMetricPercentileMetric instantiates a new TimesliceMetricPercentileMetric 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 NewTimesliceMetricPercentileMetricWithDefaults added in v0.11.0

func NewTimesliceMetricPercentileMetricWithDefaults() *TimesliceMetricPercentileMetric

NewTimesliceMetricPercentileMetricWithDefaults instantiates a new TimesliceMetricPercentileMetric 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 (*TimesliceMetricPercentileMetric) GetAggregation added in v0.11.0

func (o *TimesliceMetricPercentileMetric) GetAggregation() string

GetAggregation returns the Aggregation field value

func (*TimesliceMetricPercentileMetric) GetAggregationOk added in v0.11.0

func (o *TimesliceMetricPercentileMetric) GetAggregationOk() (*string, bool)

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

func (*TimesliceMetricPercentileMetric) GetField added in v0.11.0

GetField returns the Field field value

func (*TimesliceMetricPercentileMetric) GetFieldOk added in v0.11.0

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

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

func (*TimesliceMetricPercentileMetric) GetFilter added in v0.11.0

func (o *TimesliceMetricPercentileMetric) GetFilter() string

GetFilter returns the Filter field value if set, zero value otherwise.

func (*TimesliceMetricPercentileMetric) GetFilterOk added in v0.11.0

func (o *TimesliceMetricPercentileMetric) GetFilterOk() (*string, bool)

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

func (*TimesliceMetricPercentileMetric) GetName added in v0.11.0

GetName returns the Name field value

func (*TimesliceMetricPercentileMetric) GetNameOk added in v0.11.0

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

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

func (*TimesliceMetricPercentileMetric) GetPercentile added in v0.11.0

func (o *TimesliceMetricPercentileMetric) GetPercentile() float64

GetPercentile returns the Percentile field value

func (*TimesliceMetricPercentileMetric) GetPercentileOk added in v0.11.0

func (o *TimesliceMetricPercentileMetric) GetPercentileOk() (*float64, bool)

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

func (*TimesliceMetricPercentileMetric) HasFilter added in v0.11.0

func (o *TimesliceMetricPercentileMetric) HasFilter() bool

HasFilter returns a boolean if a field has been set.

func (TimesliceMetricPercentileMetric) MarshalJSON added in v0.11.0

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

func (*TimesliceMetricPercentileMetric) SetAggregation added in v0.11.0

func (o *TimesliceMetricPercentileMetric) SetAggregation(v string)

SetAggregation sets field value

func (*TimesliceMetricPercentileMetric) SetField added in v0.11.0

func (o *TimesliceMetricPercentileMetric) SetField(v string)

SetField sets field value

func (*TimesliceMetricPercentileMetric) SetFilter added in v0.11.0

func (o *TimesliceMetricPercentileMetric) SetFilter(v string)

SetFilter gets a reference to the given string and assigns it to the Filter field.

func (*TimesliceMetricPercentileMetric) SetName added in v0.11.0

SetName sets field value

func (*TimesliceMetricPercentileMetric) SetPercentile added in v0.11.0

func (o *TimesliceMetricPercentileMetric) SetPercentile(v float64)

SetPercentile sets field value

func (TimesliceMetricPercentileMetric) ToMap added in v0.11.0

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

type UpdateSloRequest

type UpdateSloRequest struct {
	// A name for the SLO.
	Name *string `json:"name,omitempty"`
	// A description for the SLO.
	Description     *string                    `json:"description,omitempty"`
	Indicator       *CreateSloRequestIndicator `json:"indicator,omitempty"`
	TimeWindow      *TimeWindow                `json:"timeWindow,omitempty"`
	BudgetingMethod *BudgetingMethod           `json:"budgetingMethod,omitempty"`
	Objective       *Objective                 `json:"objective,omitempty"`
	Settings        *Settings                  `json:"settings,omitempty"`
	// List of tags
	Tags []string `json:"tags,omitempty"`
}

UpdateSloRequest The update SLO API request body varies depending on the type of indicator, time window and budgeting method. Partial update is handled.

func NewUpdateSloRequest

func NewUpdateSloRequest() *UpdateSloRequest

NewUpdateSloRequest instantiates a new UpdateSloRequest 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 NewUpdateSloRequestWithDefaults

func NewUpdateSloRequestWithDefaults() *UpdateSloRequest

NewUpdateSloRequestWithDefaults instantiates a new UpdateSloRequest 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 (*UpdateSloRequest) GetBudgetingMethod

func (o *UpdateSloRequest) GetBudgetingMethod() BudgetingMethod

GetBudgetingMethod returns the BudgetingMethod field value if set, zero value otherwise.

func (*UpdateSloRequest) GetBudgetingMethodOk

func (o *UpdateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)

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

func (*UpdateSloRequest) GetDescription

func (o *UpdateSloRequest) GetDescription() string

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

func (*UpdateSloRequest) GetDescriptionOk

func (o *UpdateSloRequest) GetDescriptionOk() (*string, bool)

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 (*UpdateSloRequest) GetIndicator

func (o *UpdateSloRequest) GetIndicator() CreateSloRequestIndicator

GetIndicator returns the Indicator field value if set, zero value otherwise.

func (*UpdateSloRequest) GetIndicatorOk

func (o *UpdateSloRequest) GetIndicatorOk() (*CreateSloRequestIndicator, bool)

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

func (*UpdateSloRequest) GetName

func (o *UpdateSloRequest) GetName() string

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

func (*UpdateSloRequest) GetNameOk

func (o *UpdateSloRequest) 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 (*UpdateSloRequest) GetObjective

func (o *UpdateSloRequest) GetObjective() Objective

GetObjective returns the Objective field value if set, zero value otherwise.

func (*UpdateSloRequest) GetObjectiveOk

func (o *UpdateSloRequest) GetObjectiveOk() (*Objective, bool)

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

func (*UpdateSloRequest) GetSettings

func (o *UpdateSloRequest) GetSettings() Settings

GetSettings returns the Settings field value if set, zero value otherwise.

func (*UpdateSloRequest) GetSettingsOk

func (o *UpdateSloRequest) GetSettingsOk() (*Settings, bool)

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

func (*UpdateSloRequest) GetTags added in v0.11.0

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

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

func (*UpdateSloRequest) GetTagsOk added in v0.11.0

func (o *UpdateSloRequest) 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 (*UpdateSloRequest) GetTimeWindow

func (o *UpdateSloRequest) GetTimeWindow() TimeWindow

GetTimeWindow returns the TimeWindow field value if set, zero value otherwise.

func (*UpdateSloRequest) GetTimeWindowOk

func (o *UpdateSloRequest) GetTimeWindowOk() (*TimeWindow, bool)

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

func (*UpdateSloRequest) HasBudgetingMethod

func (o *UpdateSloRequest) HasBudgetingMethod() bool

HasBudgetingMethod returns a boolean if a field has been set.

func (*UpdateSloRequest) HasDescription

func (o *UpdateSloRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*UpdateSloRequest) HasIndicator

func (o *UpdateSloRequest) HasIndicator() bool

HasIndicator returns a boolean if a field has been set.

func (*UpdateSloRequest) HasName

func (o *UpdateSloRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateSloRequest) HasObjective

func (o *UpdateSloRequest) HasObjective() bool

HasObjective returns a boolean if a field has been set.

func (*UpdateSloRequest) HasSettings

func (o *UpdateSloRequest) HasSettings() bool

HasSettings returns a boolean if a field has been set.

func (*UpdateSloRequest) HasTags added in v0.11.0

func (o *UpdateSloRequest) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*UpdateSloRequest) HasTimeWindow

func (o *UpdateSloRequest) HasTimeWindow() bool

HasTimeWindow returns a boolean if a field has been set.

func (UpdateSloRequest) MarshalJSON

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

func (*UpdateSloRequest) SetBudgetingMethod

func (o *UpdateSloRequest) SetBudgetingMethod(v BudgetingMethod)

SetBudgetingMethod gets a reference to the given BudgetingMethod and assigns it to the BudgetingMethod field.

func (*UpdateSloRequest) SetDescription

func (o *UpdateSloRequest) SetDescription(v string)

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

func (*UpdateSloRequest) SetIndicator

func (o *UpdateSloRequest) SetIndicator(v CreateSloRequestIndicator)

SetIndicator gets a reference to the given CreateSloRequestIndicator and assigns it to the Indicator field.

func (*UpdateSloRequest) SetName

func (o *UpdateSloRequest) SetName(v string)

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

func (*UpdateSloRequest) SetObjective

func (o *UpdateSloRequest) SetObjective(v Objective)

SetObjective gets a reference to the given Objective and assigns it to the Objective field.

func (*UpdateSloRequest) SetSettings

func (o *UpdateSloRequest) SetSettings(v Settings)

SetSettings gets a reference to the given Settings and assigns it to the Settings field.

func (*UpdateSloRequest) SetTags added in v0.11.0

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

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

func (*UpdateSloRequest) SetTimeWindow

func (o *UpdateSloRequest) SetTimeWindow(v TimeWindow)

SetTimeWindow gets a reference to the given TimeWindow and assigns it to the TimeWindow field.

func (UpdateSloRequest) ToMap

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL