models

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIError

type APIError struct {

	// An optional private error code whose values are undefined.
	Code int32 `json:"code,omitempty"`

	// An error message describing what went wrong.
	Message string `json:"message,omitempty"`
}

APIError api error

swagger:model apiError

func (*APIError) ContextValidate

func (m *APIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this api error based on context it is used

func (*APIError) MarshalBinary

func (m *APIError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIError) UnmarshalBinary

func (m *APIError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIError) Validate

func (m *APIError) Validate(formats strfmt.Registry) error

Validate validates this api error

type CommonLabel added in v1.14.0

type CommonLabel struct {

	// name
	Name string `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

CommonLabel common label

swagger:model commonLabel

func (*CommonLabel) ContextValidate added in v1.14.0

func (m *CommonLabel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this common label based on context it is used

func (*CommonLabel) MarshalBinary added in v1.14.0

func (m *CommonLabel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommonLabel) UnmarshalBinary added in v1.14.0

func (m *CommonLabel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommonLabel) Validate added in v1.14.0

func (m *CommonLabel) Validate(formats strfmt.Registry) error

Validate validates this common label

type CommonPromQLMatcher added in v1.14.0

type CommonPromQLMatcher struct {

	// type
	Type CommonPromQLMatcherType `json:"type,omitempty"`

	// Prometheus label name for the matcher
	Name string `json:"name,omitempty"`

	// Prometheus label value for the matcher
	Value string `json:"value,omitempty"`
}

CommonPromQLMatcher common prom q l matcher

swagger:model commonPromQLMatcher

func (*CommonPromQLMatcher) ContextValidate added in v1.14.0

func (m *CommonPromQLMatcher) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this common prom q l matcher based on the context it is used

func (*CommonPromQLMatcher) MarshalBinary added in v1.14.0

func (m *CommonPromQLMatcher) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommonPromQLMatcher) UnmarshalBinary added in v1.14.0

func (m *CommonPromQLMatcher) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommonPromQLMatcher) Validate added in v1.14.0

func (m *CommonPromQLMatcher) Validate(formats strfmt.Registry) error

Validate validates this common prom q l matcher

type CommonPromQLMatcherType added in v1.14.0

type CommonPromQLMatcherType string

CommonPromQLMatcherType common prom q l matcher type

swagger:model commonPromQLMatcherType

const (

	// CommonPromQLMatcherTypeMatchEqual captures enum value "MatchEqual"
	CommonPromQLMatcherTypeMatchEqual CommonPromQLMatcherType = "MatchEqual"

	// CommonPromQLMatcherTypeMatchRegexp captures enum value "MatchRegexp"
	CommonPromQLMatcherTypeMatchRegexp CommonPromQLMatcherType = "MatchRegexp"

	// CommonPromQLMatcherTypeMatchNotEqual captures enum value "MatchNotEqual"
	CommonPromQLMatcherTypeMatchNotEqual CommonPromQLMatcherType = "MatchNotEqual"

	// CommonPromQLMatcherTypeMatchNotRegexp captures enum value "MatchNotRegexp"
	CommonPromQLMatcherTypeMatchNotRegexp CommonPromQLMatcherType = "MatchNotRegexp"
)

func NewCommonPromQLMatcherType added in v1.14.0

func NewCommonPromQLMatcherType(value CommonPromQLMatcherType) *CommonPromQLMatcherType

func (CommonPromQLMatcherType) ContextValidate added in v1.14.0

func (m CommonPromQLMatcherType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this common prom q l matcher type based on context it is used

func (CommonPromQLMatcherType) Pointer added in v1.14.0

Pointer returns a pointer to a freshly-allocated CommonPromQLMatcherType.

func (CommonPromQLMatcherType) Validate added in v1.14.0

func (m CommonPromQLMatcherType) Validate(formats strfmt.Registry) error

Validate validates this common prom q l matcher type

type Configv1PageParams added in v1.14.0

type Configv1PageParams struct {

	// Page size preference (i.e. how many items are returned in the next
	// page). If zero, the server will use a default. Regardless of what size
	// is given, clients must never assume how many items will be returned.
	MaxSize int64 `json:"max_size,omitempty"`

	// Opaque page token identifying which page to request. An empty token
	// identifies the first page.
	Token string `json:"token,omitempty"`
}

Configv1PageParams configv1 page params

swagger:model configv1PageParams

func (*Configv1PageParams) ContextValidate added in v1.14.0

func (m *Configv1PageParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 page params based on context it is used

func (*Configv1PageParams) MarshalBinary added in v1.14.0

func (m *Configv1PageParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1PageParams) UnmarshalBinary added in v1.14.0

func (m *Configv1PageParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1PageParams) Validate added in v1.14.0

func (m *Configv1PageParams) Validate(formats strfmt.Registry) error

Validate validates this configv1 page params

type Configv1PageResult added in v1.14.0

type Configv1PageResult struct {

	// Opaque page token which identifies the next page of items which the
	// client should request. An empty next_token indicates that there are no
	// more items to return.
	NextToken string `json:"next_token,omitempty"`
}

Configv1PageResult configv1 page result

swagger:model configv1PageResult

func (*Configv1PageResult) ContextValidate added in v1.14.0

func (m *Configv1PageResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configv1 page result based on context it is used

func (*Configv1PageResult) MarshalBinary added in v1.14.0

func (m *Configv1PageResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Configv1PageResult) UnmarshalBinary added in v1.14.0

func (m *Configv1PageResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Configv1PageResult) Validate added in v1.14.0

func (m *Configv1PageResult) Validate(formats strfmt.Registry) error

Validate validates this configv1 page result

type GenericError

type GenericError interface{}

GenericError generic error

swagger:model genericError

type ListMonitorStatusesRequestSortOrder added in v1.14.0

type ListMonitorStatusesRequestSortOrder string

ListMonitorStatusesRequestSortOrder list monitor statuses request sort order

swagger:model ListMonitorStatusesRequestSortOrder

const (

	// ListMonitorStatusesRequestSortOrderSORTBYSTATE captures enum value "SORT_BY_STATE"
	ListMonitorStatusesRequestSortOrderSORTBYSTATE ListMonitorStatusesRequestSortOrder = "SORT_BY_STATE"
)

func NewListMonitorStatusesRequestSortOrder added in v1.14.0

func NewListMonitorStatusesRequestSortOrder(value ListMonitorStatusesRequestSortOrder) *ListMonitorStatusesRequestSortOrder

func (ListMonitorStatusesRequestSortOrder) ContextValidate added in v1.14.0

func (m ListMonitorStatusesRequestSortOrder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list monitor statuses request sort order based on context it is used

func (ListMonitorStatusesRequestSortOrder) Pointer added in v1.14.0

Pointer returns a pointer to a freshly-allocated ListMonitorStatusesRequestSortOrder.

func (ListMonitorStatusesRequestSortOrder) Validate added in v1.14.0

Validate validates this list monitor statuses request sort order

type MonitorStatusSignalStatus added in v1.14.0

type MonitorStatusSignalStatus struct {

	// state
	State StateunstableAlertingState `json:"state,omitempty"`

	// severity
	Severity string `json:"severity,omitempty"`

	// Signal labels.
	SignalLabels []*CommonLabel `json:"signal_labels"`

	// series
	Series []*SignalStatusSeriesStatus `json:"series"`
}

MonitorStatusSignalStatus monitor status signal status

swagger:model MonitorStatusSignalStatus

func (*MonitorStatusSignalStatus) ContextValidate added in v1.14.0

func (m *MonitorStatusSignalStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this monitor status signal status based on the context it is used

func (*MonitorStatusSignalStatus) MarshalBinary added in v1.14.0

func (m *MonitorStatusSignalStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitorStatusSignalStatus) UnmarshalBinary added in v1.14.0

func (m *MonitorStatusSignalStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitorStatusSignalStatus) Validate added in v1.14.0

func (m *MonitorStatusSignalStatus) Validate(formats strfmt.Registry) error

Validate validates this monitor status signal status

type ProtobufAny

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`

	// protobuf any
	ProtobufAny map[string]interface{} `json:"-"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProtobufAny) MarshalJSON added in v1.14.0

func (m ProtobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) UnmarshalJSON added in v1.14.0

func (m *ProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RecurringBudgetResource added in v1.14.0

type RecurringBudgetResource string

RecurringBudgetResource recurring budget resource

swagger:model RecurringBudgetResource

const (

	// RecurringBudgetResourceLOGPERSISTEDBYTES captures enum value "LOG_PERSISTED_BYTES"
	RecurringBudgetResourceLOGPERSISTEDBYTES RecurringBudgetResource = "LOG_PERSISTED_BYTES"
)

func NewRecurringBudgetResource added in v1.14.0

func NewRecurringBudgetResource(value RecurringBudgetResource) *RecurringBudgetResource

func (RecurringBudgetResource) ContextValidate added in v1.14.0

func (m RecurringBudgetResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recurring budget resource based on context it is used

func (RecurringBudgetResource) Pointer added in v1.14.0

Pointer returns a pointer to a freshly-allocated RecurringBudgetResource.

func (RecurringBudgetResource) Validate added in v1.14.0

func (m RecurringBudgetResource) Validate(formats strfmt.Registry) error

Validate validates this recurring budget resource

type SignalStatusSeriesStatus added in v1.14.0

type SignalStatusSeriesStatus struct {

	// state
	State StateunstableAlertingState `json:"state,omitempty"`

	// severity
	Severity string `json:"severity,omitempty"`

	// Series labels.
	Labels []*CommonLabel `json:"labels"`

	// started at
	// Format: date-time
	StartedAt strfmt.DateTime `json:"started_at,omitempty"`
}

SignalStatusSeriesStatus signal status series status

swagger:model SignalStatusSeriesStatus

func (*SignalStatusSeriesStatus) ContextValidate added in v1.14.0

func (m *SignalStatusSeriesStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this signal status series status based on the context it is used

func (*SignalStatusSeriesStatus) MarshalBinary added in v1.14.0

func (m *SignalStatusSeriesStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignalStatusSeriesStatus) UnmarshalBinary added in v1.14.0

func (m *SignalStatusSeriesStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignalStatusSeriesStatus) Validate added in v1.14.0

func (m *SignalStatusSeriesStatus) Validate(formats strfmt.Registry) error

Validate validates this signal status series status

type StateunstableAlertingState added in v1.14.0

type StateunstableAlertingState string

StateunstableAlertingState - ALERTING_STATE_PASS: Monitor is not triggered.

  • ALERTING_STATE_PENDING: Monitor is triggered but not yet alerting.
  • ALERTING_STATE_ALERTING: Monitor is triggered and alerting.
  • ALERTING_STATE_MUTED: Monitor is triggered but is muted.

swagger:model stateunstableAlertingState

const (

	// StateunstableAlertingStateALERTINGSTATEPASS captures enum value "ALERTING_STATE_PASS"
	StateunstableAlertingStateALERTINGSTATEPASS StateunstableAlertingState = "ALERTING_STATE_PASS"

	// StateunstableAlertingStateALERTINGSTATEPENDING captures enum value "ALERTING_STATE_PENDING"
	StateunstableAlertingStateALERTINGSTATEPENDING StateunstableAlertingState = "ALERTING_STATE_PENDING"

	// StateunstableAlertingStateALERTINGSTATEALERTING captures enum value "ALERTING_STATE_ALERTING"
	StateunstableAlertingStateALERTINGSTATEALERTING StateunstableAlertingState = "ALERTING_STATE_ALERTING"

	// StateunstableAlertingStateALERTINGSTATEMUTED captures enum value "ALERTING_STATE_MUTED"
	StateunstableAlertingStateALERTINGSTATEMUTED StateunstableAlertingState = "ALERTING_STATE_MUTED"
)

func NewStateunstableAlertingState added in v1.14.0

func NewStateunstableAlertingState(value StateunstableAlertingState) *StateunstableAlertingState

func (StateunstableAlertingState) ContextValidate added in v1.14.0

func (m StateunstableAlertingState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stateunstable alerting state based on context it is used

func (StateunstableAlertingState) Pointer added in v1.14.0

Pointer returns a pointer to a freshly-allocated StateunstableAlertingState.

func (StateunstableAlertingState) Validate added in v1.14.0

func (m StateunstableAlertingState) Validate(formats strfmt.Registry) error

Validate validates this stateunstable alerting state

type StateunstableConsumptionDatapoint added in v1.14.0

type StateunstableConsumptionDatapoint struct {

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// volume
	Volume string `json:"volume,omitempty"`
}

StateunstableConsumptionDatapoint Datapoint representing a cumulative consumption volume at some point in time.

swagger:model stateunstableConsumptionDatapoint

func (*StateunstableConsumptionDatapoint) ContextValidate added in v1.14.0

func (m *StateunstableConsumptionDatapoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stateunstable consumption datapoint based on context it is used

func (*StateunstableConsumptionDatapoint) MarshalBinary added in v1.14.0

func (m *StateunstableConsumptionDatapoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StateunstableConsumptionDatapoint) UnmarshalBinary added in v1.14.0

func (m *StateunstableConsumptionDatapoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StateunstableConsumptionDatapoint) Validate added in v1.14.0

Validate validates this stateunstable consumption datapoint

type StateunstableConsumptionRateDatapoint added in v1.14.0

type StateunstableConsumptionRateDatapoint struct {

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// volume per sec
	VolumePerSec float64 `json:"volume_per_sec,omitempty"`
}

StateunstableConsumptionRateDatapoint Datapoint representing a consumption rate at some point in time.

swagger:model stateunstableConsumptionRateDatapoint

func (*StateunstableConsumptionRateDatapoint) ContextValidate added in v1.14.0

func (m *StateunstableConsumptionRateDatapoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stateunstable consumption rate datapoint based on context it is used

func (*StateunstableConsumptionRateDatapoint) MarshalBinary added in v1.14.0

func (m *StateunstableConsumptionRateDatapoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StateunstableConsumptionRateDatapoint) UnmarshalBinary added in v1.14.0

func (m *StateunstableConsumptionRateDatapoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StateunstableConsumptionRateDatapoint) Validate added in v1.14.0

Validate validates this stateunstable consumption rate datapoint

type StateunstableEchoResponse

type StateunstableEchoResponse struct {

	// message
	Message string `json:"message,omitempty"`
}

StateunstableEchoResponse stateunstable echo response

swagger:model stateunstableEchoResponse

func (*StateunstableEchoResponse) ContextValidate

func (m *StateunstableEchoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stateunstable echo response based on context it is used

func (*StateunstableEchoResponse) MarshalBinary

func (m *StateunstableEchoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StateunstableEchoResponse) UnmarshalBinary

func (m *StateunstableEchoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StateunstableEchoResponse) Validate

func (m *StateunstableEchoResponse) Validate(formats strfmt.Registry) error

Validate validates this stateunstable echo response

type StateunstableListMonitorStatusesResponse added in v1.14.0

type StateunstableListMonitorStatusesResponse struct {

	// monitor statuses
	MonitorStatuses []*StateunstableMonitorStatus `json:"monitor_statuses"`
}

StateunstableListMonitorStatusesResponse stateunstable list monitor statuses response

swagger:model stateunstableListMonitorStatusesResponse

func (*StateunstableListMonitorStatusesResponse) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable list monitor statuses response based on the context it is used

func (*StateunstableListMonitorStatusesResponse) MarshalBinary added in v1.14.0

func (m *StateunstableListMonitorStatusesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StateunstableListMonitorStatusesResponse) UnmarshalBinary added in v1.14.0

func (m *StateunstableListMonitorStatusesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StateunstableListMonitorStatusesResponse) Validate added in v1.14.0

Validate validates this stateunstable list monitor statuses response

type StateunstableMonitorStatus added in v1.14.0

type StateunstableMonitorStatus struct {

	// slug
	Slug string `json:"slug,omitempty"`

	// state
	State StateunstableAlertingState `json:"state,omitempty"`

	// severity
	Severity string `json:"severity,omitempty"`

	// signals
	Signals []*MonitorStatusSignalStatus `json:"signals"`
}

StateunstableMonitorStatus MonitorStatus contains the status of a monitor.

swagger:model stateunstableMonitorStatus

func (*StateunstableMonitorStatus) ContextValidate added in v1.14.0

func (m *StateunstableMonitorStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stateunstable monitor status based on the context it is used

func (*StateunstableMonitorStatus) MarshalBinary added in v1.14.0

func (m *StateunstableMonitorStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StateunstableMonitorStatus) UnmarshalBinary added in v1.14.0

func (m *StateunstableMonitorStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StateunstableMonitorStatus) Validate added in v1.14.0

func (m *StateunstableMonitorStatus) Validate(formats strfmt.Registry) error

Validate validates this stateunstable monitor status

type StateunstableQueryConsumptionByBudgetResponse added in v1.14.0

type StateunstableQueryConsumptionByBudgetResponse struct {

	// Paginated list of series in ascending chronological order. Different paginated responses to this endpoint for the same
	// call can return different budget's time series; the caller is expected to concat datapoints for previously seen
	// budget series.
	Series []*StateunstableQueryConsumptionByBudgetResponseTimeSeries `json:"series"`

	// page
	Page *Configv1PageResult `json:"page,omitempty"`
}

StateunstableQueryConsumptionByBudgetResponse stateunstable query consumption by budget response

swagger:model stateunstableQueryConsumptionByBudgetResponse

func (*StateunstableQueryConsumptionByBudgetResponse) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable query consumption by budget response based on the context it is used

func (*StateunstableQueryConsumptionByBudgetResponse) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionByBudgetResponse) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionByBudgetResponse) Validate added in v1.14.0

Validate validates this stateunstable query consumption by budget response

type StateunstableQueryConsumptionByBudgetResponseTimeSeries added in v1.14.0

type StateunstableQueryConsumptionByBudgetResponseTimeSeries struct {

	// budget slug
	BudgetSlug string `json:"budget_slug,omitempty"`

	// datapoints
	Datapoints []*StateunstableConsumptionDatapoint `json:"datapoints"`
}

StateunstableQueryConsumptionByBudgetResponseTimeSeries stateunstable query consumption by budget response time series

swagger:model stateunstableQueryConsumptionByBudgetResponseTimeSeries

func (*StateunstableQueryConsumptionByBudgetResponseTimeSeries) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable query consumption by budget response time series based on the context it is used

func (*StateunstableQueryConsumptionByBudgetResponseTimeSeries) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionByBudgetResponseTimeSeries) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionByBudgetResponseTimeSeries) Validate added in v1.14.0

Validate validates this stateunstable query consumption by budget response time series

type StateunstableQueryConsumptionRateByBudgetResponse added in v1.14.0

type StateunstableQueryConsumptionRateByBudgetResponse struct {

	// Paginated list of series in ascending chronological order. Different paginated responses to this endpoint for the same call can return different
	// budget's time series; the caller is expected to concat datapoints for previously seen budget series.
	Series []*StateunstableQueryConsumptionRateByBudgetResponseTimeSeries `json:"series"`

	// page
	Page *Configv1PageResult `json:"page,omitempty"`
}

StateunstableQueryConsumptionRateByBudgetResponse stateunstable query consumption rate by budget response

swagger:model stateunstableQueryConsumptionRateByBudgetResponse

func (*StateunstableQueryConsumptionRateByBudgetResponse) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable query consumption rate by budget response based on the context it is used

func (*StateunstableQueryConsumptionRateByBudgetResponse) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateByBudgetResponse) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateByBudgetResponse) Validate added in v1.14.0

Validate validates this stateunstable query consumption rate by budget response

type StateunstableQueryConsumptionRateByBudgetResponseTimeSeries added in v1.14.0

type StateunstableQueryConsumptionRateByBudgetResponseTimeSeries struct {

	// budget slug
	BudgetSlug string `json:"budget_slug,omitempty"`

	// datapoints
	Datapoints []*StateunstableConsumptionRateDatapoint `json:"datapoints"`
}

StateunstableQueryConsumptionRateByBudgetResponseTimeSeries stateunstable query consumption rate by budget response time series

swagger:model stateunstableQueryConsumptionRateByBudgetResponseTimeSeries

func (*StateunstableQueryConsumptionRateByBudgetResponseTimeSeries) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable query consumption rate by budget response time series based on the context it is used

func (*StateunstableQueryConsumptionRateByBudgetResponseTimeSeries) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateByBudgetResponseTimeSeries) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateByBudgetResponseTimeSeries) Validate added in v1.14.0

Validate validates this stateunstable query consumption rate by budget response time series

type StateunstableQueryConsumptionRateResponse added in v1.14.0

type StateunstableQueryConsumptionRateResponse struct {

	// series
	Series *StateunstableQueryConsumptionRateResponseTimeSeries `json:"series,omitempty"`

	// page
	Page *Configv1PageResult `json:"page,omitempty"`
}

StateunstableQueryConsumptionRateResponse stateunstable query consumption rate response

swagger:model stateunstableQueryConsumptionRateResponse

func (*StateunstableQueryConsumptionRateResponse) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable query consumption rate response based on the context it is used

func (*StateunstableQueryConsumptionRateResponse) MarshalBinary added in v1.14.0

func (m *StateunstableQueryConsumptionRateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateResponse) UnmarshalBinary added in v1.14.0

func (m *StateunstableQueryConsumptionRateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateResponse) Validate added in v1.14.0

Validate validates this stateunstable query consumption rate response

type StateunstableQueryConsumptionRateResponseTimeSeries added in v1.14.0

type StateunstableQueryConsumptionRateResponseTimeSeries struct {

	// datapoints
	Datapoints []*StateunstableConsumptionRateDatapoint `json:"datapoints"`
}

StateunstableQueryConsumptionRateResponseTimeSeries stateunstable query consumption rate response time series

swagger:model stateunstableQueryConsumptionRateResponseTimeSeries

func (*StateunstableQueryConsumptionRateResponseTimeSeries) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable query consumption rate response time series based on the context it is used

func (*StateunstableQueryConsumptionRateResponseTimeSeries) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateResponseTimeSeries) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionRateResponseTimeSeries) Validate added in v1.14.0

Validate validates this stateunstable query consumption rate response time series

type StateunstableQueryConsumptionResponse added in v1.14.0

type StateunstableQueryConsumptionResponse struct {

	// series
	Series *StateunstableQueryConsumptionResponseTimeSeries `json:"series,omitempty"`

	// page
	Page *Configv1PageResult `json:"page,omitempty"`
}

StateunstableQueryConsumptionResponse stateunstable query consumption response

swagger:model stateunstableQueryConsumptionResponse

func (*StateunstableQueryConsumptionResponse) ContextValidate added in v1.14.0

func (m *StateunstableQueryConsumptionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stateunstable query consumption response based on the context it is used

func (*StateunstableQueryConsumptionResponse) MarshalBinary added in v1.14.0

func (m *StateunstableQueryConsumptionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionResponse) UnmarshalBinary added in v1.14.0

func (m *StateunstableQueryConsumptionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionResponse) Validate added in v1.14.0

Validate validates this stateunstable query consumption response

type StateunstableQueryConsumptionResponseTimeSeries added in v1.14.0

type StateunstableQueryConsumptionResponseTimeSeries struct {

	// datapoints
	Datapoints []*StateunstableConsumptionDatapoint `json:"datapoints"`
}

StateunstableQueryConsumptionResponseTimeSeries stateunstable query consumption response time series

swagger:model stateunstableQueryConsumptionResponseTimeSeries

func (*StateunstableQueryConsumptionResponseTimeSeries) ContextValidate added in v1.14.0

ContextValidate validate this stateunstable query consumption response time series based on the context it is used

func (*StateunstableQueryConsumptionResponseTimeSeries) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*StateunstableQueryConsumptionResponseTimeSeries) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*StateunstableQueryConsumptionResponseTimeSeries) Validate added in v1.14.0

Validate validates this stateunstable query consumption response time series

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL