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 ApiErrorResponse
- func (o *ApiErrorResponse) GetCode() int64
- func (o *ApiErrorResponse) GetCodeOk() (*int64, bool)
- func (o *ApiErrorResponse) GetError() string
- func (o *ApiErrorResponse) GetErrorOk() (*string, bool)
- func (o ApiErrorResponse) MarshalJSON() ([]byte, error)
- func (o *ApiErrorResponse) SetCode(v int64)
- func (o *ApiErrorResponse) SetError(v string)
- func (o ApiErrorResponse) ToMap() (map[string]interface{}, error)
- func (o *ApiErrorResponse) UnmarshalJSON(data []byte) (err error)
- type ApiSLOCreateResponse
- func (o *ApiSLOCreateResponse) GetMessage() string
- func (o *ApiSLOCreateResponse) GetMessageOk() (*string, bool)
- func (o *ApiSLOCreateResponse) GetUuid() string
- func (o *ApiSLOCreateResponse) GetUuidOk() (*string, bool)
- func (o ApiSLOCreateResponse) MarshalJSON() ([]byte, error)
- func (o *ApiSLOCreateResponse) SetMessage(v string)
- func (o *ApiSLOCreateResponse) SetUuid(v string)
- func (o ApiSLOCreateResponse) ToMap() (map[string]interface{}, error)
- func (o *ApiSLOCreateResponse) UnmarshalJSON(data []byte) (err error)
- type ApiSLOListResponse
- func (o *ApiSLOListResponse) GetSlos() []SloV00Slo
- func (o *ApiSLOListResponse) GetSlosOk() ([]SloV00Slo, bool)
- func (o ApiSLOListResponse) MarshalJSON() ([]byte, error)
- func (o *ApiSLOListResponse) SetSlos(v []SloV00Slo)
- func (o ApiSLOListResponse) ToMap() (map[string]interface{}, error)
- func (o *ApiSLOListResponse) UnmarshalJSON(data []byte) (err error)
- type ApiV1SloGetRequest
- type ApiV1SloIdDeleteRequest
- type ApiV1SloIdGetRequest
- type ApiV1SloIdPutRequest
- type ApiV1SloPostRequest
- type BasicAuth
- type Configuration
- type DefaultAPIService
- func (a *DefaultAPIService) V1SloGet(ctx context.Context) ApiV1SloGetRequest
- func (a *DefaultAPIService) V1SloGetExecute(r ApiV1SloGetRequest) (*ApiSLOListResponse, *http.Response, error)
- func (a *DefaultAPIService) V1SloIdDelete(ctx context.Context, id string) ApiV1SloIdDeleteRequest
- func (a *DefaultAPIService) V1SloIdDeleteExecute(r ApiV1SloIdDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) V1SloIdGet(ctx context.Context, id string) ApiV1SloIdGetRequest
- func (a *DefaultAPIService) V1SloIdGetExecute(r ApiV1SloIdGetRequest) (*SloV00Slo, *http.Response, error)
- func (a *DefaultAPIService) V1SloIdPut(ctx context.Context, id string) ApiV1SloIdPutRequest
- func (a *DefaultAPIService) V1SloIdPutExecute(r ApiV1SloIdPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) V1SloPost(ctx context.Context) ApiV1SloPostRequest
- func (a *DefaultAPIService) V1SloPostExecute(r ApiV1SloPostRequest) (*ApiSLOCreateResponse, *http.Response, error)
- type GenericOpenAPIError
- type MappedNullable
- type NullableApiErrorResponse
- func (v NullableApiErrorResponse) Get() *ApiErrorResponse
- func (v NullableApiErrorResponse) IsSet() bool
- func (v NullableApiErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiErrorResponse) Set(val *ApiErrorResponse)
- func (v *NullableApiErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiErrorResponse) Unset()
- type NullableApiSLOCreateResponse
- func (v NullableApiSLOCreateResponse) Get() *ApiSLOCreateResponse
- func (v NullableApiSLOCreateResponse) IsSet() bool
- func (v NullableApiSLOCreateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiSLOCreateResponse) Set(val *ApiSLOCreateResponse)
- func (v *NullableApiSLOCreateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiSLOCreateResponse) Unset()
- type NullableApiSLOListResponse
- func (v NullableApiSLOListResponse) Get() *ApiSLOListResponse
- func (v NullableApiSLOListResponse) IsSet() bool
- func (v NullableApiSLOListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableApiSLOListResponse) Set(val *ApiSLOListResponse)
- func (v *NullableApiSLOListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableApiSLOListResponse) Unset()
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableSloV00AdvancedOptions
- func (v NullableSloV00AdvancedOptions) Get() *SloV00AdvancedOptions
- func (v NullableSloV00AdvancedOptions) IsSet() bool
- func (v NullableSloV00AdvancedOptions) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00AdvancedOptions) Set(val *SloV00AdvancedOptions)
- func (v *NullableSloV00AdvancedOptions) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00AdvancedOptions) Unset()
- type NullableSloV00Alerting
- func (v NullableSloV00Alerting) Get() *SloV00Alerting
- func (v NullableSloV00Alerting) IsSet() bool
- func (v NullableSloV00Alerting) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00Alerting) Set(val *SloV00Alerting)
- func (v *NullableSloV00Alerting) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00Alerting) Unset()
- type NullableSloV00AlertingMetadata
- func (v NullableSloV00AlertingMetadata) Get() *SloV00AlertingMetadata
- func (v NullableSloV00AlertingMetadata) IsSet() bool
- func (v NullableSloV00AlertingMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00AlertingMetadata) Set(val *SloV00AlertingMetadata)
- func (v *NullableSloV00AlertingMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00AlertingMetadata) Unset()
- type NullableSloV00DashboardRef
- func (v NullableSloV00DashboardRef) Get() *SloV00DashboardRef
- func (v NullableSloV00DashboardRef) IsSet() bool
- func (v NullableSloV00DashboardRef) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00DashboardRef) Set(val *SloV00DashboardRef)
- func (v *NullableSloV00DashboardRef) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00DashboardRef) Unset()
- type NullableSloV00DestinationDatasource
- func (v NullableSloV00DestinationDatasource) Get() *SloV00DestinationDatasource
- func (v NullableSloV00DestinationDatasource) IsSet() bool
- func (v NullableSloV00DestinationDatasource) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00DestinationDatasource) Set(val *SloV00DestinationDatasource)
- func (v *NullableSloV00DestinationDatasource) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00DestinationDatasource) Unset()
- type NullableSloV00FailureRatioQuery
- func (v NullableSloV00FailureRatioQuery) Get() *SloV00FailureRatioQuery
- func (v NullableSloV00FailureRatioQuery) IsSet() bool
- func (v NullableSloV00FailureRatioQuery) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00FailureRatioQuery) Set(val *SloV00FailureRatioQuery)
- func (v *NullableSloV00FailureRatioQuery) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00FailureRatioQuery) Unset()
- type NullableSloV00FailureThresholdQuery
- func (v NullableSloV00FailureThresholdQuery) Get() *SloV00FailureThresholdQuery
- func (v NullableSloV00FailureThresholdQuery) IsSet() bool
- func (v NullableSloV00FailureThresholdQuery) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00FailureThresholdQuery) Set(val *SloV00FailureThresholdQuery)
- func (v *NullableSloV00FailureThresholdQuery) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00FailureThresholdQuery) Unset()
- type NullableSloV00Folder
- func (v NullableSloV00Folder) Get() *SloV00Folder
- func (v NullableSloV00Folder) IsSet() bool
- func (v NullableSloV00Folder) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00Folder) Set(val *SloV00Folder)
- func (v *NullableSloV00Folder) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00Folder) Unset()
- type NullableSloV00FreeformQuery
- func (v NullableSloV00FreeformQuery) Get() *SloV00FreeformQuery
- func (v NullableSloV00FreeformQuery) IsSet() bool
- func (v NullableSloV00FreeformQuery) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00FreeformQuery) Set(val *SloV00FreeformQuery)
- func (v *NullableSloV00FreeformQuery) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00FreeformQuery) Unset()
- type NullableSloV00Label
- func (v NullableSloV00Label) Get() *SloV00Label
- func (v NullableSloV00Label) IsSet() bool
- func (v NullableSloV00Label) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00Label) Set(val *SloV00Label)
- func (v *NullableSloV00Label) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00Label) Unset()
- type NullableSloV00MetricDef
- func (v NullableSloV00MetricDef) Get() *SloV00MetricDef
- func (v NullableSloV00MetricDef) IsSet() bool
- func (v NullableSloV00MetricDef) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00MetricDef) Set(val *SloV00MetricDef)
- func (v *NullableSloV00MetricDef) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00MetricDef) Unset()
- type NullableSloV00Objective
- func (v NullableSloV00Objective) Get() *SloV00Objective
- func (v NullableSloV00Objective) IsSet() bool
- func (v NullableSloV00Objective) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00Objective) Set(val *SloV00Objective)
- func (v *NullableSloV00Objective) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00Objective) Unset()
- type NullableSloV00Query
- func (v NullableSloV00Query) Get() *SloV00Query
- func (v NullableSloV00Query) IsSet() bool
- func (v NullableSloV00Query) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00Query) Set(val *SloV00Query)
- func (v *NullableSloV00Query) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00Query) Unset()
- type NullableSloV00RatioQuery
- func (v NullableSloV00RatioQuery) Get() *SloV00RatioQuery
- func (v NullableSloV00RatioQuery) IsSet() bool
- func (v NullableSloV00RatioQuery) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00RatioQuery) Set(val *SloV00RatioQuery)
- func (v *NullableSloV00RatioQuery) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00RatioQuery) Unset()
- type NullableSloV00ReadOnly
- func (v NullableSloV00ReadOnly) Get() *SloV00ReadOnly
- func (v NullableSloV00ReadOnly) IsSet() bool
- func (v NullableSloV00ReadOnly) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00ReadOnly) Set(val *SloV00ReadOnly)
- func (v *NullableSloV00ReadOnly) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00ReadOnly) Unset()
- type NullableSloV00Slo
- type NullableSloV00Status
- func (v NullableSloV00Status) Get() *SloV00Status
- func (v NullableSloV00Status) IsSet() bool
- func (v NullableSloV00Status) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00Status) Set(val *SloV00Status)
- func (v *NullableSloV00Status) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00Status) Unset()
- type NullableSloV00Threshold
- func (v NullableSloV00Threshold) Get() *SloV00Threshold
- func (v NullableSloV00Threshold) IsSet() bool
- func (v NullableSloV00Threshold) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00Threshold) Set(val *SloV00Threshold)
- func (v *NullableSloV00Threshold) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00Threshold) Unset()
- type NullableSloV00ThresholdQuery
- func (v NullableSloV00ThresholdQuery) Get() *SloV00ThresholdQuery
- func (v NullableSloV00ThresholdQuery) IsSet() bool
- func (v NullableSloV00ThresholdQuery) MarshalJSON() ([]byte, error)
- func (v *NullableSloV00ThresholdQuery) Set(val *SloV00ThresholdQuery)
- func (v *NullableSloV00ThresholdQuery) UnmarshalJSON(src []byte) error
- func (v *NullableSloV00ThresholdQuery) Unset()
- type NullableString
- type NullableTime
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SloV00AdvancedOptions
- func (o *SloV00AdvancedOptions) GetMinFailures() int64
- func (o *SloV00AdvancedOptions) GetMinFailuresOk() (*int64, bool)
- func (o *SloV00AdvancedOptions) HasMinFailures() bool
- func (o SloV00AdvancedOptions) MarshalJSON() ([]byte, error)
- func (o *SloV00AdvancedOptions) SetMinFailures(v int64)
- func (o SloV00AdvancedOptions) ToMap() (map[string]interface{}, error)
- type SloV00Alerting
- func (o *SloV00Alerting) GetAdvancedOptions() SloV00AdvancedOptions
- func (o *SloV00Alerting) GetAdvancedOptionsOk() (*SloV00AdvancedOptions, bool)
- func (o *SloV00Alerting) GetAnnotations() []SloV00Label
- func (o *SloV00Alerting) GetAnnotationsOk() ([]SloV00Label, bool)
- func (o *SloV00Alerting) GetFastBurn() SloV00AlertingMetadata
- func (o *SloV00Alerting) GetFastBurnOk() (*SloV00AlertingMetadata, bool)
- func (o *SloV00Alerting) GetLabels() []SloV00Label
- func (o *SloV00Alerting) GetLabelsOk() ([]SloV00Label, bool)
- func (o *SloV00Alerting) GetSlowBurn() SloV00AlertingMetadata
- func (o *SloV00Alerting) GetSlowBurnOk() (*SloV00AlertingMetadata, bool)
- func (o *SloV00Alerting) HasAdvancedOptions() bool
- func (o *SloV00Alerting) HasAnnotations() bool
- func (o *SloV00Alerting) HasFastBurn() bool
- func (o *SloV00Alerting) HasLabels() bool
- func (o *SloV00Alerting) HasSlowBurn() bool
- func (o SloV00Alerting) MarshalJSON() ([]byte, error)
- func (o *SloV00Alerting) SetAdvancedOptions(v SloV00AdvancedOptions)
- func (o *SloV00Alerting) SetAnnotations(v []SloV00Label)
- func (o *SloV00Alerting) SetFastBurn(v SloV00AlertingMetadata)
- func (o *SloV00Alerting) SetLabels(v []SloV00Label)
- func (o *SloV00Alerting) SetSlowBurn(v SloV00AlertingMetadata)
- func (o SloV00Alerting) ToMap() (map[string]interface{}, error)
- type SloV00AlertingMetadata
- func (o *SloV00AlertingMetadata) GetAnnotations() []SloV00Label
- func (o *SloV00AlertingMetadata) GetAnnotationsOk() ([]SloV00Label, bool)
- func (o *SloV00AlertingMetadata) GetLabels() []SloV00Label
- func (o *SloV00AlertingMetadata) GetLabelsOk() ([]SloV00Label, bool)
- func (o *SloV00AlertingMetadata) HasAnnotations() bool
- func (o *SloV00AlertingMetadata) HasLabels() bool
- func (o SloV00AlertingMetadata) MarshalJSON() ([]byte, error)
- func (o *SloV00AlertingMetadata) SetAnnotations(v []SloV00Label)
- func (o *SloV00AlertingMetadata) SetLabels(v []SloV00Label)
- func (o SloV00AlertingMetadata) ToMap() (map[string]interface{}, error)
- type SloV00DashboardRef
- func (o *SloV00DashboardRef) GetUID() string
- func (o *SloV00DashboardRef) GetUIDOk() (*string, bool)
- func (o SloV00DashboardRef) MarshalJSON() ([]byte, error)
- func (o *SloV00DashboardRef) SetUID(v string)
- func (o SloV00DashboardRef) ToMap() (map[string]interface{}, error)
- func (o *SloV00DashboardRef) UnmarshalJSON(data []byte) (err error)
- type SloV00DestinationDatasource
- func (o *SloV00DestinationDatasource) GetType() string
- func (o *SloV00DestinationDatasource) GetTypeOk() (*string, bool)
- func (o *SloV00DestinationDatasource) GetUid() string
- func (o *SloV00DestinationDatasource) GetUidOk() (*string, bool)
- func (o *SloV00DestinationDatasource) HasType() bool
- func (o *SloV00DestinationDatasource) HasUid() bool
- func (o SloV00DestinationDatasource) MarshalJSON() ([]byte, error)
- func (o *SloV00DestinationDatasource) SetType(v string)
- func (o *SloV00DestinationDatasource) SetUid(v string)
- func (o SloV00DestinationDatasource) ToMap() (map[string]interface{}, error)
- type SloV00FailureRatioQuery
- func (o *SloV00FailureRatioQuery) GetFailureMetric() SloV00MetricDef
- func (o *SloV00FailureRatioQuery) GetFailureMetricOk() (*SloV00MetricDef, bool)
- func (o *SloV00FailureRatioQuery) GetGroupByLabels() []string
- func (o *SloV00FailureRatioQuery) GetGroupByLabelsOk() ([]string, bool)
- func (o *SloV00FailureRatioQuery) GetTotalMetric() SloV00MetricDef
- func (o *SloV00FailureRatioQuery) GetTotalMetricOk() (*SloV00MetricDef, bool)
- func (o *SloV00FailureRatioQuery) HasGroupByLabels() bool
- func (o SloV00FailureRatioQuery) MarshalJSON() ([]byte, error)
- func (o *SloV00FailureRatioQuery) SetFailureMetric(v SloV00MetricDef)
- func (o *SloV00FailureRatioQuery) SetGroupByLabels(v []string)
- func (o *SloV00FailureRatioQuery) SetTotalMetric(v SloV00MetricDef)
- func (o SloV00FailureRatioQuery) ToMap() (map[string]interface{}, error)
- func (o *SloV00FailureRatioQuery) UnmarshalJSON(data []byte) (err error)
- type SloV00FailureThresholdQuery
- func (o *SloV00FailureThresholdQuery) GetFailureThresholdExpression() string
- func (o *SloV00FailureThresholdQuery) GetFailureThresholdExpressionOk() (*string, bool)
- func (o *SloV00FailureThresholdQuery) GetGroupByLabels() []string
- func (o *SloV00FailureThresholdQuery) GetGroupByLabelsOk() ([]string, bool)
- func (o *SloV00FailureThresholdQuery) GetThreshold() SloV00Threshold
- func (o *SloV00FailureThresholdQuery) GetThresholdOk() (*SloV00Threshold, bool)
- func (o *SloV00FailureThresholdQuery) HasGroupByLabels() bool
- func (o SloV00FailureThresholdQuery) MarshalJSON() ([]byte, error)
- func (o *SloV00FailureThresholdQuery) SetFailureThresholdExpression(v string)
- func (o *SloV00FailureThresholdQuery) SetGroupByLabels(v []string)
- func (o *SloV00FailureThresholdQuery) SetThreshold(v SloV00Threshold)
- func (o SloV00FailureThresholdQuery) ToMap() (map[string]interface{}, error)
- func (o *SloV00FailureThresholdQuery) UnmarshalJSON(data []byte) (err error)
- type SloV00Folder
- type SloV00FreeformQuery
- func (o *SloV00FreeformQuery) GetQuery() string
- func (o *SloV00FreeformQuery) GetQueryOk() (*string, bool)
- func (o SloV00FreeformQuery) MarshalJSON() ([]byte, error)
- func (o *SloV00FreeformQuery) SetQuery(v string)
- func (o SloV00FreeformQuery) ToMap() (map[string]interface{}, error)
- func (o *SloV00FreeformQuery) UnmarshalJSON(data []byte) (err error)
- type SloV00Label
- func (o *SloV00Label) GetKey() string
- func (o *SloV00Label) GetKeyOk() (*string, bool)
- func (o *SloV00Label) GetValue() string
- func (o *SloV00Label) GetValueOk() (*string, bool)
- func (o SloV00Label) MarshalJSON() ([]byte, error)
- func (o *SloV00Label) SetKey(v string)
- func (o *SloV00Label) SetValue(v string)
- func (o SloV00Label) ToMap() (map[string]interface{}, error)
- func (o *SloV00Label) UnmarshalJSON(data []byte) (err error)
- type SloV00MetricDef
- func (o *SloV00MetricDef) GetPrometheusMetric() string
- func (o *SloV00MetricDef) GetPrometheusMetricOk() (*string, bool)
- func (o *SloV00MetricDef) GetType() string
- func (o *SloV00MetricDef) GetTypeOk() (*string, bool)
- func (o *SloV00MetricDef) HasType() bool
- func (o SloV00MetricDef) MarshalJSON() ([]byte, error)
- func (o *SloV00MetricDef) SetPrometheusMetric(v string)
- func (o *SloV00MetricDef) SetType(v string)
- func (o SloV00MetricDef) ToMap() (map[string]interface{}, error)
- func (o *SloV00MetricDef) UnmarshalJSON(data []byte) (err error)
- type SloV00Objective
- func (o *SloV00Objective) GetValue() float64
- func (o *SloV00Objective) GetValueOk() (*float64, bool)
- func (o *SloV00Objective) GetWindow() string
- func (o *SloV00Objective) GetWindowOk() (*string, bool)
- func (o SloV00Objective) MarshalJSON() ([]byte, error)
- func (o *SloV00Objective) SetValue(v float64)
- func (o *SloV00Objective) SetWindow(v string)
- func (o SloV00Objective) ToMap() (map[string]interface{}, error)
- func (o *SloV00Objective) UnmarshalJSON(data []byte) (err error)
- type SloV00Query
- func (o *SloV00Query) GetFailureRatio() SloV00FailureRatioQuery
- func (o *SloV00Query) GetFailureRatioOk() (*SloV00FailureRatioQuery, bool)
- func (o *SloV00Query) GetFailureThreshold() SloV00FailureThresholdQuery
- func (o *SloV00Query) GetFailureThresholdOk() (*SloV00FailureThresholdQuery, bool)
- func (o *SloV00Query) GetFreeform() SloV00FreeformQuery
- func (o *SloV00Query) GetFreeformOk() (*SloV00FreeformQuery, bool)
- func (o *SloV00Query) GetRatio() SloV00RatioQuery
- func (o *SloV00Query) GetRatioOk() (*SloV00RatioQuery, bool)
- func (o *SloV00Query) GetThreshold() SloV00ThresholdQuery
- func (o *SloV00Query) GetThresholdOk() (*SloV00ThresholdQuery, bool)
- func (o *SloV00Query) GetType() string
- func (o *SloV00Query) GetTypeOk() (*string, bool)
- func (o *SloV00Query) HasFailureRatio() bool
- func (o *SloV00Query) HasFailureThreshold() bool
- func (o *SloV00Query) HasFreeform() bool
- func (o *SloV00Query) HasRatio() bool
- func (o *SloV00Query) HasThreshold() bool
- func (o SloV00Query) MarshalJSON() ([]byte, error)
- func (o *SloV00Query) SetFailureRatio(v SloV00FailureRatioQuery)
- func (o *SloV00Query) SetFailureThreshold(v SloV00FailureThresholdQuery)
- func (o *SloV00Query) SetFreeform(v SloV00FreeformQuery)
- func (o *SloV00Query) SetRatio(v SloV00RatioQuery)
- func (o *SloV00Query) SetThreshold(v SloV00ThresholdQuery)
- func (o *SloV00Query) SetType(v string)
- func (o SloV00Query) ToMap() (map[string]interface{}, error)
- func (o *SloV00Query) UnmarshalJSON(data []byte) (err error)
- type SloV00RatioQuery
- func (o *SloV00RatioQuery) GetGroupByLabels() []string
- func (o *SloV00RatioQuery) GetGroupByLabelsOk() ([]string, bool)
- func (o *SloV00RatioQuery) GetSuccessMetric() SloV00MetricDef
- func (o *SloV00RatioQuery) GetSuccessMetricOk() (*SloV00MetricDef, bool)
- func (o *SloV00RatioQuery) GetTotalMetric() SloV00MetricDef
- func (o *SloV00RatioQuery) GetTotalMetricOk() (*SloV00MetricDef, bool)
- func (o *SloV00RatioQuery) HasGroupByLabels() bool
- func (o SloV00RatioQuery) MarshalJSON() ([]byte, error)
- func (o *SloV00RatioQuery) SetGroupByLabels(v []string)
- func (o *SloV00RatioQuery) SetSuccessMetric(v SloV00MetricDef)
- func (o *SloV00RatioQuery) SetTotalMetric(v SloV00MetricDef)
- func (o SloV00RatioQuery) ToMap() (map[string]interface{}, error)
- func (o *SloV00RatioQuery) UnmarshalJSON(data []byte) (err error)
- type SloV00ReadOnly
- func (o *SloV00ReadOnly) GetAllowedActions() []string
- func (o *SloV00ReadOnly) GetAllowedActionsOk() ([]string, bool)
- func (o *SloV00ReadOnly) GetDrillDownDashboardRef() SloV00DashboardRef
- func (o *SloV00ReadOnly) GetDrillDownDashboardRefOk() (*SloV00DashboardRef, bool)
- func (o *SloV00ReadOnly) GetProvenance() string
- func (o *SloV00ReadOnly) GetProvenanceOk() (*string, bool)
- func (o *SloV00ReadOnly) GetStatus() SloV00Status
- func (o *SloV00ReadOnly) GetStatusOk() (*SloV00Status, bool)
- func (o *SloV00ReadOnly) HasAllowedActions() bool
- func (o *SloV00ReadOnly) HasDrillDownDashboardRef() bool
- func (o *SloV00ReadOnly) HasProvenance() bool
- func (o *SloV00ReadOnly) HasStatus() bool
- func (o SloV00ReadOnly) MarshalJSON() ([]byte, error)
- func (o *SloV00ReadOnly) SetAllowedActions(v []string)
- func (o *SloV00ReadOnly) SetDrillDownDashboardRef(v SloV00DashboardRef)
- func (o *SloV00ReadOnly) SetProvenance(v string)
- func (o *SloV00ReadOnly) SetStatus(v SloV00Status)
- func (o SloV00ReadOnly) ToMap() (map[string]interface{}, error)
- type SloV00Slo
- func (o *SloV00Slo) GetAlerting() SloV00Alerting
- func (o *SloV00Slo) GetAlertingOk() (*SloV00Alerting, bool)
- func (o *SloV00Slo) GetDescription() string
- func (o *SloV00Slo) GetDescriptionOk() (*string, bool)
- func (o *SloV00Slo) GetDestinationDatasource() SloV00DestinationDatasource
- func (o *SloV00Slo) GetDestinationDatasourceOk() (*SloV00DestinationDatasource, bool)
- func (o *SloV00Slo) GetFolder() SloV00Folder
- func (o *SloV00Slo) GetFolderOk() (*SloV00Folder, bool)
- func (o *SloV00Slo) GetLabels() []SloV00Label
- func (o *SloV00Slo) GetLabelsOk() ([]SloV00Label, bool)
- func (o *SloV00Slo) GetName() string
- func (o *SloV00Slo) GetNameOk() (*string, bool)
- func (o *SloV00Slo) GetObjectives() []SloV00Objective
- func (o *SloV00Slo) GetObjectivesOk() ([]SloV00Objective, bool)
- func (o *SloV00Slo) GetQuery() SloV00Query
- func (o *SloV00Slo) GetQueryOk() (*SloV00Query, bool)
- func (o *SloV00Slo) GetReadOnly() SloV00ReadOnly
- func (o *SloV00Slo) GetReadOnlyOk() (*SloV00ReadOnly, bool)
- func (o *SloV00Slo) GetSearchExpression() string
- func (o *SloV00Slo) GetSearchExpressionOk() (*string, bool)
- func (o *SloV00Slo) GetUuid() string
- func (o *SloV00Slo) GetUuidOk() (*string, bool)
- func (o *SloV00Slo) HasAlerting() bool
- func (o *SloV00Slo) HasDestinationDatasource() bool
- func (o *SloV00Slo) HasFolder() bool
- func (o *SloV00Slo) HasLabels() bool
- func (o *SloV00Slo) HasReadOnly() bool
- func (o *SloV00Slo) HasSearchExpression() bool
- func (o SloV00Slo) MarshalJSON() ([]byte, error)
- func (o *SloV00Slo) SetAlerting(v SloV00Alerting)
- func (o *SloV00Slo) SetDescription(v string)
- func (o *SloV00Slo) SetDestinationDatasource(v SloV00DestinationDatasource)
- func (o *SloV00Slo) SetFolder(v SloV00Folder)
- func (o *SloV00Slo) SetLabels(v []SloV00Label)
- func (o *SloV00Slo) SetName(v string)
- func (o *SloV00Slo) SetObjectives(v []SloV00Objective)
- func (o *SloV00Slo) SetQuery(v SloV00Query)
- func (o *SloV00Slo) SetReadOnly(v SloV00ReadOnly)
- func (o *SloV00Slo) SetSearchExpression(v string)
- func (o *SloV00Slo) SetUuid(v string)
- func (o SloV00Slo) ToMap() (map[string]interface{}, error)
- func (o *SloV00Slo) UnmarshalJSON(data []byte) (err error)
- type SloV00Status
- func (o *SloV00Status) GetMessage() string
- func (o *SloV00Status) GetMessageOk() (*string, bool)
- func (o *SloV00Status) GetType() string
- func (o *SloV00Status) GetTypeOk() (*string, bool)
- func (o *SloV00Status) HasMessage() bool
- func (o SloV00Status) MarshalJSON() ([]byte, error)
- func (o *SloV00Status) SetMessage(v string)
- func (o *SloV00Status) SetType(v string)
- func (o SloV00Status) ToMap() (map[string]interface{}, error)
- func (o *SloV00Status) UnmarshalJSON(data []byte) (err error)
- type SloV00Threshold
- func (o *SloV00Threshold) GetOperator() string
- func (o *SloV00Threshold) GetOperatorOk() (*string, bool)
- func (o *SloV00Threshold) GetValue() float64
- func (o *SloV00Threshold) GetValueOk() (*float64, bool)
- func (o SloV00Threshold) MarshalJSON() ([]byte, error)
- func (o *SloV00Threshold) SetOperator(v string)
- func (o *SloV00Threshold) SetValue(v float64)
- func (o SloV00Threshold) ToMap() (map[string]interface{}, error)
- func (o *SloV00Threshold) UnmarshalJSON(data []byte) (err error)
- type SloV00ThresholdQuery
- func (o *SloV00ThresholdQuery) GetGroupByLabels() []string
- func (o *SloV00ThresholdQuery) GetGroupByLabelsOk() ([]string, bool)
- func (o *SloV00ThresholdQuery) GetThreshold() SloV00Threshold
- func (o *SloV00ThresholdQuery) GetThresholdExpression() string
- func (o *SloV00ThresholdQuery) GetThresholdExpressionOk() (*string, bool)
- func (o *SloV00ThresholdQuery) GetThresholdOk() (*SloV00Threshold, bool)
- func (o *SloV00ThresholdQuery) HasGroupByLabels() bool
- func (o SloV00ThresholdQuery) MarshalJSON() ([]byte, error)
- func (o *SloV00ThresholdQuery) SetGroupByLabels(v []string)
- func (o *SloV00ThresholdQuery) SetThreshold(v SloV00Threshold)
- func (o *SloV00ThresholdQuery) SetThresholdExpression(v string)
- func (o SloV00ThresholdQuery) ToMap() (map[string]interface{}, error)
- func (o *SloV00ThresholdQuery) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // 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") )
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 { DefaultAPI *DefaultAPIService // contains filtered or unexported fields }
APIClient manages communication with the Grafana SLO API API v1.0.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 ApiErrorResponse ¶
ApiErrorResponse struct for ApiErrorResponse
func NewApiErrorResponse ¶
func NewApiErrorResponse(code int64, error_ string) *ApiErrorResponse
NewApiErrorResponse instantiates a new ApiErrorResponse 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 NewApiErrorResponseWithDefaults ¶
func NewApiErrorResponseWithDefaults() *ApiErrorResponse
NewApiErrorResponseWithDefaults instantiates a new ApiErrorResponse 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 (*ApiErrorResponse) GetCode ¶
func (o *ApiErrorResponse) GetCode() int64
GetCode returns the Code field value
func (*ApiErrorResponse) GetCodeOk ¶
func (o *ApiErrorResponse) GetCodeOk() (*int64, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ApiErrorResponse) GetError ¶
func (o *ApiErrorResponse) GetError() string
GetError returns the Error field value
func (*ApiErrorResponse) GetErrorOk ¶
func (o *ApiErrorResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (ApiErrorResponse) MarshalJSON ¶
func (o ApiErrorResponse) MarshalJSON() ([]byte, error)
func (*ApiErrorResponse) SetCode ¶
func (o *ApiErrorResponse) SetCode(v int64)
SetCode sets field value
func (*ApiErrorResponse) SetError ¶
func (o *ApiErrorResponse) SetError(v string)
SetError sets field value
func (ApiErrorResponse) ToMap ¶
func (o ApiErrorResponse) ToMap() (map[string]interface{}, error)
func (*ApiErrorResponse) UnmarshalJSON ¶
func (o *ApiErrorResponse) UnmarshalJSON(data []byte) (err error)
type ApiSLOCreateResponse ¶
ApiSLOCreateResponse struct for ApiSLOCreateResponse
func NewApiSLOCreateResponse ¶
func NewApiSLOCreateResponse(message string, uuid string) *ApiSLOCreateResponse
NewApiSLOCreateResponse instantiates a new ApiSLOCreateResponse 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 NewApiSLOCreateResponseWithDefaults ¶
func NewApiSLOCreateResponseWithDefaults() *ApiSLOCreateResponse
NewApiSLOCreateResponseWithDefaults instantiates a new ApiSLOCreateResponse 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 (*ApiSLOCreateResponse) GetMessage ¶
func (o *ApiSLOCreateResponse) GetMessage() string
GetMessage returns the Message field value
func (*ApiSLOCreateResponse) GetMessageOk ¶
func (o *ApiSLOCreateResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ApiSLOCreateResponse) GetUuid ¶
func (o *ApiSLOCreateResponse) GetUuid() string
GetUuid returns the Uuid field value
func (*ApiSLOCreateResponse) GetUuidOk ¶
func (o *ApiSLOCreateResponse) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value and a boolean to check if the value has been set.
func (ApiSLOCreateResponse) MarshalJSON ¶
func (o ApiSLOCreateResponse) MarshalJSON() ([]byte, error)
func (*ApiSLOCreateResponse) SetMessage ¶
func (o *ApiSLOCreateResponse) SetMessage(v string)
SetMessage sets field value
func (*ApiSLOCreateResponse) SetUuid ¶
func (o *ApiSLOCreateResponse) SetUuid(v string)
SetUuid sets field value
func (ApiSLOCreateResponse) ToMap ¶
func (o ApiSLOCreateResponse) ToMap() (map[string]interface{}, error)
func (*ApiSLOCreateResponse) UnmarshalJSON ¶
func (o *ApiSLOCreateResponse) UnmarshalJSON(data []byte) (err error)
type ApiSLOListResponse ¶
type ApiSLOListResponse struct {
Slos []SloV00Slo `json:"slos"`
}
ApiSLOListResponse struct for ApiSLOListResponse
func NewApiSLOListResponse ¶
func NewApiSLOListResponse(slos []SloV00Slo) *ApiSLOListResponse
NewApiSLOListResponse instantiates a new ApiSLOListResponse 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 NewApiSLOListResponseWithDefaults ¶
func NewApiSLOListResponseWithDefaults() *ApiSLOListResponse
NewApiSLOListResponseWithDefaults instantiates a new ApiSLOListResponse 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 (*ApiSLOListResponse) GetSlos ¶
func (o *ApiSLOListResponse) GetSlos() []SloV00Slo
GetSlos returns the Slos field value
func (*ApiSLOListResponse) GetSlosOk ¶
func (o *ApiSLOListResponse) GetSlosOk() ([]SloV00Slo, bool)
GetSlosOk returns a tuple with the Slos field value and a boolean to check if the value has been set.
func (ApiSLOListResponse) MarshalJSON ¶
func (o ApiSLOListResponse) MarshalJSON() ([]byte, error)
func (*ApiSLOListResponse) SetSlos ¶
func (o *ApiSLOListResponse) SetSlos(v []SloV00Slo)
SetSlos sets field value
func (ApiSLOListResponse) ToMap ¶
func (o ApiSLOListResponse) ToMap() (map[string]interface{}, error)
func (*ApiSLOListResponse) UnmarshalJSON ¶
func (o *ApiSLOListResponse) UnmarshalJSON(data []byte) (err error)
type ApiV1SloGetRequest ¶
type ApiV1SloGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiV1SloGetRequest) Execute ¶
func (r ApiV1SloGetRequest) Execute() (*ApiSLOListResponse, *http.Response, error)
type ApiV1SloIdDeleteRequest ¶
type ApiV1SloIdDeleteRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiV1SloIdGetRequest ¶
type ApiV1SloIdGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiV1SloIdPutRequest ¶
type ApiV1SloIdPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiV1SloIdPutRequest) Execute ¶
func (r ApiV1SloIdPutRequest) Execute() (*http.Response, error)
func (ApiV1SloIdPutRequest) SloV00Slo ¶
func (r ApiV1SloIdPutRequest) SloV00Slo(sloV00Slo SloV00Slo) ApiV1SloIdPutRequest
type ApiV1SloPostRequest ¶
type ApiV1SloPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiV1SloPostRequest) Execute ¶
func (r ApiV1SloPostRequest) Execute() (*ApiSLOCreateResponse, *http.Response, error)
func (ApiV1SloPostRequest) SloV00Slo ¶
func (r ApiV1SloPostRequest) SloV00Slo(sloV00Slo SloV00Slo) ApiV1SloPostRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) V1SloGet ¶
func (a *DefaultAPIService) V1SloGet(ctx context.Context) ApiV1SloGetRequest
V1SloGet Method for V1SloGet
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1SloGetRequest
func (*DefaultAPIService) V1SloGetExecute ¶
func (a *DefaultAPIService) V1SloGetExecute(r ApiV1SloGetRequest) (*ApiSLOListResponse, *http.Response, error)
Execute executes the request
@return ApiSLOListResponse
func (*DefaultAPIService) V1SloIdDelete ¶
func (a *DefaultAPIService) V1SloIdDelete(ctx context.Context, id string) ApiV1SloIdDeleteRequest
V1SloIdDelete Method for V1SloIdDelete
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiV1SloIdDeleteRequest
func (*DefaultAPIService) V1SloIdDeleteExecute ¶
func (a *DefaultAPIService) V1SloIdDeleteExecute(r ApiV1SloIdDeleteRequest) (*http.Response, error)
Execute executes the request
func (*DefaultAPIService) V1SloIdGet ¶
func (a *DefaultAPIService) V1SloIdGet(ctx context.Context, id string) ApiV1SloIdGetRequest
V1SloIdGet Method for V1SloIdGet
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiV1SloIdGetRequest
func (*DefaultAPIService) V1SloIdGetExecute ¶
func (a *DefaultAPIService) V1SloIdGetExecute(r ApiV1SloIdGetRequest) (*SloV00Slo, *http.Response, error)
Execute executes the request
@return SloV00Slo
func (*DefaultAPIService) V1SloIdPut ¶
func (a *DefaultAPIService) V1SloIdPut(ctx context.Context, id string) ApiV1SloIdPutRequest
V1SloIdPut Method for V1SloIdPut
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiV1SloIdPutRequest
func (*DefaultAPIService) V1SloIdPutExecute ¶
func (a *DefaultAPIService) V1SloIdPutExecute(r ApiV1SloIdPutRequest) (*http.Response, error)
Execute executes the request
func (*DefaultAPIService) V1SloPost ¶
func (a *DefaultAPIService) V1SloPost(ctx context.Context) ApiV1SloPostRequest
V1SloPost Method for V1SloPost
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiV1SloPostRequest
func (*DefaultAPIService) V1SloPostExecute ¶
func (a *DefaultAPIService) V1SloPostExecute(r ApiV1SloPostRequest) (*ApiSLOCreateResponse, *http.Response, error)
Execute executes the request
@return ApiSLOCreateResponse
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 MappedNullable ¶
type NullableApiErrorResponse ¶
type NullableApiErrorResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiErrorResponse ¶
func NewNullableApiErrorResponse(val *ApiErrorResponse) *NullableApiErrorResponse
func (NullableApiErrorResponse) Get ¶
func (v NullableApiErrorResponse) Get() *ApiErrorResponse
func (NullableApiErrorResponse) IsSet ¶
func (v NullableApiErrorResponse) IsSet() bool
func (NullableApiErrorResponse) MarshalJSON ¶
func (v NullableApiErrorResponse) MarshalJSON() ([]byte, error)
func (*NullableApiErrorResponse) Set ¶
func (v *NullableApiErrorResponse) Set(val *ApiErrorResponse)
func (*NullableApiErrorResponse) UnmarshalJSON ¶
func (v *NullableApiErrorResponse) UnmarshalJSON(src []byte) error
func (*NullableApiErrorResponse) Unset ¶
func (v *NullableApiErrorResponse) Unset()
type NullableApiSLOCreateResponse ¶
type NullableApiSLOCreateResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiSLOCreateResponse ¶
func NewNullableApiSLOCreateResponse(val *ApiSLOCreateResponse) *NullableApiSLOCreateResponse
func (NullableApiSLOCreateResponse) Get ¶
func (v NullableApiSLOCreateResponse) Get() *ApiSLOCreateResponse
func (NullableApiSLOCreateResponse) IsSet ¶
func (v NullableApiSLOCreateResponse) IsSet() bool
func (NullableApiSLOCreateResponse) MarshalJSON ¶
func (v NullableApiSLOCreateResponse) MarshalJSON() ([]byte, error)
func (*NullableApiSLOCreateResponse) Set ¶
func (v *NullableApiSLOCreateResponse) Set(val *ApiSLOCreateResponse)
func (*NullableApiSLOCreateResponse) UnmarshalJSON ¶
func (v *NullableApiSLOCreateResponse) UnmarshalJSON(src []byte) error
func (*NullableApiSLOCreateResponse) Unset ¶
func (v *NullableApiSLOCreateResponse) Unset()
type NullableApiSLOListResponse ¶
type NullableApiSLOListResponse struct {
// contains filtered or unexported fields
}
func NewNullableApiSLOListResponse ¶
func NewNullableApiSLOListResponse(val *ApiSLOListResponse) *NullableApiSLOListResponse
func (NullableApiSLOListResponse) Get ¶
func (v NullableApiSLOListResponse) Get() *ApiSLOListResponse
func (NullableApiSLOListResponse) IsSet ¶
func (v NullableApiSLOListResponse) IsSet() bool
func (NullableApiSLOListResponse) MarshalJSON ¶
func (v NullableApiSLOListResponse) MarshalJSON() ([]byte, error)
func (*NullableApiSLOListResponse) Set ¶
func (v *NullableApiSLOListResponse) Set(val *ApiSLOListResponse)
func (*NullableApiSLOListResponse) UnmarshalJSON ¶
func (v *NullableApiSLOListResponse) UnmarshalJSON(src []byte) error
func (*NullableApiSLOListResponse) Unset ¶
func (v *NullableApiSLOListResponse) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type 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 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 NullableSloV00AdvancedOptions ¶
type NullableSloV00AdvancedOptions struct {
// contains filtered or unexported fields
}
func NewNullableSloV00AdvancedOptions ¶
func NewNullableSloV00AdvancedOptions(val *SloV00AdvancedOptions) *NullableSloV00AdvancedOptions
func (NullableSloV00AdvancedOptions) Get ¶
func (v NullableSloV00AdvancedOptions) Get() *SloV00AdvancedOptions
func (NullableSloV00AdvancedOptions) IsSet ¶
func (v NullableSloV00AdvancedOptions) IsSet() bool
func (NullableSloV00AdvancedOptions) MarshalJSON ¶
func (v NullableSloV00AdvancedOptions) MarshalJSON() ([]byte, error)
func (*NullableSloV00AdvancedOptions) Set ¶
func (v *NullableSloV00AdvancedOptions) Set(val *SloV00AdvancedOptions)
func (*NullableSloV00AdvancedOptions) UnmarshalJSON ¶
func (v *NullableSloV00AdvancedOptions) UnmarshalJSON(src []byte) error
func (*NullableSloV00AdvancedOptions) Unset ¶
func (v *NullableSloV00AdvancedOptions) Unset()
type NullableSloV00Alerting ¶
type NullableSloV00Alerting struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Alerting ¶
func NewNullableSloV00Alerting(val *SloV00Alerting) *NullableSloV00Alerting
func (NullableSloV00Alerting) Get ¶
func (v NullableSloV00Alerting) Get() *SloV00Alerting
func (NullableSloV00Alerting) IsSet ¶
func (v NullableSloV00Alerting) IsSet() bool
func (NullableSloV00Alerting) MarshalJSON ¶
func (v NullableSloV00Alerting) MarshalJSON() ([]byte, error)
func (*NullableSloV00Alerting) Set ¶
func (v *NullableSloV00Alerting) Set(val *SloV00Alerting)
func (*NullableSloV00Alerting) UnmarshalJSON ¶
func (v *NullableSloV00Alerting) UnmarshalJSON(src []byte) error
func (*NullableSloV00Alerting) Unset ¶
func (v *NullableSloV00Alerting) Unset()
type NullableSloV00AlertingMetadata ¶
type NullableSloV00AlertingMetadata struct {
// contains filtered or unexported fields
}
func NewNullableSloV00AlertingMetadata ¶
func NewNullableSloV00AlertingMetadata(val *SloV00AlertingMetadata) *NullableSloV00AlertingMetadata
func (NullableSloV00AlertingMetadata) Get ¶
func (v NullableSloV00AlertingMetadata) Get() *SloV00AlertingMetadata
func (NullableSloV00AlertingMetadata) IsSet ¶
func (v NullableSloV00AlertingMetadata) IsSet() bool
func (NullableSloV00AlertingMetadata) MarshalJSON ¶
func (v NullableSloV00AlertingMetadata) MarshalJSON() ([]byte, error)
func (*NullableSloV00AlertingMetadata) Set ¶
func (v *NullableSloV00AlertingMetadata) Set(val *SloV00AlertingMetadata)
func (*NullableSloV00AlertingMetadata) UnmarshalJSON ¶
func (v *NullableSloV00AlertingMetadata) UnmarshalJSON(src []byte) error
func (*NullableSloV00AlertingMetadata) Unset ¶
func (v *NullableSloV00AlertingMetadata) Unset()
type NullableSloV00DashboardRef ¶
type NullableSloV00DashboardRef struct {
// contains filtered or unexported fields
}
func NewNullableSloV00DashboardRef ¶
func NewNullableSloV00DashboardRef(val *SloV00DashboardRef) *NullableSloV00DashboardRef
func (NullableSloV00DashboardRef) Get ¶
func (v NullableSloV00DashboardRef) Get() *SloV00DashboardRef
func (NullableSloV00DashboardRef) IsSet ¶
func (v NullableSloV00DashboardRef) IsSet() bool
func (NullableSloV00DashboardRef) MarshalJSON ¶
func (v NullableSloV00DashboardRef) MarshalJSON() ([]byte, error)
func (*NullableSloV00DashboardRef) Set ¶
func (v *NullableSloV00DashboardRef) Set(val *SloV00DashboardRef)
func (*NullableSloV00DashboardRef) UnmarshalJSON ¶
func (v *NullableSloV00DashboardRef) UnmarshalJSON(src []byte) error
func (*NullableSloV00DashboardRef) Unset ¶
func (v *NullableSloV00DashboardRef) Unset()
type NullableSloV00DestinationDatasource ¶
type NullableSloV00DestinationDatasource struct {
// contains filtered or unexported fields
}
func NewNullableSloV00DestinationDatasource ¶
func NewNullableSloV00DestinationDatasource(val *SloV00DestinationDatasource) *NullableSloV00DestinationDatasource
func (NullableSloV00DestinationDatasource) Get ¶
func (v NullableSloV00DestinationDatasource) Get() *SloV00DestinationDatasource
func (NullableSloV00DestinationDatasource) IsSet ¶
func (v NullableSloV00DestinationDatasource) IsSet() bool
func (NullableSloV00DestinationDatasource) MarshalJSON ¶
func (v NullableSloV00DestinationDatasource) MarshalJSON() ([]byte, error)
func (*NullableSloV00DestinationDatasource) Set ¶
func (v *NullableSloV00DestinationDatasource) Set(val *SloV00DestinationDatasource)
func (*NullableSloV00DestinationDatasource) UnmarshalJSON ¶
func (v *NullableSloV00DestinationDatasource) UnmarshalJSON(src []byte) error
func (*NullableSloV00DestinationDatasource) Unset ¶
func (v *NullableSloV00DestinationDatasource) Unset()
type NullableSloV00FailureRatioQuery ¶
type NullableSloV00FailureRatioQuery struct {
// contains filtered or unexported fields
}
func NewNullableSloV00FailureRatioQuery ¶
func NewNullableSloV00FailureRatioQuery(val *SloV00FailureRatioQuery) *NullableSloV00FailureRatioQuery
func (NullableSloV00FailureRatioQuery) Get ¶
func (v NullableSloV00FailureRatioQuery) Get() *SloV00FailureRatioQuery
func (NullableSloV00FailureRatioQuery) IsSet ¶
func (v NullableSloV00FailureRatioQuery) IsSet() bool
func (NullableSloV00FailureRatioQuery) MarshalJSON ¶
func (v NullableSloV00FailureRatioQuery) MarshalJSON() ([]byte, error)
func (*NullableSloV00FailureRatioQuery) Set ¶
func (v *NullableSloV00FailureRatioQuery) Set(val *SloV00FailureRatioQuery)
func (*NullableSloV00FailureRatioQuery) UnmarshalJSON ¶
func (v *NullableSloV00FailureRatioQuery) UnmarshalJSON(src []byte) error
func (*NullableSloV00FailureRatioQuery) Unset ¶
func (v *NullableSloV00FailureRatioQuery) Unset()
type NullableSloV00FailureThresholdQuery ¶
type NullableSloV00FailureThresholdQuery struct {
// contains filtered or unexported fields
}
func NewNullableSloV00FailureThresholdQuery ¶
func NewNullableSloV00FailureThresholdQuery(val *SloV00FailureThresholdQuery) *NullableSloV00FailureThresholdQuery
func (NullableSloV00FailureThresholdQuery) Get ¶
func (v NullableSloV00FailureThresholdQuery) Get() *SloV00FailureThresholdQuery
func (NullableSloV00FailureThresholdQuery) IsSet ¶
func (v NullableSloV00FailureThresholdQuery) IsSet() bool
func (NullableSloV00FailureThresholdQuery) MarshalJSON ¶
func (v NullableSloV00FailureThresholdQuery) MarshalJSON() ([]byte, error)
func (*NullableSloV00FailureThresholdQuery) Set ¶
func (v *NullableSloV00FailureThresholdQuery) Set(val *SloV00FailureThresholdQuery)
func (*NullableSloV00FailureThresholdQuery) UnmarshalJSON ¶
func (v *NullableSloV00FailureThresholdQuery) UnmarshalJSON(src []byte) error
func (*NullableSloV00FailureThresholdQuery) Unset ¶
func (v *NullableSloV00FailureThresholdQuery) Unset()
type NullableSloV00Folder ¶
type NullableSloV00Folder struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Folder ¶
func NewNullableSloV00Folder(val *SloV00Folder) *NullableSloV00Folder
func (NullableSloV00Folder) Get ¶
func (v NullableSloV00Folder) Get() *SloV00Folder
func (NullableSloV00Folder) IsSet ¶
func (v NullableSloV00Folder) IsSet() bool
func (NullableSloV00Folder) MarshalJSON ¶
func (v NullableSloV00Folder) MarshalJSON() ([]byte, error)
func (*NullableSloV00Folder) Set ¶
func (v *NullableSloV00Folder) Set(val *SloV00Folder)
func (*NullableSloV00Folder) UnmarshalJSON ¶
func (v *NullableSloV00Folder) UnmarshalJSON(src []byte) error
func (*NullableSloV00Folder) Unset ¶
func (v *NullableSloV00Folder) Unset()
type NullableSloV00FreeformQuery ¶
type NullableSloV00FreeformQuery struct {
// contains filtered or unexported fields
}
func NewNullableSloV00FreeformQuery ¶
func NewNullableSloV00FreeformQuery(val *SloV00FreeformQuery) *NullableSloV00FreeformQuery
func (NullableSloV00FreeformQuery) Get ¶
func (v NullableSloV00FreeformQuery) Get() *SloV00FreeformQuery
func (NullableSloV00FreeformQuery) IsSet ¶
func (v NullableSloV00FreeformQuery) IsSet() bool
func (NullableSloV00FreeformQuery) MarshalJSON ¶
func (v NullableSloV00FreeformQuery) MarshalJSON() ([]byte, error)
func (*NullableSloV00FreeformQuery) Set ¶
func (v *NullableSloV00FreeformQuery) Set(val *SloV00FreeformQuery)
func (*NullableSloV00FreeformQuery) UnmarshalJSON ¶
func (v *NullableSloV00FreeformQuery) UnmarshalJSON(src []byte) error
func (*NullableSloV00FreeformQuery) Unset ¶
func (v *NullableSloV00FreeformQuery) Unset()
type NullableSloV00Label ¶
type NullableSloV00Label struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Label ¶
func NewNullableSloV00Label(val *SloV00Label) *NullableSloV00Label
func (NullableSloV00Label) Get ¶
func (v NullableSloV00Label) Get() *SloV00Label
func (NullableSloV00Label) IsSet ¶
func (v NullableSloV00Label) IsSet() bool
func (NullableSloV00Label) MarshalJSON ¶
func (v NullableSloV00Label) MarshalJSON() ([]byte, error)
func (*NullableSloV00Label) Set ¶
func (v *NullableSloV00Label) Set(val *SloV00Label)
func (*NullableSloV00Label) UnmarshalJSON ¶
func (v *NullableSloV00Label) UnmarshalJSON(src []byte) error
func (*NullableSloV00Label) Unset ¶
func (v *NullableSloV00Label) Unset()
type NullableSloV00MetricDef ¶
type NullableSloV00MetricDef struct {
// contains filtered or unexported fields
}
func NewNullableSloV00MetricDef ¶
func NewNullableSloV00MetricDef(val *SloV00MetricDef) *NullableSloV00MetricDef
func (NullableSloV00MetricDef) Get ¶
func (v NullableSloV00MetricDef) Get() *SloV00MetricDef
func (NullableSloV00MetricDef) IsSet ¶
func (v NullableSloV00MetricDef) IsSet() bool
func (NullableSloV00MetricDef) MarshalJSON ¶
func (v NullableSloV00MetricDef) MarshalJSON() ([]byte, error)
func (*NullableSloV00MetricDef) Set ¶
func (v *NullableSloV00MetricDef) Set(val *SloV00MetricDef)
func (*NullableSloV00MetricDef) UnmarshalJSON ¶
func (v *NullableSloV00MetricDef) UnmarshalJSON(src []byte) error
func (*NullableSloV00MetricDef) Unset ¶
func (v *NullableSloV00MetricDef) Unset()
type NullableSloV00Objective ¶
type NullableSloV00Objective struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Objective ¶
func NewNullableSloV00Objective(val *SloV00Objective) *NullableSloV00Objective
func (NullableSloV00Objective) Get ¶
func (v NullableSloV00Objective) Get() *SloV00Objective
func (NullableSloV00Objective) IsSet ¶
func (v NullableSloV00Objective) IsSet() bool
func (NullableSloV00Objective) MarshalJSON ¶
func (v NullableSloV00Objective) MarshalJSON() ([]byte, error)
func (*NullableSloV00Objective) Set ¶
func (v *NullableSloV00Objective) Set(val *SloV00Objective)
func (*NullableSloV00Objective) UnmarshalJSON ¶
func (v *NullableSloV00Objective) UnmarshalJSON(src []byte) error
func (*NullableSloV00Objective) Unset ¶
func (v *NullableSloV00Objective) Unset()
type NullableSloV00Query ¶
type NullableSloV00Query struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Query ¶
func NewNullableSloV00Query(val *SloV00Query) *NullableSloV00Query
func (NullableSloV00Query) Get ¶
func (v NullableSloV00Query) Get() *SloV00Query
func (NullableSloV00Query) IsSet ¶
func (v NullableSloV00Query) IsSet() bool
func (NullableSloV00Query) MarshalJSON ¶
func (v NullableSloV00Query) MarshalJSON() ([]byte, error)
func (*NullableSloV00Query) Set ¶
func (v *NullableSloV00Query) Set(val *SloV00Query)
func (*NullableSloV00Query) UnmarshalJSON ¶
func (v *NullableSloV00Query) UnmarshalJSON(src []byte) error
func (*NullableSloV00Query) Unset ¶
func (v *NullableSloV00Query) Unset()
type NullableSloV00RatioQuery ¶
type NullableSloV00RatioQuery struct {
// contains filtered or unexported fields
}
func NewNullableSloV00RatioQuery ¶
func NewNullableSloV00RatioQuery(val *SloV00RatioQuery) *NullableSloV00RatioQuery
func (NullableSloV00RatioQuery) Get ¶
func (v NullableSloV00RatioQuery) Get() *SloV00RatioQuery
func (NullableSloV00RatioQuery) IsSet ¶
func (v NullableSloV00RatioQuery) IsSet() bool
func (NullableSloV00RatioQuery) MarshalJSON ¶
func (v NullableSloV00RatioQuery) MarshalJSON() ([]byte, error)
func (*NullableSloV00RatioQuery) Set ¶
func (v *NullableSloV00RatioQuery) Set(val *SloV00RatioQuery)
func (*NullableSloV00RatioQuery) UnmarshalJSON ¶
func (v *NullableSloV00RatioQuery) UnmarshalJSON(src []byte) error
func (*NullableSloV00RatioQuery) Unset ¶
func (v *NullableSloV00RatioQuery) Unset()
type NullableSloV00ReadOnly ¶
type NullableSloV00ReadOnly struct {
// contains filtered or unexported fields
}
func NewNullableSloV00ReadOnly ¶
func NewNullableSloV00ReadOnly(val *SloV00ReadOnly) *NullableSloV00ReadOnly
func (NullableSloV00ReadOnly) Get ¶
func (v NullableSloV00ReadOnly) Get() *SloV00ReadOnly
func (NullableSloV00ReadOnly) IsSet ¶
func (v NullableSloV00ReadOnly) IsSet() bool
func (NullableSloV00ReadOnly) MarshalJSON ¶
func (v NullableSloV00ReadOnly) MarshalJSON() ([]byte, error)
func (*NullableSloV00ReadOnly) Set ¶
func (v *NullableSloV00ReadOnly) Set(val *SloV00ReadOnly)
func (*NullableSloV00ReadOnly) UnmarshalJSON ¶
func (v *NullableSloV00ReadOnly) UnmarshalJSON(src []byte) error
func (*NullableSloV00ReadOnly) Unset ¶
func (v *NullableSloV00ReadOnly) Unset()
type NullableSloV00Slo ¶
type NullableSloV00Slo struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Slo ¶
func NewNullableSloV00Slo(val *SloV00Slo) *NullableSloV00Slo
func (NullableSloV00Slo) Get ¶
func (v NullableSloV00Slo) Get() *SloV00Slo
func (NullableSloV00Slo) IsSet ¶
func (v NullableSloV00Slo) IsSet() bool
func (NullableSloV00Slo) MarshalJSON ¶
func (v NullableSloV00Slo) MarshalJSON() ([]byte, error)
func (*NullableSloV00Slo) Set ¶
func (v *NullableSloV00Slo) Set(val *SloV00Slo)
func (*NullableSloV00Slo) UnmarshalJSON ¶
func (v *NullableSloV00Slo) UnmarshalJSON(src []byte) error
func (*NullableSloV00Slo) Unset ¶
func (v *NullableSloV00Slo) Unset()
type NullableSloV00Status ¶
type NullableSloV00Status struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Status ¶
func NewNullableSloV00Status(val *SloV00Status) *NullableSloV00Status
func (NullableSloV00Status) Get ¶
func (v NullableSloV00Status) Get() *SloV00Status
func (NullableSloV00Status) IsSet ¶
func (v NullableSloV00Status) IsSet() bool
func (NullableSloV00Status) MarshalJSON ¶
func (v NullableSloV00Status) MarshalJSON() ([]byte, error)
func (*NullableSloV00Status) Set ¶
func (v *NullableSloV00Status) Set(val *SloV00Status)
func (*NullableSloV00Status) UnmarshalJSON ¶
func (v *NullableSloV00Status) UnmarshalJSON(src []byte) error
func (*NullableSloV00Status) Unset ¶
func (v *NullableSloV00Status) Unset()
type NullableSloV00Threshold ¶
type NullableSloV00Threshold struct {
// contains filtered or unexported fields
}
func NewNullableSloV00Threshold ¶
func NewNullableSloV00Threshold(val *SloV00Threshold) *NullableSloV00Threshold
func (NullableSloV00Threshold) Get ¶
func (v NullableSloV00Threshold) Get() *SloV00Threshold
func (NullableSloV00Threshold) IsSet ¶
func (v NullableSloV00Threshold) IsSet() bool
func (NullableSloV00Threshold) MarshalJSON ¶
func (v NullableSloV00Threshold) MarshalJSON() ([]byte, error)
func (*NullableSloV00Threshold) Set ¶
func (v *NullableSloV00Threshold) Set(val *SloV00Threshold)
func (*NullableSloV00Threshold) UnmarshalJSON ¶
func (v *NullableSloV00Threshold) UnmarshalJSON(src []byte) error
func (*NullableSloV00Threshold) Unset ¶
func (v *NullableSloV00Threshold) Unset()
type NullableSloV00ThresholdQuery ¶
type NullableSloV00ThresholdQuery struct {
// contains filtered or unexported fields
}
func NewNullableSloV00ThresholdQuery ¶
func NewNullableSloV00ThresholdQuery(val *SloV00ThresholdQuery) *NullableSloV00ThresholdQuery
func (NullableSloV00ThresholdQuery) Get ¶
func (v NullableSloV00ThresholdQuery) Get() *SloV00ThresholdQuery
func (NullableSloV00ThresholdQuery) IsSet ¶
func (v NullableSloV00ThresholdQuery) IsSet() bool
func (NullableSloV00ThresholdQuery) MarshalJSON ¶
func (v NullableSloV00ThresholdQuery) MarshalJSON() ([]byte, error)
func (*NullableSloV00ThresholdQuery) Set ¶
func (v *NullableSloV00ThresholdQuery) Set(val *SloV00ThresholdQuery)
func (*NullableSloV00ThresholdQuery) UnmarshalJSON ¶
func (v *NullableSloV00ThresholdQuery) UnmarshalJSON(src []byte) error
func (*NullableSloV00ThresholdQuery) Unset ¶
func (v *NullableSloV00ThresholdQuery) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type 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 SloV00AdvancedOptions ¶
type SloV00AdvancedOptions struct {
MinFailures *int64 `json:"minFailures,omitempty"`
}
SloV00AdvancedOptions struct for SloV00AdvancedOptions
func NewSloV00AdvancedOptions ¶
func NewSloV00AdvancedOptions() *SloV00AdvancedOptions
NewSloV00AdvancedOptions instantiates a new SloV00AdvancedOptions 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 NewSloV00AdvancedOptionsWithDefaults ¶
func NewSloV00AdvancedOptionsWithDefaults() *SloV00AdvancedOptions
NewSloV00AdvancedOptionsWithDefaults instantiates a new SloV00AdvancedOptions 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 (*SloV00AdvancedOptions) GetMinFailures ¶
func (o *SloV00AdvancedOptions) GetMinFailures() int64
GetMinFailures returns the MinFailures field value if set, zero value otherwise.
func (*SloV00AdvancedOptions) GetMinFailuresOk ¶
func (o *SloV00AdvancedOptions) GetMinFailuresOk() (*int64, bool)
GetMinFailuresOk returns a tuple with the MinFailures field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00AdvancedOptions) HasMinFailures ¶
func (o *SloV00AdvancedOptions) HasMinFailures() bool
HasMinFailures returns a boolean if a field has been set.
func (SloV00AdvancedOptions) MarshalJSON ¶
func (o SloV00AdvancedOptions) MarshalJSON() ([]byte, error)
func (*SloV00AdvancedOptions) SetMinFailures ¶
func (o *SloV00AdvancedOptions) SetMinFailures(v int64)
SetMinFailures gets a reference to the given int64 and assigns it to the MinFailures field.
func (SloV00AdvancedOptions) ToMap ¶
func (o SloV00AdvancedOptions) ToMap() (map[string]interface{}, error)
type SloV00Alerting ¶
type SloV00Alerting struct { AdvancedOptions *SloV00AdvancedOptions `json:"advancedOptions,omitempty"` Annotations []SloV00Label `json:"annotations,omitempty"` FastBurn *SloV00AlertingMetadata `json:"fastBurn,omitempty"` Labels []SloV00Label `json:"labels,omitempty"` SlowBurn *SloV00AlertingMetadata `json:"slowBurn,omitempty"` }
SloV00Alerting struct for SloV00Alerting
func NewSloV00Alerting ¶
func NewSloV00Alerting() *SloV00Alerting
NewSloV00Alerting instantiates a new SloV00Alerting 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 NewSloV00AlertingWithDefaults ¶
func NewSloV00AlertingWithDefaults() *SloV00Alerting
NewSloV00AlertingWithDefaults instantiates a new SloV00Alerting 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 (*SloV00Alerting) GetAdvancedOptions ¶
func (o *SloV00Alerting) GetAdvancedOptions() SloV00AdvancedOptions
GetAdvancedOptions returns the AdvancedOptions field value if set, zero value otherwise.
func (*SloV00Alerting) GetAdvancedOptionsOk ¶
func (o *SloV00Alerting) GetAdvancedOptionsOk() (*SloV00AdvancedOptions, bool)
GetAdvancedOptionsOk returns a tuple with the AdvancedOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Alerting) GetAnnotations ¶
func (o *SloV00Alerting) GetAnnotations() []SloV00Label
GetAnnotations returns the Annotations field value if set, zero value otherwise.
func (*SloV00Alerting) GetAnnotationsOk ¶
func (o *SloV00Alerting) GetAnnotationsOk() ([]SloV00Label, bool)
GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Alerting) GetFastBurn ¶
func (o *SloV00Alerting) GetFastBurn() SloV00AlertingMetadata
GetFastBurn returns the FastBurn field value if set, zero value otherwise.
func (*SloV00Alerting) GetFastBurnOk ¶
func (o *SloV00Alerting) GetFastBurnOk() (*SloV00AlertingMetadata, bool)
GetFastBurnOk returns a tuple with the FastBurn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Alerting) GetLabels ¶
func (o *SloV00Alerting) GetLabels() []SloV00Label
GetLabels returns the Labels field value if set, zero value otherwise.
func (*SloV00Alerting) GetLabelsOk ¶
func (o *SloV00Alerting) GetLabelsOk() ([]SloV00Label, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Alerting) GetSlowBurn ¶
func (o *SloV00Alerting) GetSlowBurn() SloV00AlertingMetadata
GetSlowBurn returns the SlowBurn field value if set, zero value otherwise.
func (*SloV00Alerting) GetSlowBurnOk ¶
func (o *SloV00Alerting) GetSlowBurnOk() (*SloV00AlertingMetadata, bool)
GetSlowBurnOk returns a tuple with the SlowBurn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Alerting) HasAdvancedOptions ¶
func (o *SloV00Alerting) HasAdvancedOptions() bool
HasAdvancedOptions returns a boolean if a field has been set.
func (*SloV00Alerting) HasAnnotations ¶
func (o *SloV00Alerting) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (*SloV00Alerting) HasFastBurn ¶
func (o *SloV00Alerting) HasFastBurn() bool
HasFastBurn returns a boolean if a field has been set.
func (*SloV00Alerting) HasLabels ¶
func (o *SloV00Alerting) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*SloV00Alerting) HasSlowBurn ¶
func (o *SloV00Alerting) HasSlowBurn() bool
HasSlowBurn returns a boolean if a field has been set.
func (SloV00Alerting) MarshalJSON ¶
func (o SloV00Alerting) MarshalJSON() ([]byte, error)
func (*SloV00Alerting) SetAdvancedOptions ¶
func (o *SloV00Alerting) SetAdvancedOptions(v SloV00AdvancedOptions)
SetAdvancedOptions gets a reference to the given SloV00AdvancedOptions and assigns it to the AdvancedOptions field.
func (*SloV00Alerting) SetAnnotations ¶
func (o *SloV00Alerting) SetAnnotations(v []SloV00Label)
SetAnnotations gets a reference to the given []SloV00Label and assigns it to the Annotations field.
func (*SloV00Alerting) SetFastBurn ¶
func (o *SloV00Alerting) SetFastBurn(v SloV00AlertingMetadata)
SetFastBurn gets a reference to the given SloV00AlertingMetadata and assigns it to the FastBurn field.
func (*SloV00Alerting) SetLabels ¶
func (o *SloV00Alerting) SetLabels(v []SloV00Label)
SetLabels gets a reference to the given []SloV00Label and assigns it to the Labels field.
func (*SloV00Alerting) SetSlowBurn ¶
func (o *SloV00Alerting) SetSlowBurn(v SloV00AlertingMetadata)
SetSlowBurn gets a reference to the given SloV00AlertingMetadata and assigns it to the SlowBurn field.
func (SloV00Alerting) ToMap ¶
func (o SloV00Alerting) ToMap() (map[string]interface{}, error)
type SloV00AlertingMetadata ¶
type SloV00AlertingMetadata struct { Annotations []SloV00Label `json:"annotations,omitempty"` Labels []SloV00Label `json:"labels,omitempty"` }
SloV00AlertingMetadata struct for SloV00AlertingMetadata
func NewSloV00AlertingMetadata ¶
func NewSloV00AlertingMetadata() *SloV00AlertingMetadata
NewSloV00AlertingMetadata instantiates a new SloV00AlertingMetadata 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 NewSloV00AlertingMetadataWithDefaults ¶
func NewSloV00AlertingMetadataWithDefaults() *SloV00AlertingMetadata
NewSloV00AlertingMetadataWithDefaults instantiates a new SloV00AlertingMetadata 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 (*SloV00AlertingMetadata) GetAnnotations ¶
func (o *SloV00AlertingMetadata) GetAnnotations() []SloV00Label
GetAnnotations returns the Annotations field value if set, zero value otherwise.
func (*SloV00AlertingMetadata) GetAnnotationsOk ¶
func (o *SloV00AlertingMetadata) GetAnnotationsOk() ([]SloV00Label, bool)
GetAnnotationsOk returns a tuple with the Annotations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00AlertingMetadata) GetLabels ¶
func (o *SloV00AlertingMetadata) GetLabels() []SloV00Label
GetLabels returns the Labels field value if set, zero value otherwise.
func (*SloV00AlertingMetadata) GetLabelsOk ¶
func (o *SloV00AlertingMetadata) GetLabelsOk() ([]SloV00Label, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00AlertingMetadata) HasAnnotations ¶
func (o *SloV00AlertingMetadata) HasAnnotations() bool
HasAnnotations returns a boolean if a field has been set.
func (*SloV00AlertingMetadata) HasLabels ¶
func (o *SloV00AlertingMetadata) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (SloV00AlertingMetadata) MarshalJSON ¶
func (o SloV00AlertingMetadata) MarshalJSON() ([]byte, error)
func (*SloV00AlertingMetadata) SetAnnotations ¶
func (o *SloV00AlertingMetadata) SetAnnotations(v []SloV00Label)
SetAnnotations gets a reference to the given []SloV00Label and assigns it to the Annotations field.
func (*SloV00AlertingMetadata) SetLabels ¶
func (o *SloV00AlertingMetadata) SetLabels(v []SloV00Label)
SetLabels gets a reference to the given []SloV00Label and assigns it to the Labels field.
func (SloV00AlertingMetadata) ToMap ¶
func (o SloV00AlertingMetadata) ToMap() (map[string]interface{}, error)
type SloV00DashboardRef ¶
type SloV00DashboardRef struct {
UID string `json:"UID"`
}
SloV00DashboardRef struct for SloV00DashboardRef
func NewSloV00DashboardRef ¶
func NewSloV00DashboardRef(uID string) *SloV00DashboardRef
NewSloV00DashboardRef instantiates a new SloV00DashboardRef 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 NewSloV00DashboardRefWithDefaults ¶
func NewSloV00DashboardRefWithDefaults() *SloV00DashboardRef
NewSloV00DashboardRefWithDefaults instantiates a new SloV00DashboardRef 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 (*SloV00DashboardRef) GetUID ¶
func (o *SloV00DashboardRef) GetUID() string
GetUID returns the UID field value
func (*SloV00DashboardRef) GetUIDOk ¶
func (o *SloV00DashboardRef) GetUIDOk() (*string, bool)
GetUIDOk returns a tuple with the UID field value and a boolean to check if the value has been set.
func (SloV00DashboardRef) MarshalJSON ¶
func (o SloV00DashboardRef) MarshalJSON() ([]byte, error)
func (*SloV00DashboardRef) SetUID ¶
func (o *SloV00DashboardRef) SetUID(v string)
SetUID sets field value
func (SloV00DashboardRef) ToMap ¶
func (o SloV00DashboardRef) ToMap() (map[string]interface{}, error)
func (*SloV00DashboardRef) UnmarshalJSON ¶
func (o *SloV00DashboardRef) UnmarshalJSON(data []byte) (err error)
type SloV00DestinationDatasource ¶
type SloV00DestinationDatasource struct { Type *string `json:"type,omitempty"` Uid *string `json:"uid,omitempty"` }
SloV00DestinationDatasource struct for SloV00DestinationDatasource
func NewSloV00DestinationDatasource ¶
func NewSloV00DestinationDatasource() *SloV00DestinationDatasource
NewSloV00DestinationDatasource instantiates a new SloV00DestinationDatasource 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 NewSloV00DestinationDatasourceWithDefaults ¶
func NewSloV00DestinationDatasourceWithDefaults() *SloV00DestinationDatasource
NewSloV00DestinationDatasourceWithDefaults instantiates a new SloV00DestinationDatasource 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 (*SloV00DestinationDatasource) GetType ¶
func (o *SloV00DestinationDatasource) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SloV00DestinationDatasource) GetTypeOk ¶
func (o *SloV00DestinationDatasource) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00DestinationDatasource) GetUid ¶
func (o *SloV00DestinationDatasource) GetUid() string
GetUid returns the Uid field value if set, zero value otherwise.
func (*SloV00DestinationDatasource) GetUidOk ¶
func (o *SloV00DestinationDatasource) GetUidOk() (*string, bool)
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00DestinationDatasource) HasType ¶
func (o *SloV00DestinationDatasource) HasType() bool
HasType returns a boolean if a field has been set.
func (*SloV00DestinationDatasource) HasUid ¶
func (o *SloV00DestinationDatasource) HasUid() bool
HasUid returns a boolean if a field has been set.
func (SloV00DestinationDatasource) MarshalJSON ¶
func (o SloV00DestinationDatasource) MarshalJSON() ([]byte, error)
func (*SloV00DestinationDatasource) SetType ¶
func (o *SloV00DestinationDatasource) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*SloV00DestinationDatasource) SetUid ¶
func (o *SloV00DestinationDatasource) SetUid(v string)
SetUid gets a reference to the given string and assigns it to the Uid field.
func (SloV00DestinationDatasource) ToMap ¶
func (o SloV00DestinationDatasource) ToMap() (map[string]interface{}, error)
type SloV00FailureRatioQuery ¶
type SloV00FailureRatioQuery struct { FailureMetric SloV00MetricDef `json:"failureMetric"` GroupByLabels []string `json:"groupByLabels,omitempty"` TotalMetric SloV00MetricDef `json:"totalMetric"` }
SloV00FailureRatioQuery struct for SloV00FailureRatioQuery
func NewSloV00FailureRatioQuery ¶
func NewSloV00FailureRatioQuery(failureMetric SloV00MetricDef, totalMetric SloV00MetricDef) *SloV00FailureRatioQuery
NewSloV00FailureRatioQuery instantiates a new SloV00FailureRatioQuery 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 NewSloV00FailureRatioQueryWithDefaults ¶
func NewSloV00FailureRatioQueryWithDefaults() *SloV00FailureRatioQuery
NewSloV00FailureRatioQueryWithDefaults instantiates a new SloV00FailureRatioQuery 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 (*SloV00FailureRatioQuery) GetFailureMetric ¶
func (o *SloV00FailureRatioQuery) GetFailureMetric() SloV00MetricDef
GetFailureMetric returns the FailureMetric field value
func (*SloV00FailureRatioQuery) GetFailureMetricOk ¶
func (o *SloV00FailureRatioQuery) GetFailureMetricOk() (*SloV00MetricDef, bool)
GetFailureMetricOk returns a tuple with the FailureMetric field value and a boolean to check if the value has been set.
func (*SloV00FailureRatioQuery) GetGroupByLabels ¶
func (o *SloV00FailureRatioQuery) GetGroupByLabels() []string
GetGroupByLabels returns the GroupByLabels field value if set, zero value otherwise.
func (*SloV00FailureRatioQuery) GetGroupByLabelsOk ¶
func (o *SloV00FailureRatioQuery) GetGroupByLabelsOk() ([]string, bool)
GetGroupByLabelsOk returns a tuple with the GroupByLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00FailureRatioQuery) GetTotalMetric ¶
func (o *SloV00FailureRatioQuery) GetTotalMetric() SloV00MetricDef
GetTotalMetric returns the TotalMetric field value
func (*SloV00FailureRatioQuery) GetTotalMetricOk ¶
func (o *SloV00FailureRatioQuery) GetTotalMetricOk() (*SloV00MetricDef, bool)
GetTotalMetricOk returns a tuple with the TotalMetric field value and a boolean to check if the value has been set.
func (*SloV00FailureRatioQuery) HasGroupByLabels ¶
func (o *SloV00FailureRatioQuery) HasGroupByLabels() bool
HasGroupByLabels returns a boolean if a field has been set.
func (SloV00FailureRatioQuery) MarshalJSON ¶
func (o SloV00FailureRatioQuery) MarshalJSON() ([]byte, error)
func (*SloV00FailureRatioQuery) SetFailureMetric ¶
func (o *SloV00FailureRatioQuery) SetFailureMetric(v SloV00MetricDef)
SetFailureMetric sets field value
func (*SloV00FailureRatioQuery) SetGroupByLabels ¶
func (o *SloV00FailureRatioQuery) SetGroupByLabels(v []string)
SetGroupByLabels gets a reference to the given []string and assigns it to the GroupByLabels field.
func (*SloV00FailureRatioQuery) SetTotalMetric ¶
func (o *SloV00FailureRatioQuery) SetTotalMetric(v SloV00MetricDef)
SetTotalMetric sets field value
func (SloV00FailureRatioQuery) ToMap ¶
func (o SloV00FailureRatioQuery) ToMap() (map[string]interface{}, error)
func (*SloV00FailureRatioQuery) UnmarshalJSON ¶
func (o *SloV00FailureRatioQuery) UnmarshalJSON(data []byte) (err error)
type SloV00FailureThresholdQuery ¶
type SloV00FailureThresholdQuery struct { FailureThresholdExpression string `json:"failureThresholdExpression"` GroupByLabels []string `json:"groupByLabels,omitempty"` Threshold SloV00Threshold `json:"threshold"` }
SloV00FailureThresholdQuery struct for SloV00FailureThresholdQuery
func NewSloV00FailureThresholdQuery ¶
func NewSloV00FailureThresholdQuery(failureThresholdExpression string, threshold SloV00Threshold) *SloV00FailureThresholdQuery
NewSloV00FailureThresholdQuery instantiates a new SloV00FailureThresholdQuery 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 NewSloV00FailureThresholdQueryWithDefaults ¶
func NewSloV00FailureThresholdQueryWithDefaults() *SloV00FailureThresholdQuery
NewSloV00FailureThresholdQueryWithDefaults instantiates a new SloV00FailureThresholdQuery 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 (*SloV00FailureThresholdQuery) GetFailureThresholdExpression ¶
func (o *SloV00FailureThresholdQuery) GetFailureThresholdExpression() string
GetFailureThresholdExpression returns the FailureThresholdExpression field value
func (*SloV00FailureThresholdQuery) GetFailureThresholdExpressionOk ¶
func (o *SloV00FailureThresholdQuery) GetFailureThresholdExpressionOk() (*string, bool)
GetFailureThresholdExpressionOk returns a tuple with the FailureThresholdExpression field value and a boolean to check if the value has been set.
func (*SloV00FailureThresholdQuery) GetGroupByLabels ¶
func (o *SloV00FailureThresholdQuery) GetGroupByLabels() []string
GetGroupByLabels returns the GroupByLabels field value if set, zero value otherwise.
func (*SloV00FailureThresholdQuery) GetGroupByLabelsOk ¶
func (o *SloV00FailureThresholdQuery) GetGroupByLabelsOk() ([]string, bool)
GetGroupByLabelsOk returns a tuple with the GroupByLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00FailureThresholdQuery) GetThreshold ¶
func (o *SloV00FailureThresholdQuery) GetThreshold() SloV00Threshold
GetThreshold returns the Threshold field value
func (*SloV00FailureThresholdQuery) GetThresholdOk ¶
func (o *SloV00FailureThresholdQuery) GetThresholdOk() (*SloV00Threshold, bool)
GetThresholdOk returns a tuple with the Threshold field value and a boolean to check if the value has been set.
func (*SloV00FailureThresholdQuery) HasGroupByLabels ¶
func (o *SloV00FailureThresholdQuery) HasGroupByLabels() bool
HasGroupByLabels returns a boolean if a field has been set.
func (SloV00FailureThresholdQuery) MarshalJSON ¶
func (o SloV00FailureThresholdQuery) MarshalJSON() ([]byte, error)
func (*SloV00FailureThresholdQuery) SetFailureThresholdExpression ¶
func (o *SloV00FailureThresholdQuery) SetFailureThresholdExpression(v string)
SetFailureThresholdExpression sets field value
func (*SloV00FailureThresholdQuery) SetGroupByLabels ¶
func (o *SloV00FailureThresholdQuery) SetGroupByLabels(v []string)
SetGroupByLabels gets a reference to the given []string and assigns it to the GroupByLabels field.
func (*SloV00FailureThresholdQuery) SetThreshold ¶
func (o *SloV00FailureThresholdQuery) SetThreshold(v SloV00Threshold)
SetThreshold sets field value
func (SloV00FailureThresholdQuery) ToMap ¶
func (o SloV00FailureThresholdQuery) ToMap() (map[string]interface{}, error)
func (*SloV00FailureThresholdQuery) UnmarshalJSON ¶
func (o *SloV00FailureThresholdQuery) UnmarshalJSON(data []byte) (err error)
type SloV00Folder ¶
type SloV00Folder struct {
Uid *string `json:"uid,omitempty"`
}
SloV00Folder struct for SloV00Folder
func NewSloV00Folder ¶
func NewSloV00Folder() *SloV00Folder
NewSloV00Folder instantiates a new SloV00Folder 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 NewSloV00FolderWithDefaults ¶
func NewSloV00FolderWithDefaults() *SloV00Folder
NewSloV00FolderWithDefaults instantiates a new SloV00Folder 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 (*SloV00Folder) GetUid ¶
func (o *SloV00Folder) GetUid() string
GetUid returns the Uid field value if set, zero value otherwise.
func (*SloV00Folder) GetUidOk ¶
func (o *SloV00Folder) GetUidOk() (*string, bool)
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Folder) HasUid ¶
func (o *SloV00Folder) HasUid() bool
HasUid returns a boolean if a field has been set.
func (SloV00Folder) MarshalJSON ¶
func (o SloV00Folder) MarshalJSON() ([]byte, error)
func (*SloV00Folder) SetUid ¶
func (o *SloV00Folder) SetUid(v string)
SetUid gets a reference to the given string and assigns it to the Uid field.
func (SloV00Folder) ToMap ¶
func (o SloV00Folder) ToMap() (map[string]interface{}, error)
type SloV00FreeformQuery ¶
type SloV00FreeformQuery struct {
Query string `json:"query"`
}
SloV00FreeformQuery struct for SloV00FreeformQuery
func NewSloV00FreeformQuery ¶
func NewSloV00FreeformQuery(query string) *SloV00FreeformQuery
NewSloV00FreeformQuery instantiates a new SloV00FreeformQuery 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 NewSloV00FreeformQueryWithDefaults ¶
func NewSloV00FreeformQueryWithDefaults() *SloV00FreeformQuery
NewSloV00FreeformQueryWithDefaults instantiates a new SloV00FreeformQuery 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 (*SloV00FreeformQuery) GetQuery ¶
func (o *SloV00FreeformQuery) GetQuery() string
GetQuery returns the Query field value
func (*SloV00FreeformQuery) GetQueryOk ¶
func (o *SloV00FreeformQuery) GetQueryOk() (*string, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (SloV00FreeformQuery) MarshalJSON ¶
func (o SloV00FreeformQuery) MarshalJSON() ([]byte, error)
func (*SloV00FreeformQuery) SetQuery ¶
func (o *SloV00FreeformQuery) SetQuery(v string)
SetQuery sets field value
func (SloV00FreeformQuery) ToMap ¶
func (o SloV00FreeformQuery) ToMap() (map[string]interface{}, error)
func (*SloV00FreeformQuery) UnmarshalJSON ¶
func (o *SloV00FreeformQuery) UnmarshalJSON(data []byte) (err error)
type SloV00Label ¶
SloV00Label struct for SloV00Label
func NewSloV00Label ¶
func NewSloV00Label(key string, value string) *SloV00Label
NewSloV00Label instantiates a new SloV00Label 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 NewSloV00LabelWithDefaults ¶
func NewSloV00LabelWithDefaults() *SloV00Label
NewSloV00LabelWithDefaults instantiates a new SloV00Label 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 (*SloV00Label) GetKey ¶
func (o *SloV00Label) GetKey() string
GetKey returns the Key field value
func (*SloV00Label) GetKeyOk ¶
func (o *SloV00Label) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*SloV00Label) GetValue ¶
func (o *SloV00Label) GetValue() string
GetValue returns the Value field value
func (*SloV00Label) GetValueOk ¶
func (o *SloV00Label) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (SloV00Label) MarshalJSON ¶
func (o SloV00Label) MarshalJSON() ([]byte, error)
func (SloV00Label) ToMap ¶
func (o SloV00Label) ToMap() (map[string]interface{}, error)
func (*SloV00Label) UnmarshalJSON ¶
func (o *SloV00Label) UnmarshalJSON(data []byte) (err error)
type SloV00MetricDef ¶
type SloV00MetricDef struct { PrometheusMetric string `json:"prometheusMetric"` Type *string `json:"type,omitempty"` }
SloV00MetricDef struct for SloV00MetricDef
func NewSloV00MetricDef ¶
func NewSloV00MetricDef(prometheusMetric string) *SloV00MetricDef
NewSloV00MetricDef instantiates a new SloV00MetricDef 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 NewSloV00MetricDefWithDefaults ¶
func NewSloV00MetricDefWithDefaults() *SloV00MetricDef
NewSloV00MetricDefWithDefaults instantiates a new SloV00MetricDef 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 (*SloV00MetricDef) GetPrometheusMetric ¶
func (o *SloV00MetricDef) GetPrometheusMetric() string
GetPrometheusMetric returns the PrometheusMetric field value
func (*SloV00MetricDef) GetPrometheusMetricOk ¶
func (o *SloV00MetricDef) GetPrometheusMetricOk() (*string, bool)
GetPrometheusMetricOk returns a tuple with the PrometheusMetric field value and a boolean to check if the value has been set.
func (*SloV00MetricDef) GetType ¶
func (o *SloV00MetricDef) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*SloV00MetricDef) GetTypeOk ¶
func (o *SloV00MetricDef) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00MetricDef) HasType ¶
func (o *SloV00MetricDef) HasType() bool
HasType returns a boolean if a field has been set.
func (SloV00MetricDef) MarshalJSON ¶
func (o SloV00MetricDef) MarshalJSON() ([]byte, error)
func (*SloV00MetricDef) SetPrometheusMetric ¶
func (o *SloV00MetricDef) SetPrometheusMetric(v string)
SetPrometheusMetric sets field value
func (*SloV00MetricDef) SetType ¶
func (o *SloV00MetricDef) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (SloV00MetricDef) ToMap ¶
func (o SloV00MetricDef) ToMap() (map[string]interface{}, error)
func (*SloV00MetricDef) UnmarshalJSON ¶
func (o *SloV00MetricDef) UnmarshalJSON(data []byte) (err error)
type SloV00Objective ¶
SloV00Objective struct for SloV00Objective
func NewSloV00Objective ¶
func NewSloV00Objective(value float64, window string) *SloV00Objective
NewSloV00Objective instantiates a new SloV00Objective 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 NewSloV00ObjectiveWithDefaults ¶
func NewSloV00ObjectiveWithDefaults() *SloV00Objective
NewSloV00ObjectiveWithDefaults instantiates a new SloV00Objective 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 (*SloV00Objective) GetValue ¶
func (o *SloV00Objective) GetValue() float64
GetValue returns the Value field value
func (*SloV00Objective) GetValueOk ¶
func (o *SloV00Objective) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*SloV00Objective) GetWindow ¶
func (o *SloV00Objective) GetWindow() string
GetWindow returns the Window field value
func (*SloV00Objective) GetWindowOk ¶
func (o *SloV00Objective) GetWindowOk() (*string, bool)
GetWindowOk returns a tuple with the Window field value and a boolean to check if the value has been set.
func (SloV00Objective) MarshalJSON ¶
func (o SloV00Objective) MarshalJSON() ([]byte, error)
func (*SloV00Objective) SetValue ¶
func (o *SloV00Objective) SetValue(v float64)
SetValue sets field value
func (*SloV00Objective) SetWindow ¶
func (o *SloV00Objective) SetWindow(v string)
SetWindow sets field value
func (SloV00Objective) ToMap ¶
func (o SloV00Objective) ToMap() (map[string]interface{}, error)
func (*SloV00Objective) UnmarshalJSON ¶
func (o *SloV00Objective) UnmarshalJSON(data []byte) (err error)
type SloV00Query ¶
type SloV00Query struct { FailureRatio *SloV00FailureRatioQuery `json:"failureRatio,omitempty"` FailureThreshold *SloV00FailureThresholdQuery `json:"failureThreshold,omitempty"` Freeform *SloV00FreeformQuery `json:"freeform,omitempty"` Ratio *SloV00RatioQuery `json:"ratio,omitempty"` Threshold *SloV00ThresholdQuery `json:"threshold,omitempty"` Type string `json:"type"` }
SloV00Query struct for SloV00Query
func NewSloV00Query ¶
func NewSloV00Query(type_ string) *SloV00Query
NewSloV00Query instantiates a new SloV00Query 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 NewSloV00QueryWithDefaults ¶
func NewSloV00QueryWithDefaults() *SloV00Query
NewSloV00QueryWithDefaults instantiates a new SloV00Query 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 (*SloV00Query) GetFailureRatio ¶
func (o *SloV00Query) GetFailureRatio() SloV00FailureRatioQuery
GetFailureRatio returns the FailureRatio field value if set, zero value otherwise.
func (*SloV00Query) GetFailureRatioOk ¶
func (o *SloV00Query) GetFailureRatioOk() (*SloV00FailureRatioQuery, bool)
GetFailureRatioOk returns a tuple with the FailureRatio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Query) GetFailureThreshold ¶
func (o *SloV00Query) GetFailureThreshold() SloV00FailureThresholdQuery
GetFailureThreshold returns the FailureThreshold field value if set, zero value otherwise.
func (*SloV00Query) GetFailureThresholdOk ¶
func (o *SloV00Query) GetFailureThresholdOk() (*SloV00FailureThresholdQuery, bool)
GetFailureThresholdOk returns a tuple with the FailureThreshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Query) GetFreeform ¶
func (o *SloV00Query) GetFreeform() SloV00FreeformQuery
GetFreeform returns the Freeform field value if set, zero value otherwise.
func (*SloV00Query) GetFreeformOk ¶
func (o *SloV00Query) GetFreeformOk() (*SloV00FreeformQuery, bool)
GetFreeformOk returns a tuple with the Freeform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Query) GetRatio ¶
func (o *SloV00Query) GetRatio() SloV00RatioQuery
GetRatio returns the Ratio field value if set, zero value otherwise.
func (*SloV00Query) GetRatioOk ¶
func (o *SloV00Query) GetRatioOk() (*SloV00RatioQuery, bool)
GetRatioOk returns a tuple with the Ratio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Query) GetThreshold ¶
func (o *SloV00Query) GetThreshold() SloV00ThresholdQuery
GetThreshold returns the Threshold field value if set, zero value otherwise.
func (*SloV00Query) GetThresholdOk ¶
func (o *SloV00Query) GetThresholdOk() (*SloV00ThresholdQuery, bool)
GetThresholdOk returns a tuple with the Threshold field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Query) GetType ¶
func (o *SloV00Query) GetType() string
GetType returns the Type field value
func (*SloV00Query) GetTypeOk ¶
func (o *SloV00Query) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SloV00Query) HasFailureRatio ¶
func (o *SloV00Query) HasFailureRatio() bool
HasFailureRatio returns a boolean if a field has been set.
func (*SloV00Query) HasFailureThreshold ¶
func (o *SloV00Query) HasFailureThreshold() bool
HasFailureThreshold returns a boolean if a field has been set.
func (*SloV00Query) HasFreeform ¶
func (o *SloV00Query) HasFreeform() bool
HasFreeform returns a boolean if a field has been set.
func (*SloV00Query) HasRatio ¶
func (o *SloV00Query) HasRatio() bool
HasRatio returns a boolean if a field has been set.
func (*SloV00Query) HasThreshold ¶
func (o *SloV00Query) HasThreshold() bool
HasThreshold returns a boolean if a field has been set.
func (SloV00Query) MarshalJSON ¶
func (o SloV00Query) MarshalJSON() ([]byte, error)
func (*SloV00Query) SetFailureRatio ¶
func (o *SloV00Query) SetFailureRatio(v SloV00FailureRatioQuery)
SetFailureRatio gets a reference to the given SloV00FailureRatioQuery and assigns it to the FailureRatio field.
func (*SloV00Query) SetFailureThreshold ¶
func (o *SloV00Query) SetFailureThreshold(v SloV00FailureThresholdQuery)
SetFailureThreshold gets a reference to the given SloV00FailureThresholdQuery and assigns it to the FailureThreshold field.
func (*SloV00Query) SetFreeform ¶
func (o *SloV00Query) SetFreeform(v SloV00FreeformQuery)
SetFreeform gets a reference to the given SloV00FreeformQuery and assigns it to the Freeform field.
func (*SloV00Query) SetRatio ¶
func (o *SloV00Query) SetRatio(v SloV00RatioQuery)
SetRatio gets a reference to the given SloV00RatioQuery and assigns it to the Ratio field.
func (*SloV00Query) SetThreshold ¶
func (o *SloV00Query) SetThreshold(v SloV00ThresholdQuery)
SetThreshold gets a reference to the given SloV00ThresholdQuery and assigns it to the Threshold field.
func (SloV00Query) ToMap ¶
func (o SloV00Query) ToMap() (map[string]interface{}, error)
func (*SloV00Query) UnmarshalJSON ¶
func (o *SloV00Query) UnmarshalJSON(data []byte) (err error)
type SloV00RatioQuery ¶
type SloV00RatioQuery struct { GroupByLabels []string `json:"groupByLabels,omitempty"` SuccessMetric SloV00MetricDef `json:"successMetric"` TotalMetric SloV00MetricDef `json:"totalMetric"` }
SloV00RatioQuery struct for SloV00RatioQuery
func NewSloV00RatioQuery ¶
func NewSloV00RatioQuery(successMetric SloV00MetricDef, totalMetric SloV00MetricDef) *SloV00RatioQuery
NewSloV00RatioQuery instantiates a new SloV00RatioQuery 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 NewSloV00RatioQueryWithDefaults ¶
func NewSloV00RatioQueryWithDefaults() *SloV00RatioQuery
NewSloV00RatioQueryWithDefaults instantiates a new SloV00RatioQuery 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 (*SloV00RatioQuery) GetGroupByLabels ¶
func (o *SloV00RatioQuery) GetGroupByLabels() []string
GetGroupByLabels returns the GroupByLabels field value if set, zero value otherwise.
func (*SloV00RatioQuery) GetGroupByLabelsOk ¶
func (o *SloV00RatioQuery) GetGroupByLabelsOk() ([]string, bool)
GetGroupByLabelsOk returns a tuple with the GroupByLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00RatioQuery) GetSuccessMetric ¶
func (o *SloV00RatioQuery) GetSuccessMetric() SloV00MetricDef
GetSuccessMetric returns the SuccessMetric field value
func (*SloV00RatioQuery) GetSuccessMetricOk ¶
func (o *SloV00RatioQuery) GetSuccessMetricOk() (*SloV00MetricDef, bool)
GetSuccessMetricOk returns a tuple with the SuccessMetric field value and a boolean to check if the value has been set.
func (*SloV00RatioQuery) GetTotalMetric ¶
func (o *SloV00RatioQuery) GetTotalMetric() SloV00MetricDef
GetTotalMetric returns the TotalMetric field value
func (*SloV00RatioQuery) GetTotalMetricOk ¶
func (o *SloV00RatioQuery) GetTotalMetricOk() (*SloV00MetricDef, bool)
GetTotalMetricOk returns a tuple with the TotalMetric field value and a boolean to check if the value has been set.
func (*SloV00RatioQuery) HasGroupByLabels ¶
func (o *SloV00RatioQuery) HasGroupByLabels() bool
HasGroupByLabels returns a boolean if a field has been set.
func (SloV00RatioQuery) MarshalJSON ¶
func (o SloV00RatioQuery) MarshalJSON() ([]byte, error)
func (*SloV00RatioQuery) SetGroupByLabels ¶
func (o *SloV00RatioQuery) SetGroupByLabels(v []string)
SetGroupByLabels gets a reference to the given []string and assigns it to the GroupByLabels field.
func (*SloV00RatioQuery) SetSuccessMetric ¶
func (o *SloV00RatioQuery) SetSuccessMetric(v SloV00MetricDef)
SetSuccessMetric sets field value
func (*SloV00RatioQuery) SetTotalMetric ¶
func (o *SloV00RatioQuery) SetTotalMetric(v SloV00MetricDef)
SetTotalMetric sets field value
func (SloV00RatioQuery) ToMap ¶
func (o SloV00RatioQuery) ToMap() (map[string]interface{}, error)
func (*SloV00RatioQuery) UnmarshalJSON ¶
func (o *SloV00RatioQuery) UnmarshalJSON(data []byte) (err error)
type SloV00ReadOnly ¶
type SloV00ReadOnly struct { AllowedActions []string `json:"allowedActions,omitempty"` DrillDownDashboardRef *SloV00DashboardRef `json:"drillDownDashboardRef,omitempty"` Provenance *string `json:"provenance,omitempty"` Status *SloV00Status `json:"status,omitempty"` }
SloV00ReadOnly struct for SloV00ReadOnly
func NewSloV00ReadOnly ¶
func NewSloV00ReadOnly() *SloV00ReadOnly
NewSloV00ReadOnly instantiates a new SloV00ReadOnly 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 NewSloV00ReadOnlyWithDefaults ¶
func NewSloV00ReadOnlyWithDefaults() *SloV00ReadOnly
NewSloV00ReadOnlyWithDefaults instantiates a new SloV00ReadOnly 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 (*SloV00ReadOnly) GetAllowedActions ¶
func (o *SloV00ReadOnly) GetAllowedActions() []string
GetAllowedActions returns the AllowedActions field value if set, zero value otherwise.
func (*SloV00ReadOnly) GetAllowedActionsOk ¶
func (o *SloV00ReadOnly) GetAllowedActionsOk() ([]string, bool)
GetAllowedActionsOk returns a tuple with the AllowedActions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00ReadOnly) GetDrillDownDashboardRef ¶
func (o *SloV00ReadOnly) GetDrillDownDashboardRef() SloV00DashboardRef
GetDrillDownDashboardRef returns the DrillDownDashboardRef field value if set, zero value otherwise.
func (*SloV00ReadOnly) GetDrillDownDashboardRefOk ¶
func (o *SloV00ReadOnly) GetDrillDownDashboardRefOk() (*SloV00DashboardRef, bool)
GetDrillDownDashboardRefOk returns a tuple with the DrillDownDashboardRef field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00ReadOnly) GetProvenance ¶
func (o *SloV00ReadOnly) GetProvenance() string
GetProvenance returns the Provenance field value if set, zero value otherwise.
func (*SloV00ReadOnly) GetProvenanceOk ¶
func (o *SloV00ReadOnly) GetProvenanceOk() (*string, bool)
GetProvenanceOk returns a tuple with the Provenance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00ReadOnly) GetStatus ¶
func (o *SloV00ReadOnly) GetStatus() SloV00Status
GetStatus returns the Status field value if set, zero value otherwise.
func (*SloV00ReadOnly) GetStatusOk ¶
func (o *SloV00ReadOnly) GetStatusOk() (*SloV00Status, 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 (*SloV00ReadOnly) HasAllowedActions ¶
func (o *SloV00ReadOnly) HasAllowedActions() bool
HasAllowedActions returns a boolean if a field has been set.
func (*SloV00ReadOnly) HasDrillDownDashboardRef ¶
func (o *SloV00ReadOnly) HasDrillDownDashboardRef() bool
HasDrillDownDashboardRef returns a boolean if a field has been set.
func (*SloV00ReadOnly) HasProvenance ¶
func (o *SloV00ReadOnly) HasProvenance() bool
HasProvenance returns a boolean if a field has been set.
func (*SloV00ReadOnly) HasStatus ¶
func (o *SloV00ReadOnly) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (SloV00ReadOnly) MarshalJSON ¶
func (o SloV00ReadOnly) MarshalJSON() ([]byte, error)
func (*SloV00ReadOnly) SetAllowedActions ¶
func (o *SloV00ReadOnly) SetAllowedActions(v []string)
SetAllowedActions gets a reference to the given []string and assigns it to the AllowedActions field.
func (*SloV00ReadOnly) SetDrillDownDashboardRef ¶
func (o *SloV00ReadOnly) SetDrillDownDashboardRef(v SloV00DashboardRef)
SetDrillDownDashboardRef gets a reference to the given SloV00DashboardRef and assigns it to the DrillDownDashboardRef field.
func (*SloV00ReadOnly) SetProvenance ¶
func (o *SloV00ReadOnly) SetProvenance(v string)
SetProvenance gets a reference to the given string and assigns it to the Provenance field.
func (*SloV00ReadOnly) SetStatus ¶
func (o *SloV00ReadOnly) SetStatus(v SloV00Status)
SetStatus gets a reference to the given SloV00Status and assigns it to the Status field.
func (SloV00ReadOnly) ToMap ¶
func (o SloV00ReadOnly) ToMap() (map[string]interface{}, error)
type SloV00Slo ¶
type SloV00Slo struct { Alerting *SloV00Alerting `json:"alerting,omitempty"` Description string `json:"description"` DestinationDatasource *SloV00DestinationDatasource `json:"destinationDatasource,omitempty"` Folder *SloV00Folder `json:"folder,omitempty"` Labels []SloV00Label `json:"labels,omitempty"` Name string `json:"name"` Objectives []SloV00Objective `json:"objectives"` Query SloV00Query `json:"query"` ReadOnly *SloV00ReadOnly `json:"readOnly,omitempty"` SearchExpression *string `json:"searchExpression,omitempty"` Uuid string `json:"uuid"` }
SloV00Slo struct for SloV00Slo
func NewSloV00Slo ¶
func NewSloV00Slo(description string, name string, objectives []SloV00Objective, query SloV00Query, uuid string) *SloV00Slo
NewSloV00Slo instantiates a new SloV00Slo 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 NewSloV00SloWithDefaults ¶
func NewSloV00SloWithDefaults() *SloV00Slo
NewSloV00SloWithDefaults instantiates a new SloV00Slo 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 (*SloV00Slo) GetAlerting ¶
func (o *SloV00Slo) GetAlerting() SloV00Alerting
GetAlerting returns the Alerting field value if set, zero value otherwise.
func (*SloV00Slo) GetAlertingOk ¶
func (o *SloV00Slo) GetAlertingOk() (*SloV00Alerting, bool)
GetAlertingOk returns a tuple with the Alerting field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Slo) GetDescription ¶
GetDescription returns the Description field value
func (*SloV00Slo) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*SloV00Slo) GetDestinationDatasource ¶
func (o *SloV00Slo) GetDestinationDatasource() SloV00DestinationDatasource
GetDestinationDatasource returns the DestinationDatasource field value if set, zero value otherwise.
func (*SloV00Slo) GetDestinationDatasourceOk ¶
func (o *SloV00Slo) GetDestinationDatasourceOk() (*SloV00DestinationDatasource, bool)
GetDestinationDatasourceOk returns a tuple with the DestinationDatasource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Slo) GetFolder ¶
func (o *SloV00Slo) GetFolder() SloV00Folder
GetFolder returns the Folder field value if set, zero value otherwise.
func (*SloV00Slo) GetFolderOk ¶
func (o *SloV00Slo) GetFolderOk() (*SloV00Folder, bool)
GetFolderOk returns a tuple with the Folder field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Slo) GetLabels ¶
func (o *SloV00Slo) GetLabels() []SloV00Label
GetLabels returns the Labels field value if set, zero value otherwise.
func (*SloV00Slo) GetLabelsOk ¶
func (o *SloV00Slo) GetLabelsOk() ([]SloV00Label, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Slo) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*SloV00Slo) GetObjectives ¶
func (o *SloV00Slo) GetObjectives() []SloV00Objective
GetObjectives returns the Objectives field value
func (*SloV00Slo) GetObjectivesOk ¶
func (o *SloV00Slo) GetObjectivesOk() ([]SloV00Objective, bool)
GetObjectivesOk returns a tuple with the Objectives field value and a boolean to check if the value has been set.
func (*SloV00Slo) GetQuery ¶
func (o *SloV00Slo) GetQuery() SloV00Query
GetQuery returns the Query field value
func (*SloV00Slo) GetQueryOk ¶
func (o *SloV00Slo) GetQueryOk() (*SloV00Query, bool)
GetQueryOk returns a tuple with the Query field value and a boolean to check if the value has been set.
func (*SloV00Slo) GetReadOnly ¶
func (o *SloV00Slo) GetReadOnly() SloV00ReadOnly
GetReadOnly returns the ReadOnly field value if set, zero value otherwise.
func (*SloV00Slo) GetReadOnlyOk ¶
func (o *SloV00Slo) GetReadOnlyOk() (*SloV00ReadOnly, bool)
GetReadOnlyOk returns a tuple with the ReadOnly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Slo) GetSearchExpression ¶
GetSearchExpression returns the SearchExpression field value if set, zero value otherwise.
func (*SloV00Slo) GetSearchExpressionOk ¶
GetSearchExpressionOk returns a tuple with the SearchExpression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Slo) GetUuidOk ¶
GetUuidOk returns a tuple with the Uuid field value and a boolean to check if the value has been set.
func (*SloV00Slo) HasAlerting ¶
HasAlerting returns a boolean if a field has been set.
func (*SloV00Slo) HasDestinationDatasource ¶
HasDestinationDatasource returns a boolean if a field has been set.
func (*SloV00Slo) HasReadOnly ¶
HasReadOnly returns a boolean if a field has been set.
func (*SloV00Slo) HasSearchExpression ¶
HasSearchExpression returns a boolean if a field has been set.
func (SloV00Slo) MarshalJSON ¶
func (*SloV00Slo) SetAlerting ¶
func (o *SloV00Slo) SetAlerting(v SloV00Alerting)
SetAlerting gets a reference to the given SloV00Alerting and assigns it to the Alerting field.
func (*SloV00Slo) SetDescription ¶
SetDescription sets field value
func (*SloV00Slo) SetDestinationDatasource ¶
func (o *SloV00Slo) SetDestinationDatasource(v SloV00DestinationDatasource)
SetDestinationDatasource gets a reference to the given SloV00DestinationDatasource and assigns it to the DestinationDatasource field.
func (*SloV00Slo) SetFolder ¶
func (o *SloV00Slo) SetFolder(v SloV00Folder)
SetFolder gets a reference to the given SloV00Folder and assigns it to the Folder field.
func (*SloV00Slo) SetLabels ¶
func (o *SloV00Slo) SetLabels(v []SloV00Label)
SetLabels gets a reference to the given []SloV00Label and assigns it to the Labels field.
func (*SloV00Slo) SetObjectives ¶
func (o *SloV00Slo) SetObjectives(v []SloV00Objective)
SetObjectives sets field value
func (*SloV00Slo) SetReadOnly ¶
func (o *SloV00Slo) SetReadOnly(v SloV00ReadOnly)
SetReadOnly gets a reference to the given SloV00ReadOnly and assigns it to the ReadOnly field.
func (*SloV00Slo) SetSearchExpression ¶
SetSearchExpression gets a reference to the given string and assigns it to the SearchExpression field.
func (*SloV00Slo) UnmarshalJSON ¶
type SloV00Status ¶
SloV00Status struct for SloV00Status
func NewSloV00Status ¶
func NewSloV00Status(type_ string) *SloV00Status
NewSloV00Status instantiates a new SloV00Status 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 NewSloV00StatusWithDefaults ¶
func NewSloV00StatusWithDefaults() *SloV00Status
NewSloV00StatusWithDefaults instantiates a new SloV00Status 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 (*SloV00Status) GetMessage ¶
func (o *SloV00Status) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*SloV00Status) GetMessageOk ¶
func (o *SloV00Status) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00Status) GetType ¶
func (o *SloV00Status) GetType() string
GetType returns the Type field value
func (*SloV00Status) GetTypeOk ¶
func (o *SloV00Status) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SloV00Status) HasMessage ¶
func (o *SloV00Status) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (SloV00Status) MarshalJSON ¶
func (o SloV00Status) MarshalJSON() ([]byte, error)
func (*SloV00Status) SetMessage ¶
func (o *SloV00Status) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (SloV00Status) ToMap ¶
func (o SloV00Status) ToMap() (map[string]interface{}, error)
func (*SloV00Status) UnmarshalJSON ¶
func (o *SloV00Status) UnmarshalJSON(data []byte) (err error)
type SloV00Threshold ¶
SloV00Threshold struct for SloV00Threshold
func NewSloV00Threshold ¶
func NewSloV00Threshold(operator string, value float64) *SloV00Threshold
NewSloV00Threshold instantiates a new SloV00Threshold 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 NewSloV00ThresholdWithDefaults ¶
func NewSloV00ThresholdWithDefaults() *SloV00Threshold
NewSloV00ThresholdWithDefaults instantiates a new SloV00Threshold 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 (*SloV00Threshold) GetOperator ¶
func (o *SloV00Threshold) GetOperator() string
GetOperator returns the Operator field value
func (*SloV00Threshold) GetOperatorOk ¶
func (o *SloV00Threshold) GetOperatorOk() (*string, bool)
GetOperatorOk returns a tuple with the Operator field value and a boolean to check if the value has been set.
func (*SloV00Threshold) GetValue ¶
func (o *SloV00Threshold) GetValue() float64
GetValue returns the Value field value
func (*SloV00Threshold) GetValueOk ¶
func (o *SloV00Threshold) GetValueOk() (*float64, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (SloV00Threshold) MarshalJSON ¶
func (o SloV00Threshold) MarshalJSON() ([]byte, error)
func (*SloV00Threshold) SetOperator ¶
func (o *SloV00Threshold) SetOperator(v string)
SetOperator sets field value
func (*SloV00Threshold) SetValue ¶
func (o *SloV00Threshold) SetValue(v float64)
SetValue sets field value
func (SloV00Threshold) ToMap ¶
func (o SloV00Threshold) ToMap() (map[string]interface{}, error)
func (*SloV00Threshold) UnmarshalJSON ¶
func (o *SloV00Threshold) UnmarshalJSON(data []byte) (err error)
type SloV00ThresholdQuery ¶
type SloV00ThresholdQuery struct { GroupByLabels []string `json:"groupByLabels,omitempty"` Threshold SloV00Threshold `json:"threshold"` ThresholdExpression string `json:"thresholdExpression"` }
SloV00ThresholdQuery struct for SloV00ThresholdQuery
func NewSloV00ThresholdQuery ¶
func NewSloV00ThresholdQuery(threshold SloV00Threshold, thresholdExpression string) *SloV00ThresholdQuery
NewSloV00ThresholdQuery instantiates a new SloV00ThresholdQuery 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 NewSloV00ThresholdQueryWithDefaults ¶
func NewSloV00ThresholdQueryWithDefaults() *SloV00ThresholdQuery
NewSloV00ThresholdQueryWithDefaults instantiates a new SloV00ThresholdQuery 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 (*SloV00ThresholdQuery) GetGroupByLabels ¶
func (o *SloV00ThresholdQuery) GetGroupByLabels() []string
GetGroupByLabels returns the GroupByLabels field value if set, zero value otherwise.
func (*SloV00ThresholdQuery) GetGroupByLabelsOk ¶
func (o *SloV00ThresholdQuery) GetGroupByLabelsOk() ([]string, bool)
GetGroupByLabelsOk returns a tuple with the GroupByLabels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloV00ThresholdQuery) GetThreshold ¶
func (o *SloV00ThresholdQuery) GetThreshold() SloV00Threshold
GetThreshold returns the Threshold field value
func (*SloV00ThresholdQuery) GetThresholdExpression ¶
func (o *SloV00ThresholdQuery) GetThresholdExpression() string
GetThresholdExpression returns the ThresholdExpression field value
func (*SloV00ThresholdQuery) GetThresholdExpressionOk ¶
func (o *SloV00ThresholdQuery) GetThresholdExpressionOk() (*string, bool)
GetThresholdExpressionOk returns a tuple with the ThresholdExpression field value and a boolean to check if the value has been set.
func (*SloV00ThresholdQuery) GetThresholdOk ¶
func (o *SloV00ThresholdQuery) GetThresholdOk() (*SloV00Threshold, bool)
GetThresholdOk returns a tuple with the Threshold field value and a boolean to check if the value has been set.
func (*SloV00ThresholdQuery) HasGroupByLabels ¶
func (o *SloV00ThresholdQuery) HasGroupByLabels() bool
HasGroupByLabels returns a boolean if a field has been set.
func (SloV00ThresholdQuery) MarshalJSON ¶
func (o SloV00ThresholdQuery) MarshalJSON() ([]byte, error)
func (*SloV00ThresholdQuery) SetGroupByLabels ¶
func (o *SloV00ThresholdQuery) SetGroupByLabels(v []string)
SetGroupByLabels gets a reference to the given []string and assigns it to the GroupByLabels field.
func (*SloV00ThresholdQuery) SetThreshold ¶
func (o *SloV00ThresholdQuery) SetThreshold(v SloV00Threshold)
SetThreshold sets field value
func (*SloV00ThresholdQuery) SetThresholdExpression ¶
func (o *SloV00ThresholdQuery) SetThresholdExpression(v string)
SetThresholdExpression sets field value
func (SloV00ThresholdQuery) ToMap ¶
func (o SloV00ThresholdQuery) ToMap() (map[string]interface{}, error)
func (*SloV00ThresholdQuery) UnmarshalJSON ¶
func (o *SloV00ThresholdQuery) UnmarshalJSON(data []byte) (err error)
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_api_error_response.go
- model_api_slo_create_response.go
- model_api_slo_list_response.go
- model_slo_v0_0_advanced_options.go
- model_slo_v0_0_alerting.go
- model_slo_v0_0_alerting_metadata.go
- model_slo_v0_0_dashboard_ref.go
- model_slo_v0_0_destination_datasource.go
- model_slo_v0_0_failure_ratio_query.go
- model_slo_v0_0_failure_threshold_query.go
- model_slo_v0_0_folder.go
- model_slo_v0_0_freeform_query.go
- model_slo_v0_0_label.go
- model_slo_v0_0_metric_def.go
- model_slo_v0_0_objective.go
- model_slo_v0_0_query.go
- model_slo_v0_0_ratio_query.go
- model_slo_v0_0_read_only.go
- model_slo_v0_0_slo.go
- model_slo_v0_0_status.go
- model_slo_v0_0_threshold.go
- model_slo_v0_0_threshold_query.go
- response.go
- utils.go