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 ApiCreateSloRequest
- type ApiDeleteSloRequest
- type ApiDisableSloRequest
- type ApiEnableSloRequest
- type ApiFindSlosRequest
- func (r ApiFindSlosRequest) Execute() (*FindSloResponse, *http.Response, error)
- func (r ApiFindSlosRequest) IndicatorTypes(indicatorTypes []string) ApiFindSlosRequest
- func (r ApiFindSlosRequest) KbnXsrf(kbnXsrf string) ApiFindSlosRequest
- func (r ApiFindSlosRequest) Name(name string) ApiFindSlosRequest
- func (r ApiFindSlosRequest) Page(page int32) ApiFindSlosRequest
- func (r ApiFindSlosRequest) PerPage(perPage int32) ApiFindSlosRequest
- func (r ApiFindSlosRequest) SortBy(sortBy string) ApiFindSlosRequest
- func (r ApiFindSlosRequest) SortDirection(sortDirection string) ApiFindSlosRequest
- type ApiGetSloRequest
- type ApiHistoricalSummaryRequest
- func (r ApiHistoricalSummaryRequest) Execute() (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
- func (r ApiHistoricalSummaryRequest) HistoricalSummaryRequest(historicalSummaryRequest HistoricalSummaryRequest) ApiHistoricalSummaryRequest
- func (r ApiHistoricalSummaryRequest) KbnXsrf(kbnXsrf string) ApiHistoricalSummaryRequest
- type ApiUpdateSloRequest
- type BasicAuth
- type BudgetingMethod
- type Configuration
- type CreateSloRequest
- func (o *CreateSloRequest) GetBudgetingMethod() BudgetingMethod
- func (o *CreateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)
- func (o *CreateSloRequest) GetDescription() string
- func (o *CreateSloRequest) GetDescriptionOk() (*string, bool)
- func (o *CreateSloRequest) GetIndicator() SloResponseIndicator
- func (o *CreateSloRequest) GetIndicatorOk() (*SloResponseIndicator, bool)
- func (o *CreateSloRequest) GetName() string
- func (o *CreateSloRequest) GetNameOk() (*string, bool)
- func (o *CreateSloRequest) GetObjective() Objective
- func (o *CreateSloRequest) GetObjectiveOk() (*Objective, bool)
- func (o *CreateSloRequest) GetSettings() Settings
- func (o *CreateSloRequest) GetSettingsOk() (*Settings, bool)
- func (o *CreateSloRequest) GetTimeWindow() SloResponseTimeWindow
- func (o *CreateSloRequest) GetTimeWindowOk() (*SloResponseTimeWindow, bool)
- func (o *CreateSloRequest) HasSettings() bool
- func (o CreateSloRequest) MarshalJSON() ([]byte, error)
- func (o *CreateSloRequest) SetBudgetingMethod(v BudgetingMethod)
- func (o *CreateSloRequest) SetDescription(v string)
- func (o *CreateSloRequest) SetIndicator(v SloResponseIndicator)
- func (o *CreateSloRequest) SetName(v string)
- func (o *CreateSloRequest) SetObjective(v Objective)
- func (o *CreateSloRequest) SetSettings(v Settings)
- func (o *CreateSloRequest) SetTimeWindow(v SloResponseTimeWindow)
- func (o CreateSloRequest) ToMap() (map[string]interface{}, error)
- type CreateSloResponse
- type ErrorBudget
- func (o *ErrorBudget) GetConsumed() float32
- func (o *ErrorBudget) GetConsumedOk() (*float32, bool)
- func (o *ErrorBudget) GetInitial() float32
- func (o *ErrorBudget) GetInitialOk() (*float32, bool)
- func (o *ErrorBudget) GetIsEstimated() bool
- func (o *ErrorBudget) GetIsEstimatedOk() (*bool, bool)
- func (o *ErrorBudget) GetRemaining() float32
- func (o *ErrorBudget) GetRemainingOk() (*float32, bool)
- func (o *ErrorBudget) HasConsumed() bool
- func (o *ErrorBudget) HasInitial() bool
- func (o *ErrorBudget) HasIsEstimated() bool
- func (o *ErrorBudget) HasRemaining() bool
- func (o ErrorBudget) MarshalJSON() ([]byte, error)
- func (o *ErrorBudget) SetConsumed(v float32)
- func (o *ErrorBudget) SetInitial(v float32)
- func (o *ErrorBudget) SetIsEstimated(v bool)
- func (o *ErrorBudget) SetRemaining(v float32)
- func (o ErrorBudget) ToMap() (map[string]interface{}, error)
- type FindSloResponse
- func (o *FindSloResponse) GetPage() float32
- func (o *FindSloResponse) GetPageOk() (*float32, bool)
- func (o *FindSloResponse) GetPerPage() float32
- func (o *FindSloResponse) GetPerPageOk() (*float32, bool)
- func (o *FindSloResponse) GetResults() []SloResponse
- func (o *FindSloResponse) GetResultsOk() ([]SloResponse, bool)
- func (o *FindSloResponse) GetTotal() float32
- func (o *FindSloResponse) GetTotalOk() (*float32, bool)
- func (o *FindSloResponse) HasPage() bool
- func (o *FindSloResponse) HasPerPage() bool
- func (o *FindSloResponse) HasResults() bool
- func (o *FindSloResponse) HasTotal() bool
- func (o FindSloResponse) MarshalJSON() ([]byte, error)
- func (o *FindSloResponse) SetPage(v float32)
- func (o *FindSloResponse) SetPerPage(v float32)
- func (o *FindSloResponse) SetResults(v []SloResponse)
- func (o *FindSloResponse) SetTotal(v float32)
- func (o FindSloResponse) ToMap() (map[string]interface{}, error)
- type GenericOpenAPIError
- type HistoricalSummaryRequest
- func (o *HistoricalSummaryRequest) GetSloIds() []string
- func (o *HistoricalSummaryRequest) GetSloIdsOk() ([]string, bool)
- func (o HistoricalSummaryRequest) MarshalJSON() ([]byte, error)
- func (o *HistoricalSummaryRequest) SetSloIds(v []string)
- func (o HistoricalSummaryRequest) ToMap() (map[string]interface{}, error)
- type HistoricalSummaryResponseInner
- func (o *HistoricalSummaryResponseInner) GetDate() string
- func (o *HistoricalSummaryResponseInner) GetDateOk() (*string, bool)
- func (o *HistoricalSummaryResponseInner) GetErrorBudget() ErrorBudget
- func (o *HistoricalSummaryResponseInner) GetErrorBudgetOk() (*ErrorBudget, bool)
- func (o *HistoricalSummaryResponseInner) GetSliValue() float32
- func (o *HistoricalSummaryResponseInner) GetSliValueOk() (*float32, bool)
- func (o *HistoricalSummaryResponseInner) GetStatus() string
- func (o *HistoricalSummaryResponseInner) GetStatusOk() (*string, bool)
- func (o *HistoricalSummaryResponseInner) HasDate() bool
- func (o *HistoricalSummaryResponseInner) HasErrorBudget() bool
- func (o *HistoricalSummaryResponseInner) HasSliValue() bool
- func (o *HistoricalSummaryResponseInner) HasStatus() bool
- func (o HistoricalSummaryResponseInner) MarshalJSON() ([]byte, error)
- func (o *HistoricalSummaryResponseInner) SetDate(v string)
- func (o *HistoricalSummaryResponseInner) SetErrorBudget(v ErrorBudget)
- func (o *HistoricalSummaryResponseInner) SetSliValue(v float32)
- func (o *HistoricalSummaryResponseInner) SetStatus(v string)
- func (o HistoricalSummaryResponseInner) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmAvailability
- func (o *IndicatorPropertiesApmAvailability) GetParams() IndicatorPropertiesApmAvailabilityParams
- func (o *IndicatorPropertiesApmAvailability) GetParamsOk() (*IndicatorPropertiesApmAvailabilityParams, bool)
- func (o *IndicatorPropertiesApmAvailability) GetType() string
- func (o *IndicatorPropertiesApmAvailability) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesApmAvailability) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmAvailability) SetParams(v IndicatorPropertiesApmAvailabilityParams)
- func (o *IndicatorPropertiesApmAvailability) SetType(v string)
- func (o IndicatorPropertiesApmAvailability) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmAvailabilityParams
- func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironment() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironmentOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetFilter() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetGoodStatusCodes() []string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetGoodStatusCodesOk() ([]string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetIndex() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetService() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetServiceOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionName() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionNameOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionType() string
- func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionTypeOk() (*string, bool)
- func (o *IndicatorPropertiesApmAvailabilityParams) HasFilter() bool
- func (o *IndicatorPropertiesApmAvailabilityParams) HasGoodStatusCodes() bool
- func (o IndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetEnvironment(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetFilter(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetGoodStatusCodes(v []string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetIndex(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetService(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionName(v string)
- func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionType(v string)
- func (o IndicatorPropertiesApmAvailabilityParams) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmLatency
- func (o *IndicatorPropertiesApmLatency) GetParams() IndicatorPropertiesApmLatencyParams
- func (o *IndicatorPropertiesApmLatency) GetParamsOk() (*IndicatorPropertiesApmLatencyParams, bool)
- func (o *IndicatorPropertiesApmLatency) GetType() string
- func (o *IndicatorPropertiesApmLatency) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesApmLatency) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmLatency) SetParams(v IndicatorPropertiesApmLatencyParams)
- func (o *IndicatorPropertiesApmLatency) SetType(v string)
- func (o IndicatorPropertiesApmLatency) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesApmLatencyParams
- func (o *IndicatorPropertiesApmLatencyParams) GetEnvironment() string
- func (o *IndicatorPropertiesApmLatencyParams) GetEnvironmentOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetFilter() string
- func (o *IndicatorPropertiesApmLatencyParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetIndex() string
- func (o *IndicatorPropertiesApmLatencyParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetService() string
- func (o *IndicatorPropertiesApmLatencyParams) GetServiceOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionName() string
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionNameOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionType() string
- func (o *IndicatorPropertiesApmLatencyParams) GetTransactionTypeOk() (*string, bool)
- func (o *IndicatorPropertiesApmLatencyParams) HasFilter() bool
- func (o IndicatorPropertiesApmLatencyParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesApmLatencyParams) SetEnvironment(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetFilter(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetIndex(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetService(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetTransactionName(v string)
- func (o *IndicatorPropertiesApmLatencyParams) SetTransactionType(v string)
- func (o IndicatorPropertiesApmLatencyParams) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomKql
- func (o *IndicatorPropertiesCustomKql) GetParams() IndicatorPropertiesCustomKqlParams
- func (o *IndicatorPropertiesCustomKql) GetParamsOk() (*IndicatorPropertiesCustomKqlParams, bool)
- func (o *IndicatorPropertiesCustomKql) GetType() string
- func (o *IndicatorPropertiesCustomKql) GetTypeOk() (*string, bool)
- func (o IndicatorPropertiesCustomKql) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomKql) SetParams(v IndicatorPropertiesCustomKqlParams)
- func (o *IndicatorPropertiesCustomKql) SetType(v string)
- func (o IndicatorPropertiesCustomKql) ToMap() (map[string]interface{}, error)
- type IndicatorPropertiesCustomKqlParams
- func (o *IndicatorPropertiesCustomKqlParams) GetFilter() string
- func (o *IndicatorPropertiesCustomKqlParams) GetFilterOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetGood() string
- func (o *IndicatorPropertiesCustomKqlParams) GetGoodOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetIndex() string
- func (o *IndicatorPropertiesCustomKqlParams) GetIndexOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetTimestampField() string
- func (o *IndicatorPropertiesCustomKqlParams) GetTimestampFieldOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) GetTotal() string
- func (o *IndicatorPropertiesCustomKqlParams) GetTotalOk() (*string, bool)
- func (o *IndicatorPropertiesCustomKqlParams) HasFilter() bool
- func (o *IndicatorPropertiesCustomKqlParams) HasGood() bool
- func (o *IndicatorPropertiesCustomKqlParams) HasTotal() bool
- func (o IndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
- func (o *IndicatorPropertiesCustomKqlParams) SetFilter(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetGood(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetIndex(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetTimestampField(v string)
- func (o *IndicatorPropertiesCustomKqlParams) SetTotal(v string)
- func (o IndicatorPropertiesCustomKqlParams) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type Model4xxResponse
- func (o *Model4xxResponse) GetError() string
- func (o *Model4xxResponse) GetErrorOk() (*string, bool)
- func (o *Model4xxResponse) GetMessage() string
- func (o *Model4xxResponse) GetMessageOk() (*string, bool)
- func (o *Model4xxResponse) GetStatusCode() float32
- func (o *Model4xxResponse) GetStatusCodeOk() (*float32, bool)
- func (o Model4xxResponse) MarshalJSON() ([]byte, error)
- func (o *Model4xxResponse) SetError(v string)
- func (o *Model4xxResponse) SetMessage(v string)
- func (o *Model4xxResponse) SetStatusCode(v float32)
- func (o Model4xxResponse) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableBudgetingMethod
- func (v NullableBudgetingMethod) Get() *BudgetingMethod
- func (v NullableBudgetingMethod) IsSet() bool
- func (v NullableBudgetingMethod) MarshalJSON() ([]byte, error)
- func (v *NullableBudgetingMethod) Set(val *BudgetingMethod)
- func (v *NullableBudgetingMethod) UnmarshalJSON(src []byte) error
- func (v *NullableBudgetingMethod) Unset()
- type NullableCreateSloRequest
- func (v NullableCreateSloRequest) Get() *CreateSloRequest
- func (v NullableCreateSloRequest) IsSet() bool
- func (v NullableCreateSloRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSloRequest) Set(val *CreateSloRequest)
- func (v *NullableCreateSloRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSloRequest) Unset()
- type NullableCreateSloResponse
- func (v NullableCreateSloResponse) Get() *CreateSloResponse
- func (v NullableCreateSloResponse) IsSet() bool
- func (v NullableCreateSloResponse) MarshalJSON() ([]byte, error)
- func (v *NullableCreateSloResponse) Set(val *CreateSloResponse)
- func (v *NullableCreateSloResponse) UnmarshalJSON(src []byte) error
- func (v *NullableCreateSloResponse) Unset()
- type NullableErrorBudget
- func (v NullableErrorBudget) Get() *ErrorBudget
- func (v NullableErrorBudget) IsSet() bool
- func (v NullableErrorBudget) MarshalJSON() ([]byte, error)
- func (v *NullableErrorBudget) Set(val *ErrorBudget)
- func (v *NullableErrorBudget) UnmarshalJSON(src []byte) error
- func (v *NullableErrorBudget) Unset()
- type NullableFindSloResponse
- func (v NullableFindSloResponse) Get() *FindSloResponse
- func (v NullableFindSloResponse) IsSet() bool
- func (v NullableFindSloResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFindSloResponse) Set(val *FindSloResponse)
- func (v *NullableFindSloResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFindSloResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHistoricalSummaryRequest
- func (v NullableHistoricalSummaryRequest) Get() *HistoricalSummaryRequest
- func (v NullableHistoricalSummaryRequest) IsSet() bool
- func (v NullableHistoricalSummaryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableHistoricalSummaryRequest) Set(val *HistoricalSummaryRequest)
- func (v *NullableHistoricalSummaryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableHistoricalSummaryRequest) Unset()
- type NullableHistoricalSummaryResponseInner
- func (v NullableHistoricalSummaryResponseInner) Get() *HistoricalSummaryResponseInner
- func (v NullableHistoricalSummaryResponseInner) IsSet() bool
- func (v NullableHistoricalSummaryResponseInner) MarshalJSON() ([]byte, error)
- func (v *NullableHistoricalSummaryResponseInner) Set(val *HistoricalSummaryResponseInner)
- func (v *NullableHistoricalSummaryResponseInner) UnmarshalJSON(src []byte) error
- func (v *NullableHistoricalSummaryResponseInner) Unset()
- type NullableIndicatorPropertiesApmAvailability
- func (v NullableIndicatorPropertiesApmAvailability) Get() *IndicatorPropertiesApmAvailability
- func (v NullableIndicatorPropertiesApmAvailability) IsSet() bool
- func (v NullableIndicatorPropertiesApmAvailability) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmAvailability) Set(val *IndicatorPropertiesApmAvailability)
- func (v *NullableIndicatorPropertiesApmAvailability) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmAvailability) Unset()
- type NullableIndicatorPropertiesApmAvailabilityParams
- func (v NullableIndicatorPropertiesApmAvailabilityParams) Get() *IndicatorPropertiesApmAvailabilityParams
- func (v NullableIndicatorPropertiesApmAvailabilityParams) IsSet() bool
- func (v NullableIndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmAvailabilityParams) Set(val *IndicatorPropertiesApmAvailabilityParams)
- func (v *NullableIndicatorPropertiesApmAvailabilityParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmAvailabilityParams) Unset()
- type NullableIndicatorPropertiesApmLatency
- func (v NullableIndicatorPropertiesApmLatency) Get() *IndicatorPropertiesApmLatency
- func (v NullableIndicatorPropertiesApmLatency) IsSet() bool
- func (v NullableIndicatorPropertiesApmLatency) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmLatency) Set(val *IndicatorPropertiesApmLatency)
- func (v *NullableIndicatorPropertiesApmLatency) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmLatency) Unset()
- type NullableIndicatorPropertiesApmLatencyParams
- func (v NullableIndicatorPropertiesApmLatencyParams) Get() *IndicatorPropertiesApmLatencyParams
- func (v NullableIndicatorPropertiesApmLatencyParams) IsSet() bool
- func (v NullableIndicatorPropertiesApmLatencyParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesApmLatencyParams) Set(val *IndicatorPropertiesApmLatencyParams)
- func (v *NullableIndicatorPropertiesApmLatencyParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesApmLatencyParams) Unset()
- type NullableIndicatorPropertiesCustomKql
- func (v NullableIndicatorPropertiesCustomKql) Get() *IndicatorPropertiesCustomKql
- func (v NullableIndicatorPropertiesCustomKql) IsSet() bool
- func (v NullableIndicatorPropertiesCustomKql) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomKql) Set(val *IndicatorPropertiesCustomKql)
- func (v *NullableIndicatorPropertiesCustomKql) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomKql) Unset()
- type NullableIndicatorPropertiesCustomKqlParams
- func (v NullableIndicatorPropertiesCustomKqlParams) Get() *IndicatorPropertiesCustomKqlParams
- func (v NullableIndicatorPropertiesCustomKqlParams) IsSet() bool
- func (v NullableIndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
- func (v *NullableIndicatorPropertiesCustomKqlParams) Set(val *IndicatorPropertiesCustomKqlParams)
- func (v *NullableIndicatorPropertiesCustomKqlParams) UnmarshalJSON(src []byte) error
- func (v *NullableIndicatorPropertiesCustomKqlParams) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModel4xxResponse
- func (v NullableModel4xxResponse) Get() *Model4xxResponse
- func (v NullableModel4xxResponse) IsSet() bool
- func (v NullableModel4xxResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModel4xxResponse) Set(val *Model4xxResponse)
- func (v *NullableModel4xxResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModel4xxResponse) Unset()
- type NullableObjective
- type NullableSettings
- type NullableSloResponse
- func (v NullableSloResponse) Get() *SloResponse
- func (v NullableSloResponse) IsSet() bool
- func (v NullableSloResponse) MarshalJSON() ([]byte, error)
- func (v *NullableSloResponse) Set(val *SloResponse)
- func (v *NullableSloResponse) UnmarshalJSON(src []byte) error
- func (v *NullableSloResponse) Unset()
- type NullableSloResponseIndicator
- func (v NullableSloResponseIndicator) Get() *SloResponseIndicator
- func (v NullableSloResponseIndicator) IsSet() bool
- func (v NullableSloResponseIndicator) MarshalJSON() ([]byte, error)
- func (v *NullableSloResponseIndicator) Set(val *SloResponseIndicator)
- func (v *NullableSloResponseIndicator) UnmarshalJSON(src []byte) error
- func (v *NullableSloResponseIndicator) Unset()
- type NullableSloResponseTimeWindow
- func (v NullableSloResponseTimeWindow) Get() *SloResponseTimeWindow
- func (v NullableSloResponseTimeWindow) IsSet() bool
- func (v NullableSloResponseTimeWindow) MarshalJSON() ([]byte, error)
- func (v *NullableSloResponseTimeWindow) Set(val *SloResponseTimeWindow)
- func (v *NullableSloResponseTimeWindow) UnmarshalJSON(src []byte) error
- func (v *NullableSloResponseTimeWindow) Unset()
- type NullableString
- type NullableSummary
- type NullableTime
- type NullableTimeWindowCalendarAligned
- func (v NullableTimeWindowCalendarAligned) Get() *TimeWindowCalendarAligned
- func (v NullableTimeWindowCalendarAligned) IsSet() bool
- func (v NullableTimeWindowCalendarAligned) MarshalJSON() ([]byte, error)
- func (v *NullableTimeWindowCalendarAligned) Set(val *TimeWindowCalendarAligned)
- func (v *NullableTimeWindowCalendarAligned) UnmarshalJSON(src []byte) error
- func (v *NullableTimeWindowCalendarAligned) Unset()
- type NullableTimeWindowCalendarAlignedCalendar
- func (v NullableTimeWindowCalendarAlignedCalendar) Get() *TimeWindowCalendarAlignedCalendar
- func (v NullableTimeWindowCalendarAlignedCalendar) IsSet() bool
- func (v NullableTimeWindowCalendarAlignedCalendar) MarshalJSON() ([]byte, error)
- func (v *NullableTimeWindowCalendarAlignedCalendar) Set(val *TimeWindowCalendarAlignedCalendar)
- func (v *NullableTimeWindowCalendarAlignedCalendar) UnmarshalJSON(src []byte) error
- func (v *NullableTimeWindowCalendarAlignedCalendar) Unset()
- type NullableTimeWindowRolling
- func (v NullableTimeWindowRolling) Get() *TimeWindowRolling
- func (v NullableTimeWindowRolling) IsSet() bool
- func (v NullableTimeWindowRolling) MarshalJSON() ([]byte, error)
- func (v *NullableTimeWindowRolling) Set(val *TimeWindowRolling)
- func (v *NullableTimeWindowRolling) UnmarshalJSON(src []byte) error
- func (v *NullableTimeWindowRolling) Unset()
- type NullableUpdateSloRequest
- func (v NullableUpdateSloRequest) Get() *UpdateSloRequest
- func (v NullableUpdateSloRequest) IsSet() bool
- func (v NullableUpdateSloRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateSloRequest) Set(val *UpdateSloRequest)
- func (v *NullableUpdateSloRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateSloRequest) Unset()
- type Objective
- func (o *Objective) GetTarget() float32
- func (o *Objective) GetTargetOk() (*float32, bool)
- func (o *Objective) GetTimeslicesTarget() float32
- func (o *Objective) GetTimeslicesTargetOk() (*float32, bool)
- func (o *Objective) GetTimeslicesWindow() string
- func (o *Objective) GetTimeslicesWindowOk() (*string, bool)
- func (o *Objective) HasTimeslicesTarget() bool
- func (o *Objective) HasTimeslicesWindow() bool
- func (o Objective) MarshalJSON() ([]byte, error)
- func (o *Objective) SetTarget(v float32)
- func (o *Objective) SetTimeslicesTarget(v float32)
- func (o *Objective) SetTimeslicesWindow(v string)
- func (o Objective) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Settings
- func (o *Settings) GetFrequency() string
- func (o *Settings) GetFrequencyOk() (*string, bool)
- func (o *Settings) GetSyncDelay() string
- func (o *Settings) GetSyncDelayOk() (*string, bool)
- func (o *Settings) HasFrequency() bool
- func (o *Settings) HasSyncDelay() bool
- func (o Settings) MarshalJSON() ([]byte, error)
- func (o *Settings) SetFrequency(v string)
- func (o *Settings) SetSyncDelay(v string)
- func (o Settings) ToMap() (map[string]interface{}, error)
- type SloResponse
- func (o *SloResponse) GetBudgetingMethod() BudgetingMethod
- func (o *SloResponse) GetBudgetingMethodOk() (*BudgetingMethod, bool)
- func (o *SloResponse) GetCreatedAt() string
- func (o *SloResponse) GetCreatedAtOk() (*string, bool)
- func (o *SloResponse) GetDescription() string
- func (o *SloResponse) GetDescriptionOk() (*string, bool)
- func (o *SloResponse) GetEnabled() bool
- func (o *SloResponse) GetEnabledOk() (*bool, bool)
- func (o *SloResponse) GetId() string
- func (o *SloResponse) GetIdOk() (*string, bool)
- func (o *SloResponse) GetIndicator() SloResponseIndicator
- func (o *SloResponse) GetIndicatorOk() (*SloResponseIndicator, bool)
- func (o *SloResponse) GetName() string
- func (o *SloResponse) GetNameOk() (*string, bool)
- func (o *SloResponse) GetObjective() Objective
- func (o *SloResponse) GetObjectiveOk() (*Objective, bool)
- func (o *SloResponse) GetRevision() float32
- func (o *SloResponse) GetRevisionOk() (*float32, bool)
- func (o *SloResponse) GetSettings() Settings
- func (o *SloResponse) GetSettingsOk() (*Settings, bool)
- func (o *SloResponse) GetSummary() Summary
- func (o *SloResponse) GetSummaryOk() (*Summary, bool)
- func (o *SloResponse) GetTimeWindow() SloResponseTimeWindow
- func (o *SloResponse) GetTimeWindowOk() (*SloResponseTimeWindow, bool)
- func (o *SloResponse) GetUpdatedAt() string
- func (o *SloResponse) GetUpdatedAtOk() (*string, bool)
- func (o *SloResponse) HasBudgetingMethod() bool
- func (o *SloResponse) HasCreatedAt() bool
- func (o *SloResponse) HasDescription() bool
- func (o *SloResponse) HasEnabled() bool
- func (o *SloResponse) HasId() bool
- func (o *SloResponse) HasIndicator() bool
- func (o *SloResponse) HasName() bool
- func (o *SloResponse) HasObjective() bool
- func (o *SloResponse) HasRevision() bool
- func (o *SloResponse) HasSettings() bool
- func (o *SloResponse) HasSummary() bool
- func (o *SloResponse) HasTimeWindow() bool
- func (o *SloResponse) HasUpdatedAt() bool
- func (o SloResponse) MarshalJSON() ([]byte, error)
- func (o *SloResponse) SetBudgetingMethod(v BudgetingMethod)
- func (o *SloResponse) SetCreatedAt(v string)
- func (o *SloResponse) SetDescription(v string)
- func (o *SloResponse) SetEnabled(v bool)
- func (o *SloResponse) SetId(v string)
- func (o *SloResponse) SetIndicator(v SloResponseIndicator)
- func (o *SloResponse) SetName(v string)
- func (o *SloResponse) SetObjective(v Objective)
- func (o *SloResponse) SetRevision(v float32)
- func (o *SloResponse) SetSettings(v Settings)
- func (o *SloResponse) SetSummary(v Summary)
- func (o *SloResponse) SetTimeWindow(v SloResponseTimeWindow)
- func (o *SloResponse) SetUpdatedAt(v string)
- func (o SloResponse) ToMap() (map[string]interface{}, error)
- type SloResponseIndicator
- func IndicatorPropertiesApmAvailabilityAsSloResponseIndicator(v *IndicatorPropertiesApmAvailability) SloResponseIndicator
- func IndicatorPropertiesApmLatencyAsSloResponseIndicator(v *IndicatorPropertiesApmLatency) SloResponseIndicator
- func IndicatorPropertiesCustomKqlAsSloResponseIndicator(v *IndicatorPropertiesCustomKql) SloResponseIndicator
- type SloResponseTimeWindow
- type SlosApi
- type SlosApiService
- func (a *SlosApiService) CreateSlo(ctx context.Context, spaceId string) ApiCreateSloRequest
- func (a *SlosApiService) CreateSloExecute(r ApiCreateSloRequest) (*CreateSloResponse, *http.Response, error)
- func (a *SlosApiService) DeleteSlo(ctx context.Context, spaceId string, sloId string) ApiDeleteSloRequest
- func (a *SlosApiService) DeleteSloExecute(r ApiDeleteSloRequest) (*http.Response, error)
- func (a *SlosApiService) DisableSlo(ctx context.Context, spaceId string, sloId string) ApiDisableSloRequest
- func (a *SlosApiService) DisableSloExecute(r ApiDisableSloRequest) (*http.Response, error)
- func (a *SlosApiService) EnableSlo(ctx context.Context, spaceId string, sloId string) ApiEnableSloRequest
- func (a *SlosApiService) EnableSloExecute(r ApiEnableSloRequest) (*http.Response, error)
- func (a *SlosApiService) FindSlos(ctx context.Context, spaceId string) ApiFindSlosRequest
- func (a *SlosApiService) FindSlosExecute(r ApiFindSlosRequest) (*FindSloResponse, *http.Response, error)
- func (a *SlosApiService) GetSlo(ctx context.Context, spaceId string, sloId string) ApiGetSloRequest
- func (a *SlosApiService) GetSloExecute(r ApiGetSloRequest) (*SloResponse, *http.Response, error)
- func (a *SlosApiService) HistoricalSummary(ctx context.Context, spaceId string) ApiHistoricalSummaryRequest
- func (a *SlosApiService) HistoricalSummaryExecute(r ApiHistoricalSummaryRequest) (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
- func (a *SlosApiService) UpdateSlo(ctx context.Context, spaceId string, sloId string) ApiUpdateSloRequest
- func (a *SlosApiService) UpdateSloExecute(r ApiUpdateSloRequest) (*SloResponse, *http.Response, error)
- type Summary
- func (o *Summary) GetErrorBudget() ErrorBudget
- func (o *Summary) GetErrorBudgetOk() (*ErrorBudget, bool)
- func (o *Summary) GetSliValue() float32
- func (o *Summary) GetSliValueOk() (*float32, bool)
- func (o *Summary) GetStatus() string
- func (o *Summary) GetStatusOk() (*string, bool)
- func (o *Summary) HasErrorBudget() bool
- func (o *Summary) HasSliValue() bool
- func (o *Summary) HasStatus() bool
- func (o Summary) MarshalJSON() ([]byte, error)
- func (o *Summary) SetErrorBudget(v ErrorBudget)
- func (o *Summary) SetSliValue(v float32)
- func (o *Summary) SetStatus(v string)
- func (o Summary) ToMap() (map[string]interface{}, error)
- type TimeWindowCalendarAligned
- func (o *TimeWindowCalendarAligned) GetCalendar() TimeWindowCalendarAlignedCalendar
- func (o *TimeWindowCalendarAligned) GetCalendarOk() (*TimeWindowCalendarAlignedCalendar, bool)
- func (o *TimeWindowCalendarAligned) GetDuration() string
- func (o *TimeWindowCalendarAligned) GetDurationOk() (*string, bool)
- func (o TimeWindowCalendarAligned) MarshalJSON() ([]byte, error)
- func (o *TimeWindowCalendarAligned) SetCalendar(v TimeWindowCalendarAlignedCalendar)
- func (o *TimeWindowCalendarAligned) SetDuration(v string)
- func (o TimeWindowCalendarAligned) ToMap() (map[string]interface{}, error)
- type TimeWindowCalendarAlignedCalendar
- func (o *TimeWindowCalendarAlignedCalendar) GetStartTime() string
- func (o *TimeWindowCalendarAlignedCalendar) GetStartTimeOk() (*string, bool)
- func (o *TimeWindowCalendarAlignedCalendar) HasStartTime() bool
- func (o TimeWindowCalendarAlignedCalendar) MarshalJSON() ([]byte, error)
- func (o *TimeWindowCalendarAlignedCalendar) SetStartTime(v string)
- func (o TimeWindowCalendarAlignedCalendar) ToMap() (map[string]interface{}, error)
- type TimeWindowRolling
- func (o *TimeWindowRolling) GetDuration() string
- func (o *TimeWindowRolling) GetDurationOk() (*string, bool)
- func (o *TimeWindowRolling) GetIsRolling() bool
- func (o *TimeWindowRolling) GetIsRollingOk() (*bool, bool)
- func (o TimeWindowRolling) MarshalJSON() ([]byte, error)
- func (o *TimeWindowRolling) SetDuration(v string)
- func (o *TimeWindowRolling) SetIsRolling(v bool)
- func (o TimeWindowRolling) ToMap() (map[string]interface{}, error)
- type UpdateSloRequest
- func (o *UpdateSloRequest) GetBudgetingMethod() BudgetingMethod
- func (o *UpdateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)
- func (o *UpdateSloRequest) GetDescription() string
- func (o *UpdateSloRequest) GetDescriptionOk() (*string, bool)
- func (o *UpdateSloRequest) GetIndicator() SloResponseIndicator
- func (o *UpdateSloRequest) GetIndicatorOk() (*SloResponseIndicator, bool)
- func (o *UpdateSloRequest) GetName() string
- func (o *UpdateSloRequest) GetNameOk() (*string, bool)
- func (o *UpdateSloRequest) GetObjective() Objective
- func (o *UpdateSloRequest) GetObjectiveOk() (*Objective, bool)
- func (o *UpdateSloRequest) GetSettings() Settings
- func (o *UpdateSloRequest) GetSettingsOk() (*Settings, bool)
- func (o *UpdateSloRequest) GetTimeWindow() SloResponseTimeWindow
- func (o *UpdateSloRequest) GetTimeWindowOk() (*SloResponseTimeWindow, bool)
- func (o *UpdateSloRequest) HasBudgetingMethod() bool
- func (o *UpdateSloRequest) HasDescription() bool
- func (o *UpdateSloRequest) HasIndicator() bool
- func (o *UpdateSloRequest) HasName() bool
- func (o *UpdateSloRequest) HasObjective() bool
- func (o *UpdateSloRequest) HasSettings() bool
- func (o *UpdateSloRequest) HasTimeWindow() bool
- func (o UpdateSloRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateSloRequest) SetBudgetingMethod(v BudgetingMethod)
- func (o *UpdateSloRequest) SetDescription(v string)
- func (o *UpdateSloRequest) SetIndicator(v SloResponseIndicator)
- func (o *UpdateSloRequest) SetName(v string)
- func (o *UpdateSloRequest) SetObjective(v Objective)
- func (o *UpdateSloRequest) SetSettings(v Settings)
- func (o *UpdateSloRequest) SetTimeWindow(v SloResponseTimeWindow)
- func (o UpdateSloRequest) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedBudgetingMethodEnumValues = []BudgetingMethod{
"occurrences",
"timeslices",
}
All allowed values of BudgetingMethod enum
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 { SlosApi SlosApi // contains filtered or unexported fields }
APIClient manages communication with the SLOs API v0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
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 ApiCreateSloRequest ¶
type ApiCreateSloRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiCreateSloRequest) CreateSloRequest ¶
func (r ApiCreateSloRequest) CreateSloRequest(createSloRequest CreateSloRequest) ApiCreateSloRequest
func (ApiCreateSloRequest) Execute ¶
func (r ApiCreateSloRequest) Execute() (*CreateSloResponse, *http.Response, error)
func (ApiCreateSloRequest) KbnXsrf ¶
func (r ApiCreateSloRequest) KbnXsrf(kbnXsrf string) ApiCreateSloRequest
Cross-site request forgery protection
type ApiDeleteSloRequest ¶
type ApiDeleteSloRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiDeleteSloRequest) KbnXsrf ¶
func (r ApiDeleteSloRequest) KbnXsrf(kbnXsrf string) ApiDeleteSloRequest
Cross-site request forgery protection
type ApiDisableSloRequest ¶
type ApiDisableSloRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiDisableSloRequest) Execute ¶
func (r ApiDisableSloRequest) Execute() (*http.Response, error)
func (ApiDisableSloRequest) KbnXsrf ¶
func (r ApiDisableSloRequest) KbnXsrf(kbnXsrf string) ApiDisableSloRequest
Cross-site request forgery protection
type ApiEnableSloRequest ¶
type ApiEnableSloRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiEnableSloRequest) KbnXsrf ¶
func (r ApiEnableSloRequest) KbnXsrf(kbnXsrf string) ApiEnableSloRequest
Cross-site request forgery protection
type ApiFindSlosRequest ¶
type ApiFindSlosRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiFindSlosRequest) Execute ¶
func (r ApiFindSlosRequest) Execute() (*FindSloResponse, *http.Response, error)
func (ApiFindSlosRequest) IndicatorTypes ¶
func (r ApiFindSlosRequest) IndicatorTypes(indicatorTypes []string) ApiFindSlosRequest
Filter by indicator type
func (ApiFindSlosRequest) KbnXsrf ¶
func (r ApiFindSlosRequest) KbnXsrf(kbnXsrf string) ApiFindSlosRequest
Cross-site request forgery protection
func (ApiFindSlosRequest) Name ¶
func (r ApiFindSlosRequest) Name(name string) ApiFindSlosRequest
Filter by name
func (ApiFindSlosRequest) Page ¶
func (r ApiFindSlosRequest) Page(page int32) ApiFindSlosRequest
The page number to return
func (ApiFindSlosRequest) PerPage ¶
func (r ApiFindSlosRequest) PerPage(perPage int32) ApiFindSlosRequest
The number of SLOs to return per page
func (ApiFindSlosRequest) SortBy ¶
func (r ApiFindSlosRequest) SortBy(sortBy string) ApiFindSlosRequest
Sort by field
func (ApiFindSlosRequest) SortDirection ¶
func (r ApiFindSlosRequest) SortDirection(sortDirection string) ApiFindSlosRequest
Sort order
type ApiGetSloRequest ¶
type ApiGetSloRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiGetSloRequest) Execute ¶
func (r ApiGetSloRequest) Execute() (*SloResponse, *http.Response, error)
func (ApiGetSloRequest) KbnXsrf ¶
func (r ApiGetSloRequest) KbnXsrf(kbnXsrf string) ApiGetSloRequest
Cross-site request forgery protection
type ApiHistoricalSummaryRequest ¶
type ApiHistoricalSummaryRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiHistoricalSummaryRequest) Execute ¶
func (r ApiHistoricalSummaryRequest) Execute() (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
func (ApiHistoricalSummaryRequest) HistoricalSummaryRequest ¶
func (r ApiHistoricalSummaryRequest) HistoricalSummaryRequest(historicalSummaryRequest HistoricalSummaryRequest) ApiHistoricalSummaryRequest
func (ApiHistoricalSummaryRequest) KbnXsrf ¶
func (r ApiHistoricalSummaryRequest) KbnXsrf(kbnXsrf string) ApiHistoricalSummaryRequest
Cross-site request forgery protection
type ApiUpdateSloRequest ¶
type ApiUpdateSloRequest struct { ApiService SlosApi // contains filtered or unexported fields }
func (ApiUpdateSloRequest) Execute ¶
func (r ApiUpdateSloRequest) Execute() (*SloResponse, *http.Response, error)
func (ApiUpdateSloRequest) KbnXsrf ¶
func (r ApiUpdateSloRequest) KbnXsrf(kbnXsrf string) ApiUpdateSloRequest
Cross-site request forgery protection
func (ApiUpdateSloRequest) UpdateSloRequest ¶
func (r ApiUpdateSloRequest) UpdateSloRequest(updateSloRequest UpdateSloRequest) ApiUpdateSloRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BudgetingMethod ¶
type BudgetingMethod string
BudgetingMethod The budgeting method to use
const ( OCCURRENCES BudgetingMethod = "occurrences" TIMESLICES BudgetingMethod = "timeslices" )
List of budgeting_method
func NewBudgetingMethodFromValue ¶
func NewBudgetingMethodFromValue(v string) (*BudgetingMethod, error)
NewBudgetingMethodFromValue returns a pointer to a valid BudgetingMethod for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BudgetingMethod) IsValid ¶
func (v BudgetingMethod) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BudgetingMethod) Ptr ¶
func (v BudgetingMethod) Ptr() *BudgetingMethod
Ptr returns reference to budgeting_method value
func (*BudgetingMethod) UnmarshalJSON ¶
func (v *BudgetingMethod) UnmarshalJSON(src []byte) error
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateSloRequest ¶
type CreateSloRequest struct { // A name for the SLO. Name string `json:"name"` // A description for the SLO. Description string `json:"description"` Indicator SloResponseIndicator `json:"indicator"` TimeWindow SloResponseTimeWindow `json:"timeWindow"` BudgetingMethod BudgetingMethod `json:"budgetingMethod"` Objective Objective `json:"objective"` Settings *Settings `json:"settings,omitempty"` }
CreateSloRequest The create SLO API request body varies depending on the type of indicator, time window and budgeting method.
func NewCreateSloRequest ¶
func NewCreateSloRequest(name string, description string, indicator SloResponseIndicator, timeWindow SloResponseTimeWindow, budgetingMethod BudgetingMethod, objective Objective) *CreateSloRequest
NewCreateSloRequest instantiates a new CreateSloRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSloRequestWithDefaults ¶
func NewCreateSloRequestWithDefaults() *CreateSloRequest
NewCreateSloRequestWithDefaults instantiates a new CreateSloRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateSloRequest) GetBudgetingMethod ¶
func (o *CreateSloRequest) GetBudgetingMethod() BudgetingMethod
GetBudgetingMethod returns the BudgetingMethod field value
func (*CreateSloRequest) GetBudgetingMethodOk ¶
func (o *CreateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)
GetBudgetingMethodOk returns a tuple with the BudgetingMethod field value and a boolean to check if the value has been set.
func (*CreateSloRequest) GetDescription ¶
func (o *CreateSloRequest) GetDescription() string
GetDescription returns the Description field value
func (*CreateSloRequest) GetDescriptionOk ¶
func (o *CreateSloRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*CreateSloRequest) GetIndicator ¶
func (o *CreateSloRequest) GetIndicator() SloResponseIndicator
GetIndicator returns the Indicator field value
func (*CreateSloRequest) GetIndicatorOk ¶
func (o *CreateSloRequest) GetIndicatorOk() (*SloResponseIndicator, bool)
GetIndicatorOk returns a tuple with the Indicator field value and a boolean to check if the value has been set.
func (*CreateSloRequest) GetName ¶
func (o *CreateSloRequest) GetName() string
GetName returns the Name field value
func (*CreateSloRequest) GetNameOk ¶
func (o *CreateSloRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateSloRequest) GetObjective ¶
func (o *CreateSloRequest) GetObjective() Objective
GetObjective returns the Objective field value
func (*CreateSloRequest) GetObjectiveOk ¶
func (o *CreateSloRequest) GetObjectiveOk() (*Objective, bool)
GetObjectiveOk returns a tuple with the Objective field value and a boolean to check if the value has been set.
func (*CreateSloRequest) GetSettings ¶
func (o *CreateSloRequest) GetSettings() Settings
GetSettings returns the Settings field value if set, zero value otherwise.
func (*CreateSloRequest) GetSettingsOk ¶
func (o *CreateSloRequest) GetSettingsOk() (*Settings, bool)
GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateSloRequest) GetTimeWindow ¶
func (o *CreateSloRequest) GetTimeWindow() SloResponseTimeWindow
GetTimeWindow returns the TimeWindow field value
func (*CreateSloRequest) GetTimeWindowOk ¶
func (o *CreateSloRequest) GetTimeWindowOk() (*SloResponseTimeWindow, bool)
GetTimeWindowOk returns a tuple with the TimeWindow field value and a boolean to check if the value has been set.
func (*CreateSloRequest) HasSettings ¶
func (o *CreateSloRequest) HasSettings() bool
HasSettings returns a boolean if a field has been set.
func (CreateSloRequest) MarshalJSON ¶
func (o CreateSloRequest) MarshalJSON() ([]byte, error)
func (*CreateSloRequest) SetBudgetingMethod ¶
func (o *CreateSloRequest) SetBudgetingMethod(v BudgetingMethod)
SetBudgetingMethod sets field value
func (*CreateSloRequest) SetDescription ¶
func (o *CreateSloRequest) SetDescription(v string)
SetDescription sets field value
func (*CreateSloRequest) SetIndicator ¶
func (o *CreateSloRequest) SetIndicator(v SloResponseIndicator)
SetIndicator sets field value
func (*CreateSloRequest) SetName ¶
func (o *CreateSloRequest) SetName(v string)
SetName sets field value
func (*CreateSloRequest) SetObjective ¶
func (o *CreateSloRequest) SetObjective(v Objective)
SetObjective sets field value
func (*CreateSloRequest) SetSettings ¶
func (o *CreateSloRequest) SetSettings(v Settings)
SetSettings gets a reference to the given Settings and assigns it to the Settings field.
func (*CreateSloRequest) SetTimeWindow ¶
func (o *CreateSloRequest) SetTimeWindow(v SloResponseTimeWindow)
SetTimeWindow sets field value
func (CreateSloRequest) ToMap ¶
func (o CreateSloRequest) ToMap() (map[string]interface{}, error)
type CreateSloResponse ¶
type CreateSloResponse struct {
Id string `json:"id"`
}
CreateSloResponse struct for CreateSloResponse
func NewCreateSloResponse ¶
func NewCreateSloResponse(id string) *CreateSloResponse
NewCreateSloResponse instantiates a new CreateSloResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateSloResponseWithDefaults ¶
func NewCreateSloResponseWithDefaults() *CreateSloResponse
NewCreateSloResponseWithDefaults instantiates a new CreateSloResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateSloResponse) GetId ¶
func (o *CreateSloResponse) GetId() string
GetId returns the Id field value
func (*CreateSloResponse) GetIdOk ¶
func (o *CreateSloResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (CreateSloResponse) MarshalJSON ¶
func (o CreateSloResponse) MarshalJSON() ([]byte, error)
func (*CreateSloResponse) SetId ¶
func (o *CreateSloResponse) SetId(v string)
SetId sets field value
func (CreateSloResponse) ToMap ¶
func (o CreateSloResponse) ToMap() (map[string]interface{}, error)
type ErrorBudget ¶
type ErrorBudget struct { // The initial error budget, as 1 - objective Initial *float32 `json:"initial,omitempty"` // The error budget consummed, as a percentage of the initial value. Consumed *float32 `json:"consumed,omitempty"` // The error budget remaining, as a percentage of the initial value. Remaining *float32 `json:"remaining,omitempty"` // Only for SLO defined with occurrences budgeting method and calendar aligned time window. IsEstimated *bool `json:"isEstimated,omitempty"` }
ErrorBudget struct for ErrorBudget
func NewErrorBudget ¶
func NewErrorBudget() *ErrorBudget
NewErrorBudget instantiates a new ErrorBudget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorBudgetWithDefaults ¶
func NewErrorBudgetWithDefaults() *ErrorBudget
NewErrorBudgetWithDefaults instantiates a new ErrorBudget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorBudget) GetConsumed ¶
func (o *ErrorBudget) GetConsumed() float32
GetConsumed returns the Consumed field value if set, zero value otherwise.
func (*ErrorBudget) GetConsumedOk ¶
func (o *ErrorBudget) GetConsumedOk() (*float32, bool)
GetConsumedOk returns a tuple with the Consumed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorBudget) GetInitial ¶
func (o *ErrorBudget) GetInitial() float32
GetInitial returns the Initial field value if set, zero value otherwise.
func (*ErrorBudget) GetInitialOk ¶
func (o *ErrorBudget) GetInitialOk() (*float32, bool)
GetInitialOk returns a tuple with the Initial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorBudget) GetIsEstimated ¶
func (o *ErrorBudget) GetIsEstimated() bool
GetIsEstimated returns the IsEstimated field value if set, zero value otherwise.
func (*ErrorBudget) GetIsEstimatedOk ¶
func (o *ErrorBudget) GetIsEstimatedOk() (*bool, bool)
GetIsEstimatedOk returns a tuple with the IsEstimated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorBudget) GetRemaining ¶
func (o *ErrorBudget) GetRemaining() float32
GetRemaining returns the Remaining field value if set, zero value otherwise.
func (*ErrorBudget) GetRemainingOk ¶
func (o *ErrorBudget) GetRemainingOk() (*float32, bool)
GetRemainingOk returns a tuple with the Remaining field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorBudget) HasConsumed ¶
func (o *ErrorBudget) HasConsumed() bool
HasConsumed returns a boolean if a field has been set.
func (*ErrorBudget) HasInitial ¶
func (o *ErrorBudget) HasInitial() bool
HasInitial returns a boolean if a field has been set.
func (*ErrorBudget) HasIsEstimated ¶
func (o *ErrorBudget) HasIsEstimated() bool
HasIsEstimated returns a boolean if a field has been set.
func (*ErrorBudget) HasRemaining ¶
func (o *ErrorBudget) HasRemaining() bool
HasRemaining returns a boolean if a field has been set.
func (ErrorBudget) MarshalJSON ¶
func (o ErrorBudget) MarshalJSON() ([]byte, error)
func (*ErrorBudget) SetConsumed ¶
func (o *ErrorBudget) SetConsumed(v float32)
SetConsumed gets a reference to the given float32 and assigns it to the Consumed field.
func (*ErrorBudget) SetInitial ¶
func (o *ErrorBudget) SetInitial(v float32)
SetInitial gets a reference to the given float32 and assigns it to the Initial field.
func (*ErrorBudget) SetIsEstimated ¶
func (o *ErrorBudget) SetIsEstimated(v bool)
SetIsEstimated gets a reference to the given bool and assigns it to the IsEstimated field.
func (*ErrorBudget) SetRemaining ¶
func (o *ErrorBudget) SetRemaining(v float32)
SetRemaining gets a reference to the given float32 and assigns it to the Remaining field.
func (ErrorBudget) ToMap ¶
func (o ErrorBudget) ToMap() (map[string]interface{}, error)
type FindSloResponse ¶
type FindSloResponse struct { Page *float32 `json:"page,omitempty"` PerPage *float32 `json:"perPage,omitempty"` Total *float32 `json:"total,omitempty"` Results []SloResponse `json:"results,omitempty"` }
FindSloResponse A paginated response of SLOs matching the query.
func NewFindSloResponse ¶
func NewFindSloResponse() *FindSloResponse
NewFindSloResponse instantiates a new FindSloResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFindSloResponseWithDefaults ¶
func NewFindSloResponseWithDefaults() *FindSloResponse
NewFindSloResponseWithDefaults instantiates a new FindSloResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FindSloResponse) GetPage ¶
func (o *FindSloResponse) GetPage() float32
GetPage returns the Page field value if set, zero value otherwise.
func (*FindSloResponse) GetPageOk ¶
func (o *FindSloResponse) GetPageOk() (*float32, bool)
GetPageOk returns a tuple with the Page field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FindSloResponse) GetPerPage ¶
func (o *FindSloResponse) GetPerPage() float32
GetPerPage returns the PerPage field value if set, zero value otherwise.
func (*FindSloResponse) GetPerPageOk ¶
func (o *FindSloResponse) GetPerPageOk() (*float32, bool)
GetPerPageOk returns a tuple with the PerPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FindSloResponse) GetResults ¶
func (o *FindSloResponse) GetResults() []SloResponse
GetResults returns the Results field value if set, zero value otherwise.
func (*FindSloResponse) GetResultsOk ¶
func (o *FindSloResponse) GetResultsOk() ([]SloResponse, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FindSloResponse) GetTotal ¶
func (o *FindSloResponse) GetTotal() float32
GetTotal returns the Total field value if set, zero value otherwise.
func (*FindSloResponse) GetTotalOk ¶
func (o *FindSloResponse) GetTotalOk() (*float32, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FindSloResponse) HasPage ¶
func (o *FindSloResponse) HasPage() bool
HasPage returns a boolean if a field has been set.
func (*FindSloResponse) HasPerPage ¶
func (o *FindSloResponse) HasPerPage() bool
HasPerPage returns a boolean if a field has been set.
func (*FindSloResponse) HasResults ¶
func (o *FindSloResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (*FindSloResponse) HasTotal ¶
func (o *FindSloResponse) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (FindSloResponse) MarshalJSON ¶
func (o FindSloResponse) MarshalJSON() ([]byte, error)
func (*FindSloResponse) SetPage ¶
func (o *FindSloResponse) SetPage(v float32)
SetPage gets a reference to the given float32 and assigns it to the Page field.
func (*FindSloResponse) SetPerPage ¶
func (o *FindSloResponse) SetPerPage(v float32)
SetPerPage gets a reference to the given float32 and assigns it to the PerPage field.
func (*FindSloResponse) SetResults ¶
func (o *FindSloResponse) SetResults(v []SloResponse)
SetResults gets a reference to the given []SloResponse and assigns it to the Results field.
func (*FindSloResponse) SetTotal ¶
func (o *FindSloResponse) SetTotal(v float32)
SetTotal gets a reference to the given float32 and assigns it to the Total field.
func (FindSloResponse) ToMap ¶
func (o FindSloResponse) ToMap() (map[string]interface{}, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HistoricalSummaryRequest ¶
type HistoricalSummaryRequest struct { // The list of SLO identifiers to get the historical summary for SloIds []string `json:"sloIds"` }
HistoricalSummaryRequest struct for HistoricalSummaryRequest
func NewHistoricalSummaryRequest ¶
func NewHistoricalSummaryRequest(sloIds []string) *HistoricalSummaryRequest
NewHistoricalSummaryRequest instantiates a new HistoricalSummaryRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHistoricalSummaryRequestWithDefaults ¶
func NewHistoricalSummaryRequestWithDefaults() *HistoricalSummaryRequest
NewHistoricalSummaryRequestWithDefaults instantiates a new HistoricalSummaryRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HistoricalSummaryRequest) GetSloIds ¶
func (o *HistoricalSummaryRequest) GetSloIds() []string
GetSloIds returns the SloIds field value
func (*HistoricalSummaryRequest) GetSloIdsOk ¶
func (o *HistoricalSummaryRequest) GetSloIdsOk() ([]string, bool)
GetSloIdsOk returns a tuple with the SloIds field value and a boolean to check if the value has been set.
func (HistoricalSummaryRequest) MarshalJSON ¶
func (o HistoricalSummaryRequest) MarshalJSON() ([]byte, error)
func (*HistoricalSummaryRequest) SetSloIds ¶
func (o *HistoricalSummaryRequest) SetSloIds(v []string)
SetSloIds sets field value
func (HistoricalSummaryRequest) ToMap ¶
func (o HistoricalSummaryRequest) ToMap() (map[string]interface{}, error)
type HistoricalSummaryResponseInner ¶
type HistoricalSummaryResponseInner struct { Date *string `json:"date,omitempty"` Status *string `json:"status,omitempty"` SliValue *float32 `json:"sliValue,omitempty"` ErrorBudget *ErrorBudget `json:"errorBudget,omitempty"` }
HistoricalSummaryResponseInner struct for HistoricalSummaryResponseInner
func NewHistoricalSummaryResponseInner ¶
func NewHistoricalSummaryResponseInner() *HistoricalSummaryResponseInner
NewHistoricalSummaryResponseInner instantiates a new HistoricalSummaryResponseInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHistoricalSummaryResponseInnerWithDefaults ¶
func NewHistoricalSummaryResponseInnerWithDefaults() *HistoricalSummaryResponseInner
NewHistoricalSummaryResponseInnerWithDefaults instantiates a new HistoricalSummaryResponseInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HistoricalSummaryResponseInner) GetDate ¶
func (o *HistoricalSummaryResponseInner) GetDate() string
GetDate returns the Date field value if set, zero value otherwise.
func (*HistoricalSummaryResponseInner) GetDateOk ¶
func (o *HistoricalSummaryResponseInner) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HistoricalSummaryResponseInner) GetErrorBudget ¶
func (o *HistoricalSummaryResponseInner) GetErrorBudget() ErrorBudget
GetErrorBudget returns the ErrorBudget field value if set, zero value otherwise.
func (*HistoricalSummaryResponseInner) GetErrorBudgetOk ¶
func (o *HistoricalSummaryResponseInner) GetErrorBudgetOk() (*ErrorBudget, bool)
GetErrorBudgetOk returns a tuple with the ErrorBudget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HistoricalSummaryResponseInner) GetSliValue ¶
func (o *HistoricalSummaryResponseInner) GetSliValue() float32
GetSliValue returns the SliValue field value if set, zero value otherwise.
func (*HistoricalSummaryResponseInner) GetSliValueOk ¶
func (o *HistoricalSummaryResponseInner) GetSliValueOk() (*float32, bool)
GetSliValueOk returns a tuple with the SliValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HistoricalSummaryResponseInner) GetStatus ¶
func (o *HistoricalSummaryResponseInner) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*HistoricalSummaryResponseInner) GetStatusOk ¶
func (o *HistoricalSummaryResponseInner) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HistoricalSummaryResponseInner) HasDate ¶
func (o *HistoricalSummaryResponseInner) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*HistoricalSummaryResponseInner) HasErrorBudget ¶
func (o *HistoricalSummaryResponseInner) HasErrorBudget() bool
HasErrorBudget returns a boolean if a field has been set.
func (*HistoricalSummaryResponseInner) HasSliValue ¶
func (o *HistoricalSummaryResponseInner) HasSliValue() bool
HasSliValue returns a boolean if a field has been set.
func (*HistoricalSummaryResponseInner) HasStatus ¶
func (o *HistoricalSummaryResponseInner) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (HistoricalSummaryResponseInner) MarshalJSON ¶
func (o HistoricalSummaryResponseInner) MarshalJSON() ([]byte, error)
func (*HistoricalSummaryResponseInner) SetDate ¶
func (o *HistoricalSummaryResponseInner) SetDate(v string)
SetDate gets a reference to the given string and assigns it to the Date field.
func (*HistoricalSummaryResponseInner) SetErrorBudget ¶
func (o *HistoricalSummaryResponseInner) SetErrorBudget(v ErrorBudget)
SetErrorBudget gets a reference to the given ErrorBudget and assigns it to the ErrorBudget field.
func (*HistoricalSummaryResponseInner) SetSliValue ¶
func (o *HistoricalSummaryResponseInner) SetSliValue(v float32)
SetSliValue gets a reference to the given float32 and assigns it to the SliValue field.
func (*HistoricalSummaryResponseInner) SetStatus ¶
func (o *HistoricalSummaryResponseInner) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (HistoricalSummaryResponseInner) ToMap ¶
func (o HistoricalSummaryResponseInner) ToMap() (map[string]interface{}, error)
type IndicatorPropertiesApmAvailability ¶
type IndicatorPropertiesApmAvailability struct { Params IndicatorPropertiesApmAvailabilityParams `json:"params"` // The type of indicator. Type string `json:"type"` }
IndicatorPropertiesApmAvailability Defines properties for the APM availability indicator type
func NewIndicatorPropertiesApmAvailability ¶
func NewIndicatorPropertiesApmAvailability(params IndicatorPropertiesApmAvailabilityParams, type_ string) *IndicatorPropertiesApmAvailability
NewIndicatorPropertiesApmAvailability instantiates a new IndicatorPropertiesApmAvailability object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorPropertiesApmAvailabilityWithDefaults ¶
func NewIndicatorPropertiesApmAvailabilityWithDefaults() *IndicatorPropertiesApmAvailability
NewIndicatorPropertiesApmAvailabilityWithDefaults instantiates a new IndicatorPropertiesApmAvailability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorPropertiesApmAvailability) GetParams ¶
func (o *IndicatorPropertiesApmAvailability) GetParams() IndicatorPropertiesApmAvailabilityParams
GetParams returns the Params field value
func (*IndicatorPropertiesApmAvailability) GetParamsOk ¶
func (o *IndicatorPropertiesApmAvailability) GetParamsOk() (*IndicatorPropertiesApmAvailabilityParams, bool)
GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailability) GetType ¶
func (o *IndicatorPropertiesApmAvailability) GetType() string
GetType returns the Type field value
func (*IndicatorPropertiesApmAvailability) GetTypeOk ¶
func (o *IndicatorPropertiesApmAvailability) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (IndicatorPropertiesApmAvailability) MarshalJSON ¶
func (o IndicatorPropertiesApmAvailability) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesApmAvailability) SetParams ¶
func (o *IndicatorPropertiesApmAvailability) SetParams(v IndicatorPropertiesApmAvailabilityParams)
SetParams sets field value
func (*IndicatorPropertiesApmAvailability) SetType ¶
func (o *IndicatorPropertiesApmAvailability) SetType(v string)
SetType sets field value
func (IndicatorPropertiesApmAvailability) ToMap ¶
func (o IndicatorPropertiesApmAvailability) ToMap() (map[string]interface{}, error)
type IndicatorPropertiesApmAvailabilityParams ¶
type IndicatorPropertiesApmAvailabilityParams struct { // The APM service name Service string `json:"service"` // The APM service environment or \"*\" Environment string `json:"environment"` // The APM transaction type or \"*\" TransactionType string `json:"transactionType"` // The APM transaction name or \"*\" TransactionName string `json:"transactionName"` // The status codes considered as good events. Default to 2xx, 3xx and 4xx GoodStatusCodes []string `json:"goodStatusCodes,omitempty"` // KQL query used for filtering the data Filter *string `json:"filter,omitempty"` // The index used by APM metrics Index string `json:"index"` }
IndicatorPropertiesApmAvailabilityParams An object containing the indicator parameters.
func NewIndicatorPropertiesApmAvailabilityParams ¶
func NewIndicatorPropertiesApmAvailabilityParams(service string, environment string, transactionType string, transactionName string, index string) *IndicatorPropertiesApmAvailabilityParams
NewIndicatorPropertiesApmAvailabilityParams instantiates a new IndicatorPropertiesApmAvailabilityParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorPropertiesApmAvailabilityParamsWithDefaults ¶
func NewIndicatorPropertiesApmAvailabilityParamsWithDefaults() *IndicatorPropertiesApmAvailabilityParams
NewIndicatorPropertiesApmAvailabilityParamsWithDefaults instantiates a new IndicatorPropertiesApmAvailabilityParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorPropertiesApmAvailabilityParams) GetEnvironment ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*IndicatorPropertiesApmAvailabilityParams) GetEnvironmentOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) GetFilter ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*IndicatorPropertiesApmAvailabilityParams) GetFilterOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetFilterOk() (*string, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) GetGoodStatusCodes ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetGoodStatusCodes() []string
GetGoodStatusCodes returns the GoodStatusCodes field value if set, zero value otherwise.
func (*IndicatorPropertiesApmAvailabilityParams) GetGoodStatusCodesOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetGoodStatusCodesOk() ([]string, bool)
GetGoodStatusCodesOk returns a tuple with the GoodStatusCodes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) GetIndex ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetIndex() string
GetIndex returns the Index field value
func (*IndicatorPropertiesApmAvailabilityParams) GetIndexOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) GetService ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetService() string
GetService returns the Service field value
func (*IndicatorPropertiesApmAvailabilityParams) GetServiceOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionName ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionName() string
GetTransactionName returns the TransactionName field value
func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionNameOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionNameOk() (*string, bool)
GetTransactionNameOk returns a tuple with the TransactionName field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionType ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionType() string
GetTransactionType returns the TransactionType field value
func (*IndicatorPropertiesApmAvailabilityParams) GetTransactionTypeOk ¶
func (o *IndicatorPropertiesApmAvailabilityParams) GetTransactionTypeOk() (*string, bool)
GetTransactionTypeOk returns a tuple with the TransactionType field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmAvailabilityParams) HasFilter ¶
func (o *IndicatorPropertiesApmAvailabilityParams) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*IndicatorPropertiesApmAvailabilityParams) HasGoodStatusCodes ¶
func (o *IndicatorPropertiesApmAvailabilityParams) HasGoodStatusCodes() bool
HasGoodStatusCodes returns a boolean if a field has been set.
func (IndicatorPropertiesApmAvailabilityParams) MarshalJSON ¶
func (o IndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesApmAvailabilityParams) SetEnvironment ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetEnvironment(v string)
SetEnvironment sets field value
func (*IndicatorPropertiesApmAvailabilityParams) SetFilter ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesApmAvailabilityParams) SetGoodStatusCodes ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetGoodStatusCodes(v []string)
SetGoodStatusCodes gets a reference to the given []string and assigns it to the GoodStatusCodes field.
func (*IndicatorPropertiesApmAvailabilityParams) SetIndex ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetIndex(v string)
SetIndex sets field value
func (*IndicatorPropertiesApmAvailabilityParams) SetService ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetService(v string)
SetService sets field value
func (*IndicatorPropertiesApmAvailabilityParams) SetTransactionName ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionName(v string)
SetTransactionName sets field value
func (*IndicatorPropertiesApmAvailabilityParams) SetTransactionType ¶
func (o *IndicatorPropertiesApmAvailabilityParams) SetTransactionType(v string)
SetTransactionType sets field value
func (IndicatorPropertiesApmAvailabilityParams) ToMap ¶
func (o IndicatorPropertiesApmAvailabilityParams) ToMap() (map[string]interface{}, error)
type IndicatorPropertiesApmLatency ¶
type IndicatorPropertiesApmLatency struct { Params IndicatorPropertiesApmLatencyParams `json:"params"` // The type of indicator. Type string `json:"type"` }
IndicatorPropertiesApmLatency Defines properties for the APM latency indicator type
func NewIndicatorPropertiesApmLatency ¶
func NewIndicatorPropertiesApmLatency(params IndicatorPropertiesApmLatencyParams, type_ string) *IndicatorPropertiesApmLatency
NewIndicatorPropertiesApmLatency instantiates a new IndicatorPropertiesApmLatency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorPropertiesApmLatencyWithDefaults ¶
func NewIndicatorPropertiesApmLatencyWithDefaults() *IndicatorPropertiesApmLatency
NewIndicatorPropertiesApmLatencyWithDefaults instantiates a new IndicatorPropertiesApmLatency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorPropertiesApmLatency) GetParams ¶
func (o *IndicatorPropertiesApmLatency) GetParams() IndicatorPropertiesApmLatencyParams
GetParams returns the Params field value
func (*IndicatorPropertiesApmLatency) GetParamsOk ¶
func (o *IndicatorPropertiesApmLatency) GetParamsOk() (*IndicatorPropertiesApmLatencyParams, bool)
GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatency) GetType ¶
func (o *IndicatorPropertiesApmLatency) GetType() string
GetType returns the Type field value
func (*IndicatorPropertiesApmLatency) GetTypeOk ¶
func (o *IndicatorPropertiesApmLatency) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (IndicatorPropertiesApmLatency) MarshalJSON ¶
func (o IndicatorPropertiesApmLatency) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesApmLatency) SetParams ¶
func (o *IndicatorPropertiesApmLatency) SetParams(v IndicatorPropertiesApmLatencyParams)
SetParams sets field value
func (*IndicatorPropertiesApmLatency) SetType ¶
func (o *IndicatorPropertiesApmLatency) SetType(v string)
SetType sets field value
func (IndicatorPropertiesApmLatency) ToMap ¶
func (o IndicatorPropertiesApmLatency) ToMap() (map[string]interface{}, error)
type IndicatorPropertiesApmLatencyParams ¶
type IndicatorPropertiesApmLatencyParams struct { // The APM service name Service string `json:"service"` // The APM service environment or \"*\" Environment string `json:"environment"` // The APM transaction type or \"*\" TransactionType string `json:"transactionType"` // The APM transaction name or \"*\" TransactionName string `json:"transactionName"` // KQL query used for filtering the data Filter *string `json:"filter,omitempty"` // The index used by APM metrics Index string `json:"index"` }
IndicatorPropertiesApmLatencyParams An object containing the indicator parameters.
func NewIndicatorPropertiesApmLatencyParams ¶
func NewIndicatorPropertiesApmLatencyParams(service string, environment string, transactionType string, transactionName string, index string) *IndicatorPropertiesApmLatencyParams
NewIndicatorPropertiesApmLatencyParams instantiates a new IndicatorPropertiesApmLatencyParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorPropertiesApmLatencyParamsWithDefaults ¶
func NewIndicatorPropertiesApmLatencyParamsWithDefaults() *IndicatorPropertiesApmLatencyParams
NewIndicatorPropertiesApmLatencyParamsWithDefaults instantiates a new IndicatorPropertiesApmLatencyParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorPropertiesApmLatencyParams) GetEnvironment ¶
func (o *IndicatorPropertiesApmLatencyParams) GetEnvironment() string
GetEnvironment returns the Environment field value
func (*IndicatorPropertiesApmLatencyParams) GetEnvironmentOk ¶
func (o *IndicatorPropertiesApmLatencyParams) GetEnvironmentOk() (*string, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatencyParams) GetFilter ¶
func (o *IndicatorPropertiesApmLatencyParams) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*IndicatorPropertiesApmLatencyParams) GetFilterOk ¶
func (o *IndicatorPropertiesApmLatencyParams) GetFilterOk() (*string, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatencyParams) GetIndex ¶
func (o *IndicatorPropertiesApmLatencyParams) GetIndex() string
GetIndex returns the Index field value
func (*IndicatorPropertiesApmLatencyParams) GetIndexOk ¶
func (o *IndicatorPropertiesApmLatencyParams) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatencyParams) GetService ¶
func (o *IndicatorPropertiesApmLatencyParams) GetService() string
GetService returns the Service field value
func (*IndicatorPropertiesApmLatencyParams) GetServiceOk ¶
func (o *IndicatorPropertiesApmLatencyParams) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatencyParams) GetTransactionName ¶
func (o *IndicatorPropertiesApmLatencyParams) GetTransactionName() string
GetTransactionName returns the TransactionName field value
func (*IndicatorPropertiesApmLatencyParams) GetTransactionNameOk ¶
func (o *IndicatorPropertiesApmLatencyParams) GetTransactionNameOk() (*string, bool)
GetTransactionNameOk returns a tuple with the TransactionName field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatencyParams) GetTransactionType ¶
func (o *IndicatorPropertiesApmLatencyParams) GetTransactionType() string
GetTransactionType returns the TransactionType field value
func (*IndicatorPropertiesApmLatencyParams) GetTransactionTypeOk ¶
func (o *IndicatorPropertiesApmLatencyParams) GetTransactionTypeOk() (*string, bool)
GetTransactionTypeOk returns a tuple with the TransactionType field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesApmLatencyParams) HasFilter ¶
func (o *IndicatorPropertiesApmLatencyParams) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (IndicatorPropertiesApmLatencyParams) MarshalJSON ¶
func (o IndicatorPropertiesApmLatencyParams) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesApmLatencyParams) SetEnvironment ¶
func (o *IndicatorPropertiesApmLatencyParams) SetEnvironment(v string)
SetEnvironment sets field value
func (*IndicatorPropertiesApmLatencyParams) SetFilter ¶
func (o *IndicatorPropertiesApmLatencyParams) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesApmLatencyParams) SetIndex ¶
func (o *IndicatorPropertiesApmLatencyParams) SetIndex(v string)
SetIndex sets field value
func (*IndicatorPropertiesApmLatencyParams) SetService ¶
func (o *IndicatorPropertiesApmLatencyParams) SetService(v string)
SetService sets field value
func (*IndicatorPropertiesApmLatencyParams) SetTransactionName ¶
func (o *IndicatorPropertiesApmLatencyParams) SetTransactionName(v string)
SetTransactionName sets field value
func (*IndicatorPropertiesApmLatencyParams) SetTransactionType ¶
func (o *IndicatorPropertiesApmLatencyParams) SetTransactionType(v string)
SetTransactionType sets field value
func (IndicatorPropertiesApmLatencyParams) ToMap ¶
func (o IndicatorPropertiesApmLatencyParams) ToMap() (map[string]interface{}, error)
type IndicatorPropertiesCustomKql ¶
type IndicatorPropertiesCustomKql struct { Params IndicatorPropertiesCustomKqlParams `json:"params"` // The type of indicator. Type string `json:"type"` }
IndicatorPropertiesCustomKql Defines properties for a custom KQL indicator type
func NewIndicatorPropertiesCustomKql ¶
func NewIndicatorPropertiesCustomKql(params IndicatorPropertiesCustomKqlParams, type_ string) *IndicatorPropertiesCustomKql
NewIndicatorPropertiesCustomKql instantiates a new IndicatorPropertiesCustomKql object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorPropertiesCustomKqlWithDefaults ¶
func NewIndicatorPropertiesCustomKqlWithDefaults() *IndicatorPropertiesCustomKql
NewIndicatorPropertiesCustomKqlWithDefaults instantiates a new IndicatorPropertiesCustomKql object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorPropertiesCustomKql) GetParams ¶
func (o *IndicatorPropertiesCustomKql) GetParams() IndicatorPropertiesCustomKqlParams
GetParams returns the Params field value
func (*IndicatorPropertiesCustomKql) GetParamsOk ¶
func (o *IndicatorPropertiesCustomKql) GetParamsOk() (*IndicatorPropertiesCustomKqlParams, bool)
GetParamsOk returns a tuple with the Params field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomKql) GetType ¶
func (o *IndicatorPropertiesCustomKql) GetType() string
GetType returns the Type field value
func (*IndicatorPropertiesCustomKql) GetTypeOk ¶
func (o *IndicatorPropertiesCustomKql) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (IndicatorPropertiesCustomKql) MarshalJSON ¶
func (o IndicatorPropertiesCustomKql) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesCustomKql) SetParams ¶
func (o *IndicatorPropertiesCustomKql) SetParams(v IndicatorPropertiesCustomKqlParams)
SetParams sets field value
func (*IndicatorPropertiesCustomKql) SetType ¶
func (o *IndicatorPropertiesCustomKql) SetType(v string)
SetType sets field value
func (IndicatorPropertiesCustomKql) ToMap ¶
func (o IndicatorPropertiesCustomKql) ToMap() (map[string]interface{}, error)
type IndicatorPropertiesCustomKqlParams ¶
type IndicatorPropertiesCustomKqlParams struct { // The index or index pattern to use Index string `json:"index"` // the KQL query to filter the documents with. Filter *string `json:"filter,omitempty"` // the KQL query used to define the good events. Good *string `json:"good,omitempty"` // the KQL query used to define all events. Total *string `json:"total,omitempty"` // The timestamp field used in the source indice. If not specified, @timestamp will be used. TimestampField string `json:"timestampField"` }
IndicatorPropertiesCustomKqlParams An object containing the indicator parameters.
func NewIndicatorPropertiesCustomKqlParams ¶
func NewIndicatorPropertiesCustomKqlParams(index string, timestampField string) *IndicatorPropertiesCustomKqlParams
NewIndicatorPropertiesCustomKqlParams instantiates a new IndicatorPropertiesCustomKqlParams object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIndicatorPropertiesCustomKqlParamsWithDefaults ¶
func NewIndicatorPropertiesCustomKqlParamsWithDefaults() *IndicatorPropertiesCustomKqlParams
NewIndicatorPropertiesCustomKqlParamsWithDefaults instantiates a new IndicatorPropertiesCustomKqlParams object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IndicatorPropertiesCustomKqlParams) GetFilter ¶
func (o *IndicatorPropertiesCustomKqlParams) GetFilter() string
GetFilter returns the Filter field value if set, zero value otherwise.
func (*IndicatorPropertiesCustomKqlParams) GetFilterOk ¶
func (o *IndicatorPropertiesCustomKqlParams) GetFilterOk() (*string, bool)
GetFilterOk returns a tuple with the Filter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomKqlParams) GetGood ¶
func (o *IndicatorPropertiesCustomKqlParams) GetGood() string
GetGood returns the Good field value if set, zero value otherwise.
func (*IndicatorPropertiesCustomKqlParams) GetGoodOk ¶
func (o *IndicatorPropertiesCustomKqlParams) GetGoodOk() (*string, bool)
GetGoodOk returns a tuple with the Good field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomKqlParams) GetIndex ¶
func (o *IndicatorPropertiesCustomKqlParams) GetIndex() string
GetIndex returns the Index field value
func (*IndicatorPropertiesCustomKqlParams) GetIndexOk ¶
func (o *IndicatorPropertiesCustomKqlParams) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomKqlParams) GetTimestampField ¶
func (o *IndicatorPropertiesCustomKqlParams) GetTimestampField() string
GetTimestampField returns the TimestampField field value
func (*IndicatorPropertiesCustomKqlParams) GetTimestampFieldOk ¶
func (o *IndicatorPropertiesCustomKqlParams) GetTimestampFieldOk() (*string, bool)
GetTimestampFieldOk returns a tuple with the TimestampField field value and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomKqlParams) GetTotal ¶
func (o *IndicatorPropertiesCustomKqlParams) GetTotal() string
GetTotal returns the Total field value if set, zero value otherwise.
func (*IndicatorPropertiesCustomKqlParams) GetTotalOk ¶
func (o *IndicatorPropertiesCustomKqlParams) GetTotalOk() (*string, bool)
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IndicatorPropertiesCustomKqlParams) HasFilter ¶
func (o *IndicatorPropertiesCustomKqlParams) HasFilter() bool
HasFilter returns a boolean if a field has been set.
func (*IndicatorPropertiesCustomKqlParams) HasGood ¶
func (o *IndicatorPropertiesCustomKqlParams) HasGood() bool
HasGood returns a boolean if a field has been set.
func (*IndicatorPropertiesCustomKqlParams) HasTotal ¶
func (o *IndicatorPropertiesCustomKqlParams) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (IndicatorPropertiesCustomKqlParams) MarshalJSON ¶
func (o IndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
func (*IndicatorPropertiesCustomKqlParams) SetFilter ¶
func (o *IndicatorPropertiesCustomKqlParams) SetFilter(v string)
SetFilter gets a reference to the given string and assigns it to the Filter field.
func (*IndicatorPropertiesCustomKqlParams) SetGood ¶
func (o *IndicatorPropertiesCustomKqlParams) SetGood(v string)
SetGood gets a reference to the given string and assigns it to the Good field.
func (*IndicatorPropertiesCustomKqlParams) SetIndex ¶
func (o *IndicatorPropertiesCustomKqlParams) SetIndex(v string)
SetIndex sets field value
func (*IndicatorPropertiesCustomKqlParams) SetTimestampField ¶
func (o *IndicatorPropertiesCustomKqlParams) SetTimestampField(v string)
SetTimestampField sets field value
func (*IndicatorPropertiesCustomKqlParams) SetTotal ¶
func (o *IndicatorPropertiesCustomKqlParams) SetTotal(v string)
SetTotal gets a reference to the given string and assigns it to the Total field.
func (IndicatorPropertiesCustomKqlParams) ToMap ¶
func (o IndicatorPropertiesCustomKqlParams) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type Model4xxResponse ¶
type Model4xxResponse struct { StatusCode float32 `json:"statusCode"` Error string `json:"error"` Message string `json:"message"` }
Model4xxResponse struct for Model4xxResponse
func NewModel4xxResponse ¶
func NewModel4xxResponse(statusCode float32, error_ string, message string) *Model4xxResponse
NewModel4xxResponse instantiates a new Model4xxResponse 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 NewModel4xxResponseWithDefaults ¶
func NewModel4xxResponseWithDefaults() *Model4xxResponse
NewModel4xxResponseWithDefaults instantiates a new Model4xxResponse 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 (*Model4xxResponse) GetError ¶
func (o *Model4xxResponse) GetError() string
GetError returns the Error field value
func (*Model4xxResponse) GetErrorOk ¶
func (o *Model4xxResponse) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*Model4xxResponse) GetMessage ¶
func (o *Model4xxResponse) GetMessage() string
GetMessage returns the Message field value
func (*Model4xxResponse) GetMessageOk ¶
func (o *Model4xxResponse) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Model4xxResponse) GetStatusCode ¶
func (o *Model4xxResponse) GetStatusCode() float32
GetStatusCode returns the StatusCode field value
func (*Model4xxResponse) GetStatusCodeOk ¶
func (o *Model4xxResponse) GetStatusCodeOk() (*float32, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value and a boolean to check if the value has been set.
func (Model4xxResponse) MarshalJSON ¶
func (o Model4xxResponse) MarshalJSON() ([]byte, error)
func (*Model4xxResponse) SetError ¶
func (o *Model4xxResponse) SetError(v string)
SetError sets field value
func (*Model4xxResponse) SetMessage ¶
func (o *Model4xxResponse) SetMessage(v string)
SetMessage sets field value
func (*Model4xxResponse) SetStatusCode ¶
func (o *Model4xxResponse) SetStatusCode(v float32)
SetStatusCode sets field value
func (Model4xxResponse) ToMap ¶
func (o Model4xxResponse) ToMap() (map[string]interface{}, error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBudgetingMethod ¶
type NullableBudgetingMethod struct {
// contains filtered or unexported fields
}
func NewNullableBudgetingMethod ¶
func NewNullableBudgetingMethod(val *BudgetingMethod) *NullableBudgetingMethod
func (NullableBudgetingMethod) Get ¶
func (v NullableBudgetingMethod) Get() *BudgetingMethod
func (NullableBudgetingMethod) IsSet ¶
func (v NullableBudgetingMethod) IsSet() bool
func (NullableBudgetingMethod) MarshalJSON ¶
func (v NullableBudgetingMethod) MarshalJSON() ([]byte, error)
func (*NullableBudgetingMethod) Set ¶
func (v *NullableBudgetingMethod) Set(val *BudgetingMethod)
func (*NullableBudgetingMethod) UnmarshalJSON ¶
func (v *NullableBudgetingMethod) UnmarshalJSON(src []byte) error
func (*NullableBudgetingMethod) Unset ¶
func (v *NullableBudgetingMethod) Unset()
type NullableCreateSloRequest ¶
type NullableCreateSloRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateSloRequest ¶
func NewNullableCreateSloRequest(val *CreateSloRequest) *NullableCreateSloRequest
func (NullableCreateSloRequest) Get ¶
func (v NullableCreateSloRequest) Get() *CreateSloRequest
func (NullableCreateSloRequest) IsSet ¶
func (v NullableCreateSloRequest) IsSet() bool
func (NullableCreateSloRequest) MarshalJSON ¶
func (v NullableCreateSloRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateSloRequest) Set ¶
func (v *NullableCreateSloRequest) Set(val *CreateSloRequest)
func (*NullableCreateSloRequest) UnmarshalJSON ¶
func (v *NullableCreateSloRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateSloRequest) Unset ¶
func (v *NullableCreateSloRequest) Unset()
type NullableCreateSloResponse ¶
type NullableCreateSloResponse struct {
// contains filtered or unexported fields
}
func NewNullableCreateSloResponse ¶
func NewNullableCreateSloResponse(val *CreateSloResponse) *NullableCreateSloResponse
func (NullableCreateSloResponse) Get ¶
func (v NullableCreateSloResponse) Get() *CreateSloResponse
func (NullableCreateSloResponse) IsSet ¶
func (v NullableCreateSloResponse) IsSet() bool
func (NullableCreateSloResponse) MarshalJSON ¶
func (v NullableCreateSloResponse) MarshalJSON() ([]byte, error)
func (*NullableCreateSloResponse) Set ¶
func (v *NullableCreateSloResponse) Set(val *CreateSloResponse)
func (*NullableCreateSloResponse) UnmarshalJSON ¶
func (v *NullableCreateSloResponse) UnmarshalJSON(src []byte) error
func (*NullableCreateSloResponse) Unset ¶
func (v *NullableCreateSloResponse) Unset()
type NullableErrorBudget ¶
type NullableErrorBudget struct {
// contains filtered or unexported fields
}
func NewNullableErrorBudget ¶
func NewNullableErrorBudget(val *ErrorBudget) *NullableErrorBudget
func (NullableErrorBudget) Get ¶
func (v NullableErrorBudget) Get() *ErrorBudget
func (NullableErrorBudget) IsSet ¶
func (v NullableErrorBudget) IsSet() bool
func (NullableErrorBudget) MarshalJSON ¶
func (v NullableErrorBudget) MarshalJSON() ([]byte, error)
func (*NullableErrorBudget) Set ¶
func (v *NullableErrorBudget) Set(val *ErrorBudget)
func (*NullableErrorBudget) UnmarshalJSON ¶
func (v *NullableErrorBudget) UnmarshalJSON(src []byte) error
func (*NullableErrorBudget) Unset ¶
func (v *NullableErrorBudget) Unset()
type NullableFindSloResponse ¶
type NullableFindSloResponse struct {
// contains filtered or unexported fields
}
func NewNullableFindSloResponse ¶
func NewNullableFindSloResponse(val *FindSloResponse) *NullableFindSloResponse
func (NullableFindSloResponse) Get ¶
func (v NullableFindSloResponse) Get() *FindSloResponse
func (NullableFindSloResponse) IsSet ¶
func (v NullableFindSloResponse) IsSet() bool
func (NullableFindSloResponse) MarshalJSON ¶
func (v NullableFindSloResponse) MarshalJSON() ([]byte, error)
func (*NullableFindSloResponse) Set ¶
func (v *NullableFindSloResponse) Set(val *FindSloResponse)
func (*NullableFindSloResponse) UnmarshalJSON ¶
func (v *NullableFindSloResponse) UnmarshalJSON(src []byte) error
func (*NullableFindSloResponse) Unset ¶
func (v *NullableFindSloResponse) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableHistoricalSummaryRequest ¶
type NullableHistoricalSummaryRequest struct {
// contains filtered or unexported fields
}
func NewNullableHistoricalSummaryRequest ¶
func NewNullableHistoricalSummaryRequest(val *HistoricalSummaryRequest) *NullableHistoricalSummaryRequest
func (NullableHistoricalSummaryRequest) Get ¶
func (v NullableHistoricalSummaryRequest) Get() *HistoricalSummaryRequest
func (NullableHistoricalSummaryRequest) IsSet ¶
func (v NullableHistoricalSummaryRequest) IsSet() bool
func (NullableHistoricalSummaryRequest) MarshalJSON ¶
func (v NullableHistoricalSummaryRequest) MarshalJSON() ([]byte, error)
func (*NullableHistoricalSummaryRequest) Set ¶
func (v *NullableHistoricalSummaryRequest) Set(val *HistoricalSummaryRequest)
func (*NullableHistoricalSummaryRequest) UnmarshalJSON ¶
func (v *NullableHistoricalSummaryRequest) UnmarshalJSON(src []byte) error
func (*NullableHistoricalSummaryRequest) Unset ¶
func (v *NullableHistoricalSummaryRequest) Unset()
type NullableHistoricalSummaryResponseInner ¶
type NullableHistoricalSummaryResponseInner struct {
// contains filtered or unexported fields
}
func NewNullableHistoricalSummaryResponseInner ¶
func NewNullableHistoricalSummaryResponseInner(val *HistoricalSummaryResponseInner) *NullableHistoricalSummaryResponseInner
func (NullableHistoricalSummaryResponseInner) Get ¶
func (v NullableHistoricalSummaryResponseInner) Get() *HistoricalSummaryResponseInner
func (NullableHistoricalSummaryResponseInner) IsSet ¶
func (v NullableHistoricalSummaryResponseInner) IsSet() bool
func (NullableHistoricalSummaryResponseInner) MarshalJSON ¶
func (v NullableHistoricalSummaryResponseInner) MarshalJSON() ([]byte, error)
func (*NullableHistoricalSummaryResponseInner) Set ¶
func (v *NullableHistoricalSummaryResponseInner) Set(val *HistoricalSummaryResponseInner)
func (*NullableHistoricalSummaryResponseInner) UnmarshalJSON ¶
func (v *NullableHistoricalSummaryResponseInner) UnmarshalJSON(src []byte) error
func (*NullableHistoricalSummaryResponseInner) Unset ¶
func (v *NullableHistoricalSummaryResponseInner) Unset()
type NullableIndicatorPropertiesApmAvailability ¶
type NullableIndicatorPropertiesApmAvailability struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmAvailability ¶
func NewNullableIndicatorPropertiesApmAvailability(val *IndicatorPropertiesApmAvailability) *NullableIndicatorPropertiesApmAvailability
func (NullableIndicatorPropertiesApmAvailability) IsSet ¶
func (v NullableIndicatorPropertiesApmAvailability) IsSet() bool
func (NullableIndicatorPropertiesApmAvailability) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmAvailability) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmAvailability) Set ¶
func (v *NullableIndicatorPropertiesApmAvailability) Set(val *IndicatorPropertiesApmAvailability)
func (*NullableIndicatorPropertiesApmAvailability) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmAvailability) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmAvailability) Unset ¶
func (v *NullableIndicatorPropertiesApmAvailability) Unset()
type NullableIndicatorPropertiesApmAvailabilityParams ¶
type NullableIndicatorPropertiesApmAvailabilityParams struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmAvailabilityParams ¶
func NewNullableIndicatorPropertiesApmAvailabilityParams(val *IndicatorPropertiesApmAvailabilityParams) *NullableIndicatorPropertiesApmAvailabilityParams
func (NullableIndicatorPropertiesApmAvailabilityParams) IsSet ¶
func (v NullableIndicatorPropertiesApmAvailabilityParams) IsSet() bool
func (NullableIndicatorPropertiesApmAvailabilityParams) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmAvailabilityParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmAvailabilityParams) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmAvailabilityParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmAvailabilityParams) Unset ¶
func (v *NullableIndicatorPropertiesApmAvailabilityParams) Unset()
type NullableIndicatorPropertiesApmLatency ¶
type NullableIndicatorPropertiesApmLatency struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmLatency ¶
func NewNullableIndicatorPropertiesApmLatency(val *IndicatorPropertiesApmLatency) *NullableIndicatorPropertiesApmLatency
func (NullableIndicatorPropertiesApmLatency) Get ¶
func (v NullableIndicatorPropertiesApmLatency) Get() *IndicatorPropertiesApmLatency
func (NullableIndicatorPropertiesApmLatency) IsSet ¶
func (v NullableIndicatorPropertiesApmLatency) IsSet() bool
func (NullableIndicatorPropertiesApmLatency) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmLatency) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmLatency) Set ¶
func (v *NullableIndicatorPropertiesApmLatency) Set(val *IndicatorPropertiesApmLatency)
func (*NullableIndicatorPropertiesApmLatency) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmLatency) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmLatency) Unset ¶
func (v *NullableIndicatorPropertiesApmLatency) Unset()
type NullableIndicatorPropertiesApmLatencyParams ¶
type NullableIndicatorPropertiesApmLatencyParams struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesApmLatencyParams ¶
func NewNullableIndicatorPropertiesApmLatencyParams(val *IndicatorPropertiesApmLatencyParams) *NullableIndicatorPropertiesApmLatencyParams
func (NullableIndicatorPropertiesApmLatencyParams) IsSet ¶
func (v NullableIndicatorPropertiesApmLatencyParams) IsSet() bool
func (NullableIndicatorPropertiesApmLatencyParams) MarshalJSON ¶
func (v NullableIndicatorPropertiesApmLatencyParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesApmLatencyParams) Set ¶
func (v *NullableIndicatorPropertiesApmLatencyParams) Set(val *IndicatorPropertiesApmLatencyParams)
func (*NullableIndicatorPropertiesApmLatencyParams) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesApmLatencyParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesApmLatencyParams) Unset ¶
func (v *NullableIndicatorPropertiesApmLatencyParams) Unset()
type NullableIndicatorPropertiesCustomKql ¶
type NullableIndicatorPropertiesCustomKql struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomKql ¶
func NewNullableIndicatorPropertiesCustomKql(val *IndicatorPropertiesCustomKql) *NullableIndicatorPropertiesCustomKql
func (NullableIndicatorPropertiesCustomKql) Get ¶
func (v NullableIndicatorPropertiesCustomKql) Get() *IndicatorPropertiesCustomKql
func (NullableIndicatorPropertiesCustomKql) IsSet ¶
func (v NullableIndicatorPropertiesCustomKql) IsSet() bool
func (NullableIndicatorPropertiesCustomKql) MarshalJSON ¶
func (v NullableIndicatorPropertiesCustomKql) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomKql) Set ¶
func (v *NullableIndicatorPropertiesCustomKql) Set(val *IndicatorPropertiesCustomKql)
func (*NullableIndicatorPropertiesCustomKql) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesCustomKql) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomKql) Unset ¶
func (v *NullableIndicatorPropertiesCustomKql) Unset()
type NullableIndicatorPropertiesCustomKqlParams ¶
type NullableIndicatorPropertiesCustomKqlParams struct {
// contains filtered or unexported fields
}
func NewNullableIndicatorPropertiesCustomKqlParams ¶
func NewNullableIndicatorPropertiesCustomKqlParams(val *IndicatorPropertiesCustomKqlParams) *NullableIndicatorPropertiesCustomKqlParams
func (NullableIndicatorPropertiesCustomKqlParams) IsSet ¶
func (v NullableIndicatorPropertiesCustomKqlParams) IsSet() bool
func (NullableIndicatorPropertiesCustomKqlParams) MarshalJSON ¶
func (v NullableIndicatorPropertiesCustomKqlParams) MarshalJSON() ([]byte, error)
func (*NullableIndicatorPropertiesCustomKqlParams) Set ¶
func (v *NullableIndicatorPropertiesCustomKqlParams) Set(val *IndicatorPropertiesCustomKqlParams)
func (*NullableIndicatorPropertiesCustomKqlParams) UnmarshalJSON ¶
func (v *NullableIndicatorPropertiesCustomKqlParams) UnmarshalJSON(src []byte) error
func (*NullableIndicatorPropertiesCustomKqlParams) Unset ¶
func (v *NullableIndicatorPropertiesCustomKqlParams) Unset()
type 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 NullableModel4xxResponse ¶
type NullableModel4xxResponse struct {
// contains filtered or unexported fields
}
func NewNullableModel4xxResponse ¶
func NewNullableModel4xxResponse(val *Model4xxResponse) *NullableModel4xxResponse
func (NullableModel4xxResponse) Get ¶
func (v NullableModel4xxResponse) Get() *Model4xxResponse
func (NullableModel4xxResponse) IsSet ¶
func (v NullableModel4xxResponse) IsSet() bool
func (NullableModel4xxResponse) MarshalJSON ¶
func (v NullableModel4xxResponse) MarshalJSON() ([]byte, error)
func (*NullableModel4xxResponse) Set ¶
func (v *NullableModel4xxResponse) Set(val *Model4xxResponse)
func (*NullableModel4xxResponse) UnmarshalJSON ¶
func (v *NullableModel4xxResponse) UnmarshalJSON(src []byte) error
func (*NullableModel4xxResponse) Unset ¶
func (v *NullableModel4xxResponse) Unset()
type NullableObjective ¶
type NullableObjective struct {
// contains filtered or unexported fields
}
func NewNullableObjective ¶
func NewNullableObjective(val *Objective) *NullableObjective
func (NullableObjective) Get ¶
func (v NullableObjective) Get() *Objective
func (NullableObjective) IsSet ¶
func (v NullableObjective) IsSet() bool
func (NullableObjective) MarshalJSON ¶
func (v NullableObjective) MarshalJSON() ([]byte, error)
func (*NullableObjective) Set ¶
func (v *NullableObjective) Set(val *Objective)
func (*NullableObjective) UnmarshalJSON ¶
func (v *NullableObjective) UnmarshalJSON(src []byte) error
func (*NullableObjective) Unset ¶
func (v *NullableObjective) Unset()
type NullableSettings ¶
type NullableSettings struct {
// contains filtered or unexported fields
}
func NewNullableSettings ¶
func NewNullableSettings(val *Settings) *NullableSettings
func (NullableSettings) Get ¶
func (v NullableSettings) Get() *Settings
func (NullableSettings) IsSet ¶
func (v NullableSettings) IsSet() bool
func (NullableSettings) MarshalJSON ¶
func (v NullableSettings) MarshalJSON() ([]byte, error)
func (*NullableSettings) Set ¶
func (v *NullableSettings) Set(val *Settings)
func (*NullableSettings) UnmarshalJSON ¶
func (v *NullableSettings) UnmarshalJSON(src []byte) error
func (*NullableSettings) Unset ¶
func (v *NullableSettings) Unset()
type NullableSloResponse ¶
type NullableSloResponse struct {
// contains filtered or unexported fields
}
func NewNullableSloResponse ¶
func NewNullableSloResponse(val *SloResponse) *NullableSloResponse
func (NullableSloResponse) Get ¶
func (v NullableSloResponse) Get() *SloResponse
func (NullableSloResponse) IsSet ¶
func (v NullableSloResponse) IsSet() bool
func (NullableSloResponse) MarshalJSON ¶
func (v NullableSloResponse) MarshalJSON() ([]byte, error)
func (*NullableSloResponse) Set ¶
func (v *NullableSloResponse) Set(val *SloResponse)
func (*NullableSloResponse) UnmarshalJSON ¶
func (v *NullableSloResponse) UnmarshalJSON(src []byte) error
func (*NullableSloResponse) Unset ¶
func (v *NullableSloResponse) Unset()
type NullableSloResponseIndicator ¶
type NullableSloResponseIndicator struct {
// contains filtered or unexported fields
}
func NewNullableSloResponseIndicator ¶
func NewNullableSloResponseIndicator(val *SloResponseIndicator) *NullableSloResponseIndicator
func (NullableSloResponseIndicator) Get ¶
func (v NullableSloResponseIndicator) Get() *SloResponseIndicator
func (NullableSloResponseIndicator) IsSet ¶
func (v NullableSloResponseIndicator) IsSet() bool
func (NullableSloResponseIndicator) MarshalJSON ¶
func (v NullableSloResponseIndicator) MarshalJSON() ([]byte, error)
func (*NullableSloResponseIndicator) Set ¶
func (v *NullableSloResponseIndicator) Set(val *SloResponseIndicator)
func (*NullableSloResponseIndicator) UnmarshalJSON ¶
func (v *NullableSloResponseIndicator) UnmarshalJSON(src []byte) error
func (*NullableSloResponseIndicator) Unset ¶
func (v *NullableSloResponseIndicator) Unset()
type NullableSloResponseTimeWindow ¶
type NullableSloResponseTimeWindow struct {
// contains filtered or unexported fields
}
func NewNullableSloResponseTimeWindow ¶
func NewNullableSloResponseTimeWindow(val *SloResponseTimeWindow) *NullableSloResponseTimeWindow
func (NullableSloResponseTimeWindow) Get ¶
func (v NullableSloResponseTimeWindow) Get() *SloResponseTimeWindow
func (NullableSloResponseTimeWindow) IsSet ¶
func (v NullableSloResponseTimeWindow) IsSet() bool
func (NullableSloResponseTimeWindow) MarshalJSON ¶
func (v NullableSloResponseTimeWindow) MarshalJSON() ([]byte, error)
func (*NullableSloResponseTimeWindow) Set ¶
func (v *NullableSloResponseTimeWindow) Set(val *SloResponseTimeWindow)
func (*NullableSloResponseTimeWindow) UnmarshalJSON ¶
func (v *NullableSloResponseTimeWindow) UnmarshalJSON(src []byte) error
func (*NullableSloResponseTimeWindow) Unset ¶
func (v *NullableSloResponseTimeWindow) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSummary ¶
type NullableSummary struct {
// contains filtered or unexported fields
}
func NewNullableSummary ¶
func NewNullableSummary(val *Summary) *NullableSummary
func (NullableSummary) Get ¶
func (v NullableSummary) Get() *Summary
func (NullableSummary) IsSet ¶
func (v NullableSummary) IsSet() bool
func (NullableSummary) MarshalJSON ¶
func (v NullableSummary) MarshalJSON() ([]byte, error)
func (*NullableSummary) Set ¶
func (v *NullableSummary) Set(val *Summary)
func (*NullableSummary) UnmarshalJSON ¶
func (v *NullableSummary) UnmarshalJSON(src []byte) error
func (*NullableSummary) Unset ¶
func (v *NullableSummary) Unset()
type 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 NullableTimeWindowCalendarAligned ¶
type NullableTimeWindowCalendarAligned struct {
// contains filtered or unexported fields
}
func NewNullableTimeWindowCalendarAligned ¶
func NewNullableTimeWindowCalendarAligned(val *TimeWindowCalendarAligned) *NullableTimeWindowCalendarAligned
func (NullableTimeWindowCalendarAligned) Get ¶
func (v NullableTimeWindowCalendarAligned) Get() *TimeWindowCalendarAligned
func (NullableTimeWindowCalendarAligned) IsSet ¶
func (v NullableTimeWindowCalendarAligned) IsSet() bool
func (NullableTimeWindowCalendarAligned) MarshalJSON ¶
func (v NullableTimeWindowCalendarAligned) MarshalJSON() ([]byte, error)
func (*NullableTimeWindowCalendarAligned) Set ¶
func (v *NullableTimeWindowCalendarAligned) Set(val *TimeWindowCalendarAligned)
func (*NullableTimeWindowCalendarAligned) UnmarshalJSON ¶
func (v *NullableTimeWindowCalendarAligned) UnmarshalJSON(src []byte) error
func (*NullableTimeWindowCalendarAligned) Unset ¶
func (v *NullableTimeWindowCalendarAligned) Unset()
type NullableTimeWindowCalendarAlignedCalendar ¶
type NullableTimeWindowCalendarAlignedCalendar struct {
// contains filtered or unexported fields
}
func NewNullableTimeWindowCalendarAlignedCalendar ¶
func NewNullableTimeWindowCalendarAlignedCalendar(val *TimeWindowCalendarAlignedCalendar) *NullableTimeWindowCalendarAlignedCalendar
func (NullableTimeWindowCalendarAlignedCalendar) IsSet ¶
func (v NullableTimeWindowCalendarAlignedCalendar) IsSet() bool
func (NullableTimeWindowCalendarAlignedCalendar) MarshalJSON ¶
func (v NullableTimeWindowCalendarAlignedCalendar) MarshalJSON() ([]byte, error)
func (*NullableTimeWindowCalendarAlignedCalendar) Set ¶
func (v *NullableTimeWindowCalendarAlignedCalendar) Set(val *TimeWindowCalendarAlignedCalendar)
func (*NullableTimeWindowCalendarAlignedCalendar) UnmarshalJSON ¶
func (v *NullableTimeWindowCalendarAlignedCalendar) UnmarshalJSON(src []byte) error
func (*NullableTimeWindowCalendarAlignedCalendar) Unset ¶
func (v *NullableTimeWindowCalendarAlignedCalendar) Unset()
type NullableTimeWindowRolling ¶
type NullableTimeWindowRolling struct {
// contains filtered or unexported fields
}
func NewNullableTimeWindowRolling ¶
func NewNullableTimeWindowRolling(val *TimeWindowRolling) *NullableTimeWindowRolling
func (NullableTimeWindowRolling) Get ¶
func (v NullableTimeWindowRolling) Get() *TimeWindowRolling
func (NullableTimeWindowRolling) IsSet ¶
func (v NullableTimeWindowRolling) IsSet() bool
func (NullableTimeWindowRolling) MarshalJSON ¶
func (v NullableTimeWindowRolling) MarshalJSON() ([]byte, error)
func (*NullableTimeWindowRolling) Set ¶
func (v *NullableTimeWindowRolling) Set(val *TimeWindowRolling)
func (*NullableTimeWindowRolling) UnmarshalJSON ¶
func (v *NullableTimeWindowRolling) UnmarshalJSON(src []byte) error
func (*NullableTimeWindowRolling) Unset ¶
func (v *NullableTimeWindowRolling) Unset()
type NullableUpdateSloRequest ¶
type NullableUpdateSloRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateSloRequest ¶
func NewNullableUpdateSloRequest(val *UpdateSloRequest) *NullableUpdateSloRequest
func (NullableUpdateSloRequest) Get ¶
func (v NullableUpdateSloRequest) Get() *UpdateSloRequest
func (NullableUpdateSloRequest) IsSet ¶
func (v NullableUpdateSloRequest) IsSet() bool
func (NullableUpdateSloRequest) MarshalJSON ¶
func (v NullableUpdateSloRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateSloRequest) Set ¶
func (v *NullableUpdateSloRequest) Set(val *UpdateSloRequest)
func (*NullableUpdateSloRequest) UnmarshalJSON ¶
func (v *NullableUpdateSloRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateSloRequest) Unset ¶
func (v *NullableUpdateSloRequest) Unset()
type Objective ¶
type Objective struct { // the target objective between 0 and 1 excluded Target float32 `json:"target"` // the target objective for each slice when using a timeslices budgeting method TimeslicesTarget *float32 `json:"timeslicesTarget,omitempty"` // the duration of each slice when using a timeslices budgeting method, as {duraton}{unit} TimeslicesWindow *string `json:"timeslicesWindow,omitempty"` }
Objective Defines properties for objective
func NewObjective ¶
NewObjective instantiates a new Objective object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewObjectiveWithDefaults ¶
func NewObjectiveWithDefaults() *Objective
NewObjectiveWithDefaults instantiates a new Objective object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Objective) GetTargetOk ¶
GetTargetOk returns a tuple with the Target field value and a boolean to check if the value has been set.
func (*Objective) GetTimeslicesTarget ¶
GetTimeslicesTarget returns the TimeslicesTarget field value if set, zero value otherwise.
func (*Objective) GetTimeslicesTargetOk ¶
GetTimeslicesTargetOk returns a tuple with the TimeslicesTarget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Objective) GetTimeslicesWindow ¶
GetTimeslicesWindow returns the TimeslicesWindow field value if set, zero value otherwise.
func (*Objective) GetTimeslicesWindowOk ¶
GetTimeslicesWindowOk returns a tuple with the TimeslicesWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Objective) HasTimeslicesTarget ¶
HasTimeslicesTarget returns a boolean if a field has been set.
func (*Objective) HasTimeslicesWindow ¶
HasTimeslicesWindow returns a boolean if a field has been set.
func (Objective) MarshalJSON ¶
func (*Objective) SetTimeslicesTarget ¶
SetTimeslicesTarget gets a reference to the given float32 and assigns it to the TimeslicesTarget field.
func (*Objective) SetTimeslicesWindow ¶
SetTimeslicesWindow gets a reference to the given string and assigns it to the TimeslicesWindow field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Settings ¶
type Settings struct { // The synch delay to apply to the transform. Default 1m SyncDelay *string `json:"syncDelay,omitempty"` // Configure how often the transform runs, default 1m Frequency *string `json:"frequency,omitempty"` }
Settings Defines properties for settings.
func NewSettings ¶
func NewSettings() *Settings
NewSettings instantiates a new Settings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSettingsWithDefaults ¶
func NewSettingsWithDefaults() *Settings
NewSettingsWithDefaults instantiates a new Settings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Settings) GetFrequency ¶
GetFrequency returns the Frequency field value if set, zero value otherwise.
func (*Settings) GetFrequencyOk ¶
GetFrequencyOk returns a tuple with the Frequency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) GetSyncDelay ¶
GetSyncDelay returns the SyncDelay field value if set, zero value otherwise.
func (*Settings) GetSyncDelayOk ¶
GetSyncDelayOk returns a tuple with the SyncDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Settings) HasFrequency ¶
HasFrequency returns a boolean if a field has been set.
func (*Settings) HasSyncDelay ¶
HasSyncDelay returns a boolean if a field has been set.
func (Settings) MarshalJSON ¶
func (*Settings) SetFrequency ¶
SetFrequency gets a reference to the given string and assigns it to the Frequency field.
func (*Settings) SetSyncDelay ¶
SetSyncDelay gets a reference to the given string and assigns it to the SyncDelay field.
type SloResponse ¶
type SloResponse struct { // The identifier of the SLO. Id *string `json:"id,omitempty"` // The name of the SLO. Name *string `json:"name,omitempty"` // The description of the SLO. Description *string `json:"description,omitempty"` Indicator *SloResponseIndicator `json:"indicator,omitempty"` TimeWindow *SloResponseTimeWindow `json:"timeWindow,omitempty"` BudgetingMethod *BudgetingMethod `json:"budgetingMethod,omitempty"` Objective *Objective `json:"objective,omitempty"` Settings *Settings `json:"settings,omitempty"` // The SLO revision Revision *float32 `json:"revision,omitempty"` Summary *Summary `json:"summary,omitempty"` // Indicate if the SLO is enabled Enabled *bool `json:"enabled,omitempty"` // The creation date CreatedAt *string `json:"createdAt,omitempty"` // The last update date UpdatedAt *string `json:"updatedAt,omitempty"` }
SloResponse struct for SloResponse
func NewSloResponse ¶
func NewSloResponse() *SloResponse
NewSloResponse instantiates a new SloResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSloResponseWithDefaults ¶
func NewSloResponseWithDefaults() *SloResponse
NewSloResponseWithDefaults instantiates a new SloResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SloResponse) GetBudgetingMethod ¶
func (o *SloResponse) GetBudgetingMethod() BudgetingMethod
GetBudgetingMethod returns the BudgetingMethod field value if set, zero value otherwise.
func (*SloResponse) GetBudgetingMethodOk ¶
func (o *SloResponse) GetBudgetingMethodOk() (*BudgetingMethod, bool)
GetBudgetingMethodOk returns a tuple with the BudgetingMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetCreatedAt ¶
func (o *SloResponse) GetCreatedAt() string
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SloResponse) GetCreatedAtOk ¶
func (o *SloResponse) GetCreatedAtOk() (*string, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetDescription ¶
func (o *SloResponse) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SloResponse) GetDescriptionOk ¶
func (o *SloResponse) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetEnabled ¶
func (o *SloResponse) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*SloResponse) GetEnabledOk ¶
func (o *SloResponse) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetId ¶
func (o *SloResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SloResponse) GetIdOk ¶
func (o *SloResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetIndicator ¶
func (o *SloResponse) GetIndicator() SloResponseIndicator
GetIndicator returns the Indicator field value if set, zero value otherwise.
func (*SloResponse) GetIndicatorOk ¶
func (o *SloResponse) GetIndicatorOk() (*SloResponseIndicator, bool)
GetIndicatorOk returns a tuple with the Indicator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetName ¶
func (o *SloResponse) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SloResponse) GetNameOk ¶
func (o *SloResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetObjective ¶
func (o *SloResponse) GetObjective() Objective
GetObjective returns the Objective field value if set, zero value otherwise.
func (*SloResponse) GetObjectiveOk ¶
func (o *SloResponse) GetObjectiveOk() (*Objective, bool)
GetObjectiveOk returns a tuple with the Objective field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetRevision ¶
func (o *SloResponse) GetRevision() float32
GetRevision returns the Revision field value if set, zero value otherwise.
func (*SloResponse) GetRevisionOk ¶
func (o *SloResponse) GetRevisionOk() (*float32, bool)
GetRevisionOk returns a tuple with the Revision field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetSettings ¶
func (o *SloResponse) GetSettings() Settings
GetSettings returns the Settings field value if set, zero value otherwise.
func (*SloResponse) GetSettingsOk ¶
func (o *SloResponse) GetSettingsOk() (*Settings, bool)
GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetSummary ¶
func (o *SloResponse) GetSummary() Summary
GetSummary returns the Summary field value if set, zero value otherwise.
func (*SloResponse) GetSummaryOk ¶
func (o *SloResponse) GetSummaryOk() (*Summary, bool)
GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetTimeWindow ¶
func (o *SloResponse) GetTimeWindow() SloResponseTimeWindow
GetTimeWindow returns the TimeWindow field value if set, zero value otherwise.
func (*SloResponse) GetTimeWindowOk ¶
func (o *SloResponse) GetTimeWindowOk() (*SloResponseTimeWindow, bool)
GetTimeWindowOk returns a tuple with the TimeWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) GetUpdatedAt ¶
func (o *SloResponse) GetUpdatedAt() string
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*SloResponse) GetUpdatedAtOk ¶
func (o *SloResponse) GetUpdatedAtOk() (*string, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SloResponse) HasBudgetingMethod ¶
func (o *SloResponse) HasBudgetingMethod() bool
HasBudgetingMethod returns a boolean if a field has been set.
func (*SloResponse) HasCreatedAt ¶
func (o *SloResponse) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*SloResponse) HasDescription ¶
func (o *SloResponse) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SloResponse) HasEnabled ¶
func (o *SloResponse) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*SloResponse) HasId ¶
func (o *SloResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*SloResponse) HasIndicator ¶
func (o *SloResponse) HasIndicator() bool
HasIndicator returns a boolean if a field has been set.
func (*SloResponse) HasName ¶
func (o *SloResponse) HasName() bool
HasName returns a boolean if a field has been set.
func (*SloResponse) HasObjective ¶
func (o *SloResponse) HasObjective() bool
HasObjective returns a boolean if a field has been set.
func (*SloResponse) HasRevision ¶
func (o *SloResponse) HasRevision() bool
HasRevision returns a boolean if a field has been set.
func (*SloResponse) HasSettings ¶
func (o *SloResponse) HasSettings() bool
HasSettings returns a boolean if a field has been set.
func (*SloResponse) HasSummary ¶
func (o *SloResponse) HasSummary() bool
HasSummary returns a boolean if a field has been set.
func (*SloResponse) HasTimeWindow ¶
func (o *SloResponse) HasTimeWindow() bool
HasTimeWindow returns a boolean if a field has been set.
func (*SloResponse) HasUpdatedAt ¶
func (o *SloResponse) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (SloResponse) MarshalJSON ¶
func (o SloResponse) MarshalJSON() ([]byte, error)
func (*SloResponse) SetBudgetingMethod ¶
func (o *SloResponse) SetBudgetingMethod(v BudgetingMethod)
SetBudgetingMethod gets a reference to the given BudgetingMethod and assigns it to the BudgetingMethod field.
func (*SloResponse) SetCreatedAt ¶
func (o *SloResponse) SetCreatedAt(v string)
SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.
func (*SloResponse) SetDescription ¶
func (o *SloResponse) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SloResponse) SetEnabled ¶
func (o *SloResponse) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*SloResponse) SetId ¶
func (o *SloResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SloResponse) SetIndicator ¶
func (o *SloResponse) SetIndicator(v SloResponseIndicator)
SetIndicator gets a reference to the given SloResponseIndicator and assigns it to the Indicator field.
func (*SloResponse) SetName ¶
func (o *SloResponse) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SloResponse) SetObjective ¶
func (o *SloResponse) SetObjective(v Objective)
SetObjective gets a reference to the given Objective and assigns it to the Objective field.
func (*SloResponse) SetRevision ¶
func (o *SloResponse) SetRevision(v float32)
SetRevision gets a reference to the given float32 and assigns it to the Revision field.
func (*SloResponse) SetSettings ¶
func (o *SloResponse) SetSettings(v Settings)
SetSettings gets a reference to the given Settings and assigns it to the Settings field.
func (*SloResponse) SetSummary ¶
func (o *SloResponse) SetSummary(v Summary)
SetSummary gets a reference to the given Summary and assigns it to the Summary field.
func (*SloResponse) SetTimeWindow ¶
func (o *SloResponse) SetTimeWindow(v SloResponseTimeWindow)
SetTimeWindow gets a reference to the given SloResponseTimeWindow and assigns it to the TimeWindow field.
func (*SloResponse) SetUpdatedAt ¶
func (o *SloResponse) SetUpdatedAt(v string)
SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.
func (SloResponse) ToMap ¶
func (o SloResponse) ToMap() (map[string]interface{}, error)
type SloResponseIndicator ¶
type SloResponseIndicator struct { IndicatorPropertiesApmAvailability *IndicatorPropertiesApmAvailability IndicatorPropertiesApmLatency *IndicatorPropertiesApmLatency IndicatorPropertiesCustomKql *IndicatorPropertiesCustomKql }
SloResponseIndicator - struct for SloResponseIndicator
func IndicatorPropertiesApmAvailabilityAsSloResponseIndicator ¶
func IndicatorPropertiesApmAvailabilityAsSloResponseIndicator(v *IndicatorPropertiesApmAvailability) SloResponseIndicator
IndicatorPropertiesApmAvailabilityAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesApmAvailability wrapped in SloResponseIndicator
func IndicatorPropertiesApmLatencyAsSloResponseIndicator ¶
func IndicatorPropertiesApmLatencyAsSloResponseIndicator(v *IndicatorPropertiesApmLatency) SloResponseIndicator
IndicatorPropertiesApmLatencyAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesApmLatency wrapped in SloResponseIndicator
func IndicatorPropertiesCustomKqlAsSloResponseIndicator ¶
func IndicatorPropertiesCustomKqlAsSloResponseIndicator(v *IndicatorPropertiesCustomKql) SloResponseIndicator
IndicatorPropertiesCustomKqlAsSloResponseIndicator is a convenience function that returns IndicatorPropertiesCustomKql wrapped in SloResponseIndicator
func (*SloResponseIndicator) GetActualInstance ¶
func (obj *SloResponseIndicator) GetActualInstance() interface{}
Get the actual instance
func (SloResponseIndicator) MarshalJSON ¶
func (src SloResponseIndicator) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SloResponseIndicator) UnmarshalJSON ¶
func (dst *SloResponseIndicator) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SloResponseTimeWindow ¶
type SloResponseTimeWindow struct { TimeWindowCalendarAligned *TimeWindowCalendarAligned TimeWindowRolling *TimeWindowRolling }
SloResponseTimeWindow - struct for SloResponseTimeWindow
func TimeWindowCalendarAlignedAsSloResponseTimeWindow ¶
func TimeWindowCalendarAlignedAsSloResponseTimeWindow(v *TimeWindowCalendarAligned) SloResponseTimeWindow
TimeWindowCalendarAlignedAsSloResponseTimeWindow is a convenience function that returns TimeWindowCalendarAligned wrapped in SloResponseTimeWindow
func TimeWindowRollingAsSloResponseTimeWindow ¶
func TimeWindowRollingAsSloResponseTimeWindow(v *TimeWindowRolling) SloResponseTimeWindow
TimeWindowRollingAsSloResponseTimeWindow is a convenience function that returns TimeWindowRolling wrapped in SloResponseTimeWindow
func (*SloResponseTimeWindow) GetActualInstance ¶
func (obj *SloResponseTimeWindow) GetActualInstance() interface{}
Get the actual instance
func (SloResponseTimeWindow) MarshalJSON ¶
func (src SloResponseTimeWindow) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SloResponseTimeWindow) UnmarshalJSON ¶
func (dst *SloResponseTimeWindow) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type SlosApi ¶
type SlosApi interface { /* CreateSlo Creates an SLO. You must have `all` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @return ApiCreateSloRequest */ CreateSlo(ctx context.Context, spaceId string) ApiCreateSloRequest // CreateSloExecute executes the request // @return CreateSloResponse CreateSloExecute(r ApiCreateSloRequest) (*CreateSloResponse, *http.Response, error) /* DeleteSlo Deletes an SLO You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiDeleteSloRequest */ DeleteSlo(ctx context.Context, spaceId string, sloId string) ApiDeleteSloRequest // DeleteSloExecute executes the request DeleteSloExecute(r ApiDeleteSloRequest) (*http.Response, error) /* DisableSlo Disables an SLO You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiDisableSloRequest */ DisableSlo(ctx context.Context, spaceId string, sloId string) ApiDisableSloRequest // DisableSloExecute executes the request DisableSloExecute(r ApiDisableSloRequest) (*http.Response, error) /* EnableSlo Enables an SLO You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiEnableSloRequest */ EnableSlo(ctx context.Context, spaceId string, sloId string) ApiEnableSloRequest // EnableSloExecute executes the request EnableSloExecute(r ApiEnableSloRequest) (*http.Response, error) /* FindSlos Retrieves a paginated list of SLOs You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @return ApiFindSlosRequest */ FindSlos(ctx context.Context, spaceId string) ApiFindSlosRequest // FindSlosExecute executes the request // @return FindSloResponse FindSlosExecute(r ApiFindSlosRequest) (*FindSloResponse, *http.Response, error) /* GetSlo Retrieves a SLO You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiGetSloRequest */ GetSlo(ctx context.Context, spaceId string, sloId string) ApiGetSloRequest // GetSloExecute executes the request // @return SloResponse GetSloExecute(r ApiGetSloRequest) (*SloResponse, *http.Response, error) /* HistoricalSummary Retrieves the historical summary for a list of SLOs You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @return ApiHistoricalSummaryRequest */ HistoricalSummary(ctx context.Context, spaceId string) ApiHistoricalSummaryRequest // HistoricalSummaryExecute executes the request // @return map[string][]HistoricalSummaryResponseInner HistoricalSummaryExecute(r ApiHistoricalSummaryRequest) (*map[string][]HistoricalSummaryResponseInner, *http.Response, error) /* UpdateSlo Updates an SLO You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiUpdateSloRequest */ UpdateSlo(ctx context.Context, spaceId string, sloId string) ApiUpdateSloRequest // UpdateSloExecute executes the request // @return SloResponse UpdateSloExecute(r ApiUpdateSloRequest) (*SloResponse, *http.Response, error) }
type SlosApiService ¶
type SlosApiService service
SlosApiService SlosApi service
func (*SlosApiService) CreateSlo ¶
func (a *SlosApiService) CreateSlo(ctx context.Context, spaceId string) ApiCreateSloRequest
CreateSlo Creates an SLO.
You must have `all` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @return ApiCreateSloRequest
func (*SlosApiService) CreateSloExecute ¶
func (a *SlosApiService) CreateSloExecute(r ApiCreateSloRequest) (*CreateSloResponse, *http.Response, error)
Execute executes the request
@return CreateSloResponse
func (*SlosApiService) DeleteSlo ¶
func (a *SlosApiService) DeleteSlo(ctx context.Context, spaceId string, sloId string) ApiDeleteSloRequest
DeleteSlo Deletes an SLO
You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiDeleteSloRequest
func (*SlosApiService) DeleteSloExecute ¶
func (a *SlosApiService) DeleteSloExecute(r ApiDeleteSloRequest) (*http.Response, error)
Execute executes the request
func (*SlosApiService) DisableSlo ¶
func (a *SlosApiService) DisableSlo(ctx context.Context, spaceId string, sloId string) ApiDisableSloRequest
DisableSlo Disables an SLO
You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiDisableSloRequest
func (*SlosApiService) DisableSloExecute ¶
func (a *SlosApiService) DisableSloExecute(r ApiDisableSloRequest) (*http.Response, error)
Execute executes the request
func (*SlosApiService) EnableSlo ¶
func (a *SlosApiService) EnableSlo(ctx context.Context, spaceId string, sloId string) ApiEnableSloRequest
EnableSlo Enables an SLO
You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiEnableSloRequest
func (*SlosApiService) EnableSloExecute ¶
func (a *SlosApiService) EnableSloExecute(r ApiEnableSloRequest) (*http.Response, error)
Execute executes the request
func (*SlosApiService) FindSlos ¶
func (a *SlosApiService) FindSlos(ctx context.Context, spaceId string) ApiFindSlosRequest
FindSlos Retrieves a paginated list of SLOs
You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @return ApiFindSlosRequest
func (*SlosApiService) FindSlosExecute ¶
func (a *SlosApiService) FindSlosExecute(r ApiFindSlosRequest) (*FindSloResponse, *http.Response, error)
Execute executes the request
@return FindSloResponse
func (*SlosApiService) GetSlo ¶
func (a *SlosApiService) GetSlo(ctx context.Context, spaceId string, sloId string) ApiGetSloRequest
GetSlo Retrieves a SLO
You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiGetSloRequest
func (*SlosApiService) GetSloExecute ¶
func (a *SlosApiService) GetSloExecute(r ApiGetSloRequest) (*SloResponse, *http.Response, error)
Execute executes the request
@return SloResponse
func (*SlosApiService) HistoricalSummary ¶
func (a *SlosApiService) HistoricalSummary(ctx context.Context, spaceId string) ApiHistoricalSummaryRequest
HistoricalSummary Retrieves the historical summary for a list of SLOs
You must have the `read` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @return ApiHistoricalSummaryRequest
func (*SlosApiService) HistoricalSummaryExecute ¶
func (a *SlosApiService) HistoricalSummaryExecute(r ApiHistoricalSummaryRequest) (*map[string][]HistoricalSummaryResponseInner, *http.Response, error)
Execute executes the request
@return map[string][]HistoricalSummaryResponseInner
func (*SlosApiService) UpdateSlo ¶
func (a *SlosApiService) UpdateSlo(ctx context.Context, spaceId string, sloId string) ApiUpdateSloRequest
UpdateSlo Updates an SLO
You must have the `write` privileges for the **SLOs** feature in the **Observability** section of the Kibana feature privileges.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param spaceId An identifier for the space. If `/s/` and the identifier are omitted from the path, the default space is used. @param sloId An identifier for the slo. @return ApiUpdateSloRequest
func (*SlosApiService) UpdateSloExecute ¶
func (a *SlosApiService) UpdateSloExecute(r ApiUpdateSloRequest) (*SloResponse, *http.Response, error)
Execute executes the request
@return SloResponse
type Summary ¶
type Summary struct { Status *string `json:"status,omitempty"` SliValue *float32 `json:"sliValue,omitempty"` ErrorBudget *ErrorBudget `json:"errorBudget,omitempty"` }
Summary struct for Summary
func NewSummary ¶
func NewSummary() *Summary
NewSummary instantiates a new Summary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummaryWithDefaults ¶
func NewSummaryWithDefaults() *Summary
NewSummaryWithDefaults instantiates a new Summary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Summary) GetErrorBudget ¶
func (o *Summary) GetErrorBudget() ErrorBudget
GetErrorBudget returns the ErrorBudget field value if set, zero value otherwise.
func (*Summary) GetErrorBudgetOk ¶
func (o *Summary) GetErrorBudgetOk() (*ErrorBudget, bool)
GetErrorBudgetOk returns a tuple with the ErrorBudget field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Summary) GetSliValue ¶
GetSliValue returns the SliValue field value if set, zero value otherwise.
func (*Summary) GetSliValueOk ¶
GetSliValueOk returns a tuple with the SliValue field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Summary) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Summary) HasErrorBudget ¶
HasErrorBudget returns a boolean if a field has been set.
func (*Summary) HasSliValue ¶
HasSliValue returns a boolean if a field has been set.
func (Summary) MarshalJSON ¶
func (*Summary) SetErrorBudget ¶
func (o *Summary) SetErrorBudget(v ErrorBudget)
SetErrorBudget gets a reference to the given ErrorBudget and assigns it to the ErrorBudget field.
func (*Summary) SetSliValue ¶
SetSliValue gets a reference to the given float32 and assigns it to the SliValue field.
type TimeWindowCalendarAligned ¶
type TimeWindowCalendarAligned struct { // the duration formatted as {duration}{unit} Duration string `json:"duration"` Calendar TimeWindowCalendarAlignedCalendar `json:"calendar"` }
TimeWindowCalendarAligned Defines properties for calendar aligned time window
func NewTimeWindowCalendarAligned ¶
func NewTimeWindowCalendarAligned(duration string, calendar TimeWindowCalendarAlignedCalendar) *TimeWindowCalendarAligned
NewTimeWindowCalendarAligned instantiates a new TimeWindowCalendarAligned 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 NewTimeWindowCalendarAlignedWithDefaults ¶
func NewTimeWindowCalendarAlignedWithDefaults() *TimeWindowCalendarAligned
NewTimeWindowCalendarAlignedWithDefaults instantiates a new TimeWindowCalendarAligned 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 (*TimeWindowCalendarAligned) GetCalendar ¶
func (o *TimeWindowCalendarAligned) GetCalendar() TimeWindowCalendarAlignedCalendar
GetCalendar returns the Calendar field value
func (*TimeWindowCalendarAligned) GetCalendarOk ¶
func (o *TimeWindowCalendarAligned) GetCalendarOk() (*TimeWindowCalendarAlignedCalendar, bool)
GetCalendarOk returns a tuple with the Calendar field value and a boolean to check if the value has been set.
func (*TimeWindowCalendarAligned) GetDuration ¶
func (o *TimeWindowCalendarAligned) GetDuration() string
GetDuration returns the Duration field value
func (*TimeWindowCalendarAligned) GetDurationOk ¶
func (o *TimeWindowCalendarAligned) GetDurationOk() (*string, bool)
GetDurationOk returns a tuple with the Duration field value and a boolean to check if the value has been set.
func (TimeWindowCalendarAligned) MarshalJSON ¶
func (o TimeWindowCalendarAligned) MarshalJSON() ([]byte, error)
func (*TimeWindowCalendarAligned) SetCalendar ¶
func (o *TimeWindowCalendarAligned) SetCalendar(v TimeWindowCalendarAlignedCalendar)
SetCalendar sets field value
func (*TimeWindowCalendarAligned) SetDuration ¶
func (o *TimeWindowCalendarAligned) SetDuration(v string)
SetDuration sets field value
func (TimeWindowCalendarAligned) ToMap ¶
func (o TimeWindowCalendarAligned) ToMap() (map[string]interface{}, error)
type TimeWindowCalendarAlignedCalendar ¶
type TimeWindowCalendarAlignedCalendar struct { // The start date to use. StartTime *string `json:"startTime,omitempty"` }
TimeWindowCalendarAlignedCalendar Defines the calendar start date
func NewTimeWindowCalendarAlignedCalendar ¶
func NewTimeWindowCalendarAlignedCalendar() *TimeWindowCalendarAlignedCalendar
NewTimeWindowCalendarAlignedCalendar instantiates a new TimeWindowCalendarAlignedCalendar 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 NewTimeWindowCalendarAlignedCalendarWithDefaults ¶
func NewTimeWindowCalendarAlignedCalendarWithDefaults() *TimeWindowCalendarAlignedCalendar
NewTimeWindowCalendarAlignedCalendarWithDefaults instantiates a new TimeWindowCalendarAlignedCalendar 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 (*TimeWindowCalendarAlignedCalendar) GetStartTime ¶
func (o *TimeWindowCalendarAlignedCalendar) GetStartTime() string
GetStartTime returns the StartTime field value if set, zero value otherwise.
func (*TimeWindowCalendarAlignedCalendar) GetStartTimeOk ¶
func (o *TimeWindowCalendarAlignedCalendar) GetStartTimeOk() (*string, bool)
GetStartTimeOk returns a tuple with the StartTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeWindowCalendarAlignedCalendar) HasStartTime ¶
func (o *TimeWindowCalendarAlignedCalendar) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (TimeWindowCalendarAlignedCalendar) MarshalJSON ¶
func (o TimeWindowCalendarAlignedCalendar) MarshalJSON() ([]byte, error)
func (*TimeWindowCalendarAlignedCalendar) SetStartTime ¶
func (o *TimeWindowCalendarAlignedCalendar) SetStartTime(v string)
SetStartTime gets a reference to the given string and assigns it to the StartTime field.
func (TimeWindowCalendarAlignedCalendar) ToMap ¶
func (o TimeWindowCalendarAlignedCalendar) ToMap() (map[string]interface{}, error)
type TimeWindowRolling ¶
type TimeWindowRolling struct { // the duration formatted as {duration}{unit} Duration string `json:"duration"` // Indicates a rolling time window IsRolling bool `json:"isRolling"` }
TimeWindowRolling Defines properties for rolling time window
func NewTimeWindowRolling ¶
func NewTimeWindowRolling(duration string, isRolling bool) *TimeWindowRolling
NewTimeWindowRolling instantiates a new TimeWindowRolling 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 NewTimeWindowRollingWithDefaults ¶
func NewTimeWindowRollingWithDefaults() *TimeWindowRolling
NewTimeWindowRollingWithDefaults instantiates a new TimeWindowRolling 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 (*TimeWindowRolling) GetDuration ¶
func (o *TimeWindowRolling) GetDuration() string
GetDuration returns the Duration field value
func (*TimeWindowRolling) GetDurationOk ¶
func (o *TimeWindowRolling) GetDurationOk() (*string, bool)
GetDurationOk returns a tuple with the Duration field value and a boolean to check if the value has been set.
func (*TimeWindowRolling) GetIsRolling ¶
func (o *TimeWindowRolling) GetIsRolling() bool
GetIsRolling returns the IsRolling field value
func (*TimeWindowRolling) GetIsRollingOk ¶
func (o *TimeWindowRolling) GetIsRollingOk() (*bool, bool)
GetIsRollingOk returns a tuple with the IsRolling field value and a boolean to check if the value has been set.
func (TimeWindowRolling) MarshalJSON ¶
func (o TimeWindowRolling) MarshalJSON() ([]byte, error)
func (*TimeWindowRolling) SetDuration ¶
func (o *TimeWindowRolling) SetDuration(v string)
SetDuration sets field value
func (*TimeWindowRolling) SetIsRolling ¶
func (o *TimeWindowRolling) SetIsRolling(v bool)
SetIsRolling sets field value
func (TimeWindowRolling) ToMap ¶
func (o TimeWindowRolling) ToMap() (map[string]interface{}, error)
type UpdateSloRequest ¶
type UpdateSloRequest struct { // A name for the SLO. Name *string `json:"name,omitempty"` // A description for the SLO. Description *string `json:"description,omitempty"` Indicator *SloResponseIndicator `json:"indicator,omitempty"` TimeWindow *SloResponseTimeWindow `json:"timeWindow,omitempty"` BudgetingMethod *BudgetingMethod `json:"budgetingMethod,omitempty"` Objective *Objective `json:"objective,omitempty"` Settings *Settings `json:"settings,omitempty"` }
UpdateSloRequest The update SLO API request body varies depending on the type of indicator, time window and budgeting method. Partial update is handled.
func NewUpdateSloRequest ¶
func NewUpdateSloRequest() *UpdateSloRequest
NewUpdateSloRequest instantiates a new UpdateSloRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateSloRequestWithDefaults ¶
func NewUpdateSloRequestWithDefaults() *UpdateSloRequest
NewUpdateSloRequestWithDefaults instantiates a new UpdateSloRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateSloRequest) GetBudgetingMethod ¶
func (o *UpdateSloRequest) GetBudgetingMethod() BudgetingMethod
GetBudgetingMethod returns the BudgetingMethod field value if set, zero value otherwise.
func (*UpdateSloRequest) GetBudgetingMethodOk ¶
func (o *UpdateSloRequest) GetBudgetingMethodOk() (*BudgetingMethod, bool)
GetBudgetingMethodOk returns a tuple with the BudgetingMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSloRequest) GetDescription ¶
func (o *UpdateSloRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateSloRequest) GetDescriptionOk ¶
func (o *UpdateSloRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSloRequest) GetIndicator ¶
func (o *UpdateSloRequest) GetIndicator() SloResponseIndicator
GetIndicator returns the Indicator field value if set, zero value otherwise.
func (*UpdateSloRequest) GetIndicatorOk ¶
func (o *UpdateSloRequest) GetIndicatorOk() (*SloResponseIndicator, bool)
GetIndicatorOk returns a tuple with the Indicator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSloRequest) GetName ¶
func (o *UpdateSloRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateSloRequest) GetNameOk ¶
func (o *UpdateSloRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSloRequest) GetObjective ¶
func (o *UpdateSloRequest) GetObjective() Objective
GetObjective returns the Objective field value if set, zero value otherwise.
func (*UpdateSloRequest) GetObjectiveOk ¶
func (o *UpdateSloRequest) GetObjectiveOk() (*Objective, bool)
GetObjectiveOk returns a tuple with the Objective field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSloRequest) GetSettings ¶
func (o *UpdateSloRequest) GetSettings() Settings
GetSettings returns the Settings field value if set, zero value otherwise.
func (*UpdateSloRequest) GetSettingsOk ¶
func (o *UpdateSloRequest) GetSettingsOk() (*Settings, bool)
GetSettingsOk returns a tuple with the Settings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSloRequest) GetTimeWindow ¶
func (o *UpdateSloRequest) GetTimeWindow() SloResponseTimeWindow
GetTimeWindow returns the TimeWindow field value if set, zero value otherwise.
func (*UpdateSloRequest) GetTimeWindowOk ¶
func (o *UpdateSloRequest) GetTimeWindowOk() (*SloResponseTimeWindow, bool)
GetTimeWindowOk returns a tuple with the TimeWindow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateSloRequest) HasBudgetingMethod ¶
func (o *UpdateSloRequest) HasBudgetingMethod() bool
HasBudgetingMethod returns a boolean if a field has been set.
func (*UpdateSloRequest) HasDescription ¶
func (o *UpdateSloRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateSloRequest) HasIndicator ¶
func (o *UpdateSloRequest) HasIndicator() bool
HasIndicator returns a boolean if a field has been set.
func (*UpdateSloRequest) HasName ¶
func (o *UpdateSloRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateSloRequest) HasObjective ¶
func (o *UpdateSloRequest) HasObjective() bool
HasObjective returns a boolean if a field has been set.
func (*UpdateSloRequest) HasSettings ¶
func (o *UpdateSloRequest) HasSettings() bool
HasSettings returns a boolean if a field has been set.
func (*UpdateSloRequest) HasTimeWindow ¶
func (o *UpdateSloRequest) HasTimeWindow() bool
HasTimeWindow returns a boolean if a field has been set.
func (UpdateSloRequest) MarshalJSON ¶
func (o UpdateSloRequest) MarshalJSON() ([]byte, error)
func (*UpdateSloRequest) SetBudgetingMethod ¶
func (o *UpdateSloRequest) SetBudgetingMethod(v BudgetingMethod)
SetBudgetingMethod gets a reference to the given BudgetingMethod and assigns it to the BudgetingMethod field.
func (*UpdateSloRequest) SetDescription ¶
func (o *UpdateSloRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateSloRequest) SetIndicator ¶
func (o *UpdateSloRequest) SetIndicator(v SloResponseIndicator)
SetIndicator gets a reference to the given SloResponseIndicator and assigns it to the Indicator field.
func (*UpdateSloRequest) SetName ¶
func (o *UpdateSloRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateSloRequest) SetObjective ¶
func (o *UpdateSloRequest) SetObjective(v Objective)
SetObjective gets a reference to the given Objective and assigns it to the Objective field.
func (*UpdateSloRequest) SetSettings ¶
func (o *UpdateSloRequest) SetSettings(v Settings)
SetSettings gets a reference to the given Settings and assigns it to the Settings field.
func (*UpdateSloRequest) SetTimeWindow ¶
func (o *UpdateSloRequest) SetTimeWindow(v SloResponseTimeWindow)
SetTimeWindow gets a reference to the given SloResponseTimeWindow and assigns it to the TimeWindow field.
func (UpdateSloRequest) ToMap ¶
func (o UpdateSloRequest) ToMap() (map[string]interface{}, error)
Source Files ¶
- api_slos.go
- client.go
- configuration.go
- model_4xx_response.go
- model_budgeting_method.go
- model_create_slo_request.go
- model_create_slo_response.go
- model_error_budget.go
- model_find_slo_response.go
- model_historical_summary_request.go
- model_historical_summary_response_inner.go
- model_indicator_properties_apm_availability.go
- model_indicator_properties_apm_availability_params.go
- model_indicator_properties_apm_latency.go
- model_indicator_properties_apm_latency_params.go
- model_indicator_properties_custom_kql.go
- model_indicator_properties_custom_kql_params.go
- model_objective.go
- model_settings.go
- model_slo_response.go
- model_slo_response_indicator.go
- model_slo_response_time_window.go
- model_summary.go
- model_time_window_calendar_aligned.go
- model_time_window_calendar_aligned_calendar.go
- model_time_window_rolling.go
- model_update_slo_request.go
- response.go
- utils.go