Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreateSloOpRequest
- type ApiDeleteSloOpRequest
- type ApiDisableSloOpRequest
- type ApiEnableSloOpRequest
- type ApiFindSlosOpRequest
- func (r ApiFindSlosOpRequest) Execute() (*FindSloResponse, *http.Response, error)
- func (r ApiFindSlosOpRequest) KbnXsrf(kbnXsrf string) ApiFindSlosOpRequest
- func (r ApiFindSlosOpRequest) KqlQuery(kqlQuery string) ApiFindSlosOpRequest
- func (r ApiFindSlosOpRequest) Page(page int32) ApiFindSlosOpRequest
- func (r ApiFindSlosOpRequest) PerPage(perPage int32) ApiFindSlosOpRequest
- func (r ApiFindSlosOpRequest) SortBy(sortBy string) ApiFindSlosOpRequest
- func (r ApiFindSlosOpRequest) SortDirection(sortDirection string) ApiFindSlosOpRequest
- type ApiGetSloOpRequest
- type ApiHistoricalSummaryOpRequest
- func (r ApiHistoricalSummaryOpRequest) Execute() (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
- func (r ApiHistoricalSummaryOpRequest) HistoricalSummaryRequest(historicalSummaryRequest HistoricalSummaryRequest) ApiHistoricalSummaryOpRequest
- func (r ApiHistoricalSummaryOpRequest) KbnXsrf(kbnXsrf string) ApiHistoricalSummaryOpRequest
- type ApiUpdateSloOpRequest
- type BasicAuth
- type BudgetingMethod
- type Configuration
- type CreateSloRequest
- func (o *CreateSloRequest) GetBudgetingMethod() BudgetingMethod
- func (o *CreateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)
- func (o *CreateSloRequest) GetDescription() string
- func (o *CreateSloRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateSloRequest) GetGroupBy() string
- func (o *CreateSloRequest) GetGroupByOk() (*string, bool)
- func (o *CreateSloRequest) GetId() string
- func (o *CreateSloRequest) GetIdOk() (*string, bool)
- func (o *CreateSloRequest) GetIndicator() CreateSloRequestIndicator
- func (o *CreateSloRequest) GetIndicatorOk() (*CreateSloRequestIndicator, bool)
- func (o *CreateSloRequest) GetName() string
- func (o *CreateSloRequest) GetNameOk() (*string, bool)
- func (o *CreateSloRequest) GetObjective() Objective
- func (o *CreateSloRequest) GetObjectiveOk() (*Objective, bool)
- func (o *CreateSloRequest) GetSettings() Settings
- func (o *CreateSloRequest) GetSettingsOk() (*Settings, bool)
- func (o *CreateSloRequest) GetTimeWindow() TimeWindow
- func (o *CreateSloRequest) GetTimeWindowOk() (*TimeWindow, bool)
- func (o *CreateSloRequest) HasGroupBy() bool
- func (o *CreateSloRequest) HasId() bool
- func (o *CreateSloRequest) HasSettings() bool
- func (o CreateSloRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSloRequest) SetBudgetingMethod(v BudgetingMethod)
- func (o *CreateSloRequest) SetDescription(v string)
- func (o *CreateSloRequest) SetGroupBy(v string)
- func (o *CreateSloRequest) SetId(v string)
- func (o *CreateSloRequest) SetIndicator(v CreateSloRequestIndicator)
- func (o *CreateSloRequest) SetName(v string)
- func (o *CreateSloRequest) SetObjective(v Objective)
- func (o *CreateSloRequest) SetSettings(v Settings)
- func (o *CreateSloRequest) SetTimeWindow(v TimeWindow)
- func (o CreateSloRequest) ToMap() (map[string]interface{}, error)
- type CreateSloRequestIndicator
- func IndicatorPropertiesApmAvailabilityAsCreateSloRequestIndicator(v *IndicatorPropertiesApmAvailability) CreateSloRequestIndicator
- func IndicatorPropertiesApmLatencyAsCreateSloRequestIndicator(v *IndicatorPropertiesApmLatency) CreateSloRequestIndicator
- func IndicatorPropertiesCustomKqlAsCreateSloRequestIndicator(v *IndicatorPropertiesCustomKql) CreateSloRequestIndicator
- func IndicatorPropertiesCustomMetricAsCreateSloRequestIndicator(v *IndicatorPropertiesCustomMetric) CreateSloRequestIndicator
- func IndicatorPropertiesHistogramAsCreateSloRequestIndicator(v *IndicatorPropertiesHistogram) CreateSloRequestIndicator
- type CreateSloResponse
- type ErrorBudget
- func (o *ErrorBudget) GetConsumed() float64
- func (o *ErrorBudget) GetConsumedOk() (*float64, bool)
- func (o *ErrorBudget) GetInitial() float64
- func (o *ErrorBudget) GetInitialOk() (*float64, bool)
- func (o *ErrorBudget) GetIsEstimated() bool
- func (o *ErrorBudget) GetIsEstimatedOk() (*bool, bool)
- func (o *ErrorBudget) GetRemaining() float64
- func (o *ErrorBudget) GetRemainingOk() (*float64, bool)
- func (o ErrorBudget) MarshalJSON() ([]byte, error)
- func (o *ErrorBudget) SetConsumed(v float64)
- func (o *ErrorBudget) SetInitial(v float64)
- func (o *ErrorBudget) SetIsEstimated(v bool)
- func (o *ErrorBudget) SetRemaining(v float64)
- func (o ErrorBudget) ToMap() (map[string]interface{}, error)
- type FindSloResponse
- func (o *FindSloResponse) GetPage() float64
- func (o *FindSloResponse) GetPageOk() (*float64, bool)
- func (o *FindSloResponse) GetPerPage() float64
- func (o *FindSloResponse) GetPerPageOk() (*float64, bool)
- func (o *FindSloResponse) GetResults() []SloResponse
- func (o *FindSloResponse) GetResultsOk() ([]SloResponse, bool)
- func (o *FindSloResponse) GetTotal() float64
- func (o *FindSloResponse) GetTotalOk() (*float64, bool)
- func (o *FindSloResponse) HasPage() bool
- func (o *FindSloResponse) HasPerPage() bool
- func (o *FindSloResponse) HasResults() bool
- func (o *FindSloResponse) HasTotal() bool
- func (o FindSloResponse) MarshalJSON() ([]byte, error)
- func (o *FindSloResponse) SetPage(v float64)
- func (o *FindSloResponse) SetPerPage(v float64)
- func (o *FindSloResponse) SetResults(v []SloResponse)
- func (o *FindSloResponse) SetTotal(v float64)
- func (o FindSloResponse) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type HistoricalSummaryRequest
- func (o *HistoricalSummaryRequest) GetSloIds() []string
- func (o *HistoricalSummaryRequest) GetSloIdsOk() ([]string, bool)
- func (o HistoricalSummaryRequest) MarshalJSON() ([]byte, error)
- func (o *HistoricalSummaryRequest) SetSloIds(v []string)
- func (o HistoricalSummaryRequest) ToMap() (map[string]interface{}, error)
- type HistoricalSummaryResponseInner
- func (o *HistoricalSummaryResponseInner) GetDate() string
- func (o *HistoricalSummaryResponseInner) GetDateOk() (*string, bool)
- func (o *HistoricalSummaryResponseInner) GetErrorBudget() ErrorBudget
- func (o *HistoricalSummaryResponseInner) GetErrorBudgetOk() (*ErrorBudget, bool)
- func (o *HistoricalSummaryResponseInner) GetSliValue() float64
- func (o *HistoricalSummaryResponseInner) GetSliValueOk() (*float64, bool)
- func (o *HistoricalSummaryResponseInner) GetStatus() SummaryStatus
- func (o *HistoricalSummaryResponseInner) GetStatusOk() (*SummaryStatus, bool)
- func (o *HistoricalSummaryResponseInner) HasDate() bool
- func (o *HistoricalSummaryResponseInner) HasErrorBudget() bool
- func (o *HistoricalSummaryResponseInner) HasSliValue() bool
- func (o *HistoricalSummaryResponseInner) HasStatus() bool
- func (o HistoricalSummaryResponseInner) MarshalJSON() ([]byte, error)
- func (o *HistoricalSummaryResponseInner) SetDate(v string)
- func (o *HistoricalSummaryResponseInner) SetErrorBudget(v ErrorBudget)
- func (o *HistoricalSummaryResponseInner) SetSliValue(v float64)
- func (o *HistoricalSummaryResponseInner) SetStatus(v SummaryStatus)
- func (o HistoricalSummaryResponseInner) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmAvailability
- func (o *IndicatorPropertiesApmAvailability) GetParams() IndicatorPropertiesApmAvailabilityParams
- func (o *IndicatorPropertiesApmAvailability) GetParamsOk() (*IndicatorPropertiesApmAvailabilityParams, bool)
- func (o *IndicatorPropertiesApmAvailability) GetType() string
- func (o *IndicatorPropertiesApmAvailability) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesApmAvailability) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmAvailability) SetParams(v IndicatorPropertiesApmAvailabilityParams)
- func (o *IndicatorPropertiesApmAvailability) SetType(v string)
- func (o IndicatorPropertiesApmAvailability) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmAvailabilityParams
- func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironment() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironmentOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetFilter() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetIndex() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetService() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetServiceOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionName() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionNameOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionType() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionTypeOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) HasFilter() bool
- func (o IndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetEnvironment(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetFilter(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetIndex(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetService(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionName(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionType(v string)
- func (o IndicatorPropertiesApmAvailabilityParams) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmLatency
- func (o *IndicatorPropertiesApmLatency) GetParams() IndicatorPropertiesApmLatencyParams
- func (o *IndicatorPropertiesApmLatency) GetParamsOk() (*IndicatorPropertiesApmLatencyParams, bool)
- func (o *IndicatorPropertiesApmLatency) GetType() string
- func (o *IndicatorPropertiesApmLatency) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesApmLatency) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmLatency) SetParams(v IndicatorPropertiesApmLatencyParams)
- func (o *IndicatorPropertiesApmLatency) SetType(v string)
- func (o IndicatorPropertiesApmLatency) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmLatencyParams
- func (o *IndicatorPropertiesApmLatencyParams) GetEnvironment() string
- func (o *IndicatorPropertiesApmLatencyParams) GetEnvironmentOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetFilter() string
- func (o *IndicatorPropertiesApmLatencyParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetIndex() string
- func (o *IndicatorPropertiesApmLatencyParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetService() string
- func (o *IndicatorPropertiesApmLatencyParams) GetServiceOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetThreshold() float64
- func (o *IndicatorPropertiesApmLatencyParams) GetThresholdOk() (*float64, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionName() string
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionNameOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionType() string
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionTypeOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) HasFilter() bool
- func (o IndicatorPropertiesApmLatencyParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmLatencyParams) SetEnvironment(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetFilter(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetIndex(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetService(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetThreshold(v float64)
- func (o *IndicatorPropertiesApmLatencyParams) SetTransactionName(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetTransactionType(v string)
- func (o IndicatorPropertiesApmLatencyParams) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomKql
- func (o *IndicatorPropertiesCustomKql) GetParams() IndicatorPropertiesCustomKqlParams
- func (o *IndicatorPropertiesCustomKql) GetParamsOk() (*IndicatorPropertiesCustomKqlParams, bool)
- func (o *IndicatorPropertiesCustomKql) GetType() string
- func (o *IndicatorPropertiesCustomKql) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesCustomKql) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomKql) SetParams(v IndicatorPropertiesCustomKqlParams)
- func (o *IndicatorPropertiesCustomKql) SetType(v string)
- func (o IndicatorPropertiesCustomKql) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomKqlParams
- func (o *IndicatorPropertiesCustomKqlParams) GetFilter() string
- func (o *IndicatorPropertiesCustomKqlParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetGood() string
- func (o *IndicatorPropertiesCustomKqlParams) GetGoodOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetIndex() string
- func (o *IndicatorPropertiesCustomKqlParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetTimestampField() string
- func (o *IndicatorPropertiesCustomKqlParams) GetTimestampFieldOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetTotal() string
- func (o *IndicatorPropertiesCustomKqlParams) GetTotalOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) HasFilter() bool
- func (o *IndicatorPropertiesCustomKqlParams) HasGood() bool
- func (o *IndicatorPropertiesCustomKqlParams) HasTotal() bool
- func (o IndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomKqlParams) SetFilter(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetGood(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetIndex(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetTimestampField(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetTotal(v string)
- func (o IndicatorPropertiesCustomKqlParams) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomMetric
- func (o *IndicatorPropertiesCustomMetric) GetParams() IndicatorPropertiesCustomMetricParams
- func (o *IndicatorPropertiesCustomMetric) GetParamsOk() (*IndicatorPropertiesCustomMetricParams, bool)
- func (o *IndicatorPropertiesCustomMetric) GetType() string
- func (o *IndicatorPropertiesCustomMetric) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesCustomMetric) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomMetric) SetParams(v IndicatorPropertiesCustomMetricParams)
- func (o *IndicatorPropertiesCustomMetric) SetType(v string)
- func (o IndicatorPropertiesCustomMetric) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomMetricParams
- func (o *IndicatorPropertiesCustomMetricParams) GetFilter() string
- func (o *IndicatorPropertiesCustomMetricParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParams) GetGood() IndicatorPropertiesCustomMetricParamsGood
- func (o *IndicatorPropertiesCustomMetricParams) GetGoodOk() (*IndicatorPropertiesCustomMetricParamsGood, bool)
- func (o *IndicatorPropertiesCustomMetricParams) GetIndex() string
- func (o *IndicatorPropertiesCustomMetricParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParams) GetTimestampField() string
- func (o *IndicatorPropertiesCustomMetricParams) GetTimestampFieldOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParams) GetTotal() IndicatorPropertiesCustomMetricParamsTotal
- func (o *IndicatorPropertiesCustomMetricParams) GetTotalOk() (*IndicatorPropertiesCustomMetricParamsTotal, bool)
- func (o IndicatorPropertiesCustomMetricParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomMetricParams) SetFilter(v string)
- func (o *IndicatorPropertiesCustomMetricParams) SetGood(v IndicatorPropertiesCustomMetricParamsGood)
- func (o *IndicatorPropertiesCustomMetricParams) SetIndex(v string)
- func (o *IndicatorPropertiesCustomMetricParams) SetTimestampField(v string)
- func (o *IndicatorPropertiesCustomMetricParams) SetTotal(v IndicatorPropertiesCustomMetricParamsTotal)
- func (o IndicatorPropertiesCustomMetricParams) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomMetricParamsGood
- func (o *IndicatorPropertiesCustomMetricParamsGood) GetEquation() string
- func (o *IndicatorPropertiesCustomMetricParamsGood) GetEquationOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsGood) GetMetrics() []IndicatorPropertiesCustomMetricParamsGoodMetricsInner
- func (o *IndicatorPropertiesCustomMetricParamsGood) GetMetricsOk() ([]IndicatorPropertiesCustomMetricParamsGoodMetricsInner, bool)
- func (o IndicatorPropertiesCustomMetricParamsGood) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomMetricParamsGood) SetEquation(v string)
- func (o *IndicatorPropertiesCustomMetricParamsGood) SetMetrics(v []IndicatorPropertiesCustomMetricParamsGoodMetricsInner)
- func (o IndicatorPropertiesCustomMetricParamsGood) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomMetricParamsGoodMetricsInner
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetAggregation() string
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetAggregationOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetField() string
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFieldOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFilter() string
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetName() string
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetNameOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) HasFilter() bool
- func (o IndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetAggregation(v string)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetField(v string)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetFilter(v string)
- func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetName(v string)
- func (o IndicatorPropertiesCustomMetricParamsGoodMetricsInner) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomMetricParamsTotal
- func (o *IndicatorPropertiesCustomMetricParamsTotal) GetEquation() string
- func (o *IndicatorPropertiesCustomMetricParamsTotal) GetEquationOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsTotal) GetMetrics() []IndicatorPropertiesCustomMetricParamsTotalMetricsInner
- func (o *IndicatorPropertiesCustomMetricParamsTotal) GetMetricsOk() ([]IndicatorPropertiesCustomMetricParamsTotalMetricsInner, bool)
- func (o IndicatorPropertiesCustomMetricParamsTotal) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomMetricParamsTotal) SetEquation(v string)
- func (o *IndicatorPropertiesCustomMetricParamsTotal) SetMetrics(v []IndicatorPropertiesCustomMetricParamsTotalMetricsInner)
- func (o IndicatorPropertiesCustomMetricParamsTotal) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomMetricParamsTotalMetricsInner
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetAggregation() string
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetAggregationOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetField() string
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFieldOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFilter() string
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetName() string
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetNameOk() (*string, bool)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) HasFilter() bool
- func (o IndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetAggregation(v string)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetField(v string)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetFilter(v string)
- func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetName(v string)
- func (o IndicatorPropertiesCustomMetricParamsTotalMetricsInner) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesHistogram
- func (o *IndicatorPropertiesHistogram) GetParams() IndicatorPropertiesHistogramParams
- func (o *IndicatorPropertiesHistogram) GetParamsOk() (*IndicatorPropertiesHistogramParams, bool)
- func (o *IndicatorPropertiesHistogram) GetType() string
- func (o *IndicatorPropertiesHistogram) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesHistogram) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesHistogram) SetParams(v IndicatorPropertiesHistogramParams)
- func (o *IndicatorPropertiesHistogram) SetType(v string)
- func (o IndicatorPropertiesHistogram) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesHistogramParams
- func (o *IndicatorPropertiesHistogramParams) GetFilter() string
- func (o *IndicatorPropertiesHistogramParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParams) GetGood() IndicatorPropertiesHistogramParamsGood
- func (o *IndicatorPropertiesHistogramParams) GetGoodOk() (*IndicatorPropertiesHistogramParamsGood, bool)
- func (o *IndicatorPropertiesHistogramParams) GetIndex() string
- func (o *IndicatorPropertiesHistogramParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParams) GetTimestampField() string
- func (o *IndicatorPropertiesHistogramParams) GetTimestampFieldOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParams) GetTotal() IndicatorPropertiesHistogramParamsTotal
- func (o *IndicatorPropertiesHistogramParams) GetTotalOk() (*IndicatorPropertiesHistogramParamsTotal, bool)
- func (o *IndicatorPropertiesHistogramParams) HasFilter() bool
- func (o IndicatorPropertiesHistogramParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesHistogramParams) SetFilter(v string)
- func (o *IndicatorPropertiesHistogramParams) SetGood(v IndicatorPropertiesHistogramParamsGood)
- func (o *IndicatorPropertiesHistogramParams) SetIndex(v string)
- func (o *IndicatorPropertiesHistogramParams) SetTimestampField(v string)
- func (o *IndicatorPropertiesHistogramParams) SetTotal(v IndicatorPropertiesHistogramParamsTotal)
- func (o IndicatorPropertiesHistogramParams) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesHistogramParamsGood
- func (o *IndicatorPropertiesHistogramParamsGood) GetAggregation() string
- func (o *IndicatorPropertiesHistogramParamsGood) GetAggregationOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParamsGood) GetField() string
- func (o *IndicatorPropertiesHistogramParamsGood) GetFieldOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParamsGood) GetFilter() string
- func (o *IndicatorPropertiesHistogramParamsGood) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParamsGood) GetFrom() float64
- func (o *IndicatorPropertiesHistogramParamsGood) GetFromOk() (*float64, bool)
- func (o *IndicatorPropertiesHistogramParamsGood) GetTo() float64
- func (o *IndicatorPropertiesHistogramParamsGood) GetToOk() (*float64, bool)
- func (o *IndicatorPropertiesHistogramParamsGood) HasFilter() bool
- func (o *IndicatorPropertiesHistogramParamsGood) HasFrom() bool
- func (o *IndicatorPropertiesHistogramParamsGood) HasTo() bool
- func (o IndicatorPropertiesHistogramParamsGood) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesHistogramParamsGood) SetAggregation(v string)
- func (o *IndicatorPropertiesHistogramParamsGood) SetField(v string)
- func (o *IndicatorPropertiesHistogramParamsGood) SetFilter(v string)
- func (o *IndicatorPropertiesHistogramParamsGood) SetFrom(v float64)
- func (o *IndicatorPropertiesHistogramParamsGood) SetTo(v float64)
- func (o IndicatorPropertiesHistogramParamsGood) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesHistogramParamsTotal
- func (o *IndicatorPropertiesHistogramParamsTotal) GetAggregation() string
- func (o *IndicatorPropertiesHistogramParamsTotal) GetAggregationOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParamsTotal) GetField() string
- func (o *IndicatorPropertiesHistogramParamsTotal) GetFieldOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParamsTotal) GetFilter() string
- func (o *IndicatorPropertiesHistogramParamsTotal) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesHistogramParamsTotal) GetFrom() float64
- func (o *IndicatorPropertiesHistogramParamsTotal) GetFromOk() (*float64, bool)
- func (o *IndicatorPropertiesHistogramParamsTotal) GetTo() float64
- func (o *IndicatorPropertiesHistogramParamsTotal) GetToOk() (*float64, bool)
- func (o *IndicatorPropertiesHistogramParamsTotal) HasFilter() bool
- func (o *IndicatorPropertiesHistogramParamsTotal) HasFrom() bool
- func (o *IndicatorPropertiesHistogramParamsTotal) HasTo() bool
- func (o IndicatorPropertiesHistogramParamsTotal) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesHistogramParamsTotal) SetAggregation(v string)
- func (o *IndicatorPropertiesHistogramParamsTotal) SetField(v string)
- func (o *IndicatorPropertiesHistogramParamsTotal) SetFilter(v string)
- func (o *IndicatorPropertiesHistogramParamsTotal) SetFrom(v float64)
- func (o *IndicatorPropertiesHistogramParamsTotal) SetTo(v float64)
- func (o IndicatorPropertiesHistogramParamsTotal) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Model400Response
- func (o *Model400Response) GetError() string
- func (o *Model400Response) GetErrorOk() (*string, bool)
- func (o *Model400Response) GetMessage() string
- func (o *Model400Response) GetMessageOk() (*string, bool)
- func (o *Model400Response) GetStatusCode() float64
- func (o *Model400Response) GetStatusCodeOk() (*float64, bool)
- func (o Model400Response) MarshalJSON() ([]byte, error)
- func (o *Model400Response) SetError(v string)
- func (o *Model400Response) SetMessage(v string)
- func (o *Model400Response) SetStatusCode(v float64)
- func (o Model400Response) ToMap() (map[string]interface{}, error)
- type Model401Response
- func (o *Model401Response) GetError() string
- func (o *Model401Response) GetErrorOk() (*string, bool)
- func (o *Model401Response) GetMessage() string
- func (o *Model401Response) GetMessageOk() (*string, bool)
- func (o *Model401Response) GetStatusCode() float64
- func (o *Model401Response) GetStatusCodeOk() (*float64, bool)
- func (o Model401Response) MarshalJSON() ([]byte, error)
- func (o *Model401Response) SetError(v string)
- func (o *Model401Response) SetMessage(v string)
- func (o *Model401Response) SetStatusCode(v float64)
- func (o Model401Response) ToMap() (map[string]interface{}, error)
- type Model403Response
- func (o *Model403Response) GetError() string
- func (o *Model403Response) GetErrorOk() (*string, bool)
- func (o *Model403Response) GetMessage() string
- func (o *Model403Response) GetMessageOk() (*string, bool)
- func (o *Model403Response) GetStatusCode() float64
- func (o *Model403Response) GetStatusCodeOk() (*float64, bool)
- func (o Model403Response) MarshalJSON() ([]byte, error)
- func (o *Model403Response) SetError(v string)
- func (o *Model403Response) SetMessage(v string)
- func (o *Model403Response) SetStatusCode(v float64)
- func (o Model403Response) ToMap() (map[string]interface{}, error)
- type Model404Response
- func (o *Model404Response) GetError() string
- func (o *Model404Response) GetErrorOk() (*string, bool)
- func (o *Model404Response) GetMessage() string
- func (o *Model404Response) GetMessageOk() (*string, bool)
- func (o *Model404Response) GetStatusCode() float64
- func (o *Model404Response) GetStatusCodeOk() (*float64, bool)
- func (o Model404Response) MarshalJSON() ([]byte, error)
- func (o *Model404Response) SetError(v string)
- func (o *Model404Response) SetMessage(v string)
- func (o *Model404Response) SetStatusCode(v float64)
- func (o Model404Response) ToMap() (map[string]interface{}, error)
- type Model409Response
- func (o *Model409Response) GetError() string
- func (o *Model409Response) GetErrorOk() (*string, bool)
- func (o *Model409Response) GetMessage() string
- func (o *Model409Response) GetMessageOk() (*string, bool)
- func (o *Model409Response) GetStatusCode() float64
- func (o *Model409Response) GetStatusCodeOk() (*float64, bool)
- func (o Model409Response) MarshalJSON() ([]byte, error)
- func (o *Model409Response) SetError(v string)
- func (o *Model409Response) SetMessage(v string)
- func (o *Model409Response) SetStatusCode(v float64)
- func (o Model409Response) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableBudgetingMethod
- func (v NullableBudgetingMethod) Get() *BudgetingMethod
- func (v NullableBudgetingMethod) IsSet() bool
- func (v NullableBudgetingMethod) MarshalJSON() ([]byte, error)
- func (v *NullableBudgetingMethod) Set(val *BudgetingMethod)
- func (v *NullableBudgetingMethod) UnmarshalJSON(src []byte) error
- func (v *NullableBudgetingMethod) Unset()
- type NullableCreateSloRequest
- func (v NullableCreateSloRequest) Get() *CreateSloRequest
- func (v NullableCreateSloRequest) IsSet() bool
- func (v NullableCreateSloRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSloRequest) Set(val *CreateSloRequest)
- func (v *NullableCreateSloRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSloRequest) Unset()
- type NullableCreateSloRequestIndicator
- func (v NullableCreateSloRequestIndicator) Get() *CreateSloRequestIndicator
- func (v NullableCreateSloRequestIndicator) IsSet() bool
- func (v NullableCreateSloRequestIndicator) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSloRequestIndicator) Set(val *CreateSloRequestIndicator)
- func (v *NullableCreateSloRequestIndicator) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSloRequestIndicator) Unset()
- type NullableCreateSloResponse
- func (v NullableCreateSloResponse) Get() *CreateSloResponse
- func (v NullableCreateSloResponse) IsSet() bool
- func (v NullableCreateSloResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSloResponse) Set(val *CreateSloResponse)
- func (v *NullableCreateSloResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSloResponse) Unset()
- type NullableErrorBudget
- func (v NullableErrorBudget) Get() *ErrorBudget
- func (v NullableErrorBudget) IsSet() bool
- func (v NullableErrorBudget) MarshalJSON() ([]byte, error)
- func (v *NullableErrorBudget) Set(val *ErrorBudget)
- func (v *NullableErrorBudget) UnmarshalJSON(src []byte) error
- func (v *NullableErrorBudget) Unset()
- type NullableFindSloResponse
- func (v NullableFindSloResponse) Get() *FindSloResponse
- func (v NullableFindSloResponse) IsSet() bool
- func (v NullableFindSloResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFindSloResponse) Set(val *FindSloResponse)
- func (v *NullableFindSloResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFindSloResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHistoricalSummaryRequest
- func (v NullableHistoricalSummaryRequest) Get() *HistoricalSummaryRequest
- func (v NullableHistoricalSummaryRequest) IsSet() bool
- func (v NullableHistoricalSummaryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableHistoricalSummaryRequest) Set(val *HistoricalSummaryRequest)
- func (v *NullableHistoricalSummaryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableHistoricalSummaryRequest) Unset()
- type NullableHistoricalSummaryResponseInner
- func (v NullableHistoricalSummaryResponseInner) Get() *HistoricalSummaryResponseInner
- func (v NullableHistoricalSummaryResponseInner) IsSet() bool
- func (v NullableHistoricalSummaryResponseInner) MarshalJSON() ([]byte, error)
- func (v *NullableHistoricalSummaryResponseInner) Set(val *HistoricalSummaryResponseInner)
- func (v *NullableHistoricalSummaryResponseInner) UnmarshalJSON(src []byte) error
- func (v *NullableHistoricalSummaryResponseInner) Unset()
- type NullableIndicatorPropertiesApmAvailability
- func (v NullableIndicatorPropertiesApmAvailability) Get() *IndicatorPropertiesApmAvailability
- func (v NullableIndicatorPropertiesApmAvailability) IsSet() bool
- func (v NullableIndicatorPropertiesApmAvailability) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmAvailability) Set(val *IndicatorPropertiesApmAvailability)
- func (v *NullableIndicatorPropertiesApmAvailability) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmAvailability) Unset()
- type NullableIndicatorPropertiesApmAvailabilityParams
- func (v NullableIndicatorPropertiesApmAvailabilityParams) Get() *IndicatorPropertiesApmAvailabilityParams
- func (v NullableIndicatorPropertiesApmAvailabilityParams) IsSet() bool
- func (v NullableIndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmAvailabilityParams) Set(val *IndicatorPropertiesApmAvailabilityParams)
- func (v *NullableIndicatorPropertiesApmAvailabilityParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmAvailabilityParams) Unset()
- type NullableIndicatorPropertiesApmLatency
- func (v NullableIndicatorPropertiesApmLatency) Get() *IndicatorPropertiesApmLatency
- func (v NullableIndicatorPropertiesApmLatency) IsSet() bool
- func (v NullableIndicatorPropertiesApmLatency) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmLatency) Set(val *IndicatorPropertiesApmLatency)
- func (v *NullableIndicatorPropertiesApmLatency) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmLatency) Unset()
- type NullableIndicatorPropertiesApmLatencyParams
- func (v NullableIndicatorPropertiesApmLatencyParams) Get() *IndicatorPropertiesApmLatencyParams
- func (v NullableIndicatorPropertiesApmLatencyParams) IsSet() bool
- func (v NullableIndicatorPropertiesApmLatencyParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmLatencyParams) Set(val *IndicatorPropertiesApmLatencyParams)
- func (v *NullableIndicatorPropertiesApmLatencyParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmLatencyParams) Unset()
- type NullableIndicatorPropertiesCustomKql
- func (v NullableIndicatorPropertiesCustomKql) Get() *IndicatorPropertiesCustomKql
- func (v NullableIndicatorPropertiesCustomKql) IsSet() bool
- func (v NullableIndicatorPropertiesCustomKql) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomKql) Set(val *IndicatorPropertiesCustomKql)
- func (v *NullableIndicatorPropertiesCustomKql) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomKql) Unset()
- type NullableIndicatorPropertiesCustomKqlParams
- func (v NullableIndicatorPropertiesCustomKqlParams) Get() *IndicatorPropertiesCustomKqlParams
- func (v NullableIndicatorPropertiesCustomKqlParams) IsSet() bool
- func (v NullableIndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomKqlParams) Set(val *IndicatorPropertiesCustomKqlParams)
- func (v *NullableIndicatorPropertiesCustomKqlParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomKqlParams) Unset()
- type NullableIndicatorPropertiesCustomMetric
- func (v NullableIndicatorPropertiesCustomMetric) Get() *IndicatorPropertiesCustomMetric
- func (v NullableIndicatorPropertiesCustomMetric) IsSet() bool
- func (v NullableIndicatorPropertiesCustomMetric) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomMetric) Set(val *IndicatorPropertiesCustomMetric)
- func (v *NullableIndicatorPropertiesCustomMetric) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomMetric) Unset()
- type NullableIndicatorPropertiesCustomMetricParams
- func (v NullableIndicatorPropertiesCustomMetricParams) Get() *IndicatorPropertiesCustomMetricParams
- func (v NullableIndicatorPropertiesCustomMetricParams) IsSet() bool
- func (v NullableIndicatorPropertiesCustomMetricParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomMetricParams) Set(val *IndicatorPropertiesCustomMetricParams)
- func (v *NullableIndicatorPropertiesCustomMetricParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomMetricParams) Unset()
- type NullableIndicatorPropertiesCustomMetricParamsGood
- func (v NullableIndicatorPropertiesCustomMetricParamsGood) Get() *IndicatorPropertiesCustomMetricParamsGood
- func (v NullableIndicatorPropertiesCustomMetricParamsGood) IsSet() bool
- func (v NullableIndicatorPropertiesCustomMetricParamsGood) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomMetricParamsGood) Set(val *IndicatorPropertiesCustomMetricParamsGood)
- func (v *NullableIndicatorPropertiesCustomMetricParamsGood) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomMetricParamsGood) Unset()
- type NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner
- func (v NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Get() *IndicatorPropertiesCustomMetricParamsGoodMetricsInner
- func (v NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) IsSet() bool
- func (v NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Set(val *IndicatorPropertiesCustomMetricParamsGoodMetricsInner)
- func (v *NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Unset()
- type NullableIndicatorPropertiesCustomMetricParamsTotal
- func (v NullableIndicatorPropertiesCustomMetricParamsTotal) Get() *IndicatorPropertiesCustomMetricParamsTotal
- func (v NullableIndicatorPropertiesCustomMetricParamsTotal) IsSet() bool
- func (v NullableIndicatorPropertiesCustomMetricParamsTotal) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomMetricParamsTotal) Set(val *IndicatorPropertiesCustomMetricParamsTotal)
- func (v *NullableIndicatorPropertiesCustomMetricParamsTotal) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomMetricParamsTotal) Unset()
- type NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner
- func (v NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Get() *IndicatorPropertiesCustomMetricParamsTotalMetricsInner
- func (v NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) IsSet() bool
- func (v NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Set(val *IndicatorPropertiesCustomMetricParamsTotalMetricsInner)
- func (v *NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Unset()
- type NullableIndicatorPropertiesHistogram
- func (v NullableIndicatorPropertiesHistogram) Get() *IndicatorPropertiesHistogram
- func (v NullableIndicatorPropertiesHistogram) IsSet() bool
- func (v NullableIndicatorPropertiesHistogram) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesHistogram) Set(val *IndicatorPropertiesHistogram)
- func (v *NullableIndicatorPropertiesHistogram) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesHistogram) Unset()
- type NullableIndicatorPropertiesHistogramParams
- func (v NullableIndicatorPropertiesHistogramParams) Get() *IndicatorPropertiesHistogramParams
- func (v NullableIndicatorPropertiesHistogramParams) IsSet() bool
- func (v NullableIndicatorPropertiesHistogramParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesHistogramParams) Set(val *IndicatorPropertiesHistogramParams)
- func (v *NullableIndicatorPropertiesHistogramParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesHistogramParams) Unset()
- type NullableIndicatorPropertiesHistogramParamsGood
- func (v NullableIndicatorPropertiesHistogramParamsGood) Get() *IndicatorPropertiesHistogramParamsGood
- func (v NullableIndicatorPropertiesHistogramParamsGood) IsSet() bool
- func (v NullableIndicatorPropertiesHistogramParamsGood) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesHistogramParamsGood) Set(val *IndicatorPropertiesHistogramParamsGood)
- func (v *NullableIndicatorPropertiesHistogramParamsGood) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesHistogramParamsGood) Unset()
- type NullableIndicatorPropertiesHistogramParamsTotal
- func (v NullableIndicatorPropertiesHistogramParamsTotal) Get() *IndicatorPropertiesHistogramParamsTotal
- func (v NullableIndicatorPropertiesHistogramParamsTotal) IsSet() bool
- func (v NullableIndicatorPropertiesHistogramParamsTotal) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesHistogramParamsTotal) Set(val *IndicatorPropertiesHistogramParamsTotal)
- func (v *NullableIndicatorPropertiesHistogramParamsTotal) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesHistogramParamsTotal) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModel400Response
- func (v NullableModel400Response) Get() *Model400Response
- func (v NullableModel400Response) IsSet() bool
- func (v NullableModel400Response) MarshalJSON() ([]byte, error)
- func (v *NullableModel400Response) Set(val *Model400Response)
- func (v *NullableModel400Response) UnmarshalJSON(src []byte) error
- func (v *NullableModel400Response) Unset()
- type NullableModel401Response
- func (v NullableModel401Response) Get() *Model401Response
- func (v NullableModel401Response) IsSet() bool
- func (v NullableModel401Response) MarshalJSON() ([]byte, error)
- func (v *NullableModel401Response) Set(val *Model401Response)
- func (v *NullableModel401Response) UnmarshalJSON(src []byte) error
- func (v *NullableModel401Response) Unset()
- type NullableModel403Response
- func (v NullableModel403Response) Get() *Model403Response
- func (v NullableModel403Response) IsSet() bool
- func (v NullableModel403Response) MarshalJSON() ([]byte, error)
- func (v *NullableModel403Response) Set(val *Model403Response)
- func (v *NullableModel403Response) UnmarshalJSON(src []byte) error
- func (v *NullableModel403Response) Unset()
- type NullableModel404Response
- func (v NullableModel404Response) Get() *Model404Response
- func (v NullableModel404Response) IsSet() bool
- func (v NullableModel404Response) MarshalJSON() ([]byte, error)
- func (v *NullableModel404Response) Set(val *Model404Response)
- func (v *NullableModel404Response) UnmarshalJSON(src []byte) error
- func (v *NullableModel404Response) Unset()
- type NullableModel409Response
- func (v NullableModel409Response) Get() *Model409Response
- func (v NullableModel409Response) IsSet() bool
- func (v NullableModel409Response) MarshalJSON() ([]byte, error)
- func (v *NullableModel409Response) Set(val *Model409Response)
- func (v *NullableModel409Response) UnmarshalJSON(src []byte) error
- func (v *NullableModel409Response) Unset()
- type NullableObjective
- type NullableSettings
- type NullableSloResponse
- func (v NullableSloResponse) Get() *SloResponse
- func (v NullableSloResponse) IsSet() bool
- func (v NullableSloResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSloResponse) Set(val *SloResponse)
- func (v *NullableSloResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSloResponse) Unset()
- type NullableSloResponseIndicator
- func (v NullableSloResponseIndicator) Get() *SloResponseIndicator
- func (v NullableSloResponseIndicator) IsSet() bool
- func (v NullableSloResponseIndicator) MarshalJSON() ([]byte, error)
- func (v *NullableSloResponseIndicator) Set(val *SloResponseIndicator)
- func (v *NullableSloResponseIndicator) UnmarshalJSON(src []byte) error
- func (v *NullableSloResponseIndicator) Unset()
- type NullableString
- type NullableSummary
- type NullableSummaryStatus
- func (v NullableSummaryStatus) Get() *SummaryStatus
- func (v NullableSummaryStatus) IsSet() bool
- func (v NullableSummaryStatus) MarshalJSON() ([]byte, error)
- func (v *NullableSummaryStatus) Set(val *SummaryStatus)
- func (v *NullableSummaryStatus) UnmarshalJSON(src []byte) error
- func (v *NullableSummaryStatus) Unset()
- type NullableTime
- type NullableTimeWindow
- type NullableUpdateSloRequest
- func (v NullableUpdateSloRequest) Get() *UpdateSloRequest
- func (v NullableUpdateSloRequest) IsSet() bool
- func (v NullableUpdateSloRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSloRequest) Set(val *UpdateSloRequest)
- func (v *NullableUpdateSloRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSloRequest) Unset()
- type Objective
- func (o *Objective) GetTarget() float64
- func (o *Objective) GetTargetOk() (*float64, bool)
- func (o *Objective) GetTimesliceTarget() float64
- func (o *Objective) GetTimesliceTargetOk() (*float64, bool)
- func (o *Objective) GetTimesliceWindow() string
- func (o *Objective) GetTimesliceWindowOk() (*string, bool)
- func (o *Objective) HasTimesliceTarget() bool
- func (o *Objective) HasTimesliceWindow() bool
- func (o Objective) MarshalJSON() ([]byte, error)
- func (o *Objective) SetTarget(v float64)
- func (o *Objective) SetTimesliceTarget(v float64)
- func (o *Objective) SetTimesliceWindow(v string)
- func (o Objective) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Settings
- func (o *Settings) GetFrequency() string
- func (o *Settings) GetFrequencyOk() (*string, bool)
- func (o *Settings) GetSyncDelay() string
- func (o *Settings) GetSyncDelayOk() (*string, bool)
- func (o *Settings) HasFrequency() bool
- func (o *Settings) HasSyncDelay() bool
- func (o Settings) MarshalJSON() ([]byte, error)
- func (o *Settings) SetFrequency(v string)
- func (o *Settings) SetSyncDelay(v string)
- func (o Settings) ToMap() (map[string]interface{}, error)
- type SloAPI
- type SloAPIService
- func (a *SloAPIService) CreateSloOp(ctx context.Context, spaceId string) ApiCreateSloOpRequest
- func (a *SloAPIService) CreateSloOpExecute(r ApiCreateSloOpRequest) (*CreateSloResponse, *http.Response, error)
- func (a *SloAPIService) DeleteSloOp(ctx context.Context, spaceId string, sloId string) ApiDeleteSloOpRequest
- func (a *SloAPIService) DeleteSloOpExecute(r ApiDeleteSloOpRequest) (*http.Response, error)
- func (a *SloAPIService) DisableSloOp(ctx context.Context, spaceId string, sloId string) ApiDisableSloOpRequest
- func (a *SloAPIService) DisableSloOpExecute(r ApiDisableSloOpRequest) (*http.Response, error)
- func (a *SloAPIService) EnableSloOp(ctx context.Context, spaceId string, sloId string) ApiEnableSloOpRequest
- func (a *SloAPIService) EnableSloOpExecute(r ApiEnableSloOpRequest) (*http.Response, error)
- func (a *SloAPIService) FindSlosOp(ctx context.Context, spaceId string) ApiFindSlosOpRequest
- func (a *SloAPIService) FindSlosOpExecute(r ApiFindSlosOpRequest) (*FindSloResponse, *http.Response, error)
- func (a *SloAPIService) GetSloOp(ctx context.Context, spaceId string, sloId string) ApiGetSloOpRequest
- func (a *SloAPIService) GetSloOpExecute(r ApiGetSloOpRequest) (*SloResponse, *http.Response, error)
- func (a *SloAPIService) HistoricalSummaryOp(ctx context.Context, spaceId string) ApiHistoricalSummaryOpRequest
- func (a *SloAPIService) HistoricalSummaryOpExecute(r ApiHistoricalSummaryOpRequest) (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
- func (a *SloAPIService) UpdateSloOp(ctx context.Context, spaceId string, sloId string) ApiUpdateSloOpRequest
- func (a *SloAPIService) UpdateSloOpExecute(r ApiUpdateSloOpRequest) (*SloResponse, *http.Response, error)
- type SloResponse
- func (o *SloResponse) GetBudgetingMethod() BudgetingMethod
- func (o *SloResponse) GetBudgetingMethodOk() (*BudgetingMethod, bool)
- func (o *SloResponse) GetCreatedAt() string
- func (o *SloResponse) GetCreatedAtOk() (*string, bool)
- func (o *SloResponse) GetDescription() string
- func (o *SloResponse) GetDescriptionOk() (*string, bool)
- func (o *SloResponse) GetEnabled() bool
- func (o *SloResponse) GetEnabledOk() (*bool, bool)
- func (o *SloResponse) GetGroupBy() string
- func (o *SloResponse) GetGroupByOk() (*string, bool)
- func (o *SloResponse) GetId() string
- func (o *SloResponse) GetIdOk() (*string, bool)
- func (o *SloResponse) GetIndicator() SloResponseIndicator
- func (o *SloResponse) GetIndicatorOk() (*SloResponseIndicator, bool)
- func (o *SloResponse) GetInstanceId() string
- func (o *SloResponse) GetInstanceIdOk() (*string, bool)
- func (o *SloResponse) GetName() string
- func (o *SloResponse) GetNameOk() (*string, bool)
- func (o *SloResponse) GetObjective() Objective
- func (o *SloResponse) GetObjectiveOk() (*Objective, bool)
- func (o *SloResponse) GetRevision() float64
- func (o *SloResponse) GetRevisionOk() (*float64, bool)
- func (o *SloResponse) GetSettings() Settings
- func (o *SloResponse) GetSettingsOk() (*Settings, bool)
- func (o *SloResponse) GetSummary() Summary
- func (o *SloResponse) GetSummaryOk() (*Summary, bool)
- func (o *SloResponse) GetTimeWindow() TimeWindow
- func (o *SloResponse) GetTimeWindowOk() (*TimeWindow, bool)
- func (o *SloResponse) GetUpdatedAt() string
- func (o *SloResponse) GetUpdatedAtOk() (*string, bool)
- func (o SloResponse) MarshalJSON() ([]byte, error)
- func (o *SloResponse) SetBudgetingMethod(v BudgetingMethod)
- func (o *SloResponse) SetCreatedAt(v string)
- func (o *SloResponse) SetDescription(v string)
- func (o *SloResponse) SetEnabled(v bool)
- func (o *SloResponse) SetGroupBy(v string)
- func (o *SloResponse) SetId(v string)
- func (o *SloResponse) SetIndicator(v SloResponseIndicator)
- func (o *SloResponse) SetInstanceId(v string)
- func (o *SloResponse) SetName(v string)
- func (o *SloResponse) SetObjective(v Objective)
- func (o *SloResponse) SetRevision(v float64)
- func (o *SloResponse) SetSettings(v Settings)
- func (o *SloResponse) SetSummary(v Summary)
- func (o *SloResponse) SetTimeWindow(v TimeWindow)
- func (o *SloResponse) SetUpdatedAt(v string)
- func (o SloResponse) ToMap() (map[string]interface{}, error)
- type SloResponseIndicator
- func IndicatorPropertiesApmAvailabilityAsSloResponseIndicator(v *IndicatorPropertiesApmAvailability) SloResponseIndicator
- func IndicatorPropertiesApmLatencyAsSloResponseIndicator(v *IndicatorPropertiesApmLatency) SloResponseIndicator
- func IndicatorPropertiesCustomKqlAsSloResponseIndicator(v *IndicatorPropertiesCustomKql) SloResponseIndicator
- func IndicatorPropertiesCustomMetricAsSloResponseIndicator(v *IndicatorPropertiesCustomMetric) SloResponseIndicator
- func IndicatorPropertiesHistogramAsSloResponseIndicator(v *IndicatorPropertiesHistogram) SloResponseIndicator
- type Summary
- func (o *Summary) GetErrorBudget() ErrorBudget
- func (o *Summary) GetErrorBudgetOk() (*ErrorBudget, bool)
- func (o *Summary) GetSliValue() float64
- func (o *Summary) GetSliValueOk() (*float64, bool)
- func (o *Summary) GetStatus() SummaryStatus
- func (o *Summary) GetStatusOk() (*SummaryStatus, bool)
- func (o Summary) MarshalJSON() ([]byte, error)
- func (o *Summary) SetErrorBudget(v ErrorBudget)
- func (o *Summary) SetSliValue(v float64)
- func (o *Summary) SetStatus(v SummaryStatus)
- func (o Summary) ToMap() (map[string]interface{}, error)
- type SummaryStatus
- type TimeWindow
- func (o *TimeWindow) GetDuration() string
- func (o *TimeWindow) GetDurationOk() (*string, bool)
- func (o *TimeWindow) GetType() string
- func (o *TimeWindow) GetTypeOk() (*string, bool)
- func (o TimeWindow) MarshalJSON() ([]byte, error)
- func (o *TimeWindow) SetDuration(v string)
- func (o *TimeWindow) SetType(v string)
- func (o TimeWindow) ToMap() (map[string]interface{}, error)
- type UpdateSloRequest
- func (o *UpdateSloRequest) GetBudgetingMethod() BudgetingMethod
- func (o *UpdateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)
- func (o *UpdateSloRequest) GetDescription() string
- func (o *UpdateSloRequest) GetDescriptionOk() (*string, bool)
- func (o *UpdateSloRequest) GetIndicator() CreateSloRequestIndicator
- func (o *UpdateSloRequest) GetIndicatorOk() (*CreateSloRequestIndicator, bool)
- func (o *UpdateSloRequest) GetName() string
- func (o *UpdateSloRequest) GetNameOk() (*string, bool)
- func (o *UpdateSloRequest) GetObjective() Objective
- func (o *UpdateSloRequest) GetObjectiveOk() (*Objective, bool)
- func (o *UpdateSloRequest) GetSettings() Settings
- func (o *UpdateSloRequest) GetSettingsOk() (*Settings, bool)
- func (o *UpdateSloRequest) GetTimeWindow() TimeWindow
- func (o *UpdateSloRequest) GetTimeWindowOk() (*TimeWindow, bool)
- func (o *UpdateSloRequest) HasBudgetingMethod() bool
- func (o *UpdateSloRequest) HasDescription() bool
- func (o *UpdateSloRequest) HasIndicator() bool
- func (o *UpdateSloRequest) HasName() bool
- func (o *UpdateSloRequest) HasObjective() bool
- func (o *UpdateSloRequest) HasSettings() bool
- func (o *UpdateSloRequest) HasTimeWindow() bool
- func (o UpdateSloRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateSloRequest) SetBudgetingMethod(v BudgetingMethod)
- func (o *UpdateSloRequest) SetDescription(v string)
- func (o *UpdateSloRequest) SetIndicator(v CreateSloRequestIndicator)
- func (o *UpdateSloRequest) SetName(v string)
- func (o *UpdateSloRequest) SetObjective(v Objective)
- func (o *UpdateSloRequest) SetSettings(v Settings)
- func (o *UpdateSloRequest) SetTimeWindow(v TimeWindow)
- func (o UpdateSloRequest) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
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") )
var AllowedBudgetingMethodEnumValues = []BudgetingMethod{
"occurrences",
"timeslices",
}
All allowed values of BudgetingMethod enum
var AllowedSummaryStatusEnumValues = []SummaryStatus{
"NO_DATA",
"HEALTHY",
"DEGRADING",
"VIOLATED",
}
All allowed values of SummaryStatus enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
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 (r ApiCreateSloOpRequest) Execute() (*CreateSloResponse, *http.Response, error)
func (ApiCreateSloOpRequest) KbnXsrf ¶ added in v0.7.0
func (r ApiCreateSloOpRequest) KbnXsrf(kbnXsrf string) ApiCreateSloOpRequest
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
func (r ApiDeleteSloOpRequest) KbnXsrf(kbnXsrf string) ApiDeleteSloOpRequest
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
func (r ApiDisableSloOpRequest) KbnXsrf(kbnXsrf string) ApiDisableSloOpRequest
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
func (r ApiEnableSloOpRequest) KbnXsrf(kbnXsrf string) ApiEnableSloOpRequest
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 (r ApiFindSlosOpRequest) Execute() (*FindSloResponse, *http.Response, error)
func (ApiFindSlosOpRequest) KbnXsrf ¶ added in v0.7.0
func (r ApiFindSlosOpRequest) KbnXsrf(kbnXsrf string) ApiFindSlosOpRequest
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
func (r ApiFindSlosOpRequest) Page(page int32) ApiFindSlosOpRequest
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
func (r ApiFindSlosOpRequest) SortBy(sortBy string) ApiFindSlosOpRequest
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 (r ApiHistoricalSummaryOpRequest) Execute() (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
func (ApiHistoricalSummaryOpRequest) HistoricalSummaryRequest ¶ added in v0.7.0
func (r ApiHistoricalSummaryOpRequest) HistoricalSummaryRequest(historicalSummaryRequest HistoricalSummaryRequest) ApiHistoricalSummaryOpRequest
func (ApiHistoricalSummaryOpRequest) KbnXsrf ¶ added in v0.7.0
func (r ApiHistoricalSummaryOpRequest) KbnXsrf(kbnXsrf string) ApiHistoricalSummaryOpRequest
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 (r ApiUpdateSloOpRequest) Execute() (*SloResponse, *http.Response, error)
func (ApiUpdateSloOpRequest) KbnXsrf ¶ added in v0.7.0
func (r ApiUpdateSloOpRequest) KbnXsrf(kbnXsrf string) ApiUpdateSloOpRequest
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 ¶
func (v BudgetingMethod) Ptr() *BudgetingMethod
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) ServerURLWithContext ¶
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"` }
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) 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) 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) 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 }
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 (*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 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 SloIds []string `json:"sloIds"` }
HistoricalSummaryRequest struct for HistoricalSummaryRequest
func NewHistoricalSummaryRequest ¶
func NewHistoricalSummaryRequest(sloIds []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) GetSloIds ¶
func (o *HistoricalSummaryRequest) GetSloIds() []string
GetSloIds returns the SloIds field value
func (*HistoricalSummaryRequest) GetSloIdsOk ¶
func (o *HistoricalSummaryRequest) GetSloIdsOk() ([]string, bool)
GetSloIdsOk returns a tuple with the SloIds field value and a boolean to check if the value has been set.
func (HistoricalSummaryRequest) MarshalJSON ¶
func (o HistoricalSummaryRequest) MarshalJSON() ([]byte, error)
func (*HistoricalSummaryRequest) SetSloIds ¶
func (o *HistoricalSummaryRequest) SetSloIds(v []string)
SetSloIds 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 ¶
func (o *HistoricalSummaryResponseInner) GetDate() string
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 ¶
func (o *HistoricalSummaryResponseInner) GetStatus() SummaryStatus
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 ¶
func (o *HistoricalSummaryResponseInner) SetStatus(v SummaryStatus)
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 ¶
func (o *IndicatorPropertiesApmAvailability) GetParams() IndicatorPropertiesApmAvailabilityParams
GetParams returns the Params field value
func (*IndicatorPropertiesApmAvailability) GetParamsOk ¶
func (o *IndicatorPropertiesApmAvailability) GetParamsOk() (*IndicatorPropertiesApmAvailabilityParams, bool)
GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailability) GetType ¶
func (o *IndicatorPropertiesApmAvailability) GetType() string
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 ¶
func (o *IndicatorPropertiesApmAvailability) SetParams(v IndicatorPropertiesApmAvailabilityParams)
SetParams sets field value
func (*IndicatorPropertiesApmAvailability) SetType ¶
func (o *IndicatorPropertiesApmAvailability) SetType(v string)
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 ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironment() string
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 ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*IndicatorPropertiesApmAvailabilityParams) GetFilterOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) 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 (*IndicatorPropertiesApmAvailabilityParams) GetIndex ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetIndex() string
GetIndex returns the Index field value
func (*IndicatorPropertiesApmAvailabilityParams) GetIndexOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) GetService ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetService() string
GetService returns the Service field value
func (*IndicatorPropertiesApmAvailabilityParams) GetServiceOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetServiceOk() (*string, bool)
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 ¶
func (o *IndicatorPropertiesApmAvailabilityParams) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (IndicatorPropertiesApmAvailabilityParams) MarshalJSON ¶
func (o IndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesApmAvailabilityParams) SetEnvironment ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetEnvironment(v string)
SetEnvironment sets field value
func (*IndicatorPropertiesApmAvailabilityParams) SetFilter ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesApmAvailabilityParams) SetIndex ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetIndex(v string)
SetIndex sets field value
func (*IndicatorPropertiesApmAvailabilityParams) SetService ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetService(v string)
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 ¶
func (o *IndicatorPropertiesApmLatency) GetParams() IndicatorPropertiesApmLatencyParams
GetParams returns the Params field value
func (*IndicatorPropertiesApmLatency) GetParamsOk ¶
func (o *IndicatorPropertiesApmLatency) GetParamsOk() (*IndicatorPropertiesApmLatencyParams, bool)
GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatency) GetType ¶
func (o *IndicatorPropertiesApmLatency) GetType() string
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 ¶
func (o *IndicatorPropertiesApmLatency) SetParams(v IndicatorPropertiesApmLatencyParams)
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 ¶
func (o *IndicatorPropertiesApmLatencyParams) GetFilter() string
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 ¶
func (o *IndicatorPropertiesApmLatencyParams) GetIndex() string
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 ¶
func (o *IndicatorPropertiesApmLatencyParams) GetService() string
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 ¶
func (o *IndicatorPropertiesApmLatencyParams) HasFilter() bool
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 ¶
func (o *IndicatorPropertiesApmLatencyParams) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesApmLatencyParams) SetIndex ¶
func (o *IndicatorPropertiesApmLatencyParams) SetIndex(v string)
SetIndex sets field value
func (*IndicatorPropertiesApmLatencyParams) SetService ¶
func (o *IndicatorPropertiesApmLatencyParams) SetService(v string)
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 ¶
func (o *IndicatorPropertiesCustomKql) GetParams() IndicatorPropertiesCustomKqlParams
GetParams returns the Params field value
func (*IndicatorPropertiesCustomKql) GetParamsOk ¶
func (o *IndicatorPropertiesCustomKql) GetParamsOk() (*IndicatorPropertiesCustomKqlParams, bool)
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 ¶
func (o *IndicatorPropertiesCustomKql) SetParams(v IndicatorPropertiesCustomKqlParams)
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,omitempty"` // the KQL query used to define all events. Total *string `json:"total,omitempty"` // 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, 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 ¶
func (o *IndicatorPropertiesCustomKqlParams) GetFilter() string
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 ¶
func (o *IndicatorPropertiesCustomKqlParams) GetGood() string
GetGood returns the Good field value if set, zero value otherwise.
func (*IndicatorPropertiesCustomKqlParams) GetGoodOk ¶
func (o *IndicatorPropertiesCustomKqlParams) GetGoodOk() (*string, bool)
GetGoodOk returns a tuple with the Good field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomKqlParams) GetIndex ¶
func (o *IndicatorPropertiesCustomKqlParams) GetIndex() string
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 ¶
func (o *IndicatorPropertiesCustomKqlParams) GetTotal() string
GetTotal returns the Total field value if set, zero value otherwise.
func (*IndicatorPropertiesCustomKqlParams) GetTotalOk ¶
func (o *IndicatorPropertiesCustomKqlParams) GetTotalOk() (*string, 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 (*IndicatorPropertiesCustomKqlParams) HasFilter ¶
func (o *IndicatorPropertiesCustomKqlParams) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*IndicatorPropertiesCustomKqlParams) HasGood ¶
func (o *IndicatorPropertiesCustomKqlParams) HasGood() bool
HasGood returns a boolean if a field has been set.
func (*IndicatorPropertiesCustomKqlParams) HasTotal ¶
func (o *IndicatorPropertiesCustomKqlParams) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (IndicatorPropertiesCustomKqlParams) MarshalJSON ¶
func (o IndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesCustomKqlParams) SetFilter ¶
func (o *IndicatorPropertiesCustomKqlParams) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesCustomKqlParams) SetGood ¶
func (o *IndicatorPropertiesCustomKqlParams) SetGood(v string)
SetGood gets a reference to the given string and assigns it to the Good field.
func (*IndicatorPropertiesCustomKqlParams) SetIndex ¶
func (o *IndicatorPropertiesCustomKqlParams) SetIndex(v string)
SetIndex sets field value
func (*IndicatorPropertiesCustomKqlParams) SetTimestampField ¶
func (o *IndicatorPropertiesCustomKqlParams) SetTimestampField(v string)
SetTimestampField sets field value
func (*IndicatorPropertiesCustomKqlParams) SetTotal ¶
func (o *IndicatorPropertiesCustomKqlParams) SetTotal(v string)
SetTotal gets a reference to the given string and assigns it to the Total field.
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
func (o *IndicatorPropertiesCustomMetric) GetParams() IndicatorPropertiesCustomMetricParams
GetParams returns the Params field value
func (*IndicatorPropertiesCustomMetric) GetParamsOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetric) GetParamsOk() (*IndicatorPropertiesCustomMetricParams, bool)
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
func (o *IndicatorPropertiesCustomMetric) GetType() string
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
func (o *IndicatorPropertiesCustomMetric) SetParams(v IndicatorPropertiesCustomMetricParams)
SetParams sets field value
func (*IndicatorPropertiesCustomMetric) SetType ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetric) SetType(v string)
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"` // 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, filter 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
func (o *IndicatorPropertiesCustomMetricParams) GetFilter() string
GetFilter returns the Filter field value
func (*IndicatorPropertiesCustomMetricParams) GetFilterOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParams) GetFilterOk() (*string, bool)
GetFilterOk returns a tuple with the Filter field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomMetricParams) GetGood ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParams) GetGood() IndicatorPropertiesCustomMetricParamsGood
GetGood returns the Good field value
func (*IndicatorPropertiesCustomMetricParams) GetGoodOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParams) GetGoodOk() (*IndicatorPropertiesCustomMetricParamsGood, bool)
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
func (o *IndicatorPropertiesCustomMetricParams) GetIndex() string
GetIndex returns the Index field value
func (*IndicatorPropertiesCustomMetricParams) GetIndexOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParams) GetIndexOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParams) GetTotal() IndicatorPropertiesCustomMetricParamsTotal
GetTotal returns the Total field value
func (*IndicatorPropertiesCustomMetricParams) GetTotalOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParams) GetTotalOk() (*IndicatorPropertiesCustomMetricParamsTotal, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value 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
func (o *IndicatorPropertiesCustomMetricParams) SetFilter(v string)
SetFilter sets field value
func (*IndicatorPropertiesCustomMetricParams) SetGood ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParams) SetGood(v IndicatorPropertiesCustomMetricParamsGood)
SetGood sets field value
func (*IndicatorPropertiesCustomMetricParams) SetIndex ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParams) SetIndex(v string)
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
func (o *IndicatorPropertiesCustomMetricParams) SetTotal(v IndicatorPropertiesCustomMetricParamsTotal)
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
func (o *IndicatorPropertiesCustomMetricParamsGood) GetEquation() string
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
func (o *IndicatorPropertiesCustomMetricParamsGood) GetMetrics() []IndicatorPropertiesCustomMetricParamsGoodMetricsInner
GetMetrics returns the Metrics field value
func (*IndicatorPropertiesCustomMetricParamsGood) GetMetricsOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGood) GetMetricsOk() ([]IndicatorPropertiesCustomMetricParamsGoodMetricsInner, bool)
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 (o IndicatorPropertiesCustomMetricParamsGood) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesCustomMetricParamsGood) SetEquation ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGood) SetEquation(v string)
SetEquation sets field value
func (*IndicatorPropertiesCustomMetricParamsGood) SetMetrics ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGood) SetMetrics(v []IndicatorPropertiesCustomMetricParamsGoodMetricsInner)
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
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetAggregation() string
GetAggregation returns the Aggregation field value
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetAggregationOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetAggregationOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetField() string
GetField returns the Field field value
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFieldOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFieldOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetFilterOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) 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 (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetName ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetName() string
GetName returns the Name field value
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetNameOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) GetNameOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (IndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON ¶ added in v0.7.0
func (o IndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetAggregation ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetAggregation(v string)
SetAggregation sets field value
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetField ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetField(v string)
SetField sets field value
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetFilter ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetName ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) SetName(v string)
SetName sets field value
func (IndicatorPropertiesCustomMetricParamsGoodMetricsInner) ToMap ¶ added in v0.7.0
func (o IndicatorPropertiesCustomMetricParamsGoodMetricsInner) ToMap() (map[string]interface{}, error)
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
func (o *IndicatorPropertiesCustomMetricParamsTotal) GetEquation() string
GetEquation returns the Equation field value
func (*IndicatorPropertiesCustomMetricParamsTotal) GetEquationOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotal) GetEquationOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParamsTotal) GetMetrics() []IndicatorPropertiesCustomMetricParamsTotalMetricsInner
GetMetrics returns the Metrics field value
func (*IndicatorPropertiesCustomMetricParamsTotal) GetMetricsOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotal) GetMetricsOk() ([]IndicatorPropertiesCustomMetricParamsTotalMetricsInner, bool)
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 (o IndicatorPropertiesCustomMetricParamsTotal) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesCustomMetricParamsTotal) SetEquation ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotal) SetEquation(v string)
SetEquation sets field value
func (*IndicatorPropertiesCustomMetricParamsTotal) SetMetrics ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotal) SetMetrics(v []IndicatorPropertiesCustomMetricParamsTotalMetricsInner)
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
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetAggregation() string
GetAggregation returns the Aggregation field value
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetAggregationOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetAggregationOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetField() string
GetField returns the Field field value
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFieldOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFieldOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetFilterOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) 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 (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetName ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetName() string
GetName returns the Name field value
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetNameOk ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) GetNameOk() (*string, bool)
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
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (IndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON ¶ added in v0.7.0
func (o IndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetAggregation ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetAggregation(v string)
SetAggregation sets field value
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetField ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetField(v string)
SetField sets field value
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetFilter ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetName ¶ added in v0.7.0
func (o *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) SetName(v string)
SetName sets field value
func (IndicatorPropertiesCustomMetricParamsTotalMetricsInner) ToMap ¶ added in v0.7.0
func (o IndicatorPropertiesCustomMetricParamsTotalMetricsInner) ToMap() (map[string]interface{}, error)
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
func (o *IndicatorPropertiesHistogram) GetParams() IndicatorPropertiesHistogramParams
GetParams returns the Params field value
func (*IndicatorPropertiesHistogram) GetParamsOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogram) GetParamsOk() (*IndicatorPropertiesHistogramParams, bool)
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
func (o *IndicatorPropertiesHistogram) SetParams(v IndicatorPropertiesHistogramParams)
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
func (o *IndicatorPropertiesHistogramParams) GetFilter() string
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
func (o *IndicatorPropertiesHistogramParams) GetGood() IndicatorPropertiesHistogramParamsGood
GetGood returns the Good field value
func (*IndicatorPropertiesHistogramParams) GetGoodOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParams) GetGoodOk() (*IndicatorPropertiesHistogramParamsGood, bool)
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
func (o *IndicatorPropertiesHistogramParams) GetIndex() string
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
func (o *IndicatorPropertiesHistogramParams) GetTotal() IndicatorPropertiesHistogramParamsTotal
GetTotal returns the Total field value
func (*IndicatorPropertiesHistogramParams) GetTotalOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParams) GetTotalOk() (*IndicatorPropertiesHistogramParamsTotal, bool)
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
func (o *IndicatorPropertiesHistogramParams) HasFilter() bool
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
func (o *IndicatorPropertiesHistogramParams) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesHistogramParams) SetGood ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParams) SetGood(v IndicatorPropertiesHistogramParamsGood)
SetGood sets field value
func (*IndicatorPropertiesHistogramParams) SetIndex ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParams) SetIndex(v string)
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
func (o *IndicatorPropertiesHistogramParams) SetTotal(v IndicatorPropertiesHistogramParamsTotal)
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
func (o *IndicatorPropertiesHistogramParamsGood) GetField() string
GetField returns the Field field value
func (*IndicatorPropertiesHistogramParamsGood) GetFieldOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) GetFieldOk() (*string, bool)
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
func (o *IndicatorPropertiesHistogramParamsGood) GetFilter() string
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
func (o *IndicatorPropertiesHistogramParamsGood) GetFrom() float64
GetFrom returns the From field value if set, zero value otherwise.
func (*IndicatorPropertiesHistogramParamsGood) GetFromOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) GetFromOk() (*float64, bool)
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
func (o *IndicatorPropertiesHistogramParamsGood) GetTo() float64
GetTo returns the To field value if set, zero value otherwise.
func (*IndicatorPropertiesHistogramParamsGood) GetToOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) GetToOk() (*float64, bool)
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
func (o *IndicatorPropertiesHistogramParamsGood) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*IndicatorPropertiesHistogramParamsGood) HasFrom ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*IndicatorPropertiesHistogramParamsGood) HasTo ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) HasTo() bool
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
func (o *IndicatorPropertiesHistogramParamsGood) SetField(v string)
SetField sets field value
func (*IndicatorPropertiesHistogramParamsGood) SetFilter ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesHistogramParamsGood) SetFrom ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) SetFrom(v float64)
SetFrom gets a reference to the given float64 and assigns it to the From field.
func (*IndicatorPropertiesHistogramParamsGood) SetTo ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsGood) SetTo(v float64)
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
func (o *IndicatorPropertiesHistogramParamsTotal) GetField() string
GetField returns the Field field value
func (*IndicatorPropertiesHistogramParamsTotal) GetFieldOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) GetFieldOk() (*string, bool)
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
func (o *IndicatorPropertiesHistogramParamsTotal) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*IndicatorPropertiesHistogramParamsTotal) GetFilterOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) 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 (*IndicatorPropertiesHistogramParamsTotal) GetFrom ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) GetFrom() float64
GetFrom returns the From field value if set, zero value otherwise.
func (*IndicatorPropertiesHistogramParamsTotal) GetFromOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) GetFromOk() (*float64, bool)
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
func (o *IndicatorPropertiesHistogramParamsTotal) GetTo() float64
GetTo returns the To field value if set, zero value otherwise.
func (*IndicatorPropertiesHistogramParamsTotal) GetToOk ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) GetToOk() (*float64, bool)
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
func (o *IndicatorPropertiesHistogramParamsTotal) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*IndicatorPropertiesHistogramParamsTotal) HasFrom ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) HasFrom() bool
HasFrom returns a boolean if a field has been set.
func (*IndicatorPropertiesHistogramParamsTotal) HasTo ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) HasTo() bool
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
func (o *IndicatorPropertiesHistogramParamsTotal) SetField(v string)
SetField sets field value
func (*IndicatorPropertiesHistogramParamsTotal) SetFilter ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesHistogramParamsTotal) SetFrom ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) SetFrom(v float64)
SetFrom gets a reference to the given float64 and assigns it to the From field.
func (*IndicatorPropertiesHistogramParamsTotal) SetTo ¶ added in v0.7.0
func (o *IndicatorPropertiesHistogramParamsTotal) SetTo(v float64)
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 MappedNullable ¶
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 (v NullableBudgetingMethod) Get() *BudgetingMethod
func (NullableBudgetingMethod) IsSet ¶
func (v NullableBudgetingMethod) IsSet() bool
func (NullableBudgetingMethod) MarshalJSON ¶
func (v NullableBudgetingMethod) MarshalJSON() ([]byte, error)
func (*NullableBudgetingMethod) Set ¶
func (v *NullableBudgetingMethod) Set(val *BudgetingMethod)
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 (v NullableCreateSloRequest) Get() *CreateSloRequest
func (NullableCreateSloRequest) IsSet ¶
func (v NullableCreateSloRequest) IsSet() bool
func (NullableCreateSloRequest) MarshalJSON ¶
func (v NullableCreateSloRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSloRequest) Set ¶
func (v *NullableCreateSloRequest) Set(val *CreateSloRequest)
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 (v NullableCreateSloRequestIndicator) Get() *CreateSloRequestIndicator
func (NullableCreateSloRequestIndicator) IsSet ¶ added in v0.7.0
func (v NullableCreateSloRequestIndicator) IsSet() bool
func (NullableCreateSloRequestIndicator) MarshalJSON ¶ added in v0.7.0
func (v NullableCreateSloRequestIndicator) MarshalJSON() ([]byte, error)
func (*NullableCreateSloRequestIndicator) Set ¶ added in v0.7.0
func (v *NullableCreateSloRequestIndicator) Set(val *CreateSloRequestIndicator)
func (*NullableCreateSloRequestIndicator) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableCreateSloRequestIndicator) UnmarshalJSON(src []byte) error
func (*NullableCreateSloRequestIndicator) Unset ¶ added in v0.7.0
func (v *NullableCreateSloRequestIndicator) Unset()
type NullableCreateSloResponse ¶
type NullableCreateSloResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateSloResponse ¶
func NewNullableCreateSloResponse(val *CreateSloResponse) *NullableCreateSloResponse
func (NullableCreateSloResponse) Get ¶
func (v NullableCreateSloResponse) Get() *CreateSloResponse
func (NullableCreateSloResponse) IsSet ¶
func (v NullableCreateSloResponse) IsSet() bool
func (NullableCreateSloResponse) MarshalJSON ¶
func (v NullableCreateSloResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateSloResponse) Set ¶
func (v *NullableCreateSloResponse) Set(val *CreateSloResponse)
func (*NullableCreateSloResponse) UnmarshalJSON ¶
func (v *NullableCreateSloResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateSloResponse) Unset ¶
func (v *NullableCreateSloResponse) Unset()
type NullableErrorBudget ¶
type NullableErrorBudget struct {
// contains filtered or unexported fields
}
func NewNullableErrorBudget ¶
func NewNullableErrorBudget(val *ErrorBudget) *NullableErrorBudget
func (NullableErrorBudget) Get ¶
func (v NullableErrorBudget) Get() *ErrorBudget
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 (v NullableFindSloResponse) Get() *FindSloResponse
func (NullableFindSloResponse) IsSet ¶
func (v NullableFindSloResponse) IsSet() bool
func (NullableFindSloResponse) MarshalJSON ¶
func (v NullableFindSloResponse) MarshalJSON() ([]byte, error)
func (*NullableFindSloResponse) Set ¶
func (v *NullableFindSloResponse) Set(val *FindSloResponse)
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 NewNullableHistoricalSummaryRequest ¶
func NewNullableHistoricalSummaryRequest(val *HistoricalSummaryRequest) *NullableHistoricalSummaryRequest
func (NullableHistoricalSummaryRequest) Get ¶
func (v NullableHistoricalSummaryRequest) Get() *HistoricalSummaryRequest
func (NullableHistoricalSummaryRequest) IsSet ¶
func (v NullableHistoricalSummaryRequest) IsSet() bool
func (NullableHistoricalSummaryRequest) MarshalJSON ¶
func (v NullableHistoricalSummaryRequest) MarshalJSON() ([]byte, error)
func (*NullableHistoricalSummaryRequest) Set ¶
func (v *NullableHistoricalSummaryRequest) Set(val *HistoricalSummaryRequest)
func (*NullableHistoricalSummaryRequest) UnmarshalJSON ¶
func (v *NullableHistoricalSummaryRequest) UnmarshalJSON(src []byte) error
func (*NullableHistoricalSummaryRequest) Unset ¶
func (v *NullableHistoricalSummaryRequest) Unset()
type NullableHistoricalSummaryResponseInner ¶
type NullableHistoricalSummaryResponseInner struct {
// contains filtered or unexported fields
}
func NewNullableHistoricalSummaryResponseInner ¶
func NewNullableHistoricalSummaryResponseInner(val *HistoricalSummaryResponseInner) *NullableHistoricalSummaryResponseInner
func (NullableHistoricalSummaryResponseInner) Get ¶
func (v NullableHistoricalSummaryResponseInner) Get() *HistoricalSummaryResponseInner
func (NullableHistoricalSummaryResponseInner) IsSet ¶
func (v NullableHistoricalSummaryResponseInner) IsSet() bool
func (NullableHistoricalSummaryResponseInner) MarshalJSON ¶
func (v NullableHistoricalSummaryResponseInner) MarshalJSON() ([]byte, error)
func (*NullableHistoricalSummaryResponseInner) Set ¶
func (v *NullableHistoricalSummaryResponseInner) Set(val *HistoricalSummaryResponseInner)
func (*NullableHistoricalSummaryResponseInner) UnmarshalJSON ¶
func (v *NullableHistoricalSummaryResponseInner) UnmarshalJSON(src []byte) error
func (*NullableHistoricalSummaryResponseInner) Unset ¶
func (v *NullableHistoricalSummaryResponseInner) Unset()
type NullableIndicatorPropertiesApmAvailability ¶
type NullableIndicatorPropertiesApmAvailability struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmAvailability ¶
func NewNullableIndicatorPropertiesApmAvailability(val *IndicatorPropertiesApmAvailability) *NullableIndicatorPropertiesApmAvailability
func (NullableIndicatorPropertiesApmAvailability) IsSet ¶
func (v NullableIndicatorPropertiesApmAvailability) IsSet() bool
func (NullableIndicatorPropertiesApmAvailability) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmAvailability) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmAvailability) Set ¶
func (v *NullableIndicatorPropertiesApmAvailability) Set(val *IndicatorPropertiesApmAvailability)
func (*NullableIndicatorPropertiesApmAvailability) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmAvailability) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmAvailability) Unset ¶
func (v *NullableIndicatorPropertiesApmAvailability) Unset()
type NullableIndicatorPropertiesApmAvailabilityParams ¶
type NullableIndicatorPropertiesApmAvailabilityParams struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmAvailabilityParams ¶
func NewNullableIndicatorPropertiesApmAvailabilityParams(val *IndicatorPropertiesApmAvailabilityParams) *NullableIndicatorPropertiesApmAvailabilityParams
func (NullableIndicatorPropertiesApmAvailabilityParams) IsSet ¶
func (v NullableIndicatorPropertiesApmAvailabilityParams) IsSet() bool
func (NullableIndicatorPropertiesApmAvailabilityParams) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmAvailabilityParams) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmAvailabilityParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmAvailabilityParams) Unset ¶
func (v *NullableIndicatorPropertiesApmAvailabilityParams) Unset()
type NullableIndicatorPropertiesApmLatency ¶
type NullableIndicatorPropertiesApmLatency struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmLatency ¶
func NewNullableIndicatorPropertiesApmLatency(val *IndicatorPropertiesApmLatency) *NullableIndicatorPropertiesApmLatency
func (NullableIndicatorPropertiesApmLatency) Get ¶
func (v NullableIndicatorPropertiesApmLatency) Get() *IndicatorPropertiesApmLatency
func (NullableIndicatorPropertiesApmLatency) IsSet ¶
func (v NullableIndicatorPropertiesApmLatency) IsSet() bool
func (NullableIndicatorPropertiesApmLatency) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmLatency) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmLatency) Set ¶
func (v *NullableIndicatorPropertiesApmLatency) Set(val *IndicatorPropertiesApmLatency)
func (*NullableIndicatorPropertiesApmLatency) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmLatency) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmLatency) Unset ¶
func (v *NullableIndicatorPropertiesApmLatency) Unset()
type NullableIndicatorPropertiesApmLatencyParams ¶
type NullableIndicatorPropertiesApmLatencyParams struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmLatencyParams ¶
func NewNullableIndicatorPropertiesApmLatencyParams(val *IndicatorPropertiesApmLatencyParams) *NullableIndicatorPropertiesApmLatencyParams
func (NullableIndicatorPropertiesApmLatencyParams) IsSet ¶
func (v NullableIndicatorPropertiesApmLatencyParams) IsSet() bool
func (NullableIndicatorPropertiesApmLatencyParams) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmLatencyParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmLatencyParams) Set ¶
func (v *NullableIndicatorPropertiesApmLatencyParams) Set(val *IndicatorPropertiesApmLatencyParams)
func (*NullableIndicatorPropertiesApmLatencyParams) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmLatencyParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmLatencyParams) Unset ¶
func (v *NullableIndicatorPropertiesApmLatencyParams) Unset()
type NullableIndicatorPropertiesCustomKql ¶
type NullableIndicatorPropertiesCustomKql struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomKql ¶
func NewNullableIndicatorPropertiesCustomKql(val *IndicatorPropertiesCustomKql) *NullableIndicatorPropertiesCustomKql
func (NullableIndicatorPropertiesCustomKql) Get ¶
func (v NullableIndicatorPropertiesCustomKql) Get() *IndicatorPropertiesCustomKql
func (NullableIndicatorPropertiesCustomKql) IsSet ¶
func (v NullableIndicatorPropertiesCustomKql) IsSet() bool
func (NullableIndicatorPropertiesCustomKql) MarshalJSON ¶
func (v NullableIndicatorPropertiesCustomKql) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomKql) Set ¶
func (v *NullableIndicatorPropertiesCustomKql) Set(val *IndicatorPropertiesCustomKql)
func (*NullableIndicatorPropertiesCustomKql) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesCustomKql) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomKql) Unset ¶
func (v *NullableIndicatorPropertiesCustomKql) Unset()
type NullableIndicatorPropertiesCustomKqlParams ¶
type NullableIndicatorPropertiesCustomKqlParams struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomKqlParams ¶
func NewNullableIndicatorPropertiesCustomKqlParams(val *IndicatorPropertiesCustomKqlParams) *NullableIndicatorPropertiesCustomKqlParams
func (NullableIndicatorPropertiesCustomKqlParams) IsSet ¶
func (v NullableIndicatorPropertiesCustomKqlParams) IsSet() bool
func (NullableIndicatorPropertiesCustomKqlParams) MarshalJSON ¶
func (v NullableIndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomKqlParams) Set ¶
func (v *NullableIndicatorPropertiesCustomKqlParams) Set(val *IndicatorPropertiesCustomKqlParams)
func (*NullableIndicatorPropertiesCustomKqlParams) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesCustomKqlParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomKqlParams) Unset ¶
func (v *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) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetric) IsSet() bool
func (NullableIndicatorPropertiesCustomMetric) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetric) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomMetric) Set ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetric) Set(val *IndicatorPropertiesCustomMetric)
func (*NullableIndicatorPropertiesCustomMetric) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetric) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomMetric) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetric) Unset()
type NullableIndicatorPropertiesCustomMetricParams ¶ added in v0.7.0
type NullableIndicatorPropertiesCustomMetricParams struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomMetricParams ¶ added in v0.7.0
func NewNullableIndicatorPropertiesCustomMetricParams(val *IndicatorPropertiesCustomMetricParams) *NullableIndicatorPropertiesCustomMetricParams
func (NullableIndicatorPropertiesCustomMetricParams) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParams) IsSet() bool
func (NullableIndicatorPropertiesCustomMetricParams) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomMetricParams) Set ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParams) Set(val *IndicatorPropertiesCustomMetricParams)
func (*NullableIndicatorPropertiesCustomMetricParams) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomMetricParams) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParams) Unset()
type NullableIndicatorPropertiesCustomMetricParamsGood ¶ added in v0.7.0
type NullableIndicatorPropertiesCustomMetricParamsGood struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomMetricParamsGood ¶ added in v0.7.0
func NewNullableIndicatorPropertiesCustomMetricParamsGood(val *IndicatorPropertiesCustomMetricParamsGood) *NullableIndicatorPropertiesCustomMetricParamsGood
func (NullableIndicatorPropertiesCustomMetricParamsGood) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsGood) IsSet() bool
func (NullableIndicatorPropertiesCustomMetricParamsGood) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsGood) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomMetricParamsGood) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsGood) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomMetricParamsGood) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsGood) Unset()
type NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner ¶ added in v0.7.0
type NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner ¶ added in v0.7.0
func NewNullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner(val *IndicatorPropertiesCustomMetricParamsGoodMetricsInner) *NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner
func (NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) IsSet() bool
func (NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsGoodMetricsInner) Unset()
type NullableIndicatorPropertiesCustomMetricParamsTotal ¶ added in v0.7.0
type NullableIndicatorPropertiesCustomMetricParamsTotal struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomMetricParamsTotal ¶ added in v0.7.0
func NewNullableIndicatorPropertiesCustomMetricParamsTotal(val *IndicatorPropertiesCustomMetricParamsTotal) *NullableIndicatorPropertiesCustomMetricParamsTotal
func (NullableIndicatorPropertiesCustomMetricParamsTotal) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsTotal) IsSet() bool
func (NullableIndicatorPropertiesCustomMetricParamsTotal) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsTotal) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomMetricParamsTotal) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsTotal) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomMetricParamsTotal) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsTotal) Unset()
type NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner ¶ added in v0.7.0
type NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner ¶ added in v0.7.0
func NewNullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner(val *IndicatorPropertiesCustomMetricParamsTotalMetricsInner) *NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner
func (NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) IsSet() bool
func (NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesCustomMetricParamsTotalMetricsInner) Unset()
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 (v NullableIndicatorPropertiesHistogram) Get() *IndicatorPropertiesHistogram
func (NullableIndicatorPropertiesHistogram) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogram) IsSet() bool
func (NullableIndicatorPropertiesHistogram) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogram) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesHistogram) Set ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogram) Set(val *IndicatorPropertiesHistogram)
func (*NullableIndicatorPropertiesHistogram) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogram) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesHistogram) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogram) Unset()
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) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogramParams) IsSet() bool
func (NullableIndicatorPropertiesHistogramParams) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogramParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesHistogramParams) Set ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParams) Set(val *IndicatorPropertiesHistogramParams)
func (*NullableIndicatorPropertiesHistogramParams) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesHistogramParams) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParams) Unset()
type NullableIndicatorPropertiesHistogramParamsGood ¶ added in v0.7.0
type NullableIndicatorPropertiesHistogramParamsGood struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesHistogramParamsGood ¶ added in v0.7.0
func NewNullableIndicatorPropertiesHistogramParamsGood(val *IndicatorPropertiesHistogramParamsGood) *NullableIndicatorPropertiesHistogramParamsGood
func (NullableIndicatorPropertiesHistogramParamsGood) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogramParamsGood) IsSet() bool
func (NullableIndicatorPropertiesHistogramParamsGood) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogramParamsGood) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesHistogramParamsGood) Set ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParamsGood) Set(val *IndicatorPropertiesHistogramParamsGood)
func (*NullableIndicatorPropertiesHistogramParamsGood) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParamsGood) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesHistogramParamsGood) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParamsGood) Unset()
type NullableIndicatorPropertiesHistogramParamsTotal ¶ added in v0.7.0
type NullableIndicatorPropertiesHistogramParamsTotal struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesHistogramParamsTotal ¶ added in v0.7.0
func NewNullableIndicatorPropertiesHistogramParamsTotal(val *IndicatorPropertiesHistogramParamsTotal) *NullableIndicatorPropertiesHistogramParamsTotal
func (NullableIndicatorPropertiesHistogramParamsTotal) IsSet ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogramParamsTotal) IsSet() bool
func (NullableIndicatorPropertiesHistogramParamsTotal) MarshalJSON ¶ added in v0.7.0
func (v NullableIndicatorPropertiesHistogramParamsTotal) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesHistogramParamsTotal) UnmarshalJSON ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParamsTotal) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesHistogramParamsTotal) Unset ¶ added in v0.7.0
func (v *NullableIndicatorPropertiesHistogramParamsTotal) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type 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 (v NullableModel400Response) Get() *Model400Response
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 (v *NullableModel400Response) Set(val *Model400Response)
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 (v NullableModel401Response) Get() *Model401Response
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 (v *NullableModel401Response) Set(val *Model401Response)
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 (v NullableModel403Response) Get() *Model403Response
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 (v *NullableModel403Response) Set(val *Model403Response)
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 (v NullableModel404Response) Get() *Model404Response
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 (v *NullableModel404Response) Set(val *Model404Response)
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 (v NullableModel409Response) Get() *Model409Response
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 (v *NullableModel409Response) Set(val *Model409Response)
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 (v NullableSloResponse) Get() *SloResponse
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 (v NullableSloResponseIndicator) Get() *SloResponseIndicator
func (NullableSloResponseIndicator) IsSet ¶
func (v NullableSloResponseIndicator) IsSet() bool
func (NullableSloResponseIndicator) MarshalJSON ¶
func (v NullableSloResponseIndicator) MarshalJSON() ([]byte, error)
func (*NullableSloResponseIndicator) Set ¶
func (v *NullableSloResponseIndicator) Set(val *SloResponseIndicator)
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 (v NullableSummaryStatus) Get() *SummaryStatus
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 NullableUpdateSloRequest ¶
type NullableUpdateSloRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSloRequest ¶
func NewNullableUpdateSloRequest(val *UpdateSloRequest) *NullableUpdateSloRequest
func (NullableUpdateSloRequest) Get ¶
func (v NullableUpdateSloRequest) Get() *UpdateSloRequest
func (NullableUpdateSloRequest) IsSet ¶
func (v NullableUpdateSloRequest) IsSet() bool
func (NullableUpdateSloRequest) MarshalJSON ¶
func (v NullableUpdateSloRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateSloRequest) Set ¶
func (v *NullableUpdateSloRequest) Set(val *UpdateSloRequest)
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 ¶
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) GetTargetOk ¶
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
GetTimesliceTarget returns the TimesliceTarget field value if set, zero value otherwise.
func (*Objective) GetTimesliceTargetOk ¶ added in v0.7.0
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
GetTimesliceWindow returns the TimesliceWindow field value if set, zero value otherwise.
func (*Objective) GetTimesliceWindowOk ¶ added in v0.7.0
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
HasTimesliceTarget returns a boolean if a field has been set.
func (*Objective) HasTimesliceWindow ¶ added in v0.7.0
HasTimesliceWindow returns a boolean if a field has been set.
func (Objective) MarshalJSON ¶
func (*Objective) SetTimesliceTarget ¶ added in v0.7.0
SetTimesliceTarget gets a reference to the given float64 and assigns it to the TimesliceTarget field.
func (*Objective) SetTimesliceWindow ¶ added in v0.7.0
SetTimesliceWindow gets a reference to the given string and assigns it to the TimesliceWindow field.
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
type ServerVariable ¶
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 ¶
GetFrequency returns the Frequency field value if set, zero value otherwise.
func (*Settings) GetFrequencyOk ¶
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 ¶
GetSyncDelay returns the SyncDelay field value if set, zero value otherwise.
func (*Settings) GetSyncDelayOk ¶
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 ¶
HasFrequency returns a boolean if a field has been set.
func (*Settings) HasSyncDelay ¶
HasSyncDelay returns a boolean if a field has been set.
func (Settings) MarshalJSON ¶
func (*Settings) SetFrequency ¶
SetFrequency gets a reference to the given string and assigns it to the Frequency field.
func (*Settings) SetSyncDelay ¶
SetSyncDelay gets a reference to the given string and assigns it to the SyncDelay field.
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) /* 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
func (a *SloAPIService) CreateSloOpExecute(r ApiCreateSloOpRequest) (*CreateSloResponse, *http.Response, error)
Execute executes the request
@return CreateSloResponse
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
func (a *SloAPIService) HistoricalSummaryOpExecute(r ApiHistoricalSummaryOpRequest) (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
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"` // 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, 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) 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) 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) 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) 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) 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 }
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 (*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 ¶
GetSliValue returns the SliValue field value
func (*Summary) GetSliValueOk ¶
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 (*Summary) SetErrorBudget ¶
func (o *Summary) SetErrorBudget(v ErrorBudget)
SetErrorBudget sets field value
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 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"` }
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) 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) 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) 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 ¶
- api_slo.go
- client.go
- configuration.go
- model_400_response.go
- model_401_response.go
- model_403_response.go
- model_404_response.go
- model_409_response.go
- model_budgeting_method.go
- model_create_slo_request.go
- model_create_slo_request_indicator.go
- model_create_slo_response.go
- model_error_budget.go
- model_find_slo_response.go
- model_historical_summary_request.go
- model_historical_summary_response_inner.go
- model_indicator_properties_apm_availability.go
- model_indicator_properties_apm_availability_params.go
- model_indicator_properties_apm_latency.go
- model_indicator_properties_apm_latency_params.go
- model_indicator_properties_custom_kql.go
- model_indicator_properties_custom_kql_params.go
- model_indicator_properties_custom_metric.go
- model_indicator_properties_custom_metric_params.go
- model_indicator_properties_custom_metric_params_good.go
- model_indicator_properties_custom_metric_params_good_metrics_inner.go
- model_indicator_properties_custom_metric_params_total.go
- model_indicator_properties_custom_metric_params_total_metrics_inner.go
- model_indicator_properties_histogram.go
- model_indicator_properties_histogram_params.go
- model_indicator_properties_histogram_params_good.go
- model_indicator_properties_histogram_params_total.go
- model_objective.go
- model_settings.go
- model_slo_response.go
- model_slo_response_indicator.go
- model_summary.go
- model_summary_status.go
- model_time_window.go
- model_update_slo_request.go
- response.go
- utils.go