client

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateApiKeysRequest

func NewCreateApiKeysRequest(server string, instance string, body CreateApiKeysJSONRequestBody) (*http.Request, error)

NewCreateApiKeysRequest calls the generic CreateApiKeys builder with application/json body

func NewCreateApiKeysRequestWithBody

func NewCreateApiKeysRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateApiKeysRequestWithBody generates requests for CreateApiKeys with any type of body

func NewCreateBulkRequest

func NewCreateBulkRequest(server string, instance string, body CreateBulkJSONRequestBody) (*http.Request, error)

NewCreateBulkRequest calls the generic CreateBulk builder with application/json body

func NewCreateBulkRequestWithBody

func NewCreateBulkRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateBulkRequestWithBody generates requests for CreateBulk with any type of body

func NewCreateDashboardsRequest

func NewCreateDashboardsRequest(server string, instance string, body CreateDashboardsJSONRequestBody) (*http.Request, error)

NewCreateDashboardsRequest calls the generic CreateDashboards builder with application/json body

func NewCreateDashboardsRequestWithBody

func NewCreateDashboardsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDashboardsRequestWithBody generates requests for CreateDashboards with any type of body

func NewCreateDropRulesRequest

func NewCreateDropRulesRequest(server string, instance string, body CreateDropRulesJSONRequestBody) (*http.Request, error)

NewCreateDropRulesRequest calls the generic CreateDropRules builder with application/json body

func NewCreateDropRulesRequestWithBody

func NewCreateDropRulesRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDropRulesRequestWithBody generates requests for CreateDropRules with any type of body

func NewCreateFoldersRequest

func NewCreateFoldersRequest(server string, instance string, body CreateFoldersJSONRequestBody) (*http.Request, error)

NewCreateFoldersRequest calls the generic CreateFolders builder with application/json body

func NewCreateFoldersRequestWithBody

func NewCreateFoldersRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateFoldersRequestWithBody generates requests for CreateFolders with any type of body

func NewCreateInvitationsRequest

func NewCreateInvitationsRequest(server string, instance string, body CreateInvitationsJSONRequestBody) (*http.Request, error)

NewCreateInvitationsRequest calls the generic CreateInvitations builder with application/json body

func NewCreateInvitationsRequestWithBody

func NewCreateInvitationsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateInvitationsRequestWithBody generates requests for CreateInvitations with any type of body

func NewCreateLogmetricsRequest

func NewCreateLogmetricsRequest(server string, instance string, body CreateLogmetricsJSONRequestBody) (*http.Request, error)

NewCreateLogmetricsRequest calls the generic CreateLogmetrics builder with application/json body

func NewCreateLogmetricsRequestWithBody

func NewCreateLogmetricsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateLogmetricsRequestWithBody generates requests for CreateLogmetrics with any type of body

func NewCreateMonitorsRequest

func NewCreateMonitorsRequest(server string, instance string, body CreateMonitorsJSONRequestBody) (*http.Request, error)

NewCreateMonitorsRequest calls the generic CreateMonitors builder with application/json body

func NewCreateMonitorsRequestWithBody

func NewCreateMonitorsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateMonitorsRequestWithBody generates requests for CreateMonitors with any type of body

func NewCreateMutingRulesRequest

func NewCreateMutingRulesRequest(server string, instance string, body CreateMutingRulesJSONRequestBody) (*http.Request, error)

NewCreateMutingRulesRequest calls the generic CreateMutingRules builder with application/json body

func NewCreateMutingRulesRequestWithBody

func NewCreateMutingRulesRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateMutingRulesRequestWithBody generates requests for CreateMutingRules with any type of body

func NewCreateNotificationPoliciesRequest

func NewCreateNotificationPoliciesRequest(server string, instance string, body CreateNotificationPoliciesJSONRequestBody) (*http.Request, error)

NewCreateNotificationPoliciesRequest calls the generic CreateNotificationPolicies builder with application/json body

func NewCreateNotificationPoliciesRequestWithBody

func NewCreateNotificationPoliciesRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateNotificationPoliciesRequestWithBody generates requests for CreateNotificationPolicies with any type of body

func NewCreateNotifiersRequest

func NewCreateNotifiersRequest(server string, instance string, body CreateNotifiersJSONRequestBody) (*http.Request, error)

NewCreateNotifiersRequest calls the generic CreateNotifiers builder with application/json body

func NewCreateNotifiersRequestWithBody

func NewCreateNotifiersRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateNotifiersRequestWithBody generates requests for CreateNotifiers with any type of body

func NewCreateRunByIdRequest

func NewCreateRunByIdRequest(server string, instance string, id string) (*http.Request, error)

NewCreateRunByIdRequest generates requests for CreateRunById

func NewCreateSyntheticMonitorsRequest

func NewCreateSyntheticMonitorsRequest(server string, instance string, body CreateSyntheticMonitorsJSONRequestBody) (*http.Request, error)

NewCreateSyntheticMonitorsRequest calls the generic CreateSyntheticMonitors builder with application/json body

func NewCreateSyntheticMonitorsRequestWithBody

func NewCreateSyntheticMonitorsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSyntheticMonitorsRequestWithBody generates requests for CreateSyntheticMonitors with any type of body

func NewCreateTemplateFilesRequest

func NewCreateTemplateFilesRequest(server string, instance string) (*http.Request, error)

NewCreateTemplateFilesRequest generates requests for CreateTemplateFiles

func NewDeleteApiKeysByIdRequest

func NewDeleteApiKeysByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteApiKeysByIdRequest generates requests for DeleteApiKeysById

func NewDeleteDashboardsByIdRequest

func NewDeleteDashboardsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteDashboardsByIdRequest generates requests for DeleteDashboardsById

func NewDeleteDropRulesByIdRequest

func NewDeleteDropRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteDropRulesByIdRequest generates requests for DeleteDropRulesById

func NewDeleteInvitationsByIdRequest

func NewDeleteInvitationsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteInvitationsByIdRequest generates requests for DeleteInvitationsById

func NewDeleteLogmetricsByIdRequest

func NewDeleteLogmetricsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteLogmetricsByIdRequest generates requests for DeleteLogmetricsById

func NewDeleteMonitorsByIdRequest

func NewDeleteMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteMonitorsByIdRequest generates requests for DeleteMonitorsById

func NewDeleteMonitorsRequest

func NewDeleteMonitorsRequest(server string, instance string, body DeleteMonitorsJSONRequestBody) (*http.Request, error)

NewDeleteMonitorsRequest calls the generic DeleteMonitors builder with application/json body

func NewDeleteMonitorsRequestWithBody

func NewDeleteMonitorsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteMonitorsRequestWithBody generates requests for DeleteMonitors with any type of body

func NewDeleteMutingRulesByIdRequest

func NewDeleteMutingRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteMutingRulesByIdRequest generates requests for DeleteMutingRulesById

func NewDeleteNotificationPoliciesByIdRequest

func NewDeleteNotificationPoliciesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteNotificationPoliciesByIdRequest generates requests for DeleteNotificationPoliciesById

func NewDeleteNotifiersByIdRequest

func NewDeleteNotifiersByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteNotifiersByIdRequest generates requests for DeleteNotifiersById

func NewDeleteSyntheticMonitorsByIdRequest

func NewDeleteSyntheticMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteSyntheticMonitorsByIdRequest generates requests for DeleteSyntheticMonitorsById

func NewGetApiKeysByIdRequest

func NewGetApiKeysByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetApiKeysByIdRequest generates requests for GetApiKeysById

func NewGetDashboardsByIdRequest

func NewGetDashboardsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetDashboardsByIdRequest generates requests for GetDashboardsById

func NewGetDropRulesByIdRequest

func NewGetDropRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetDropRulesByIdRequest generates requests for GetDropRulesById

func NewGetIntegrationSetupSpecRequest added in v0.6.0

func NewGetIntegrationSetupSpecRequest(server string, integrationType string) (*http.Request, error)

NewGetIntegrationSetupSpecRequest generates requests for GetIntegrationSetupSpec

func NewGetLabelsByIdRequest

func NewGetLabelsByIdRequest(server string, instance string, metricName string, params *GetLabelsByIdParams) (*http.Request, error)

NewGetLabelsByIdRequest generates requests for GetLabelsById

func NewGetLogmetricsByIdRequest

func NewGetLogmetricsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetLogmetricsByIdRequest generates requests for GetLogmetricsById

func NewGetMonitorStateByIdRequest

func NewGetMonitorStateByIdRequest(server string, instance string, id string, params *GetMonitorStateByIdParams) (*http.Request, error)

NewGetMonitorStateByIdRequest generates requests for GetMonitorStateById

func NewGetMonitorsByIdRequest

func NewGetMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetMonitorsByIdRequest generates requests for GetMonitorsById

func NewGetMutingRulesByIdRequest

func NewGetMutingRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetMutingRulesByIdRequest generates requests for GetMutingRulesById

func NewGetNotificationPoliciesByIdRequest

func NewGetNotificationPoliciesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetNotificationPoliciesByIdRequest generates requests for GetNotificationPoliciesById

func NewGetNotifiersByIdRequest

func NewGetNotifiersByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetNotifiersByIdRequest generates requests for GetNotifiersById

func NewGetSyntheticMonitorsByIdRequest

func NewGetSyntheticMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetSyntheticMonitorsByIdRequest generates requests for GetSyntheticMonitorsById

func NewGetTraceLabelValuesByIdRequest added in v0.2.0

func NewGetTraceLabelValuesByIdRequest(server string, instance string, labelName string, params *GetTraceLabelValuesByIdParams) (*http.Request, error)

NewGetTraceLabelValuesByIdRequest generates requests for GetTraceLabelValuesById

func NewGetTracesByIdRequest

func NewGetTracesByIdRequest(server string, instance string, traceId string, params *GetTracesByIdParams) (*http.Request, error)

NewGetTracesByIdRequest generates requests for GetTracesById

func NewGetValuesByIdRequest

func NewGetValuesByIdRequest(server string, instance string, metricName string, labelName string, params *GetValuesByIdParams) (*http.Request, error)

NewGetValuesByIdRequest generates requests for GetValuesById

func NewListApiKeysRequest

func NewListApiKeysRequest(server string, instance string) (*http.Request, error)

NewListApiKeysRequest generates requests for ListApiKeys

func NewListDashboardsRequest

func NewListDashboardsRequest(server string, instance string) (*http.Request, error)

NewListDashboardsRequest generates requests for ListDashboards

func NewListDropRulesRequest

func NewListDropRulesRequest(server string, instance string) (*http.Request, error)

NewListDropRulesRequest generates requests for ListDropRules

func NewListFoldersRequest

func NewListFoldersRequest(server string, instance string) (*http.Request, error)

NewListFoldersRequest generates requests for ListFolders

func NewListIntegrationsRequest added in v0.6.0

func NewListIntegrationsRequest(server string, instance string) (*http.Request, error)

NewListIntegrationsRequest generates requests for ListIntegrations

func NewListInvitationsOpRequest

func NewListInvitationsOpRequest(server string, instance string) (*http.Request, error)

NewListInvitationsOpRequest generates requests for ListInvitationsOp

func NewListLabelsRequest

func NewListLabelsRequest(server string, instance string, params *ListLabelsParams) (*http.Request, error)

NewListLabelsRequest generates requests for ListLabels

func NewListLogIndexPatternsRequest added in v0.4.0

func NewListLogIndexPatternsRequest(server string) (*http.Request, error)

NewListLogIndexPatternsRequest generates requests for ListLogIndexPatterns

func NewListLogmetricsRequest

func NewListLogmetricsRequest(server string, instance string) (*http.Request, error)

NewListLogmetricsRequest generates requests for ListLogmetrics

func NewListMonitorTriggersRequest

func NewListMonitorTriggersRequest(server string, instance string) (*http.Request, error)

NewListMonitorTriggersRequest generates requests for ListMonitorTriggers

func NewListMonitorsRequest

func NewListMonitorsRequest(server string, instance string) (*http.Request, error)

NewListMonitorsRequest generates requests for ListMonitors

func NewListMutingRulesRequest

func NewListMutingRulesRequest(server string, instance string) (*http.Request, error)

NewListMutingRulesRequest generates requests for ListMutingRules

func NewListNamesRequest

func NewListNamesRequest(server string, instance string, params *ListNamesParams) (*http.Request, error)

NewListNamesRequest generates requests for ListNames

func NewListNotificationPoliciesRequest

func NewListNotificationPoliciesRequest(server string, instance string) (*http.Request, error)

NewListNotificationPoliciesRequest generates requests for ListNotificationPolicies

func NewListNotifiersRequest

func NewListNotifiersRequest(server string, instance string) (*http.Request, error)

NewListNotifiersRequest generates requests for ListNotifiers

func NewListOauthProtectedResourceRequest added in v0.6.0

func NewListOauthProtectedResourceRequest(server string) (*http.Request, error)

NewListOauthProtectedResourceRequest generates requests for ListOauthProtectedResource

func NewListOauthProtectedResourceV1Request added in v0.6.0

func NewListOauthProtectedResourceV1Request(server string) (*http.Request, error)

NewListOauthProtectedResourceV1Request generates requests for ListOauthProtectedResourceV1

func NewListSyntheticMonitorsOpRequest added in v0.2.0

func NewListSyntheticMonitorsOpRequest(server string, instance string) (*http.Request, error)

NewListSyntheticMonitorsOpRequest generates requests for ListSyntheticMonitorsOp

func NewListTracesRequest

func NewListTracesRequest(server string, instance string, params *ListTracesParams) (*http.Request, error)

NewListTracesRequest generates requests for ListTraces

func NewListUsersOpRequest

func NewListUsersOpRequest(server string, instance string, params *ListUsersOpParams) (*http.Request, error)

NewListUsersOpRequest generates requests for ListUsersOp

func NewQueryLogsRequestWithBody added in v0.4.0

func NewQueryLogsRequestWithBody(server string, params *QueryLogsParams, contentType string, body io.Reader) (*http.Request, error)

NewQueryLogsRequestWithBody generates requests for QueryLogs with any type of body

func NewQueryMetricsInstantRequest added in v0.4.0

func NewQueryMetricsInstantRequest(server string, params *QueryMetricsInstantParams) (*http.Request, error)

NewQueryMetricsInstantRequest generates requests for QueryMetricsInstant

func NewQueryMetricsRangeRequest added in v0.4.0

func NewQueryMetricsRangeRequest(server string, params *QueryMetricsRangeParams) (*http.Request, error)

NewQueryMetricsRangeRequest generates requests for QueryMetricsRange

func NewUpdateDropRulesByIdRequest

func NewUpdateDropRulesByIdRequest(server string, instance string, id string, body UpdateDropRulesByIdJSONRequestBody) (*http.Request, error)

NewUpdateDropRulesByIdRequest calls the generic UpdateDropRulesById builder with application/json body

func NewUpdateDropRulesByIdRequestWithBody

func NewUpdateDropRulesByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDropRulesByIdRequestWithBody generates requests for UpdateDropRulesById with any type of body

func NewUpdateLogmetricsByIdRequest

func NewUpdateLogmetricsByIdRequest(server string, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody) (*http.Request, error)

NewUpdateLogmetricsByIdRequest calls the generic UpdateLogmetricsById builder with application/json body

func NewUpdateLogmetricsByIdRequestWithBody

func NewUpdateLogmetricsByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateLogmetricsByIdRequestWithBody generates requests for UpdateLogmetricsById with any type of body

func NewUpdateMonitorsByIdRequest

func NewUpdateMonitorsByIdRequest(server string, instance string, id string, body UpdateMonitorsByIdJSONRequestBody) (*http.Request, error)

NewUpdateMonitorsByIdRequest calls the generic UpdateMonitorsById builder with application/json body

func NewUpdateMonitorsByIdRequestWithBody

func NewUpdateMonitorsByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateMonitorsByIdRequestWithBody generates requests for UpdateMonitorsById with any type of body

func NewUpdateNotificationPoliciesByIdRequest

func NewUpdateNotificationPoliciesByIdRequest(server string, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody) (*http.Request, error)

NewUpdateNotificationPoliciesByIdRequest calls the generic UpdateNotificationPoliciesById builder with application/json body

func NewUpdateNotificationPoliciesByIdRequestWithBody

func NewUpdateNotificationPoliciesByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateNotificationPoliciesByIdRequestWithBody generates requests for UpdateNotificationPoliciesById with any type of body

func NewUpdateNotifiersByIdRequest

func NewUpdateNotifiersByIdRequest(server string, instance string, id string, body UpdateNotifiersByIdJSONRequestBody) (*http.Request, error)

NewUpdateNotifiersByIdRequest calls the generic UpdateNotifiersById builder with application/json body

func NewUpdateNotifiersByIdRequestWithBody

func NewUpdateNotifiersByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateNotifiersByIdRequestWithBody generates requests for UpdateNotifiersById with any type of body

func NewUpdateSyntheticMonitorsByIdRequest

func NewUpdateSyntheticMonitorsByIdRequest(server string, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody) (*http.Request, error)

NewUpdateSyntheticMonitorsByIdRequest calls the generic UpdateSyntheticMonitorsById builder with application/json body

func NewUpdateSyntheticMonitorsByIdRequestWithBody

func NewUpdateSyntheticMonitorsByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSyntheticMonitorsByIdRequestWithBody generates requests for UpdateSyntheticMonitorsById with any type of body

Types

type ApiKey

type ApiKey struct {
	CreatedAtEpochMillis  int       `json:"createdAtEpochMillis"`
	DeletedAtEpochMillis  *int      `json:"deletedAtEpochMillis,omitempty"`
	ExpiresAtEpochMillis  int       `json:"expiresAtEpochMillis"`
	Id                    string    `json:"id"`
	IsPrimary             bool      `json:"isPrimary"`
	LastUsedAtEpochMillis int       `json:"lastUsedAtEpochMillis"`
	Name                  string    `json:"name"`
	Roles                 *[]string `json:"roles,omitempty"`
	Scopes                *[]string `json:"scopes,omitempty"`
	Token                 string    `json:"token"`
	UpdatedAtEpochMillis  int       `json:"updatedAtEpochMillis"`
}

ApiKey defines model for ApiKey.

type Authorization

type Authorization struct {
	Credentials     *string `json:"credentials,omitempty"`
	CredentialsFile *string `json:"credentials_file,omitempty"`

	// CredentialsRef CredentialsRef is the name of the secret within the secret manager to use as credentials.
	CredentialsRef *string `json:"credentials_ref,omitempty"`
	Type           *string `json:"type,omitempty"`
}

Authorization Authorization contains HTTP authorization credentials.

type BasicAuth

type BasicAuth struct {
	Password     *string `json:"password,omitempty"`
	PasswordFile *string `json:"password_file,omitempty"`

	// PasswordRef PasswordRef is the name of the secret within the secret manager to use as the password.
	PasswordRef  *string `json:"password_ref,omitempty"`
	Username     string  `json:"username"`
	UsernameFile *string `json:"username_file,omitempty"`

	// UsernameRef UsernameRef is the name of the secret within the secret manager to use as the username.
	UsernameRef *string `json:"username_ref,omitempty"`
}

BasicAuth BasicAuth contains basic HTTP authentication credentials.

type BulkDeleteMonitorsRequest added in v0.2.0

type BulkDeleteMonitorsRequest struct {
	Ids *[]string `json:"ids"`
}

BulkDeleteMonitorsRequest BulkDeleteMonitorsRequest is the JSON body of `DELETE /monitors`.

Clients pass the monitor IDs to delete via the `ids` field. An empty or missing list is rejected by the handler.

type BulkSendInvitationItem

type BulkSendInvitationItem struct {
	Email string    `json:"email"`
	Roles *[]string `json:"roles"`
}

BulkSendInvitationItem BulkSendInvitationItem represents a single invitee within a bulk invitation request.

type BulkSendInvitationRequest

type BulkSendInvitationRequest struct {
	Invitations *[]BulkSendInvitationItem `json:"invitations"`
	SenderEmail string                    `json:"sender_email"`
}

BulkSendInvitationRequest BulkSendInvitationRequest is the request body for sending multiple organization invitations in one call.

type BulkSendInvitationResponse

type BulkSendInvitationResponse struct {
	Items *[]BulkSendInvitationResultItem `json:"items"`
}

BulkSendInvitationResponse BulkSendInvitationResponse is the response body for a bulk invitation request. Each item corresponds positionally to the input invitations array.

type BulkSendInvitationResultItem

type BulkSendInvitationResultItem struct {
	Email string  `json:"email"`
	Error *string `json:"error,omitempty"`

	// Invitation UserInvitation is the API representation of an invitation.
	Invitation *UserInvitation `json:"invitation,omitempty"`
}

BulkSendInvitationResultItem BulkSendInvitationResultItem holds the outcome of a single invitation within a bulk request.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateApiKeys

func (c *Client) CreateApiKeys(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateApiKeysWithBody

func (c *Client) CreateApiKeysWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBulk

func (c *Client) CreateBulk(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBulkWithBody

func (c *Client) CreateBulkWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDashboards

func (c *Client) CreateDashboards(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDashboardsWithBody

func (c *Client) CreateDashboardsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDropRules

func (c *Client) CreateDropRules(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDropRulesWithBody

func (c *Client) CreateDropRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFolders

func (c *Client) CreateFolders(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFoldersWithBody

func (c *Client) CreateFoldersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInvitations

func (c *Client) CreateInvitations(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInvitationsWithBody

func (c *Client) CreateInvitationsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLogmetrics

func (c *Client) CreateLogmetrics(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLogmetricsWithBody

func (c *Client) CreateLogmetricsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMonitors

func (c *Client) CreateMonitors(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMonitorsWithBody

func (c *Client) CreateMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMutingRules

func (c *Client) CreateMutingRules(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMutingRulesWithBody

func (c *Client) CreateMutingRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotificationPolicies

func (c *Client) CreateNotificationPolicies(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotificationPoliciesWithBody

func (c *Client) CreateNotificationPoliciesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotifiers

func (c *Client) CreateNotifiers(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotifiersWithBody

func (c *Client) CreateNotifiersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateRunById

func (c *Client) CreateRunById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSyntheticMonitors

func (c *Client) CreateSyntheticMonitors(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSyntheticMonitorsWithBody

func (c *Client) CreateSyntheticMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTemplateFiles

func (c *Client) CreateTemplateFiles(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiKeysById

func (c *Client) DeleteApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDashboardsById

func (c *Client) DeleteDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDropRulesById

func (c *Client) DeleteDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInvitationsById

func (c *Client) DeleteInvitationsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteLogmetricsById

func (c *Client) DeleteLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMonitors

func (c *Client) DeleteMonitors(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMonitorsById

func (c *Client) DeleteMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMonitorsWithBody

func (c *Client) DeleteMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMutingRulesById

func (c *Client) DeleteMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNotificationPoliciesById

func (c *Client) DeleteNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNotifiersById

func (c *Client) DeleteNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSyntheticMonitorsById

func (c *Client) DeleteSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiKeysById

func (c *Client) GetApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDashboardsById

func (c *Client) GetDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDropRulesById

func (c *Client) GetDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIntegrationSetupSpec added in v0.6.0

func (c *Client) GetIntegrationSetupSpec(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLabelsById

func (c *Client) GetLabelsById(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLogmetricsById

func (c *Client) GetLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMonitorStateById

func (c *Client) GetMonitorStateById(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMonitorsById

func (c *Client) GetMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMutingRulesById

func (c *Client) GetMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNotificationPoliciesById

func (c *Client) GetNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNotifiersById

func (c *Client) GetNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSyntheticMonitorsById

func (c *Client) GetSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTraceLabelValuesById added in v0.2.0

func (c *Client) GetTraceLabelValuesById(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTracesById

func (c *Client) GetTracesById(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetValuesById

func (c *Client) GetValuesById(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListApiKeys

func (c *Client) ListApiKeys(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDashboards

func (c *Client) ListDashboards(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDropRules

func (c *Client) ListDropRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListFolders

func (c *Client) ListFolders(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListIntegrations added in v0.6.0

func (c *Client) ListIntegrations(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListInvitationsOp

func (c *Client) ListInvitationsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLabels

func (c *Client) ListLabels(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLogIndexPatterns added in v0.4.0

func (c *Client) ListLogIndexPatterns(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLogmetrics

func (c *Client) ListLogmetrics(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMonitorTriggers

func (c *Client) ListMonitorTriggers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMonitors

func (c *Client) ListMonitors(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMutingRules

func (c *Client) ListMutingRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNames

func (c *Client) ListNames(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNotificationPolicies

func (c *Client) ListNotificationPolicies(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNotifiers

func (c *Client) ListNotifiers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListOauthProtectedResource added in v0.6.0

func (c *Client) ListOauthProtectedResource(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListOauthProtectedResourceV1 added in v0.6.0

func (c *Client) ListOauthProtectedResourceV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSyntheticMonitorsOp added in v0.2.0

func (c *Client) ListSyntheticMonitorsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTraces

func (c *Client) ListTraces(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListUsersOp

func (c *Client) ListUsersOp(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryLogsWithBody added in v0.4.0

func (c *Client) QueryLogsWithBody(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryMetricsInstant added in v0.4.0

func (c *Client) QueryMetricsInstant(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryMetricsRange added in v0.4.0

func (c *Client) QueryMetricsRange(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDropRulesById

func (c *Client) UpdateDropRulesById(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDropRulesByIdWithBody

func (c *Client) UpdateDropRulesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLogmetricsById

func (c *Client) UpdateLogmetricsById(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLogmetricsByIdWithBody

func (c *Client) UpdateLogmetricsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateMonitorsById

func (c *Client) UpdateMonitorsById(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateMonitorsByIdWithBody

func (c *Client) UpdateMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotificationPoliciesById

func (c *Client) UpdateNotificationPoliciesById(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotificationPoliciesByIdWithBody

func (c *Client) UpdateNotificationPoliciesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotifiersById

func (c *Client) UpdateNotifiersById(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotifiersByIdWithBody

func (c *Client) UpdateNotifiersByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSyntheticMonitorsById

func (c *Client) UpdateSyntheticMonitorsById(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSyntheticMonitorsByIdWithBody

func (c *Client) UpdateSyntheticMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListOauthProtectedResource request
	ListOauthProtectedResource(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLogIndexPatterns request
	ListLogIndexPatterns(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryMetricsInstant request
	QueryMetricsInstant(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryLogsWithBody request with any body
	QueryLogsWithBody(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryMetricsRange request
	QueryMetricsRange(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOauthProtectedResourceV1 request
	ListOauthProtectedResourceV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListApiKeys request
	ListApiKeys(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateApiKeysWithBody request with any body
	CreateApiKeysWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateApiKeys(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKeysById request
	DeleteApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiKeysById request
	GetApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDropRules request
	ListDropRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDropRulesWithBody request with any body
	CreateDropRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDropRules(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDropRulesById request
	DeleteDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDropRulesById request
	GetDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDropRulesByIdWithBody request with any body
	UpdateDropRulesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDropRulesById(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDashboards request
	ListDashboards(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDashboardsWithBody request with any body
	CreateDashboardsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDashboards(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDashboardsById request
	DeleteDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDashboardsById request
	GetDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListFolders request
	ListFolders(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateFoldersWithBody request with any body
	CreateFoldersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateFolders(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIntegrations request
	ListIntegrations(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLogmetrics request
	ListLogmetrics(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLogmetricsWithBody request with any body
	CreateLogmetricsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateLogmetrics(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLogmetricsById request
	DeleteLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLogmetricsById request
	GetLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLogmetricsByIdWithBody request with any body
	UpdateLogmetricsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateLogmetricsById(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNames request
	ListNames(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLabelsById request
	GetLabelsById(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetValuesById request
	GetValuesById(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMonitorStateById request
	GetMonitorStateById(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMonitorTriggers request
	ListMonitorTriggers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMonitorsWithBody request with any body
	DeleteMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteMonitors(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMonitors request
	ListMonitors(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMonitorsWithBody request with any body
	CreateMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateMonitors(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMonitorsById request
	DeleteMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMonitorsById request
	GetMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMonitorsByIdWithBody request with any body
	UpdateMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateMonitorsById(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMutingRules request
	ListMutingRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMutingRulesWithBody request with any body
	CreateMutingRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateMutingRules(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMutingRulesById request
	DeleteMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMutingRulesById request
	GetMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNotificationPolicies request
	ListNotificationPolicies(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateNotificationPoliciesWithBody request with any body
	CreateNotificationPoliciesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateNotificationPolicies(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNotificationPoliciesById request
	DeleteNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNotificationPoliciesById request
	GetNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateNotificationPoliciesByIdWithBody request with any body
	UpdateNotificationPoliciesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateNotificationPoliciesById(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNotifiers request
	ListNotifiers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateNotifiersWithBody request with any body
	CreateNotifiersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateNotifiers(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNotifiersById request
	DeleteNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNotifiersById request
	GetNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateNotifiersByIdWithBody request with any body
	UpdateNotifiersByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateNotifiersById(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSyntheticMonitorsOp request
	ListSyntheticMonitorsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSyntheticMonitorsWithBody request with any body
	CreateSyntheticMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSyntheticMonitors(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSyntheticMonitorsById request
	DeleteSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSyntheticMonitorsById request
	GetSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSyntheticMonitorsByIdWithBody request with any body
	UpdateSyntheticMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSyntheticMonitorsById(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRunById request
	CreateRunById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTemplateFiles request
	CreateTemplateFiles(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLabels request
	ListLabels(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTraceLabelValuesById request
	GetTraceLabelValuesById(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTraces request
	ListTraces(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTracesById request
	GetTracesById(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUsersOp request
	ListUsersOp(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInvitationsOp request
	ListInvitationsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInvitationsWithBody request with any body
	CreateInvitationsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateInvitations(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBulkWithBody request with any body
	CreateBulkWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateBulk(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInvitationsById request
	DeleteInvitationsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegrationSetupSpec request
	GetIntegrationSetupSpec(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateApiKeysWithBodyWithResponse

func (c *ClientWithResponses) CreateApiKeysWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

CreateApiKeysWithBodyWithResponse request with arbitrary body returning *CreateApiKeysResponse

func (*ClientWithResponses) CreateApiKeysWithResponse

func (c *ClientWithResponses) CreateApiKeysWithResponse(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

func (*ClientWithResponses) CreateBulkWithBodyWithResponse

func (c *ClientWithResponses) CreateBulkWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

CreateBulkWithBodyWithResponse request with arbitrary body returning *CreateBulkResponse

func (*ClientWithResponses) CreateBulkWithResponse

func (c *ClientWithResponses) CreateBulkWithResponse(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

func (*ClientWithResponses) CreateDashboardsWithBodyWithResponse

func (c *ClientWithResponses) CreateDashboardsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

CreateDashboardsWithBodyWithResponse request with arbitrary body returning *CreateDashboardsResponse

func (*ClientWithResponses) CreateDashboardsWithResponse

func (c *ClientWithResponses) CreateDashboardsWithResponse(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

func (*ClientWithResponses) CreateDropRulesWithBodyWithResponse

func (c *ClientWithResponses) CreateDropRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

CreateDropRulesWithBodyWithResponse request with arbitrary body returning *CreateDropRulesResponse

func (*ClientWithResponses) CreateDropRulesWithResponse

func (c *ClientWithResponses) CreateDropRulesWithResponse(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

func (*ClientWithResponses) CreateFoldersWithBodyWithResponse

func (c *ClientWithResponses) CreateFoldersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

CreateFoldersWithBodyWithResponse request with arbitrary body returning *CreateFoldersResponse

func (*ClientWithResponses) CreateFoldersWithResponse

func (c *ClientWithResponses) CreateFoldersWithResponse(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

func (*ClientWithResponses) CreateInvitationsWithBodyWithResponse

func (c *ClientWithResponses) CreateInvitationsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

CreateInvitationsWithBodyWithResponse request with arbitrary body returning *CreateInvitationsResponse

func (*ClientWithResponses) CreateInvitationsWithResponse

func (c *ClientWithResponses) CreateInvitationsWithResponse(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

func (*ClientWithResponses) CreateLogmetricsWithBodyWithResponse

func (c *ClientWithResponses) CreateLogmetricsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

CreateLogmetricsWithBodyWithResponse request with arbitrary body returning *CreateLogmetricsResponse

func (*ClientWithResponses) CreateLogmetricsWithResponse

func (c *ClientWithResponses) CreateLogmetricsWithResponse(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

func (*ClientWithResponses) CreateMonitorsWithBodyWithResponse

func (c *ClientWithResponses) CreateMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

CreateMonitorsWithBodyWithResponse request with arbitrary body returning *CreateMonitorsResponse

func (*ClientWithResponses) CreateMonitorsWithResponse

func (c *ClientWithResponses) CreateMonitorsWithResponse(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

func (*ClientWithResponses) CreateMutingRulesWithBodyWithResponse

func (c *ClientWithResponses) CreateMutingRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

CreateMutingRulesWithBodyWithResponse request with arbitrary body returning *CreateMutingRulesResponse

func (*ClientWithResponses) CreateMutingRulesWithResponse

func (c *ClientWithResponses) CreateMutingRulesWithResponse(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

func (*ClientWithResponses) CreateNotificationPoliciesWithBodyWithResponse

func (c *ClientWithResponses) CreateNotificationPoliciesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

CreateNotificationPoliciesWithBodyWithResponse request with arbitrary body returning *CreateNotificationPoliciesResponse

func (*ClientWithResponses) CreateNotificationPoliciesWithResponse

func (c *ClientWithResponses) CreateNotificationPoliciesWithResponse(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

func (*ClientWithResponses) CreateNotifiersWithBodyWithResponse

func (c *ClientWithResponses) CreateNotifiersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

CreateNotifiersWithBodyWithResponse request with arbitrary body returning *CreateNotifiersResponse

func (*ClientWithResponses) CreateNotifiersWithResponse

func (c *ClientWithResponses) CreateNotifiersWithResponse(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

func (*ClientWithResponses) CreateRunByIdWithResponse

func (c *ClientWithResponses) CreateRunByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*CreateRunByIdResponse, error)

CreateRunByIdWithResponse request returning *CreateRunByIdResponse

func (*ClientWithResponses) CreateSyntheticMonitorsWithBodyWithResponse

func (c *ClientWithResponses) CreateSyntheticMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

CreateSyntheticMonitorsWithBodyWithResponse request with arbitrary body returning *CreateSyntheticMonitorsResponse

func (*ClientWithResponses) CreateSyntheticMonitorsWithResponse

func (c *ClientWithResponses) CreateSyntheticMonitorsWithResponse(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

func (*ClientWithResponses) CreateTemplateFilesWithResponse

func (c *ClientWithResponses) CreateTemplateFilesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*CreateTemplateFilesResponse, error)

CreateTemplateFilesWithResponse request returning *CreateTemplateFilesResponse

func (*ClientWithResponses) DeleteApiKeysByIdWithResponse

func (c *ClientWithResponses) DeleteApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteApiKeysByIdResponse, error)

DeleteApiKeysByIdWithResponse request returning *DeleteApiKeysByIdResponse

func (*ClientWithResponses) DeleteDashboardsByIdWithResponse

func (c *ClientWithResponses) DeleteDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardsByIdResponse, error)

DeleteDashboardsByIdWithResponse request returning *DeleteDashboardsByIdResponse

func (*ClientWithResponses) DeleteDropRulesByIdWithResponse

func (c *ClientWithResponses) DeleteDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDropRulesByIdResponse, error)

DeleteDropRulesByIdWithResponse request returning *DeleteDropRulesByIdResponse

func (*ClientWithResponses) DeleteInvitationsByIdWithResponse

func (c *ClientWithResponses) DeleteInvitationsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteInvitationsByIdResponse, error)

DeleteInvitationsByIdWithResponse request returning *DeleteInvitationsByIdResponse

func (*ClientWithResponses) DeleteLogmetricsByIdWithResponse

func (c *ClientWithResponses) DeleteLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteLogmetricsByIdResponse, error)

DeleteLogmetricsByIdWithResponse request returning *DeleteLogmetricsByIdResponse

func (*ClientWithResponses) DeleteMonitorsByIdWithResponse

func (c *ClientWithResponses) DeleteMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMonitorsByIdResponse, error)

DeleteMonitorsByIdWithResponse request returning *DeleteMonitorsByIdResponse

func (*ClientWithResponses) DeleteMonitorsWithBodyWithResponse

func (c *ClientWithResponses) DeleteMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

DeleteMonitorsWithBodyWithResponse request with arbitrary body returning *DeleteMonitorsResponse

func (*ClientWithResponses) DeleteMonitorsWithResponse

func (c *ClientWithResponses) DeleteMonitorsWithResponse(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

func (*ClientWithResponses) DeleteMutingRulesByIdWithResponse

func (c *ClientWithResponses) DeleteMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMutingRulesByIdResponse, error)

DeleteMutingRulesByIdWithResponse request returning *DeleteMutingRulesByIdResponse

func (*ClientWithResponses) DeleteNotificationPoliciesByIdWithResponse

func (c *ClientWithResponses) DeleteNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotificationPoliciesByIdResponse, error)

DeleteNotificationPoliciesByIdWithResponse request returning *DeleteNotificationPoliciesByIdResponse

func (*ClientWithResponses) DeleteNotifiersByIdWithResponse

func (c *ClientWithResponses) DeleteNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotifiersByIdResponse, error)

DeleteNotifiersByIdWithResponse request returning *DeleteNotifiersByIdResponse

func (*ClientWithResponses) DeleteSyntheticMonitorsByIdWithResponse

func (c *ClientWithResponses) DeleteSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteSyntheticMonitorsByIdResponse, error)

DeleteSyntheticMonitorsByIdWithResponse request returning *DeleteSyntheticMonitorsByIdResponse

func (*ClientWithResponses) GetApiKeysByIdWithResponse

func (c *ClientWithResponses) GetApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetApiKeysByIdResponse, error)

GetApiKeysByIdWithResponse request returning *GetApiKeysByIdResponse

func (*ClientWithResponses) GetDashboardsByIdWithResponse

func (c *ClientWithResponses) GetDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDashboardsByIdResponse, error)

GetDashboardsByIdWithResponse request returning *GetDashboardsByIdResponse

func (*ClientWithResponses) GetDropRulesByIdWithResponse

func (c *ClientWithResponses) GetDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDropRulesByIdResponse, error)

GetDropRulesByIdWithResponse request returning *GetDropRulesByIdResponse

func (*ClientWithResponses) GetIntegrationSetupSpecWithResponse added in v0.6.0

func (c *ClientWithResponses) GetIntegrationSetupSpecWithResponse(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*GetIntegrationSetupSpecResponse, error)

GetIntegrationSetupSpecWithResponse request returning *GetIntegrationSetupSpecResponse

func (*ClientWithResponses) GetLabelsByIdWithResponse

func (c *ClientWithResponses) GetLabelsByIdWithResponse(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*GetLabelsByIdResponse, error)

GetLabelsByIdWithResponse request returning *GetLabelsByIdResponse

func (*ClientWithResponses) GetLogmetricsByIdWithResponse

func (c *ClientWithResponses) GetLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetLogmetricsByIdResponse, error)

GetLogmetricsByIdWithResponse request returning *GetLogmetricsByIdResponse

func (*ClientWithResponses) GetMonitorStateByIdWithResponse

func (c *ClientWithResponses) GetMonitorStateByIdWithResponse(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*GetMonitorStateByIdResponse, error)

GetMonitorStateByIdWithResponse request returning *GetMonitorStateByIdResponse

func (*ClientWithResponses) GetMonitorsByIdWithResponse

func (c *ClientWithResponses) GetMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMonitorsByIdResponse, error)

GetMonitorsByIdWithResponse request returning *GetMonitorsByIdResponse

func (*ClientWithResponses) GetMutingRulesByIdWithResponse

func (c *ClientWithResponses) GetMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMutingRulesByIdResponse, error)

GetMutingRulesByIdWithResponse request returning *GetMutingRulesByIdResponse

func (*ClientWithResponses) GetNotificationPoliciesByIdWithResponse

func (c *ClientWithResponses) GetNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotificationPoliciesByIdResponse, error)

GetNotificationPoliciesByIdWithResponse request returning *GetNotificationPoliciesByIdResponse

func (*ClientWithResponses) GetNotifiersByIdWithResponse

func (c *ClientWithResponses) GetNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotifiersByIdResponse, error)

GetNotifiersByIdWithResponse request returning *GetNotifiersByIdResponse

func (*ClientWithResponses) GetSyntheticMonitorsByIdWithResponse

func (c *ClientWithResponses) GetSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetSyntheticMonitorsByIdResponse, error)

GetSyntheticMonitorsByIdWithResponse request returning *GetSyntheticMonitorsByIdResponse

func (*ClientWithResponses) GetTraceLabelValuesByIdWithResponse added in v0.2.0

func (c *ClientWithResponses) GetTraceLabelValuesByIdWithResponse(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*GetTraceLabelValuesByIdResponse, error)

GetTraceLabelValuesByIdWithResponse request returning *GetTraceLabelValuesByIdResponse

func (*ClientWithResponses) GetTracesByIdWithResponse

func (c *ClientWithResponses) GetTracesByIdWithResponse(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*GetTracesByIdResponse, error)

GetTracesByIdWithResponse request returning *GetTracesByIdResponse

func (*ClientWithResponses) GetValuesByIdWithResponse

func (c *ClientWithResponses) GetValuesByIdWithResponse(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*GetValuesByIdResponse, error)

GetValuesByIdWithResponse request returning *GetValuesByIdResponse

func (*ClientWithResponses) ListApiKeysWithResponse

func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)

ListApiKeysWithResponse request returning *ListApiKeysResponse

func (*ClientWithResponses) ListDashboardsWithResponse

func (c *ClientWithResponses) ListDashboardsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDashboardsResponse, error)

ListDashboardsWithResponse request returning *ListDashboardsResponse

func (*ClientWithResponses) ListDropRulesWithResponse

func (c *ClientWithResponses) ListDropRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDropRulesResponse, error)

ListDropRulesWithResponse request returning *ListDropRulesResponse

func (*ClientWithResponses) ListFoldersWithResponse

func (c *ClientWithResponses) ListFoldersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)

ListFoldersWithResponse request returning *ListFoldersResponse

func (*ClientWithResponses) ListIntegrationsWithResponse added in v0.6.0

func (c *ClientWithResponses) ListIntegrationsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListIntegrationsResponse, error)

ListIntegrationsWithResponse request returning *ListIntegrationsResponse

func (*ClientWithResponses) ListInvitationsOpWithResponse

func (c *ClientWithResponses) ListInvitationsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListInvitationsOpResponse, error)

ListInvitationsOpWithResponse request returning *ListInvitationsOpResponse

func (*ClientWithResponses) ListLabelsWithResponse

func (c *ClientWithResponses) ListLabelsWithResponse(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResponse, error)

ListLabelsWithResponse request returning *ListLabelsResponse

func (*ClientWithResponses) ListLogIndexPatternsWithResponse added in v0.4.0

func (c *ClientWithResponses) ListLogIndexPatternsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLogIndexPatternsResponse, error)

ListLogIndexPatternsWithResponse request returning *ListLogIndexPatternsResponse

func (*ClientWithResponses) ListLogmetricsWithResponse

func (c *ClientWithResponses) ListLogmetricsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListLogmetricsResponse, error)

ListLogmetricsWithResponse request returning *ListLogmetricsResponse

func (*ClientWithResponses) ListMonitorTriggersWithResponse

func (c *ClientWithResponses) ListMonitorTriggersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorTriggersResponse, error)

ListMonitorTriggersWithResponse request returning *ListMonitorTriggersResponse

func (*ClientWithResponses) ListMonitorsWithResponse

func (c *ClientWithResponses) ListMonitorsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorsResponse, error)

ListMonitorsWithResponse request returning *ListMonitorsResponse

func (*ClientWithResponses) ListMutingRulesWithResponse

func (c *ClientWithResponses) ListMutingRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMutingRulesResponse, error)

ListMutingRulesWithResponse request returning *ListMutingRulesResponse

func (*ClientWithResponses) ListNamesWithResponse

func (c *ClientWithResponses) ListNamesWithResponse(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*ListNamesResponse, error)

ListNamesWithResponse request returning *ListNamesResponse

func (*ClientWithResponses) ListNotificationPoliciesWithResponse

func (c *ClientWithResponses) ListNotificationPoliciesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotificationPoliciesResponse, error)

ListNotificationPoliciesWithResponse request returning *ListNotificationPoliciesResponse

func (*ClientWithResponses) ListNotifiersWithResponse

func (c *ClientWithResponses) ListNotifiersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotifiersResponse, error)

ListNotifiersWithResponse request returning *ListNotifiersResponse

func (*ClientWithResponses) ListOauthProtectedResourceV1WithResponse added in v0.6.0

func (c *ClientWithResponses) ListOauthProtectedResourceV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOauthProtectedResourceV1Response, error)

ListOauthProtectedResourceV1WithResponse request returning *ListOauthProtectedResourceV1Response

func (*ClientWithResponses) ListOauthProtectedResourceWithResponse added in v0.6.0

func (c *ClientWithResponses) ListOauthProtectedResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOauthProtectedResourceResponse, error)

ListOauthProtectedResourceWithResponse request returning *ListOauthProtectedResourceResponse

func (*ClientWithResponses) ListSyntheticMonitorsOpWithResponse added in v0.2.0

func (c *ClientWithResponses) ListSyntheticMonitorsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListSyntheticMonitorsOpResponse, error)

ListSyntheticMonitorsOpWithResponse request returning *ListSyntheticMonitorsOpResponse

func (*ClientWithResponses) ListTracesWithResponse

func (c *ClientWithResponses) ListTracesWithResponse(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*ListTracesResponse, error)

ListTracesWithResponse request returning *ListTracesResponse

func (*ClientWithResponses) ListUsersOpWithResponse

func (c *ClientWithResponses) ListUsersOpWithResponse(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*ListUsersOpResponse, error)

ListUsersOpWithResponse request returning *ListUsersOpResponse

func (*ClientWithResponses) QueryLogsWithBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) QueryLogsWithBodyWithResponse(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryLogsResponse, error)

QueryLogsWithBodyWithResponse request with arbitrary body returning *QueryLogsResponse

func (*ClientWithResponses) QueryMetricsInstantWithResponse added in v0.4.0

func (c *ClientWithResponses) QueryMetricsInstantWithResponse(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*QueryMetricsInstantResponse, error)

QueryMetricsInstantWithResponse request returning *QueryMetricsInstantResponse

func (*ClientWithResponses) QueryMetricsRangeWithResponse added in v0.4.0

func (c *ClientWithResponses) QueryMetricsRangeWithResponse(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*QueryMetricsRangeResponse, error)

QueryMetricsRangeWithResponse request returning *QueryMetricsRangeResponse

func (*ClientWithResponses) UpdateDropRulesByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateDropRulesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

UpdateDropRulesByIdWithBodyWithResponse request with arbitrary body returning *UpdateDropRulesByIdResponse

func (*ClientWithResponses) UpdateDropRulesByIdWithResponse

func (c *ClientWithResponses) UpdateDropRulesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

func (*ClientWithResponses) UpdateLogmetricsByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateLogmetricsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

UpdateLogmetricsByIdWithBodyWithResponse request with arbitrary body returning *UpdateLogmetricsByIdResponse

func (*ClientWithResponses) UpdateLogmetricsByIdWithResponse

func (c *ClientWithResponses) UpdateLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

func (*ClientWithResponses) UpdateMonitorsByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

UpdateMonitorsByIdWithBodyWithResponse request with arbitrary body returning *UpdateMonitorsByIdResponse

func (*ClientWithResponses) UpdateMonitorsByIdWithResponse

func (c *ClientWithResponses) UpdateMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

func (*ClientWithResponses) UpdateNotificationPoliciesByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateNotificationPoliciesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

UpdateNotificationPoliciesByIdWithBodyWithResponse request with arbitrary body returning *UpdateNotificationPoliciesByIdResponse

func (*ClientWithResponses) UpdateNotificationPoliciesByIdWithResponse

func (c *ClientWithResponses) UpdateNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

func (*ClientWithResponses) UpdateNotifiersByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateNotifiersByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

UpdateNotifiersByIdWithBodyWithResponse request with arbitrary body returning *UpdateNotifiersByIdResponse

func (*ClientWithResponses) UpdateNotifiersByIdWithResponse

func (c *ClientWithResponses) UpdateNotifiersByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

func (*ClientWithResponses) UpdateSyntheticMonitorsByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateSyntheticMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

UpdateSyntheticMonitorsByIdWithBodyWithResponse request with arbitrary body returning *UpdateSyntheticMonitorsByIdResponse

func (*ClientWithResponses) UpdateSyntheticMonitorsByIdWithResponse

func (c *ClientWithResponses) UpdateSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListOauthProtectedResourceWithResponse request
	ListOauthProtectedResourceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOauthProtectedResourceResponse, error)

	// ListLogIndexPatternsWithResponse request
	ListLogIndexPatternsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLogIndexPatternsResponse, error)

	// QueryMetricsInstantWithResponse request
	QueryMetricsInstantWithResponse(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*QueryMetricsInstantResponse, error)

	// QueryLogsWithBodyWithResponse request with any body
	QueryLogsWithBodyWithResponse(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryLogsResponse, error)

	// QueryMetricsRangeWithResponse request
	QueryMetricsRangeWithResponse(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*QueryMetricsRangeResponse, error)

	// ListOauthProtectedResourceV1WithResponse request
	ListOauthProtectedResourceV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOauthProtectedResourceV1Response, error)

	// ListApiKeysWithResponse request
	ListApiKeysWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)

	// CreateApiKeysWithBodyWithResponse request with any body
	CreateApiKeysWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

	CreateApiKeysWithResponse(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

	// DeleteApiKeysByIdWithResponse request
	DeleteApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteApiKeysByIdResponse, error)

	// GetApiKeysByIdWithResponse request
	GetApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetApiKeysByIdResponse, error)

	// ListDropRulesWithResponse request
	ListDropRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDropRulesResponse, error)

	// CreateDropRulesWithBodyWithResponse request with any body
	CreateDropRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

	CreateDropRulesWithResponse(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

	// DeleteDropRulesByIdWithResponse request
	DeleteDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDropRulesByIdResponse, error)

	// GetDropRulesByIdWithResponse request
	GetDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDropRulesByIdResponse, error)

	// UpdateDropRulesByIdWithBodyWithResponse request with any body
	UpdateDropRulesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

	UpdateDropRulesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

	// ListDashboardsWithResponse request
	ListDashboardsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDashboardsResponse, error)

	// CreateDashboardsWithBodyWithResponse request with any body
	CreateDashboardsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

	CreateDashboardsWithResponse(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

	// DeleteDashboardsByIdWithResponse request
	DeleteDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardsByIdResponse, error)

	// GetDashboardsByIdWithResponse request
	GetDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDashboardsByIdResponse, error)

	// ListFoldersWithResponse request
	ListFoldersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)

	// CreateFoldersWithBodyWithResponse request with any body
	CreateFoldersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

	CreateFoldersWithResponse(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

	// ListIntegrationsWithResponse request
	ListIntegrationsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListIntegrationsResponse, error)

	// ListLogmetricsWithResponse request
	ListLogmetricsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListLogmetricsResponse, error)

	// CreateLogmetricsWithBodyWithResponse request with any body
	CreateLogmetricsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

	CreateLogmetricsWithResponse(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

	// DeleteLogmetricsByIdWithResponse request
	DeleteLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteLogmetricsByIdResponse, error)

	// GetLogmetricsByIdWithResponse request
	GetLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetLogmetricsByIdResponse, error)

	// UpdateLogmetricsByIdWithBodyWithResponse request with any body
	UpdateLogmetricsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

	UpdateLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

	// ListNamesWithResponse request
	ListNamesWithResponse(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*ListNamesResponse, error)

	// GetLabelsByIdWithResponse request
	GetLabelsByIdWithResponse(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*GetLabelsByIdResponse, error)

	// GetValuesByIdWithResponse request
	GetValuesByIdWithResponse(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*GetValuesByIdResponse, error)

	// GetMonitorStateByIdWithResponse request
	GetMonitorStateByIdWithResponse(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*GetMonitorStateByIdResponse, error)

	// ListMonitorTriggersWithResponse request
	ListMonitorTriggersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorTriggersResponse, error)

	// DeleteMonitorsWithBodyWithResponse request with any body
	DeleteMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

	DeleteMonitorsWithResponse(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

	// ListMonitorsWithResponse request
	ListMonitorsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorsResponse, error)

	// CreateMonitorsWithBodyWithResponse request with any body
	CreateMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

	CreateMonitorsWithResponse(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

	// DeleteMonitorsByIdWithResponse request
	DeleteMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMonitorsByIdResponse, error)

	// GetMonitorsByIdWithResponse request
	GetMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMonitorsByIdResponse, error)

	// UpdateMonitorsByIdWithBodyWithResponse request with any body
	UpdateMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

	UpdateMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

	// ListMutingRulesWithResponse request
	ListMutingRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMutingRulesResponse, error)

	// CreateMutingRulesWithBodyWithResponse request with any body
	CreateMutingRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

	CreateMutingRulesWithResponse(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

	// DeleteMutingRulesByIdWithResponse request
	DeleteMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMutingRulesByIdResponse, error)

	// GetMutingRulesByIdWithResponse request
	GetMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMutingRulesByIdResponse, error)

	// ListNotificationPoliciesWithResponse request
	ListNotificationPoliciesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotificationPoliciesResponse, error)

	// CreateNotificationPoliciesWithBodyWithResponse request with any body
	CreateNotificationPoliciesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

	CreateNotificationPoliciesWithResponse(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

	// DeleteNotificationPoliciesByIdWithResponse request
	DeleteNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotificationPoliciesByIdResponse, error)

	// GetNotificationPoliciesByIdWithResponse request
	GetNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotificationPoliciesByIdResponse, error)

	// UpdateNotificationPoliciesByIdWithBodyWithResponse request with any body
	UpdateNotificationPoliciesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

	UpdateNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

	// ListNotifiersWithResponse request
	ListNotifiersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotifiersResponse, error)

	// CreateNotifiersWithBodyWithResponse request with any body
	CreateNotifiersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

	CreateNotifiersWithResponse(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

	// DeleteNotifiersByIdWithResponse request
	DeleteNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotifiersByIdResponse, error)

	// GetNotifiersByIdWithResponse request
	GetNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotifiersByIdResponse, error)

	// UpdateNotifiersByIdWithBodyWithResponse request with any body
	UpdateNotifiersByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

	UpdateNotifiersByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

	// ListSyntheticMonitorsOpWithResponse request
	ListSyntheticMonitorsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListSyntheticMonitorsOpResponse, error)

	// CreateSyntheticMonitorsWithBodyWithResponse request with any body
	CreateSyntheticMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

	CreateSyntheticMonitorsWithResponse(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

	// DeleteSyntheticMonitorsByIdWithResponse request
	DeleteSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteSyntheticMonitorsByIdResponse, error)

	// GetSyntheticMonitorsByIdWithResponse request
	GetSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetSyntheticMonitorsByIdResponse, error)

	// UpdateSyntheticMonitorsByIdWithBodyWithResponse request with any body
	UpdateSyntheticMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

	UpdateSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

	// CreateRunByIdWithResponse request
	CreateRunByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*CreateRunByIdResponse, error)

	// CreateTemplateFilesWithResponse request
	CreateTemplateFilesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*CreateTemplateFilesResponse, error)

	// ListLabelsWithResponse request
	ListLabelsWithResponse(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResponse, error)

	// GetTraceLabelValuesByIdWithResponse request
	GetTraceLabelValuesByIdWithResponse(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*GetTraceLabelValuesByIdResponse, error)

	// ListTracesWithResponse request
	ListTracesWithResponse(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*ListTracesResponse, error)

	// GetTracesByIdWithResponse request
	GetTracesByIdWithResponse(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*GetTracesByIdResponse, error)

	// ListUsersOpWithResponse request
	ListUsersOpWithResponse(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*ListUsersOpResponse, error)

	// ListInvitationsOpWithResponse request
	ListInvitationsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListInvitationsOpResponse, error)

	// CreateInvitationsWithBodyWithResponse request with any body
	CreateInvitationsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

	CreateInvitationsWithResponse(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

	// CreateBulkWithBodyWithResponse request with any body
	CreateBulkWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

	CreateBulkWithResponse(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

	// DeleteInvitationsByIdWithResponse request
	DeleteInvitationsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteInvitationsByIdResponse, error)

	// GetIntegrationSetupSpecWithResponse request
	GetIntegrationSetupSpecWithResponse(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*GetIntegrationSetupSpecResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Condition

type Condition struct {
	// AlertOnNoData Deprecated: use ConditionBySeverity#NoData instead
	// AlertOnNoData indicates whether the alert should be triggered
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AlertOnNoData *bool `json:"alert_on_no_data,omitempty"`

	// For For is the duration for which the condition should be true
	// before the alert is triggered.
	For *string `json:"for,omitempty"`

	// KeepFiringFor KeepFiringFor is the duration for which the alert should keep firing
	// after the condition is no longer true.
	KeepFiringFor *string `json:"keep_firing_for,omitempty"`
	Op            int     `json:"op"`
	Value         float32 `json:"value"`
}

Condition Condition is a model for a condition to be evaluated in monitors.

type ConditionBySeverity

type ConditionBySeverity struct {
	// Critical Condition is a model for a condition to be evaluated in monitors.
	Critical *Condition `json:"critical,omitempty"`

	// NoData Condition is a model for a condition to be evaluated in monitors.
	NoData *Condition `json:"no_data,omitempty"`

	// Warn Condition is a model for a condition to be evaluated in monitors.
	Warn *Condition `json:"warn,omitempty"`
}

ConditionBySeverity ConditionBySeverity represents a condition for each severity level.

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	Name   string    `json:"name"`
	Roles  *[]string `json:"roles,omitempty"`
	Scopes *[]string `json:"scopes"`
}

CreateApiKeyRequest defines model for CreateApiKeyRequest.

type CreateApiKeysJSONRequestBody

type CreateApiKeysJSONRequestBody = CreateApiKeyRequest

CreateApiKeysJSONRequestBody defines body for CreateApiKeys for application/json ContentType.

type CreateApiKeysResponse

type CreateApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKey
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateApiKeysResponse

func ParseCreateApiKeysResponse(rsp *http.Response) (*CreateApiKeysResponse, error)

ParseCreateApiKeysResponse parses an HTTP response from a CreateApiKeysWithResponse call

func (CreateApiKeysResponse) Status

func (r CreateApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (CreateApiKeysResponse) StatusCode

func (r CreateApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBulkJSONRequestBody

type CreateBulkJSONRequestBody = BulkSendInvitationRequest

CreateBulkJSONRequestBody defines body for CreateBulk for application/json ContentType.

type CreateBulkResponse

func ParseCreateBulkResponse

func ParseCreateBulkResponse(rsp *http.Response) (*CreateBulkResponse, error)

ParseCreateBulkResponse parses an HTTP response from a CreateBulkWithResponse call

func (CreateBulkResponse) Status

func (r CreateBulkResponse) Status() string

Status returns HTTPResponse.Status

func (CreateBulkResponse) StatusCode

func (r CreateBulkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDashboardsJSONRequestBody

type CreateDashboardsJSONRequestBody = SaveDashboardRequest

CreateDashboardsJSONRequestBody defines body for CreateDashboards for application/json ContentType.

type CreateDashboardsResponse

type CreateDashboardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SaveDashboardResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateDashboardsResponse

func ParseCreateDashboardsResponse(rsp *http.Response) (*CreateDashboardsResponse, error)

ParseCreateDashboardsResponse parses an HTTP response from a CreateDashboardsWithResponse call

func (CreateDashboardsResponse) Status

func (r CreateDashboardsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDashboardsResponse) StatusCode

func (r CreateDashboardsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDropRuleRequest

type CreateDropRuleRequest struct {
	Filters *[]MetricLabelMatcher `json:"filters"`

	// MetricName Matcher specifies a rule, which can match or set of labels or not.
	MetricName MetricLabelMatcher `json:"metric_name"`
	RuleName   string             `json:"rule_name"`
	Type       string             `json:"type"`
}

CreateDropRuleRequest CreateDropRuleRequest is the request body for creating a drop rule.

type CreateDropRulesJSONRequestBody

type CreateDropRulesJSONRequestBody = CreateDropRuleRequest

CreateDropRulesJSONRequestBody defines body for CreateDropRules for application/json ContentType.

type CreateDropRulesResponse

type CreateDropRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateDropRulesResponse

func ParseCreateDropRulesResponse(rsp *http.Response) (*CreateDropRulesResponse, error)

ParseCreateDropRulesResponse parses an HTTP response from a CreateDropRulesWithResponse call

func (CreateDropRulesResponse) Status

func (r CreateDropRulesResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDropRulesResponse) StatusCode

func (r CreateDropRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFolderRequest

type CreateFolderRequest struct {
	ParentUid *string `json:"parentUid,omitempty"`
	Title     string  `json:"title"`
	Uid       *string `json:"uid,omitempty"`
}

CreateFolderRequest CreateFolderRequest represents a request to create a folder

type CreateFoldersJSONRequestBody

type CreateFoldersJSONRequestBody = CreateFolderRequest

CreateFoldersJSONRequestBody defines body for CreateFolders for application/json ContentType.

type CreateFoldersResponse

type CreateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Folder
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateFoldersResponse

func ParseCreateFoldersResponse(rsp *http.Response) (*CreateFoldersResponse, error)

ParseCreateFoldersResponse parses an HTTP response from a CreateFoldersWithResponse call

func (CreateFoldersResponse) Status

func (r CreateFoldersResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFoldersResponse) StatusCode

func (r CreateFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInvitationsJSONRequestBody

type CreateInvitationsJSONRequestBody = SendInvitationRequest

CreateInvitationsJSONRequestBody defines body for CreateInvitations for application/json ContentType.

type CreateInvitationsResponse

type CreateInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserInvitation
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateInvitationsResponse

func ParseCreateInvitationsResponse(rsp *http.Response) (*CreateInvitationsResponse, error)

ParseCreateInvitationsResponse parses an HTTP response from a CreateInvitationsWithResponse call

func (CreateInvitationsResponse) Status

func (r CreateInvitationsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInvitationsResponse) StatusCode

func (r CreateInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLogmetricsJSONRequestBody

type CreateLogmetricsJSONRequestBody = LogMetrics

CreateLogmetricsJSONRequestBody defines body for CreateLogmetrics for application/json ContentType.

type CreateLogmetricsResponse

type CreateLogmetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogMetrics
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateLogmetricsResponse

func ParseCreateLogmetricsResponse(rsp *http.Response) (*CreateLogmetricsResponse, error)

ParseCreateLogmetricsResponse parses an HTTP response from a CreateLogmetricsWithResponse call

func (CreateLogmetricsResponse) Status

func (r CreateLogmetricsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateLogmetricsResponse) StatusCode

func (r CreateLogmetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMonitorsJSONRequestBody

type CreateMonitorsJSONRequestBody = Monitor

CreateMonitorsJSONRequestBody defines body for CreateMonitors for application/json ContentType.

type CreateMonitorsResponse

type CreateMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Monitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateMonitorsResponse

func ParseCreateMonitorsResponse(rsp *http.Response) (*CreateMonitorsResponse, error)

ParseCreateMonitorsResponse parses an HTTP response from a CreateMonitorsWithResponse call

func (CreateMonitorsResponse) Status

func (r CreateMonitorsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateMonitorsResponse) StatusCode

func (r CreateMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMutingRulesJSONRequestBody

type CreateMutingRulesJSONRequestBody = MutingRule

CreateMutingRulesJSONRequestBody defines body for CreateMutingRules for application/json ContentType.

type CreateMutingRulesResponse

type CreateMutingRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MutingRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateMutingRulesResponse

func ParseCreateMutingRulesResponse(rsp *http.Response) (*CreateMutingRulesResponse, error)

ParseCreateMutingRulesResponse parses an HTTP response from a CreateMutingRulesWithResponse call

func (CreateMutingRulesResponse) Status

func (r CreateMutingRulesResponse) Status() string

Status returns HTTPResponse.Status

func (CreateMutingRulesResponse) StatusCode

func (r CreateMutingRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateNotificationPoliciesJSONRequestBody

type CreateNotificationPoliciesJSONRequestBody = NotificationPolicy

CreateNotificationPoliciesJSONRequestBody defines body for CreateNotificationPolicies for application/json ContentType.

type CreateNotificationPoliciesResponse

type CreateNotificationPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateNotificationPoliciesResponse

func ParseCreateNotificationPoliciesResponse(rsp *http.Response) (*CreateNotificationPoliciesResponse, error)

ParseCreateNotificationPoliciesResponse parses an HTTP response from a CreateNotificationPoliciesWithResponse call

func (CreateNotificationPoliciesResponse) Status

Status returns HTTPResponse.Status

func (CreateNotificationPoliciesResponse) StatusCode

func (r CreateNotificationPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateNotifiersJSONRequestBody

type CreateNotifiersJSONRequestBody = Notifier

CreateNotifiersJSONRequestBody defines body for CreateNotifiers for application/json ContentType.

type CreateNotifiersResponse

type CreateNotifiersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Notifier
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateNotifiersResponse

func ParseCreateNotifiersResponse(rsp *http.Response) (*CreateNotifiersResponse, error)

ParseCreateNotifiersResponse parses an HTTP response from a CreateNotifiersWithResponse call

func (CreateNotifiersResponse) Status

func (r CreateNotifiersResponse) Status() string

Status returns HTTPResponse.Status

func (CreateNotifiersResponse) StatusCode

func (r CreateNotifiersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRunByIdResponse

type CreateRunByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticCheckResult
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateRunByIdResponse

func ParseCreateRunByIdResponse(rsp *http.Response) (*CreateRunByIdResponse, error)

ParseCreateRunByIdResponse parses an HTTP response from a CreateRunByIdWithResponse call

func (CreateRunByIdResponse) Status

func (r CreateRunByIdResponse) Status() string

Status returns HTTPResponse.Status

func (CreateRunByIdResponse) StatusCode

func (r CreateRunByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSyntheticMonitorsJSONRequestBody

type CreateSyntheticMonitorsJSONRequestBody = SyntheticMonitor

CreateSyntheticMonitorsJSONRequestBody defines body for CreateSyntheticMonitors for application/json ContentType.

type CreateSyntheticMonitorsResponse

type CreateSyntheticMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticMonitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateSyntheticMonitorsResponse

func ParseCreateSyntheticMonitorsResponse(rsp *http.Response) (*CreateSyntheticMonitorsResponse, error)

ParseCreateSyntheticMonitorsResponse parses an HTTP response from a CreateSyntheticMonitorsWithResponse call

func (CreateSyntheticMonitorsResponse) Status

Status returns HTTPResponse.Status

func (CreateSyntheticMonitorsResponse) StatusCode

func (r CreateSyntheticMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTemplateFilesResponse

type CreateTemplateFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateTemplateFilesResponse

func ParseCreateTemplateFilesResponse(rsp *http.Response) (*CreateTemplateFilesResponse, error)

ParseCreateTemplateFilesResponse parses an HTTP response from a CreateTemplateFilesWithResponse call

func (CreateTemplateFilesResponse) Status

Status returns HTTPResponse.Status

func (CreateTemplateFilesResponse) StatusCode

func (r CreateTemplateFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DashboardSearchEntry

type DashboardSearchEntry struct {
	FolderId    *int      `json:"folderId,omitempty"`
	FolderTitle *string   `json:"folderTitle,omitempty"`
	FolderUid   *string   `json:"folderUid,omitempty"`
	FolderUrl   *string   `json:"folderUrl,omitempty"`
	Id          int       `json:"id"`
	IsStarred   bool      `json:"isStarred"`
	Tags        *[]string `json:"tags,omitempty"`
	Title       string    `json:"title"`
	Type        string    `json:"type"`
	Uid         string    `json:"uid"`
	Url         string    `json:"url"`
}

DashboardSearchEntry DashboardSearchEntry represents a dashboard search result

type DeleteApiKeysByIdResponse

type DeleteApiKeysByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteApiKeysByIdResponse

func ParseDeleteApiKeysByIdResponse(rsp *http.Response) (*DeleteApiKeysByIdResponse, error)

ParseDeleteApiKeysByIdResponse parses an HTTP response from a DeleteApiKeysByIdWithResponse call

func (DeleteApiKeysByIdResponse) Status

func (r DeleteApiKeysByIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteApiKeysByIdResponse) StatusCode

func (r DeleteApiKeysByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDashboardResponse added in v0.2.0

type DeleteDashboardResponse struct {
	Status string `json:"status"`
}

DeleteDashboardResponse DeleteDashboardResponse is the JSON body of a successful `DELETE /grafana/dashboards/{id}`. Unlike most DELETEs (which return 204 No Content) this endpoint returns the upstream Grafana status string for backward compatibility.

type DeleteDashboardsByIdResponse

type DeleteDashboardsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteDashboardResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteDashboardsByIdResponse

func ParseDeleteDashboardsByIdResponse(rsp *http.Response) (*DeleteDashboardsByIdResponse, error)

ParseDeleteDashboardsByIdResponse parses an HTTP response from a DeleteDashboardsByIdWithResponse call

func (DeleteDashboardsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteDashboardsByIdResponse) StatusCode

func (r DeleteDashboardsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDropRulesByIdResponse

type DeleteDropRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteDropRulesByIdResponse

func ParseDeleteDropRulesByIdResponse(rsp *http.Response) (*DeleteDropRulesByIdResponse, error)

ParseDeleteDropRulesByIdResponse parses an HTTP response from a DeleteDropRulesByIdWithResponse call

func (DeleteDropRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteDropRulesByIdResponse) StatusCode

func (r DeleteDropRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInvitationsByIdResponse

type DeleteInvitationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteInvitationsByIdResponse

func ParseDeleteInvitationsByIdResponse(rsp *http.Response) (*DeleteInvitationsByIdResponse, error)

ParseDeleteInvitationsByIdResponse parses an HTTP response from a DeleteInvitationsByIdWithResponse call

func (DeleteInvitationsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteInvitationsByIdResponse) StatusCode

func (r DeleteInvitationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLogmetricsByIdResponse

type DeleteLogmetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteLogmetricsByIdResponse

func ParseDeleteLogmetricsByIdResponse(rsp *http.Response) (*DeleteLogmetricsByIdResponse, error)

ParseDeleteLogmetricsByIdResponse parses an HTTP response from a DeleteLogmetricsByIdWithResponse call

func (DeleteLogmetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteLogmetricsByIdResponse) StatusCode

func (r DeleteLogmetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMonitorsByIdResponse

type DeleteMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteMonitorsByIdResponse

func ParseDeleteMonitorsByIdResponse(rsp *http.Response) (*DeleteMonitorsByIdResponse, error)

ParseDeleteMonitorsByIdResponse parses an HTTP response from a DeleteMonitorsByIdWithResponse call

func (DeleteMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMonitorsByIdResponse) StatusCode

func (r DeleteMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMonitorsJSONRequestBody

type DeleteMonitorsJSONRequestBody = BulkDeleteMonitorsRequest

DeleteMonitorsJSONRequestBody defines body for DeleteMonitors for application/json ContentType.

type DeleteMonitorsResponse

type DeleteMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteMonitorsResponse

func ParseDeleteMonitorsResponse(rsp *http.Response) (*DeleteMonitorsResponse, error)

ParseDeleteMonitorsResponse parses an HTTP response from a DeleteMonitorsWithResponse call

func (DeleteMonitorsResponse) Status

func (r DeleteMonitorsResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMonitorsResponse) StatusCode

func (r DeleteMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMutingRulesByIdResponse

type DeleteMutingRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteMutingRulesByIdResponse

func ParseDeleteMutingRulesByIdResponse(rsp *http.Response) (*DeleteMutingRulesByIdResponse, error)

ParseDeleteMutingRulesByIdResponse parses an HTTP response from a DeleteMutingRulesByIdWithResponse call

func (DeleteMutingRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMutingRulesByIdResponse) StatusCode

func (r DeleteMutingRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteNotificationPoliciesByIdResponse

type DeleteNotificationPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteNotificationPoliciesByIdResponse

func ParseDeleteNotificationPoliciesByIdResponse(rsp *http.Response) (*DeleteNotificationPoliciesByIdResponse, error)

ParseDeleteNotificationPoliciesByIdResponse parses an HTTP response from a DeleteNotificationPoliciesByIdWithResponse call

func (DeleteNotificationPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteNotificationPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteNotifiersByIdResponse

type DeleteNotifiersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteNotifiersByIdResponse

func ParseDeleteNotifiersByIdResponse(rsp *http.Response) (*DeleteNotifiersByIdResponse, error)

ParseDeleteNotifiersByIdResponse parses an HTTP response from a DeleteNotifiersByIdWithResponse call

func (DeleteNotifiersByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteNotifiersByIdResponse) StatusCode

func (r DeleteNotifiersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSyntheticMonitorsByIdResponse

type DeleteSyntheticMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteSyntheticMonitorsByIdResponse

func ParseDeleteSyntheticMonitorsByIdResponse(rsp *http.Response) (*DeleteSyntheticMonitorsByIdResponse, error)

ParseDeleteSyntheticMonitorsByIdResponse parses an HTTP response from a DeleteSyntheticMonitorsByIdWithResponse call

func (DeleteSyntheticMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteSyntheticMonitorsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DropRule

type DropRule struct {
	Filters *[]MetricLabelMatcher `json:"filters"`
	Id      string                `json:"id"`

	// MetricName Matcher specifies a rule, which can match or set of labels or not.
	MetricName MetricLabelMatcher `json:"metric_name"`
	RuleName   string             `json:"rule_name"`
	Type       string             `json:"type"`
}

DropRule DropRule is the API model for a metric drop rule.

type EmailConfig

type EmailConfig struct {
	AuthIdentity *string            `json:"auth_identity,omitempty"`
	AuthPassword *string            `json:"auth_password,omitempty"`
	AuthSecret   *string            `json:"auth_secret,omitempty"`
	AuthUsername *string            `json:"auth_username,omitempty"`
	From         *string            `json:"from,omitempty"`
	Headers      *map[string]string `json:"headers,omitempty"`
	Hello        *string            `json:"hello,omitempty"`
	Html         *string            `json:"html,omitempty"`
	RequireTls   *bool              `json:"require_tls,omitempty"`
	SendResolved bool               `json:"send_resolved"`
	Smarthost    *string            `json:"smarthost,omitempty"`
	Text         *string            `json:"text,omitempty"`

	// TlsConfig TLSConfig configures the options for TLS connections.
	TlsConfig *TLSConfig `json:"tls_config,omitempty"`

	// To Email address to notify.
	To *string `json:"to,omitempty"`
}

EmailConfig EmailConfig configures notifications via mail.

type Folder

type Folder struct {
	Created   *string `json:"created,omitempty"`
	Id        int     `json:"id"`
	ParentUid *string `json:"parentUid,omitempty"`
	Title     string  `json:"title"`
	Uid       string  `json:"uid"`
	Updated   *string `json:"updated,omitempty"`
	Url       *string `json:"url,omitempty"`
	Version   *int    `json:"version,omitempty"`
}

Folder Folder represents a Grafana folder

type GetApiKeysByIdResponse

type GetApiKeysByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKey
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetApiKeysByIdResponse

func ParseGetApiKeysByIdResponse(rsp *http.Response) (*GetApiKeysByIdResponse, error)

ParseGetApiKeysByIdResponse parses an HTTP response from a GetApiKeysByIdWithResponse call

func (GetApiKeysByIdResponse) Status

func (r GetApiKeysByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeysByIdResponse) StatusCode

func (r GetApiKeysByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDashboardResponse

type GetDashboardResponse struct {
	// Dashboard Grafana-compatible dashboard JSON
	Dashboard *map[string]interface{} `json:"dashboard,omitempty"`
	Meta      *struct {
		Created     *string `json:"created,omitempty"`
		FolderId    *int    `json:"folderId,omitempty"`
		FolderTitle *string `json:"folderTitle,omitempty"`
		FolderUid   *string `json:"folderUid,omitempty"`
		Slug        *string `json:"slug,omitempty"`
		Updated     *string `json:"updated,omitempty"`
		Url         *string `json:"url,omitempty"`
		Version     *int    `json:"version,omitempty"`
	} `json:"meta,omitempty"`
}

GetDashboardResponse defines model for GetDashboardResponse.

type GetDashboardsByIdResponse

type GetDashboardsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetDashboardResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetDashboardsByIdResponse

func ParseGetDashboardsByIdResponse(rsp *http.Response) (*GetDashboardsByIdResponse, error)

ParseGetDashboardsByIdResponse parses an HTTP response from a GetDashboardsByIdWithResponse call

func (GetDashboardsByIdResponse) Status

func (r GetDashboardsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetDashboardsByIdResponse) StatusCode

func (r GetDashboardsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDropRulesByIdResponse

type GetDropRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetDropRulesByIdResponse

func ParseGetDropRulesByIdResponse(rsp *http.Response) (*GetDropRulesByIdResponse, error)

ParseGetDropRulesByIdResponse parses an HTTP response from a GetDropRulesByIdWithResponse call

func (GetDropRulesByIdResponse) Status

func (r GetDropRulesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetDropRulesByIdResponse) StatusCode

func (r GetDropRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationSetupSpecResponse added in v0.6.0

type GetIntegrationSetupSpecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IntegrationSetupSpecResponse
	JSON404      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetIntegrationSetupSpecResponse added in v0.6.0

func ParseGetIntegrationSetupSpecResponse(rsp *http.Response) (*GetIntegrationSetupSpecResponse, error)

ParseGetIntegrationSetupSpecResponse parses an HTTP response from a GetIntegrationSetupSpecWithResponse call

func (GetIntegrationSetupSpecResponse) Status added in v0.6.0

Status returns HTTPResponse.Status

func (GetIntegrationSetupSpecResponse) StatusCode added in v0.6.0

func (r GetIntegrationSetupSpecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLabelsByIdParams added in v0.2.0

type GetLabelsByIdParams struct {
	// EndTimeEpochMs End of the time range in epoch milliseconds
	EndTimeEpochMs int64 `form:"endTimeEpochMs" json:"endTimeEpochMs"`

	// Filters JSON-encoded array of label matchers (e.g. [{"name":"job","value":"api","type":0}]). Match types: 0=EQ, 1=NEQ, 2=RE, 3=NRE.
	Filters *string `form:"filters,omitempty" json:"filters,omitempty"`

	// StartTimeEpochMs Start of the time range in epoch milliseconds
	StartTimeEpochMs int64 `form:"startTimeEpochMs" json:"startTimeEpochMs"`
}

GetLabelsByIdParams defines parameters for GetLabelsById.

type GetLabelsByIdResponse

type GetLabelsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetLabelsByIdResponse

func ParseGetLabelsByIdResponse(rsp *http.Response) (*GetLabelsByIdResponse, error)

ParseGetLabelsByIdResponse parses an HTTP response from a GetLabelsByIdWithResponse call

func (GetLabelsByIdResponse) Status

func (r GetLabelsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetLabelsByIdResponse) StatusCode

func (r GetLabelsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLogmetricsByIdResponse

type GetLogmetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogMetrics
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetLogmetricsByIdResponse

func ParseGetLogmetricsByIdResponse(rsp *http.Response) (*GetLogmetricsByIdResponse, error)

ParseGetLogmetricsByIdResponse parses an HTTP response from a GetLogmetricsByIdWithResponse call

func (GetLogmetricsByIdResponse) Status

func (r GetLogmetricsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetLogmetricsByIdResponse) StatusCode

func (r GetLogmetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMonitorStateByIdParams

type GetMonitorStateByIdParams struct {
	// HistoryRange Time range for the monitor history in the format start-end in epoch seconds in UTC (e.g. 1705036708-1705123108), defaults to last 7 days
	HistoryRange *string `form:"history_range,omitempty" json:"history_range,omitempty"`
}

GetMonitorStateByIdParams defines parameters for GetMonitorStateById.

type GetMonitorStateByIdResponse

type GetMonitorStateByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MonitorState
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetMonitorStateByIdResponse

func ParseGetMonitorStateByIdResponse(rsp *http.Response) (*GetMonitorStateByIdResponse, error)

ParseGetMonitorStateByIdResponse parses an HTTP response from a GetMonitorStateByIdWithResponse call

func (GetMonitorStateByIdResponse) Status

Status returns HTTPResponse.Status

func (GetMonitorStateByIdResponse) StatusCode

func (r GetMonitorStateByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMonitorsByIdResponse

type GetMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Monitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetMonitorsByIdResponse

func ParseGetMonitorsByIdResponse(rsp *http.Response) (*GetMonitorsByIdResponse, error)

ParseGetMonitorsByIdResponse parses an HTTP response from a GetMonitorsByIdWithResponse call

func (GetMonitorsByIdResponse) Status

func (r GetMonitorsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetMonitorsByIdResponse) StatusCode

func (r GetMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMutingRulesByIdResponse

type GetMutingRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MutingRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetMutingRulesByIdResponse

func ParseGetMutingRulesByIdResponse(rsp *http.Response) (*GetMutingRulesByIdResponse, error)

ParseGetMutingRulesByIdResponse parses an HTTP response from a GetMutingRulesByIdWithResponse call

func (GetMutingRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetMutingRulesByIdResponse) StatusCode

func (r GetMutingRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNotificationPoliciesByIdResponse

type GetNotificationPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetNotificationPoliciesByIdResponse

func ParseGetNotificationPoliciesByIdResponse(rsp *http.Response) (*GetNotificationPoliciesByIdResponse, error)

ParseGetNotificationPoliciesByIdResponse parses an HTTP response from a GetNotificationPoliciesByIdWithResponse call

func (GetNotificationPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetNotificationPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetNotifiersByIdResponse

type GetNotifiersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Notifier
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetNotifiersByIdResponse

func ParseGetNotifiersByIdResponse(rsp *http.Response) (*GetNotifiersByIdResponse, error)

ParseGetNotifiersByIdResponse parses an HTTP response from a GetNotifiersByIdWithResponse call

func (GetNotifiersByIdResponse) Status

func (r GetNotifiersByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetNotifiersByIdResponse) StatusCode

func (r GetNotifiersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSyntheticMonitorsByIdResponse

type GetSyntheticMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticMonitor
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetSyntheticMonitorsByIdResponse

func ParseGetSyntheticMonitorsByIdResponse(rsp *http.Response) (*GetSyntheticMonitorsByIdResponse, error)

ParseGetSyntheticMonitorsByIdResponse parses an HTTP response from a GetSyntheticMonitorsByIdWithResponse call

func (GetSyntheticMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (GetSyntheticMonitorsByIdResponse) StatusCode

func (r GetSyntheticMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTraceLabelValuesByIdParams added in v0.2.0

type GetTraceLabelValuesByIdParams struct {
	// End End of the time range in epoch microseconds
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Start Start of the time range in epoch microseconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
}

GetTraceLabelValuesByIdParams defines parameters for GetTraceLabelValuesById.

type GetTraceLabelValuesByIdResponse added in v0.2.0

type GetTraceLabelValuesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceLabelsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetTraceLabelValuesByIdResponse added in v0.2.0

func ParseGetTraceLabelValuesByIdResponse(rsp *http.Response) (*GetTraceLabelValuesByIdResponse, error)

ParseGetTraceLabelValuesByIdResponse parses an HTTP response from a GetTraceLabelValuesByIdWithResponse call

func (GetTraceLabelValuesByIdResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GetTraceLabelValuesByIdResponse) StatusCode added in v0.2.0

func (r GetTraceLabelValuesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTracesByIdParams

type GetTracesByIdParams struct {
	// End End of the time range in epoch microseconds
	End int64 `form:"end" json:"end"`

	// Start Start of the time range in epoch microseconds
	Start int64 `form:"start" json:"start"`
}

GetTracesByIdParams defines parameters for GetTracesById.

type GetTracesByIdResponse

type GetTracesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TracesResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetTracesByIdResponse

func ParseGetTracesByIdResponse(rsp *http.Response) (*GetTracesByIdResponse, error)

ParseGetTracesByIdResponse parses an HTTP response from a GetTracesByIdWithResponse call

func (GetTracesByIdResponse) Status

func (r GetTracesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetTracesByIdResponse) StatusCode

func (r GetTracesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetValuesByIdParams added in v0.2.0

type GetValuesByIdParams struct {
	// EndTimeEpochMs End of the time range in epoch milliseconds
	EndTimeEpochMs int64 `form:"endTimeEpochMs" json:"endTimeEpochMs"`

	// Filters JSON-encoded array of label matchers (e.g. [{"name":"job","value":"api","type":0}]). Match types: 0=EQ, 1=NEQ, 2=RE, 3=NRE.
	Filters *string `form:"filters,omitempty" json:"filters,omitempty"`

	// StartTimeEpochMs Start of the time range in epoch milliseconds
	StartTimeEpochMs int64 `form:"startTimeEpochMs" json:"startTimeEpochMs"`
}

GetValuesByIdParams defines parameters for GetValuesById.

type GetValuesByIdResponse

type GetValuesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetValuesByIdResponse

func ParseGetValuesByIdResponse(rsp *http.Response) (*GetValuesByIdResponse, error)

ParseGetValuesByIdResponse parses an HTTP response from a GetValuesByIdWithResponse call

func (GetValuesByIdResponse) Status

func (r GetValuesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetValuesByIdResponse) StatusCode

func (r GetValuesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GoogleChatConfig

type GoogleChatConfig struct {
	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig `json:"http_config,omitempty"`
	Message      *string           `json:"message,omitempty"`
	SendResolved bool              `json:"send_resolved"`
	Threading    *bool             `json:"threading,omitempty"`
	Url          *string           `json:"url,omitempty"`
}

GoogleChatConfig GoogleChatConfig configures notifications via Google Chat.

type Grouping

type Grouping struct {
	ByLabels  *[]string `json:"by_labels,omitempty"`
	ByMonitor *bool     `json:"by_monitor,omitempty"`
	Disabled  *bool     `json:"disabled,omitempty"`
}

Grouping Grouping is a model for grouping alerts.

type HTTPClientConfig

type HTTPClientConfig struct {
	// Authorization Authorization contains HTTP authorization credentials.
	Authorization *Authorization `json:"authorization,omitempty"`

	// BasicAuth BasicAuth contains basic HTTP authentication credentials.
	BasicAuth *BasicAuth `json:"basic_auth,omitempty"`

	// BearerToken The bearer token for the targets. Deprecated in favour of
	// Authorization.Credentials.
	BearerToken *string `json:"bearer_token,omitempty"`

	// BearerTokenFile The bearer token file for the targets. Deprecated in favour of
	// Authorization.CredentialsFile.
	BearerTokenFile *string `json:"bearer_token_file,omitempty"`

	// EnableHttp2 EnableHTTP2 specifies whether the client should configure HTTP2.
	// The omitempty flag is not set, because it would be hidden from the
	// marshalled configuration when set to false.
	EnableHttp2 bool `json:"enable_http2"`

	// FollowRedirects FollowRedirects specifies whether the client should follow HTTP 3xx redirects.
	// The omitempty flag is not set, because it would be hidden from the
	// marshalled configuration when set to false.
	FollowRedirects bool `json:"follow_redirects"`

	// HttpHeaders Headers represents the configuration for HTTP headers.
	HttpHeaders *Headers `json:"http_headers,omitempty"`

	// NoProxy NoProxy contains addresses that should not use a proxy.
	NoProxy *string `json:"no_proxy,omitempty"`

	// Oauth2 OAuth2 is the oauth2 client configuration.
	Oauth2 *OAuth2 `json:"oauth2,omitempty"`

	// ProxyConnectHeader ProxyConnectHeader optionally specifies headers to send to
	// proxies during CONNECT requests. Assume that at least _some_ of
	// these headers are going to contain secrets and use Secret as the
	// value type instead of string.
	ProxyConnectHeader *map[string]*[]string `json:"proxy_connect_header,omitempty"`

	// ProxyFromEnvironment ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function
	// to determine proxies.
	ProxyFromEnvironment *bool `json:"proxy_from_environment,omitempty"`

	// TlsConfig TLSConfig configures the options for TLS connections.
	TlsConfig *TLSConfig `json:"tls_config,omitempty"`
}

HTTPClientConfig HTTPClientConfig configures an HTTP client.

type Headers

type Headers struct {
	Headers *map[string]string `json:"Headers"`
}

Headers Headers represents the configuration for HTTP headers.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IndexPatternEntry added in v0.4.0

type IndexPatternEntry struct {
	Fields *[]IndexPatternField `json:"fields"`
	Id     string               `json:"id"`
	Title  string               `json:"title"`
}

IndexPatternEntry IndexPatternEntry is the public response shape for GET /api/v1/log_index_patterns.

type IndexPatternField added in v0.4.0

type IndexPatternField struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

IndexPatternField IndexPatternField is a single field in an index pattern, exposing only name and type.

type IntegrationResponse added in v0.6.0

type IntegrationResponse map[string]interface{}

IntegrationResponse defines model for integrationResponse.

type IntegrationSetupSpecResponse added in v0.6.0

type IntegrationSetupSpecResponse map[string]interface{}

IntegrationSetupSpecResponse defines model for integrationSetupSpecResponse.

type Label

type Label struct {
	// Name Name is the name of the label.
	Name *string `json:"name,omitempty"`

	// Value Value is the static value of the label.
	// Only one of Value or ValueExtractor should be set.
	Value *string `json:"value,omitempty"`

	// ValueExtractor ValueExtractor is used to extract label values from the log fields.
	ValueExtractor *ValueExtractor `json:"valueExtractor,omitempty"`
}

Label Label represents a name-value pair for a metric label.

type LabelMatcher

type LabelMatcher struct {
	Name string `json:"name"`

	// Type Type of label matcher. Values:
	// - 0: Equals (=)
	// - 1: Not equals (!=)
	// - 2: Regular expression match (=~)
	// - 3: Regular expression not match (!~)
	Type  MatchType `json:"type"`
	Value string    `json:"value"`
}

LabelMatcher defines model for LabelMatcher.

type LabelMatcherNotifications

type LabelMatcherNotifications struct {
	// Matchers Matchers are the label matchers that determine when this policy applies
	Matchers *[]LabelMatcher `json:"matchers"`

	// NotificationPolicyId NotificationPolicyID references the notification policy to use when labels match
	NotificationPolicyId *openapi_types.UUID `json:"notification_policy_id,omitempty"`

	// Notifiers NotifiersByCondition represents notifiers for each severity level.
	Notifiers *NotifiersByCondition `json:"notifiers,omitempty"`
}

LabelMatcherNotifications LabelMatcherNotifications defines a notification policy that is applied when alert labels match the specified matchers.

type ListApiKeysResponse

type ListApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ApiKey
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListApiKeysResponse

func ParseListApiKeysResponse(rsp *http.Response) (*ListApiKeysResponse, error)

ParseListApiKeysResponse parses an HTTP response from a ListApiKeysWithResponse call

func (ListApiKeysResponse) Status

func (r ListApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListApiKeysResponse) StatusCode

func (r ListApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDashboardsResponse

type ListDashboardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DashboardSearchEntry
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListDashboardsResponse

func ParseListDashboardsResponse(rsp *http.Response) (*ListDashboardsResponse, error)

ParseListDashboardsResponse parses an HTTP response from a ListDashboardsWithResponse call

func (ListDashboardsResponse) Status

func (r ListDashboardsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDashboardsResponse) StatusCode

func (r ListDashboardsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDropRulesResponse

type ListDropRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DropRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListDropRulesResponse

func ParseListDropRulesResponse(rsp *http.Response) (*ListDropRulesResponse, error)

ParseListDropRulesResponse parses an HTTP response from a ListDropRulesWithResponse call

func (ListDropRulesResponse) Status

func (r ListDropRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListDropRulesResponse) StatusCode

func (r ListDropRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFoldersResponse

type ListFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Folder
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListFoldersResponse

func ParseListFoldersResponse(rsp *http.Response) (*ListFoldersResponse, error)

ParseListFoldersResponse parses an HTTP response from a ListFoldersWithResponse call

func (ListFoldersResponse) Status

func (r ListFoldersResponse) Status() string

Status returns HTTPResponse.Status

func (ListFoldersResponse) StatusCode

func (r ListFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationsResponse added in v0.6.0

type ListIntegrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]IntegrationResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListIntegrationsResponse added in v0.6.0

func ParseListIntegrationsResponse(rsp *http.Response) (*ListIntegrationsResponse, error)

ParseListIntegrationsResponse parses an HTTP response from a ListIntegrationsWithResponse call

func (ListIntegrationsResponse) Status added in v0.6.0

func (r ListIntegrationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListIntegrationsResponse) StatusCode added in v0.6.0

func (r ListIntegrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInvitationsOpResponse

type ListInvitationsOpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInvitationsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListInvitationsOpResponse

func ParseListInvitationsOpResponse(rsp *http.Response) (*ListInvitationsOpResponse, error)

ParseListInvitationsOpResponse parses an HTTP response from a ListInvitationsOpWithResponse call

func (ListInvitationsOpResponse) Status

func (r ListInvitationsOpResponse) Status() string

Status returns HTTPResponse.Status

func (ListInvitationsOpResponse) StatusCode

func (r ListInvitationsOpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInvitationsResponse

type ListInvitationsResponse struct {
	Invitations *[]UserInvitation `json:"invitations"`
}

ListInvitationsResponse ListInvitationsResponse is the response for listing invitations.

type ListLabelsParams

type ListLabelsParams struct {
	// End End of the time range in epoch microseconds
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Start Start of the time range in epoch microseconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
}

ListLabelsParams defines parameters for ListLabels.

type ListLabelsResponse

type ListLabelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceLabelsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListLabelsResponse

func ParseListLabelsResponse(rsp *http.Response) (*ListLabelsResponse, error)

ParseListLabelsResponse parses an HTTP response from a ListLabelsWithResponse call

func (ListLabelsResponse) Status

func (r ListLabelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLabelsResponse) StatusCode

func (r ListLabelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLogIndexPatternsResponse added in v0.4.0

type ListLogIndexPatternsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]IndexPatternEntry
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON502      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListLogIndexPatternsResponse added in v0.4.0

func ParseListLogIndexPatternsResponse(rsp *http.Response) (*ListLogIndexPatternsResponse, error)

ParseListLogIndexPatternsResponse parses an HTTP response from a ListLogIndexPatternsWithResponse call

func (ListLogIndexPatternsResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (ListLogIndexPatternsResponse) StatusCode added in v0.4.0

func (r ListLogIndexPatternsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLogmetricsResponse

type ListLogmetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]LogMetrics
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListLogmetricsResponse

func ParseListLogmetricsResponse(rsp *http.Response) (*ListLogmetricsResponse, error)

ParseListLogmetricsResponse parses an HTTP response from a ListLogmetricsWithResponse call

func (ListLogmetricsResponse) Status

func (r ListLogmetricsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLogmetricsResponse) StatusCode

func (r ListLogmetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMonitorTriggersResponse

type ListMonitorTriggersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MonitorTrigger
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListMonitorTriggersResponse

func ParseListMonitorTriggersResponse(rsp *http.Response) (*ListMonitorTriggersResponse, error)

ParseListMonitorTriggersResponse parses an HTTP response from a ListMonitorTriggersWithResponse call

func (ListMonitorTriggersResponse) Status

Status returns HTTPResponse.Status

func (ListMonitorTriggersResponse) StatusCode

func (r ListMonitorTriggersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMonitorsResponse

type ListMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Monitor
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListMonitorsResponse

func ParseListMonitorsResponse(rsp *http.Response) (*ListMonitorsResponse, error)

ParseListMonitorsResponse parses an HTTP response from a ListMonitorsWithResponse call

func (ListMonitorsResponse) Status

func (r ListMonitorsResponse) Status() string

Status returns HTTPResponse.Status

func (ListMonitorsResponse) StatusCode

func (r ListMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMutingRulesResponse

type ListMutingRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MutingRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListMutingRulesResponse

func ParseListMutingRulesResponse(rsp *http.Response) (*ListMutingRulesResponse, error)

ParseListMutingRulesResponse parses an HTTP response from a ListMutingRulesWithResponse call

func (ListMutingRulesResponse) Status

func (r ListMutingRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListMutingRulesResponse) StatusCode

func (r ListMutingRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNamesParams added in v0.2.0

type ListNamesParams struct {
	// EndTimeEpochMs End of the time range in epoch milliseconds
	EndTimeEpochMs int64 `form:"endTimeEpochMs" json:"endTimeEpochMs"`

	// Filters JSON-encoded array of label matchers (e.g. [{"name":"job","value":"api","type":0}]). Match types: 0=EQ, 1=NEQ, 2=RE, 3=NRE.
	Filters *string `form:"filters,omitempty" json:"filters,omitempty"`

	// StartTimeEpochMs Start of the time range in epoch milliseconds
	StartTimeEpochMs int64 `form:"startTimeEpochMs" json:"startTimeEpochMs"`
}

ListNamesParams defines parameters for ListNames.

type ListNamesResponse

type ListNamesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListNamesResponse

func ParseListNamesResponse(rsp *http.Response) (*ListNamesResponse, error)

ParseListNamesResponse parses an HTTP response from a ListNamesWithResponse call

func (ListNamesResponse) Status

func (r ListNamesResponse) Status() string

Status returns HTTPResponse.Status

func (ListNamesResponse) StatusCode

func (r ListNamesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNotificationPoliciesResponse

type ListNotificationPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]NotificationPolicy
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListNotificationPoliciesResponse

func ParseListNotificationPoliciesResponse(rsp *http.Response) (*ListNotificationPoliciesResponse, error)

ParseListNotificationPoliciesResponse parses an HTTP response from a ListNotificationPoliciesWithResponse call

func (ListNotificationPoliciesResponse) Status

Status returns HTTPResponse.Status

func (ListNotificationPoliciesResponse) StatusCode

func (r ListNotificationPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNotifiersResponse

type ListNotifiersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Notifier
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListNotifiersResponse

func ParseListNotifiersResponse(rsp *http.Response) (*ListNotifiersResponse, error)

ParseListNotifiersResponse parses an HTTP response from a ListNotifiersWithResponse call

func (ListNotifiersResponse) Status

func (r ListNotifiersResponse) Status() string

Status returns HTTPResponse.Status

func (ListNotifiersResponse) StatusCode

func (r ListNotifiersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOauthProtectedResourceResponse added in v0.6.0

type ListOauthProtectedResourceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListOauthProtectedResourceResponse added in v0.6.0

func ParseListOauthProtectedResourceResponse(rsp *http.Response) (*ListOauthProtectedResourceResponse, error)

ParseListOauthProtectedResourceResponse parses an HTTP response from a ListOauthProtectedResourceWithResponse call

func (ListOauthProtectedResourceResponse) Status added in v0.6.0

Status returns HTTPResponse.Status

func (ListOauthProtectedResourceResponse) StatusCode added in v0.6.0

func (r ListOauthProtectedResourceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOauthProtectedResourceV1Response added in v0.6.0

type ListOauthProtectedResourceV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListOauthProtectedResourceV1Response added in v0.6.0

func ParseListOauthProtectedResourceV1Response(rsp *http.Response) (*ListOauthProtectedResourceV1Response, error)

ParseListOauthProtectedResourceV1Response parses an HTTP response from a ListOauthProtectedResourceV1WithResponse call

func (ListOauthProtectedResourceV1Response) Status added in v0.6.0

Status returns HTTPResponse.Status

func (ListOauthProtectedResourceV1Response) StatusCode added in v0.6.0

StatusCode returns HTTPResponse.StatusCode

type ListSyntheticMonitorsOpResponse added in v0.2.0

type ListSyntheticMonitorsOpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSyntheticMonitorsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListSyntheticMonitorsOpResponse added in v0.2.0

func ParseListSyntheticMonitorsOpResponse(rsp *http.Response) (*ListSyntheticMonitorsOpResponse, error)

ParseListSyntheticMonitorsOpResponse parses an HTTP response from a ListSyntheticMonitorsOpWithResponse call

func (ListSyntheticMonitorsOpResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ListSyntheticMonitorsOpResponse) StatusCode added in v0.2.0

func (r ListSyntheticMonitorsOpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSyntheticMonitorsResponse

type ListSyntheticMonitorsResponse struct {
	Monitors *[]SyntheticMonitor `json:"monitors"`
	Total    int                 `json:"total"`
}

ListSyntheticMonitorsResponse ListSyntheticMonitorsResponse is the response body for listing synthetic monitors.

type ListTracesParams

type ListTracesParams struct {
	// End End of the time range in epoch microseconds
	End int64 `form:"end" json:"end"`

	// Limit Maximum number of traces to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// MaxDuration Maximum trace duration (e.g. 5s, 10s)
	MaxDuration *string `form:"maxDuration,omitempty" json:"maxDuration,omitempty"`

	// MinDuration Minimum trace duration (e.g. 100ms, 1s)
	MinDuration *string `form:"minDuration,omitempty" json:"minDuration,omitempty"`

	// Operation Filter by operation name
	Operation *string `form:"operation,omitempty" json:"operation,omitempty"`

	// Search Free-text search across trace data
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// Service Filter by service name
	Service *string `form:"service,omitempty" json:"service,omitempty"`

	// Start Start of the time range in epoch microseconds
	Start int64 `form:"start" json:"start"`

	// Tags JSON-encoded map of tag filters (e.g. {"http.method":"GET"})
	Tags *string `form:"tags,omitempty" json:"tags,omitempty"`
}

ListTracesParams defines parameters for ListTraces.

type ListTracesResponse

type ListTracesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TracesResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListTracesResponse

func ParseListTracesResponse(rsp *http.Response) (*ListTracesResponse, error)

ParseListTracesResponse parses an HTTP response from a ListTracesWithResponse call

func (ListTracesResponse) Status

func (r ListTracesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTracesResponse) StatusCode

func (r ListTracesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsersOpParams

type ListUsersOpParams struct {
	// Query Search query to filter users
	Query *string `form:"query,omitempty" json:"query,omitempty"`
}

ListUsersOpParams defines parameters for ListUsersOp.

type ListUsersOpResponse

type ListUsersOpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListUsersResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListUsersOpResponse

func ParseListUsersOpResponse(rsp *http.Response) (*ListUsersOpResponse, error)

ParseListUsersOpResponse parses an HTTP response from a ListUsersOpWithResponse call

func (ListUsersOpResponse) Status

func (r ListUsersOpResponse) Status() string

Status returns HTTPResponse.Status

func (ListUsersOpResponse) StatusCode

func (r ListUsersOpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsersResponse

type ListUsersResponse struct {
	Users *[]User `json:"users"`
}

ListUsersResponse ListUsersResponse is the response for listing users.

type LogFilter

type LogFilter struct {
	// All All filters must match (AND). Each item is a LogFilter.
	All *[]map[string]interface{} `json:"all,omitempty"`

	// Any At least one filter must match (OR). Each item is a LogFilter.
	Any   *[]map[string]interface{} `json:"any,omitempty"`
	Match *struct {
		Field    string                 `json:"field"`
		JsonPath *string                `json:"jsonPath,omitempty"`
		Operator LogFilterMatchOperator `json:"operator"`
		Value    *string                `json:"value,omitempty"`
	} `json:"match,omitempty"`

	// Not Nested LogFilter (recursive). Same structure as the parent LogFilter.
	Not *map[string]interface{} `json:"not,omitempty"`
}

LogFilter LogFilter is a union type that can be one of: match (simple field matching), all (all filters must match), any (at least one filter must match), or not (negation of a filter). Filters can be nested recursively.

type LogFilterMatchOperator

type LogFilterMatchOperator string

LogFilterMatchOperator defines model for LogFilter.Match.Operator.

const (
	Contains     LogFilterMatchOperator = "contains"
	Exists       LogFilterMatchOperator = "exists"
	Is           LogFilterMatchOperator = "is"
	MatchesRegex LogFilterMatchOperator = "matches regex"
)

Defines values for LogFilterMatchOperator.

func (LogFilterMatchOperator) Valid

func (e LogFilterMatchOperator) Valid() bool

Valid indicates whether the value is a known member of the LogFilterMatchOperator enum.

type LogMetrics

type LogMetrics struct {
	// Filter LogFilter is a union type that can be one of: match (simple field matching), all (all filters must match), any (at least one filter must match), or not (negation of a filter). Filters can be nested recursively.
	Filter *LogFilter `json:"filter,omitempty"`

	// Id ID is the unique identifier.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// Labels Labels are the labels that will be added to all metrics created
	// by this configuration.
	Labels *[]Label `json:"labels,omitempty"`

	// MetricDefinitions MetricDefinitions defines all the metrics to be created from the logs.
	MetricDefinitions *[]MetricDefinition `json:"metricDefinitions,omitempty"`

	// Name Name is the name of the rule.
	Name *string `json:"name,omitempty"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updatedAtEpochMs,omitempty"`
}

LogMetrics LogMetrics is a definition to convert logs to metrics.

type LogsQueryResponse added in v0.4.0

type LogsQueryResponse struct {
	Responses *[]LogsSearchResult `json:"responses,omitempty"`

	// Took Total time in milliseconds
	Took *int64 `json:"took,omitempty"`
}

LogsQueryResponse defines model for LogsQueryResponse.

type LogsSearchResult added in v0.4.0

type LogsSearchResult struct {
	// Aggregations Aggregation results, if requested
	Aggregations *map[string]interface{} `json:"aggregations,omitempty"`
	Hits         *struct {
		Hits *[]struct {
			// UnderscoreSource Log document fields
			UnderscoreSource *map[string]interface{} `json:"_source,omitempty"`
			Sort             *[]interface{}          `json:"sort,omitempty"`
		} `json:"hits,omitempty"`
		Total *struct {
			Relation *string `json:"relation,omitempty"`
			Value    *int64  `json:"value,omitempty"`
		} `json:"total,omitempty"`
	} `json:"hits,omitempty"`

	// Status HTTP status code for this search
	Status   *int   `json:"status,omitempty"`
	TimedOut *bool  `json:"timed_out,omitempty"`
	Took     *int64 `json:"took,omitempty"`
}

LogsSearchResult defines model for LogsSearchResult.

type Lookup

type Lookup struct {
	// Fallback LookupFallback specifies a fallback value source when a lookup fails.
	Fallback *LookupFallback `json:"fallback,omitempty"`

	// MatchColumn MatchColumn is the column name in the lookup table to match against.
	MatchColumn *string `json:"matchColumn,omitempty"`

	// TableId TableID is the ID of the lookup table to use.
	TableId *string `json:"tableId,omitempty"`

	// ValueColumn ValueColumn is the column name in the lookup table to get the value from.
	ValueColumn *string `json:"valueColumn,omitempty"`
}

Lookup Lookup specifies how to look up a value in a lookup/enrichment table.

type LookupFallback

type LookupFallback struct {
	// Field Field is the name of the log field to use as the fallback value.
	Field *string `json:"field,omitempty"`
}

LookupFallback LookupFallback specifies a fallback value source when a lookup fails.

type MSTeamsV2Config

type MSTeamsV2Config struct {
	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig `json:"http_config,omitempty"`
	SendResolved bool              `json:"send_resolved"`
	Text         *string           `json:"text,omitempty"`
	Title        *string           `json:"title,omitempty"`
	WebhookUrl   *string           `json:"webhook_url,omitempty"`
}

MSTeamsV2Config defines model for MSTeamsV2Config.

type MatchType

type MatchType int

MatchType Type of label matcher. Values: - 0: Equals (=) - 1: Not equals (!=) - 2: Regular expression match (=~) - 3: Regular expression not match (!~)

const (
	N0 MatchType = 0
	N1 MatchType = 1
	N2 MatchType = 2
	N3 MatchType = 3
)

Defines values for MatchType.

func (MatchType) Valid

func (e MatchType) Valid() bool

Valid indicates whether the value is a known member of the MatchType enum.

type MetricDefinition

type MetricDefinition struct {
	// Field Field is the name of the log field to extract from. Only used when Type is
	// "counter" or "gauge".
	Field *string `json:"field,omitempty"`

	// JsonPath JSONPath is an optional JSON path to extract a numeric value from a JSON field.
	// Only used when Type is "counter" or "gauge". Cannot be used together with Regex.
	JsonPath *string `json:"jsonPath,omitempty"`

	// Name Name is the name of the metric to be created. Must match Prometheus metric naming rules.
	// See https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels
	Name *string `json:"name,omitempty"`

	// Regex Regex is an optional regex pattern to extract a numeric value from the field.
	// Only used when Type is "counter" or "gauge". Cannot be used together with JSONPath.
	Regex *string `json:"regex,omitempty"`

	// Type Type of metric to be created. Values:
	// - 0: Count of logs
	// - 1: Counter metric
	// - 2: Gauge metric
	// - 3: Histogram metric
	Type *MetricType `json:"type,omitempty"`
}

MetricDefinition MetricDefinition represents the definition of a metric to be created.

type MetricLabelMatcher added in v0.2.0

type MetricLabelMatcher struct {
	Name  *string `json:"name,omitempty"`
	Type  *int    `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
}

MetricLabelMatcher Matcher specifies a rule, which can match or set of labels or not.

type MetricType

type MetricType string

MetricType Type of metric to be created. Values: - 0: Count of logs - 1: Counter metric - 2: Gauge metric - 3: Histogram metric

const (
	Counter   MetricType = "counter"
	Gauge     MetricType = "gauge"
	Histogram MetricType = "histogram"
	LogCount  MetricType = "log_count"
)

Defines values for MetricType.

func (MetricType) Valid

func (e MetricType) Valid() bool

Valid indicates whether the value is a known member of the MetricType enum.

type Monitor

type Monitor struct {
	// Annotations Annotations are the annotations for the monitor.
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Conditions ConditionBySeverity represents a condition for each severity level.
	Conditions *ConditionBySeverity `json:"conditions,omitempty"`

	// GroupInterval GroupInterval is the interval at which to send alerts for the same group of alerts after the first alert.
	GroupInterval *string `json:"group_interval,omitempty"`

	// GroupWait GroupWait is the time to wait before sending the first alert for a group of alerts.
	GroupWait *string `json:"group_wait,omitempty"`

	// Grouping Grouping is a model for grouping alerts.
	Grouping *Grouping           `json:"grouping,omitempty"`
	Id       *openapi_types.UUID `json:"id,omitempty"`

	// Interval Interval is the interval at which the monitor should be evaluated.
	Interval *string `json:"interval,omitempty"`

	// LabelMatcherNotificationPolicies Deprecated: LabelMatcherNotificationPolicies is the list of label matcher notification policies for the monitor.
	// These policies are evaluated in order, and the first matching policy is used.
	// If no policy matches, the default NotificationPolicyID is used if set.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	LabelMatcherNotificationPolicies *[]LabelMatcherNotifications `json:"label_matcher_notification_policies,omitempty"`

	// Labels Labels are the labels for the monitor.
	Labels *map[string]string `json:"labels,omitempty"`

	// Name Name is the name of the monitor.
	Name string `json:"name"`

	// NotificationPolicyId Deprecated: NotificationPolicyID is the ID of the notification policy associated with the monitor.
	// It is an optional field.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	NotificationPolicyId *openapi_types.UUID `json:"notification_policy_id,omitempty"`

	// Notifications Notifications is the list of notifications for the monitor.
	// These notifications are evaluated in order, and the first matching notification is used.
	Notifications *[]LabelMatcherNotifications `json:"notifications,omitempty"`

	// PromqlQuery PromQLQuery is the Prometheus query for the monitor.
	PromqlQuery string `json:"promql_query"`

	// RepeatInterval RepeatInterval is the interval at which to send alerts for the same alert after firing.
	// RepeatInterval should be a multiple of GroupInterval
	RepeatInterval *string `json:"repeat_interval,omitempty"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updated_at_epoch_ms,omitempty"`
}

Monitor Monitor is a model for a monitor.

type MonitorState

type MonitorState struct {
	EvaluationTime float32                   `json:"evaluation_time"`
	Health         string                    `json:"health"`
	History        *[]MonitorTriggerInstance `json:"history"`
	Id             openapi_types.UUID        `json:"id"`
	LastEvaluation time.Time                 `json:"last_evaluation"`
}

MonitorState MonitorState represents the state of a monitor.

type MonitorTrigger

type MonitorTrigger struct {
	EndsAt    time.Time          `json:"endsAt"`
	Labels    *map[string]string `json:"labels"`
	MonitorID string             `json:"monitorID"`
	Severity  string             `json:"severity"`
	StartsAt  time.Time          `json:"startsAt"`
	UpdatedAt time.Time          `json:"updatedAt"`
}

MonitorTrigger MonitorTrigger represents a monitor that triggers an alert.

JSON field names use camelCase (monitorID, startsAt, endsAt, updatedAt) for historical reasons — most other Oodle API schemas use snake_case. The camelCase casing is preserved here to avoid breaking existing HTTP clients that depend on the current field names. New schemas should use snake_case.

type MonitorTriggerInstance

type MonitorTriggerInstance struct {
	// FiringInstanceLastActiveTime Used to track the last active time for a firing instance
	FiringInstanceLastActiveTime *time.Time `json:"FiringInstanceLastActiveTime,omitempty"`
	EndsAt                       *time.Time `json:"ends_at,omitempty"`
	MonitorId                    string     `json:"monitor_id"`
	Severity                     string     `json:"severity"`
	StartsAt                     time.Time  `json:"starts_at"`
}

MonitorTriggerInstance MonitorTriggerInstance is an instance of a firing monitor.

type MutingRule

type MutingRule struct {
	// Comment Optional: Comment can be used to additional note along with the muting rule.
	Comment *string `json:"comment,omitempty"`

	// CreatedAt CreatedAt is the creation timestamp for the muting rules. May be empty.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// CreatedBy Optional: CreatedBy is the user who created the muting rule.
	CreatedBy *string `json:"createdBy,omitempty"`

	// EndsAt Optional: EndsAt is the end time when muting ends. If not specified, then muting is effective forever. Only for one-off rules.
	EndsAt *time.Time `json:"endsAt,omitempty"`
	Id     string     `json:"id"`

	// Matchers Matchers is the list of matchers that determine when this rule applies.
	// An alert instance is muted if it matches all the matchers.
	Matchers *[]LabelMatcher `json:"matchers"`

	// Name Optional: Name is a human-readable name for the muting rule.
	Name *string `json:"name,omitempty"`

	// ScheduleIds Optional: ScheduleIDs is a list of schedule UUIDs. When non-empty, the rule is recurring
	// and mutually exclusive with StartsAt/EndsAt. The alert is muted during ANY of the referenced schedules.
	ScheduleIds *[]string `json:"scheduleIds,omitempty"`

	// Schedules Schedules is populated on read with the full schedule objects for each ScheduleID.
	Schedules *[]Schedule `json:"schedules,omitempty"`

	// StartsAt Optional: StartsAt is the start time when muting starts. Defaults to current time. Only for one-off rules.
	StartsAt *time.Time `json:"startsAt,omitempty"`

	// UpdatedAt UpdatedAt is the timestamp of the last update of the muting rule.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

MutingRule MutingRule allows to mute notifications. When ScheduleIDs is non-empty, this is a recurring muting rule. When ScheduleIDs is empty, this is a one-off muting rule.

type NetUrlUserinfo added in v0.2.0

type NetUrlUserinfo = map[string]interface{}

NetUrlUserinfo The Userinfo type is an immutable encapsulation of username and password details for a URL. An existing Userinfo value is guaranteed to have a username set (potentially empty, as allowed by RFC 2396), and optionally a password.

type NotificationPolicy

type NotificationPolicy struct {
	// Global Global policy is applied to all monitors in addition to any monitor specific policies.
	Global     *bool               `json:"global,omitempty"`
	Id         *openapi_types.UUID `json:"id,omitempty"`
	MuteGlobal *bool               `json:"mute_global,omitempty"`

	// MuteNonGlobal MuteNonGlobal is used to disable all non-global policies. It can only be set for a Global
	// notification policy. Global policy would still be effective when MuteNonGlobal is true.
	MuteNonGlobal *bool   `json:"mute_non_global,omitempty"`
	Name          *string `json:"name,omitempty"`

	// Notifiers NotifiersByCondition represents notifiers for each severity level.
	Notifiers *NotifiersByCondition `json:"notifiers,omitempty"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updated_at_epoch_ms,omitempty"`
}

NotificationPolicy NotificationPolicy represents a policy for sending notifications based on severity. A notification policy is associated with a monitor.

type Notifier

type Notifier struct {
	// EmailConfig EmailConfig configures notifications via mail.
	EmailConfig *EmailConfig `json:"email_config,omitempty"`

	// GooglechatConfig GoogleChatConfig configures notifications via Google Chat.
	GooglechatConfig *GoogleChatConfig   `json:"googlechat_config,omitempty"`
	Id               *openapi_types.UUID `json:"id,omitempty"`
	Msteamsv2Config  *MSTeamsV2Config    `json:"msteamsv2_config,omitempty"`
	Name             *string             `json:"name,omitempty"`

	// OpsgenieConfig OpsGenieConfig configures notifications via OpsGenie.
	OpsgenieConfig *OpsGenieConfig `json:"opsgenie_config,omitempty"`

	// PagerdutyConfig PagerdutyConfig configures notifications via PagerDuty.
	PagerdutyConfig *PagerdutyConfig `json:"pagerduty_config,omitempty"`

	// SlackConfig SlackConfig configures notifications via Slack.
	SlackConfig *SlackConfig `json:"slack_config,omitempty"`
	Type        int          `json:"type"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updated_at_epoch_ms,omitempty"`

	// WebhookConfig WebhookConfig configures notifications via a generic webhook.
	WebhookConfig *WebhookConfig `json:"webhook_config,omitempty"`
}

Notifier Notifier represents a single notification target.

type NotifiersByCondition

type NotifiersByCondition struct {
	Any      *[]openapi_types.UUID `json:"any,omitempty"`
	Critical *[]openapi_types.UUID `json:"critical,omitempty"`
	NoData   *[]openapi_types.UUID `json:"no_data,omitempty"`
	Warn     *[]openapi_types.UUID `json:"warn,omitempty"`
}

NotifiersByCondition NotifiersByCondition represents notifiers for each severity level.

type OAuth2

type OAuth2 struct {
	// TLSConfig TLSConfig configures the options for TLS connections.
	TLSConfig        *TLSConfig `json:"TLSConfig,omitempty"`
	ClientId         string     `json:"client_id"`
	ClientSecret     *string    `json:"client_secret,omitempty"`
	ClientSecretFile *string    `json:"client_secret_file,omitempty"`

	// ClientSecretRef ClientSecretRef is the name of the secret within the secret manager to use as the client
	// secret.
	ClientSecretRef *string            `json:"client_secret_ref,omitempty"`
	EndpointParams  *map[string]string `json:"endpoint_params,omitempty"`

	// NoProxy NoProxy contains addresses that should not use a proxy.
	NoProxy *string `json:"no_proxy,omitempty"`

	// ProxyConnectHeader ProxyConnectHeader optionally specifies headers to send to
	// proxies during CONNECT requests. Assume that at least _some_ of
	// these headers are going to contain secrets and use Secret as the
	// value type instead of string.
	ProxyConnectHeader *map[string]*[]string `json:"proxy_connect_header,omitempty"`

	// ProxyFromEnvironment ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function
	// to determine proxies.
	ProxyFromEnvironment *bool     `json:"proxy_from_environment,omitempty"`
	Scopes               *[]string `json:"scopes,omitempty"`
	TokenUrl             string    `json:"token_url"`
}

OAuth2 OAuth2 is the oauth2 client configuration.

type OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse added in v0.6.0

type OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse struct {
	AuthorizationServers   *[]string `json:"authorization_servers"`
	BearerMethodsSupported *[]string `json:"bearer_methods_supported,omitempty"`
	Resource               string    `json:"resource"`
	ScopesSupported        *[]string `json:"scopes_supported,omitempty"`
}

OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse ProtectedResourceMetadataResponse follows the OAuth protected resource metadata response shape used at well-known discovery endpoints.

type OodleUtilHttputilsModelsError

type OodleUtilHttputilsModelsError struct {
	Cause        *string `json:"cause,omitempty"`
	Code         *string `json:"code,omitempty"`
	Message      *string `json:"message,omitempty"`
	OodleTraceId *string `json:"oodleTraceId,omitempty"`
	Remedy       *string `json:"remedy,omitempty"`
}

OodleUtilHttputilsModelsError defines model for oodle_util_httputils_models_Error.

type OodleUtilHttputilsModelsErrors

type OodleUtilHttputilsModelsErrors struct {
	Errors *[]OodleUtilHttputilsModelsError `json:"errors,omitempty"`
}

OodleUtilHttputilsModelsErrors defines model for oodle_util_httputils_models_Errors.

type OpsGenieConfig

type OpsGenieConfig struct {
	Actions *string `json:"actions,omitempty"`
	ApiKey  *string `json:"api_key,omitempty"`

	// ApiUrl URL is a custom URL type that allows validation at configuration load time.
	ApiUrl      *URL               `json:"api_url,omitempty"`
	Description *string            `json:"description,omitempty"`
	Details     *map[string]string `json:"details,omitempty"`
	Entity      *string            `json:"entity,omitempty"`

	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig          `json:"http_config,omitempty"`
	Message      *string                    `json:"message,omitempty"`
	Note         *string                    `json:"note,omitempty"`
	Priority     *string                    `json:"priority,omitempty"`
	Responders   *[]OpsGenieConfigResponder `json:"responders,omitempty"`
	SendResolved bool                       `json:"send_resolved"`
	Source       *string                    `json:"source,omitempty"`
	Tags         *string                    `json:"tags,omitempty"`
	UpdateAlerts *bool                      `json:"update_alerts,omitempty"`
}

OpsGenieConfig OpsGenieConfig configures notifications via OpsGenie.

type OpsGenieConfigResponder

type OpsGenieConfigResponder struct {
	// Id One of those 3 should be filled.
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`

	// Type team, user, escalation, schedule etc.
	Type     *string `json:"type,omitempty"`
	Username *string `json:"username,omitempty"`
}

OpsGenieConfigResponder defines model for OpsGenieConfigResponder.

type PagerdutyConfig

type PagerdutyConfig struct {
	Class       *string            `json:"class,omitempty"`
	Client      *string            `json:"client,omitempty"`
	ClientUrl   *string            `json:"client_url,omitempty"`
	Component   *string            `json:"component,omitempty"`
	Description *string            `json:"description,omitempty"`
	Details     *map[string]string `json:"details,omitempty"`
	Group       *string            `json:"group,omitempty"`

	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig     *HTTPClientConfig `json:"http_config,omitempty"`
	Images         *[]PagerdutyImage `json:"images,omitempty"`
	Links          *[]PagerdutyLink  `json:"links,omitempty"`
	RoutingKey     *string           `json:"routing_key,omitempty"`
	RoutingKeyFile *string           `json:"routing_key_file,omitempty"`
	SendResolved   bool              `json:"send_resolved"`
	ServiceKey     *string           `json:"service_key,omitempty"`
	Severity       *string           `json:"severity,omitempty"`
	Source         *string           `json:"source,omitempty"`

	// Url URL is a custom URL type that allows validation at configuration load time.
	Url *URL `json:"url,omitempty"`
}

PagerdutyConfig PagerdutyConfig configures notifications via PagerDuty.

type PagerdutyImage

type PagerdutyImage struct {
	Alt  *string `json:"alt,omitempty"`
	Href *string `json:"href,omitempty"`
	Src  *string `json:"src,omitempty"`
}

PagerdutyImage PagerdutyImage is an image.

type PagerdutyLink struct {
	Href *string `json:"href,omitempty"`
	Text *string `json:"text,omitempty"`
}

PagerdutyLink PagerdutyLink is a link.

type PrometheusQueryResponse added in v0.4.0

type PrometheusQueryResponse struct {
	Data *struct {
		Result     *[]map[string]interface{}              `json:"result,omitempty"`
		ResultType *PrometheusQueryResponseDataResultType `json:"resultType,omitempty"`
	} `json:"data,omitempty"`
	Error     *string                       `json:"error,omitempty"`
	ErrorType *string                       `json:"errorType,omitempty"`
	Status    PrometheusQueryResponseStatus `json:"status"`
	Warnings  *[]string                     `json:"warnings,omitempty"`
}

PrometheusQueryResponse defines model for PrometheusQueryResponse.

type PrometheusQueryResponseDataResultType added in v0.4.0

type PrometheusQueryResponseDataResultType string

PrometheusQueryResponseDataResultType defines model for PrometheusQueryResponse.Data.ResultType.

Defines values for PrometheusQueryResponseDataResultType.

func (PrometheusQueryResponseDataResultType) Valid added in v0.4.0

Valid indicates whether the value is a known member of the PrometheusQueryResponseDataResultType enum.

type PrometheusQueryResponseStatus added in v0.4.0

type PrometheusQueryResponseStatus string

PrometheusQueryResponseStatus defines model for PrometheusQueryResponse.Status.

const (
	Error   PrometheusQueryResponseStatus = "error"
	Success PrometheusQueryResponseStatus = "success"
)

Defines values for PrometheusQueryResponseStatus.

func (PrometheusQueryResponseStatus) Valid added in v0.4.0

Valid indicates whether the value is a known member of the PrometheusQueryResponseStatus enum.

type QueryLogsParams added in v0.4.0

type QueryLogsParams struct {
	// XOODLEINSTANCE Oodle instance ID
	XOODLEINSTANCE string `json:"X-OODLE-INSTANCE"`
}

QueryLogsParams defines parameters for QueryLogs.

type QueryLogsResponse added in v0.4.0

type QueryLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogsQueryResponse
}

func ParseQueryLogsResponse added in v0.4.0

func ParseQueryLogsResponse(rsp *http.Response) (*QueryLogsResponse, error)

ParseQueryLogsResponse parses an HTTP response from a QueryLogsWithResponse call

func (QueryLogsResponse) Status added in v0.4.0

func (r QueryLogsResponse) Status() string

Status returns HTTPResponse.Status

func (QueryLogsResponse) StatusCode added in v0.4.0

func (r QueryLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QueryMetricsInstantParams added in v0.4.0

type QueryMetricsInstantParams struct {
	// Query PromQL expression (e.g. sum(up))
	Query string `form:"query" json:"query"`

	// Time Evaluation timestamp in Unix seconds. Defaults to current time.
	Time *float64 `form:"time,omitempty" json:"time,omitempty"`

	// OODLEINSTANCE Oodle instance ID
	OODLEINSTANCE string `json:"OODLE-INSTANCE"`
}

QueryMetricsInstantParams defines parameters for QueryMetricsInstant.

type QueryMetricsInstantResponse added in v0.4.0

type QueryMetricsInstantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrometheusQueryResponse
	JSON400      *PrometheusQueryResponse
}

func ParseQueryMetricsInstantResponse added in v0.4.0

func ParseQueryMetricsInstantResponse(rsp *http.Response) (*QueryMetricsInstantResponse, error)

ParseQueryMetricsInstantResponse parses an HTTP response from a QueryMetricsInstantWithResponse call

func (QueryMetricsInstantResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (QueryMetricsInstantResponse) StatusCode added in v0.4.0

func (r QueryMetricsInstantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QueryMetricsRangeParams added in v0.4.0

type QueryMetricsRangeParams struct {
	// Query PromQL expression (e.g. sum(up))
	Query string `form:"query" json:"query"`

	// Start Start timestamp in Unix seconds
	Start float64 `form:"start" json:"start"`

	// End End timestamp in Unix seconds
	End float64 `form:"end" json:"end"`

	// Step Query resolution step width as a duration string (e.g. 60s, 5m) or number of seconds
	Step string `form:"step" json:"step"`

	// PartialResponse When true, return partial data if some stores are unavailable
	PartialResponse *bool `form:"partial_response,omitempty" json:"partial_response,omitempty"`

	// OODLEINSTANCE Oodle instance ID
	OODLEINSTANCE string `json:"OODLE-INSTANCE"`
}

QueryMetricsRangeParams defines parameters for QueryMetricsRange.

type QueryMetricsRangeResponse added in v0.4.0

type QueryMetricsRangeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrometheusQueryResponse
	JSON400      *PrometheusQueryResponse
}

func ParseQueryMetricsRangeResponse added in v0.4.0

func ParseQueryMetricsRangeResponse(rsp *http.Response) (*QueryMetricsRangeResponse, error)

ParseQueryMetricsRangeResponse parses an HTTP response from a QueryMetricsRangeWithResponse call

func (QueryMetricsRangeResponse) Status added in v0.4.0

func (r QueryMetricsRangeResponse) Status() string

Status returns HTTPResponse.Status

func (QueryMetricsRangeResponse) StatusCode added in v0.4.0

func (r QueryMetricsRangeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SaveDashboardRequest

type SaveDashboardRequest struct {
	// Dashboard Grafana-compatible dashboard JSON
	Dashboard map[string]interface{} `json:"dashboard"`
	FolderUid *string                `json:"folderUid,omitempty"`
	Message   *string                `json:"message,omitempty"`
	Overwrite *bool                  `json:"overwrite,omitempty"`
}

SaveDashboardRequest defines model for SaveDashboardRequest.

type SaveDashboardResponse

type SaveDashboardResponse struct {
	Id      int    `json:"id"`
	Slug    string `json:"slug"`
	Status  string `json:"status"`
	Uid     string `json:"uid"`
	Url     string `json:"url"`
	Version int    `json:"version"`
}

SaveDashboardResponse SaveDashboardResponse represents a response from saving a dashboard

type Schedule

type Schedule struct {
	CreatedAt     time.Time               `json:"created_at"`
	CreatedBy     *string                 `json:"created_by,omitempty"`
	Id            string                  `json:"id"`
	Name          string                  `json:"name"`
	TimeIntervals *[]ScheduleTimeInterval `json:"time_intervals"`
	UpdatedAt     time.Time               `json:"updated_at"`
}

Schedule Schedule represents a named recurring mute timing.

type ScheduleTimeInterval

type ScheduleTimeInterval struct {
	DaysOfMonth *[]string            `json:"days_of_month,omitempty"`
	Location    *string              `json:"location,omitempty"`
	Months      *[]string            `json:"months,omitempty"`
	Times       *[]ScheduleTimeRange `json:"times,omitempty"`
	Weekdays    *[]string            `json:"weekdays,omitempty"`
	Years       *[]string            `json:"years,omitempty"`
}

ScheduleTimeInterval ScheduleTimeInterval defines a recurring time window for muting. YAML tags match Alertmanager's timeinterval.TimeInterval so the struct can be directly marshalled for AM config.

type ScheduleTimeRange

type ScheduleTimeRange struct {
	EndTime   string `json:"end_time"`
	StartTime string `json:"start_time"`
}

ScheduleTimeRange ScheduleTimeRange represents a time-of-day range in HH:MM format.

type SendInvitationRequest

type SendInvitationRequest struct {
	Email       string    `json:"email"`
	Roles       *[]string `json:"roles"`
	SenderEmail string    `json:"sender_email"`
}

SendInvitationRequest SendInvitationRequest is the request body for sending a single organization invitation.

type SlackAction

type SlackAction struct {
	// Confirm SlackConfirmationField protect users from destructive actions or particularly distinguished decisions
	// by asking them to confirm their button click one more time.
	// See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.
	Confirm *SlackConfirmationField `json:"confirm,omitempty"`
	Name    *string                 `json:"name,omitempty"`
	Style   *string                 `json:"style,omitempty"`
	Text    *string                 `json:"text,omitempty"`
	Type    *string                 `json:"type,omitempty"`
	Url     *string                 `json:"url,omitempty"`
	Value   *string                 `json:"value,omitempty"`
}

SlackAction SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.

type SlackConfig

type SlackConfig struct {
	Actions    *[]SlackAction `json:"actions,omitempty"`
	ApiUrl     *string        `json:"api_url,omitempty"`
	CallbackId *string        `json:"callback_id,omitempty"`

	// Channel Slack channel override, (like #other-channel or @username).
	Channel  *string       `json:"channel,omitempty"`
	Color    *string       `json:"color,omitempty"`
	Fallback *string       `json:"fallback,omitempty"`
	Fields   *[]SlackField `json:"fields,omitempty"`
	Footer   *string       `json:"footer,omitempty"`

	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig `json:"http_config,omitempty"`
	IconEmoji    *string           `json:"icon_emoji,omitempty"`
	IconUrl      *string           `json:"icon_url,omitempty"`
	ImageUrl     *string           `json:"image_url,omitempty"`
	LinkNames    *bool             `json:"link_names,omitempty"`
	MrkdwnIn     *[]string         `json:"mrkdwn_in,omitempty"`
	Pretext      *string           `json:"pretext,omitempty"`
	SendResolved bool              `json:"send_resolved"`
	ShortFields  *bool             `json:"short_fields,omitempty"`
	Text         *string           `json:"text,omitempty"`
	ThumbUrl     *string           `json:"thumb_url,omitempty"`
	Title        *string           `json:"title,omitempty"`
	TitleLink    *string           `json:"title_link,omitempty"`
	Username     *string           `json:"username,omitempty"`
}

SlackConfig SlackConfig configures notifications via Slack.

type SlackConfirmationField

type SlackConfirmationField struct {
	DismissText *string `json:"dismiss_text,omitempty"`
	OkText      *string `json:"ok_text,omitempty"`
	Text        *string `json:"text,omitempty"`
	Title       *string `json:"title,omitempty"`
}

SlackConfirmationField SlackConfirmationField protect users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.

type SlackField

type SlackField struct {
	Short *bool   `json:"short,omitempty"`
	Title *string `json:"title,omitempty"`
	Value *string `json:"value,omitempty"`
}

SlackField SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.

type SyntheticCheckResult

type SyntheticCheckResult struct {
	AvgRttMs *float32 `json:"avg_rtt_ms,omitempty"`

	// DnsResults DNS-specific results
	DnsResults   *[]string `json:"dns_results,omitempty"`
	Duration     string    `json:"duration"`
	DurationMs   int       `json:"duration_ms"`
	ErrorMessage *string   `json:"error_message,omitempty"`

	// Hops Traceroute-specific results
	Hops            *[]SyntheticTracerouteHop `json:"hops,omitempty"`
	Location        *string                   `json:"location,omitempty"`
	MaxRttMs        *float32                  `json:"max_rtt_ms,omitempty"`
	MinRttMs        *float32                  `json:"min_rtt_ms,omitempty"`
	PacketLoss      *float32                  `json:"packet_loss,omitempty"`
	PacketsReceived *int                      `json:"packets_received,omitempty"`

	// PacketsSent Ping-specific results
	PacketsSent *int    `json:"packets_sent,omitempty"`
	PodId       *string `json:"pod_id,omitempty"`

	// RequestHeaders HTTP headers
	RequestHeaders  *map[string]string `json:"request_headers,omitempty"`
	ResponseBody    *string            `json:"response_body,omitempty"`
	ResponseHeaders *map[string]string `json:"response_headers,omitempty"`

	// SslExpiry SSL-specific results
	SslExpiry  *time.Time `json:"ssl_expiry,omitempty"`
	StatusCode *int       `json:"status_code,omitempty"`
	Success    bool       `json:"success"`
	Timestamp  time.Time  `json:"timestamp"`
}

SyntheticCheckResult CheckResult represents the result of a synthetic check

type SyntheticCondition

type SyntheticCondition struct {
	For           *string `json:"for,omitempty"`
	KeepFiringFor *string `json:"keep_firing_for,omitempty"`
	Op            string  `json:"op"`
	Value         float32 `json:"value"`
}

SyntheticCondition Condition defines alert conditions

type SyntheticConditionBySeverity

type SyntheticConditionBySeverity struct {
	// Critical Condition defines alert conditions
	Critical *SyntheticCondition `json:"critical,omitempty"`

	// Warn Condition defines alert conditions
	Warn *SyntheticCondition `json:"warn,omitempty"`
}

SyntheticConditionBySeverity ConditionBySeverity defines conditions for each severity level

type SyntheticDNSRuleConfig

type SyntheticDNSRuleConfig struct {
	Domain           string    `json:"domain"`
	ExpectResolution bool      `json:"expect_resolution"`
	ExpectedValues   *[]string `json:"expected_values,omitempty"`
	Nameserver       *string   `json:"nameserver,omitempty"`
	RecordType       string    `json:"record_type"`
}

SyntheticDNSRuleConfig DNSRuleConfig is the configuration for DNS checks

type SyntheticHTTPRuleConfig

type SyntheticHTTPRuleConfig struct {
	BearerToken         *string            `json:"bearer_token,omitempty"`
	Body                *string            `json:"body,omitempty"`
	ExcludedStatusCodes *[]interface{}     `json:"excluded_status_codes,omitempty"`
	ExpectedBody        *string            `json:"expected_body,omitempty"`
	ExpectedHeaders     *map[string]string `json:"expected_headers,omitempty"`
	ExpectedStatusCodes *[]interface{}     `json:"expected_status_codes,omitempty"`
	FollowRedirects     *bool              `json:"follow_redirects,omitempty"`
	Headers             *map[string]string `json:"headers,omitempty"`
	InsecureSkipVerify  *bool              `json:"insecure_skip_verify,omitempty"`
	MaxResponseTimeMs   *int64             `json:"max_response_time_ms,omitempty"`
	Method              string             `json:"method"`
	Url                 string             `json:"url"`
}

SyntheticHTTPRuleConfig defines model for SyntheticHTTPRuleConfig.

type SyntheticLabelMatcherNotifications

type SyntheticLabelMatcherNotifications struct {
	NotificationPolicyId *string `json:"notification_policy_id,omitempty"`

	// Notifiers NotifiersByCondition defines notifiers for each condition
	Notifiers *SyntheticNotifiersByCondition `json:"notifiers,omitempty"`
}

SyntheticLabelMatcherNotifications LabelMatcherNotifications defines notifications with label matching

type SyntheticMonitor added in v0.2.0

type SyntheticMonitor struct {
	// AgentName AgentName is the optional name of the agent
	// through which to route the check.
	AgentName   *string            `json:"agent_name,omitempty"`
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Conditions ConditionBySeverity defines conditions for each severity level
	Conditions  *SyntheticConditionBySeverity `json:"conditions,omitempty"`
	CreatedAt   *time.Time                    `json:"created_at,omitempty"`
	Description *string                       `json:"description,omitempty"`
	Enabled     bool                          `json:"enabled"`
	Id          *string                       `json:"id,omitempty"`
	Instance    string                        `json:"instance"`
	Interval    string                        `json:"interval"`
	Labels      *map[string]string            `json:"labels,omitempty"`

	// LastResult CheckResult represents the result of a synthetic check
	LastResult           *SyntheticCheckResult                 `json:"last_result,omitempty"`
	LastRunAt            *time.Time                            `json:"last_run_at,omitempty"`
	Name                 string                                `json:"name"`
	NotificationPolicyId *string                               `json:"notification_policy_id,omitempty"`
	Notifications        *[]SyntheticLabelMatcherNotifications `json:"notifications,omitempty"`

	// RuleConfig RuleConfig is a union type for different rule configurations
	RuleConfig SyntheticRuleConfig `json:"rule_config"`
	RuleType   string              `json:"rule_type"`
	Timeout    string              `json:"timeout"`
	UpdatedAt  *time.Time          `json:"updated_at,omitempty"`
}

SyntheticMonitor SyntheticMonitor represents a synthetic monitoring rule

type SyntheticNotifiersByCondition

type SyntheticNotifiersByCondition struct {
	Any      *[]string `json:"any,omitempty"`
	Critical *[]string `json:"critical,omitempty"`
	Warn     *[]string `json:"warn,omitempty"`
}

SyntheticNotifiersByCondition NotifiersByCondition defines notifiers for each condition

type SyntheticPingRuleConfig

type SyntheticPingRuleConfig struct {
	Count      *int   `json:"count,omitempty"`
	Host       string `json:"host"`
	IntervalMs *int   `json:"interval_ms,omitempty"`
}

SyntheticPingRuleConfig PingRuleConfig is the configuration for ICMP ping checks

type SyntheticRuleConfig

type SyntheticRuleConfig struct {
	// Dns DNSRuleConfig is the configuration for DNS checks
	Dns  *SyntheticDNSRuleConfig  `json:"dns,omitempty"`
	Http *SyntheticHTTPRuleConfig `json:"http,omitempty"`

	// Ping PingRuleConfig is the configuration for ICMP ping checks
	Ping *SyntheticPingRuleConfig `json:"ping,omitempty"`

	// Ssl SSLRuleConfig is the configuration for SSL certificate checks
	Ssl *SyntheticSSLRuleConfig `json:"ssl,omitempty"`

	// Tcp TCPRuleConfig is the configuration for TCP checks
	Tcp *SyntheticTCPRuleConfig `json:"tcp,omitempty"`

	// Traceroute TracerouteRuleConfig is the configuration for traceroute checks
	Traceroute *SyntheticTracerouteRuleConfig `json:"traceroute,omitempty"`
}

SyntheticRuleConfig RuleConfig is a union type for different rule configurations

type SyntheticSSLRuleConfig

type SyntheticSSLRuleConfig struct {
	CheckCertificateAuthority bool   `json:"check_certificate_authority"`
	CriticalDaysBeforeExpiry  int    `json:"critical_days_before_expiry"`
	Host                      string `json:"host"`
	InsecureSkipVerify        bool   `json:"insecure_skip_verify"`
	Port                      int    `json:"port"`
	WarnDaysBeforeExpiry      int    `json:"warn_days_before_expiry"`
}

SyntheticSSLRuleConfig SSLRuleConfig is the configuration for SSL certificate checks

type SyntheticTCPRuleConfig

type SyntheticTCPRuleConfig struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}

SyntheticTCPRuleConfig TCPRuleConfig is the configuration for TCP checks

type SyntheticTracerouteHop

type SyntheticTracerouteHop struct {
	Address   *string  `json:"address,omitempty"`
	HopNumber int      `json:"hop_number"`
	Hostname  *string  `json:"hostname,omitempty"`
	RttMs     *float32 `json:"rtt_ms,omitempty"`
	Timeout   *bool    `json:"timeout,omitempty"`
}

SyntheticTracerouteHop TracerouteHop represents a single hop in a traceroute

type SyntheticTracerouteRuleConfig

type SyntheticTracerouteRuleConfig struct {
	Host            string `json:"host"`
	MaxHops         *int   `json:"max_hops,omitempty"`
	TimeoutPerHopMs *int   `json:"timeout_per_hop_ms,omitempty"`
}

SyntheticTracerouteRuleConfig TracerouteRuleConfig is the configuration for traceroute checks

type TLSConfig

type TLSConfig struct {
	// Ca Text of the CA cert to use for the targets.
	Ca *string `json:"ca,omitempty"`

	// CaFile The CA cert to use for the targets.
	CaFile *string `json:"ca_file,omitempty"`

	// CaRef CARef is the name of the secret within the secret manager to use as the CA cert for the
	// targets.
	CaRef *string `json:"ca_ref,omitempty"`

	// Cert Text of the client cert file for the targets.
	Cert *string `json:"cert,omitempty"`

	// CertFile The client cert file for the targets.
	CertFile *string `json:"cert_file,omitempty"`

	// CertRef CertRef is the name of the secret within the secret manager to use as the client cert for
	// the targets.
	CertRef *string `json:"cert_ref,omitempty"`

	// InsecureSkipVerify Disable target certificate validation.
	InsecureSkipVerify bool `json:"insecure_skip_verify"`

	// Key Text of the client key file for the targets.
	Key *string `json:"key,omitempty"`

	// KeyFile The client key file for the targets.
	KeyFile *string `json:"key_file,omitempty"`

	// KeyRef KeyRef is the name of the secret within the secret manager to use as the client key for
	// the targets.
	KeyRef *string `json:"key_ref,omitempty"`

	// MaxVersion Maximum TLS version.
	MaxVersion *int `json:"max_version,omitempty"`

	// MinVersion Minimum TLS version.
	MinVersion *int `json:"min_version,omitempty"`

	// ServerName Used to verify the hostname for the targets.
	ServerName *string `json:"server_name,omitempty"`
}

TLSConfig TLSConfig configures the options for TLS connections.

type Trace added in v0.2.0

type Trace struct {
	Processes *map[string]TraceProcess `json:"processes"`
	Spans     *[]TraceSpan             `json:"spans"`
	TraceID   string                   `json:"traceID"`
	Warnings  *string                  `json:"warnings,omitempty"`
}

Trace defines model for Trace.

type TraceLabelsResponse added in v0.2.0

type TraceLabelsResponse struct {
	Data   *[]string `json:"data"`
	Errors *string   `json:"errors,omitempty"`
	Limit  int       `json:"limit"`
	Offset int       `json:"offset"`
	Total  int       `json:"total"`
}

TraceLabelsResponse defines model for TraceLabelsResponse.

type TraceProcess added in v0.2.0

type TraceProcess struct {
	ServiceName string          `json:"serviceName"`
	Tags        *[]TraceSpanTag `json:"tags"`
}

TraceProcess defines model for TraceProcess.

type TraceSpan added in v0.2.0

type TraceSpan struct {
	Duration      int                   `json:"duration"`
	EndTime       int                   `json:"endTime"`
	Logs          *[]TraceSpanLog       `json:"logs"`
	OperationName string                `json:"operationName"`
	ParentSpanID  string                `json:"parentSpanID"`
	ProcessID     string                `json:"processID"`
	References    *[]TraceSpanReference `json:"references"`
	SpanID        string                `json:"spanID"`
	StartTime     int                   `json:"startTime"`
	Tags          *[]TraceSpanTag       `json:"tags"`
	TraceID       string                `json:"traceID"`
	Warning       *string               `json:"warning,omitempty"`
}

TraceSpan defines model for TraceSpan.

type TraceSpanLog added in v0.2.0

type TraceSpanLog struct {
	Fields    *[]TraceSpanTag `json:"fields"`
	Timestamp int             `json:"timestamp"`
}

TraceSpanLog defines model for TraceSpanLog.

type TraceSpanReference added in v0.2.0

type TraceSpanReference struct {
	RefType string `json:"refType"`
	SpanID  string `json:"spanID"`
	TraceID string `json:"traceID"`
}

TraceSpanReference defines model for TraceSpanReference.

type TraceSpanTag added in v0.2.0

type TraceSpanTag struct {
	FilterLabel *string `json:"filterLabel,omitempty"`
	Key         string  `json:"key"`
	Type        string  `json:"type"`

	// Value Value carries the tag's data. Its concrete JSON type (string,
	// integer, number, or boolean) is declared by the sibling Type field.
	Value TraceSpanTag_Value `json:"value"`
}

TraceSpanTag Tag represents a single key/value attribute attached to a Span, Process, or Log.

FilterLabel is the fully-qualified storage-column name this tag was derived from (e.g. "span::http.method", "resource::k8s.cluster.name", "scope_name"). When set, clients can use it directly as a label name for trace filtering without having to guess which bucket (span vs resource) the attribute came from or which prefix to prepend.

FilterLabel is empty for synthesised tags that don't correspond to a single indexed label (e.g. "otel.status_code" derived from span_status, "span.kind" from span_kind) and for internal counter columns like dropped_attributes_count and flags that aren't meaningful to filter on.

type TraceSpanTagValue0 added in v0.2.0

type TraceSpanTagValue0 = string

TraceSpanTagValue0 defines model for .

type TraceSpanTagValue1 added in v0.2.0

type TraceSpanTagValue1 = int64

TraceSpanTagValue1 defines model for .

type TraceSpanTagValue2 added in v0.2.0

type TraceSpanTagValue2 = float32

TraceSpanTagValue2 defines model for .

type TraceSpanTagValue3 added in v0.2.0

type TraceSpanTagValue3 = bool

TraceSpanTagValue3 defines model for .

type TraceSpanTag_Value added in v0.2.0

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

TraceSpanTag_Value Value carries the tag's data. Its concrete JSON type (string, integer, number, or boolean) is declared by the sibling Type field.

func (TraceSpanTag_Value) AsTraceSpanTagValue0 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue0() (TraceSpanTagValue0, error)

AsTraceSpanTagValue0 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue0

func (TraceSpanTag_Value) AsTraceSpanTagValue1 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue1() (TraceSpanTagValue1, error)

AsTraceSpanTagValue1 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue1

func (TraceSpanTag_Value) AsTraceSpanTagValue2 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue2() (TraceSpanTagValue2, error)

AsTraceSpanTagValue2 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue2

func (TraceSpanTag_Value) AsTraceSpanTagValue3 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue3() (TraceSpanTagValue3, error)

AsTraceSpanTagValue3 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue3

func (*TraceSpanTag_Value) FromTraceSpanTagValue0 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue0(v TraceSpanTagValue0) error

FromTraceSpanTagValue0 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue0

func (*TraceSpanTag_Value) FromTraceSpanTagValue1 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue1(v TraceSpanTagValue1) error

FromTraceSpanTagValue1 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue1

func (*TraceSpanTag_Value) FromTraceSpanTagValue2 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue2(v TraceSpanTagValue2) error

FromTraceSpanTagValue2 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue2

func (*TraceSpanTag_Value) FromTraceSpanTagValue3 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue3(v TraceSpanTagValue3) error

FromTraceSpanTagValue3 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue3

func (TraceSpanTag_Value) MarshalJSON added in v0.2.0

func (t TraceSpanTag_Value) MarshalJSON() ([]byte, error)

func (*TraceSpanTag_Value) MergeTraceSpanTagValue0 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue0(v TraceSpanTagValue0) error

MergeTraceSpanTagValue0 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue0

func (*TraceSpanTag_Value) MergeTraceSpanTagValue1 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue1(v TraceSpanTagValue1) error

MergeTraceSpanTagValue1 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue1

func (*TraceSpanTag_Value) MergeTraceSpanTagValue2 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue2(v TraceSpanTagValue2) error

MergeTraceSpanTagValue2 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue2

func (*TraceSpanTag_Value) MergeTraceSpanTagValue3 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue3(v TraceSpanTagValue3) error

MergeTraceSpanTagValue3 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue3

func (*TraceSpanTag_Value) UnmarshalJSON added in v0.2.0

func (t *TraceSpanTag_Value) UnmarshalJSON(b []byte) error

type TracesResponse added in v0.2.0

type TracesResponse struct {
	Data   *[]Trace `json:"data"`
	Errors *string  `json:"errors,omitempty"`
	Limit  int      `json:"limit"`
	Offset int      `json:"offset"`
	Total  int      `json:"total"`
}

TracesResponse defines model for TracesResponse.

type URL

type URL struct {
	ForceQuery  bool   `json:"ForceQuery"`
	Fragment    string `json:"Fragment"`
	Host        string `json:"Host"`
	OmitHost    bool   `json:"OmitHost"`
	Opaque      string `json:"Opaque"`
	Path        string `json:"Path"`
	RawFragment string `json:"RawFragment"`
	RawPath     string `json:"RawPath"`
	RawQuery    string `json:"RawQuery"`
	Scheme      string `json:"Scheme"`

	// User The Userinfo type is an immutable encapsulation of username and
	// password details for a [URL]. An existing Userinfo value is guaranteed
	// to have a username set (potentially empty, as allowed by RFC 2396),
	// and optionally a password.
	User *NetUrlUserinfo `json:"User,omitempty"`
}

URL URL is a custom URL type that allows validation at configuration load time.

type UpdateDropRuleRequest

type UpdateDropRuleRequest struct {
	Filters *[]MetricLabelMatcher `json:"filters"`

	// MetricName Matcher specifies a rule, which can match or set of labels or not.
	MetricName MetricLabelMatcher `json:"metric_name"`
	RuleName   string             `json:"rule_name"`
	Type       string             `json:"type"`
}

UpdateDropRuleRequest UpdateDropRuleRequest is the request body for updating a drop rule.

type UpdateDropRulesByIdJSONRequestBody

type UpdateDropRulesByIdJSONRequestBody = UpdateDropRuleRequest

UpdateDropRulesByIdJSONRequestBody defines body for UpdateDropRulesById for application/json ContentType.

type UpdateDropRulesByIdResponse

type UpdateDropRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateDropRulesByIdResponse

func ParseUpdateDropRulesByIdResponse(rsp *http.Response) (*UpdateDropRulesByIdResponse, error)

ParseUpdateDropRulesByIdResponse parses an HTTP response from a UpdateDropRulesByIdWithResponse call

func (UpdateDropRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateDropRulesByIdResponse) StatusCode

func (r UpdateDropRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLogmetricsByIdJSONRequestBody

type UpdateLogmetricsByIdJSONRequestBody = LogMetrics

UpdateLogmetricsByIdJSONRequestBody defines body for UpdateLogmetricsById for application/json ContentType.

type UpdateLogmetricsByIdResponse

type UpdateLogmetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogMetrics
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateLogmetricsByIdResponse

func ParseUpdateLogmetricsByIdResponse(rsp *http.Response) (*UpdateLogmetricsByIdResponse, error)

ParseUpdateLogmetricsByIdResponse parses an HTTP response from a UpdateLogmetricsByIdWithResponse call

func (UpdateLogmetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateLogmetricsByIdResponse) StatusCode

func (r UpdateLogmetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateMonitorsByIdJSONRequestBody

type UpdateMonitorsByIdJSONRequestBody = Monitor

UpdateMonitorsByIdJSONRequestBody defines body for UpdateMonitorsById for application/json ContentType.

type UpdateMonitorsByIdResponse

type UpdateMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Monitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateMonitorsByIdResponse

func ParseUpdateMonitorsByIdResponse(rsp *http.Response) (*UpdateMonitorsByIdResponse, error)

ParseUpdateMonitorsByIdResponse parses an HTTP response from a UpdateMonitorsByIdWithResponse call

func (UpdateMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateMonitorsByIdResponse) StatusCode

func (r UpdateMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateNotificationPoliciesByIdJSONRequestBody

type UpdateNotificationPoliciesByIdJSONRequestBody = NotificationPolicy

UpdateNotificationPoliciesByIdJSONRequestBody defines body for UpdateNotificationPoliciesById for application/json ContentType.

type UpdateNotificationPoliciesByIdResponse

type UpdateNotificationPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateNotificationPoliciesByIdResponse

func ParseUpdateNotificationPoliciesByIdResponse(rsp *http.Response) (*UpdateNotificationPoliciesByIdResponse, error)

ParseUpdateNotificationPoliciesByIdResponse parses an HTTP response from a UpdateNotificationPoliciesByIdWithResponse call

func (UpdateNotificationPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateNotificationPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateNotifiersByIdJSONRequestBody

type UpdateNotifiersByIdJSONRequestBody = Notifier

UpdateNotifiersByIdJSONRequestBody defines body for UpdateNotifiersById for application/json ContentType.

type UpdateNotifiersByIdResponse

type UpdateNotifiersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Notifier
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateNotifiersByIdResponse

func ParseUpdateNotifiersByIdResponse(rsp *http.Response) (*UpdateNotifiersByIdResponse, error)

ParseUpdateNotifiersByIdResponse parses an HTTP response from a UpdateNotifiersByIdWithResponse call

func (UpdateNotifiersByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateNotifiersByIdResponse) StatusCode

func (r UpdateNotifiersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSyntheticMonitorsByIdJSONRequestBody

type UpdateSyntheticMonitorsByIdJSONRequestBody = SyntheticMonitor

UpdateSyntheticMonitorsByIdJSONRequestBody defines body for UpdateSyntheticMonitorsById for application/json ContentType.

type UpdateSyntheticMonitorsByIdResponse

type UpdateSyntheticMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticMonitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateSyntheticMonitorsByIdResponse

func ParseUpdateSyntheticMonitorsByIdResponse(rsp *http.Response) (*UpdateSyntheticMonitorsByIdResponse, error)

ParseUpdateSyntheticMonitorsByIdResponse parses an HTTP response from a UpdateSyntheticMonitorsByIdWithResponse call

func (UpdateSyntheticMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateSyntheticMonitorsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	Email   *string `json:"email,omitempty"`
	Name    *string `json:"name,omitempty"`
	Picture *string `json:"picture,omitempty"`
	UserId  string  `json:"user_id"`
}

User User is the API representation of an org user.

type UserInvitation

type UserInvitation struct {
	CreatedAt string    `json:"created_at"`
	Email     string    `json:"email"`
	ExpiresAt string    `json:"expires_at"`
	Id        string    `json:"id"`
	Inviter   string    `json:"inviter"`
	Roles     *[]string `json:"roles"`
}

UserInvitation UserInvitation is the API representation of an invitation.

type ValueExtractor

type ValueExtractor struct {
	// Field Field is the name of the field in the log to extract the value from.
	Field *string `json:"field,omitempty"`

	// JsonPath JSONPath specifies a path to extract a nested value from a JSON field.
	// If not set, the entire field value is used as the label value.
	JsonPath *string `json:"jsonPath,omitempty"`

	// Lookup Lookup specifies how to look up a value in a lookup/enrichment table.
	Lookup *Lookup `json:"lookup,omitempty"`

	// Regex Regex is used to derive the label value by matching the
	// regex pattern. Regex pattern should be a valid Rust regex, you can use
	// https://rustexp.lpil.uk/ for trying out the pattern.
	// If not set, the entire field value is used as the label value.
	Regex *string `json:"regex,omitempty"`
}

ValueExtractor ValueExtractor is used to extract label values from the log fields.

type WebhookConfig

type WebhookConfig struct {
	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig *HTTPClientConfig `json:"http_config,omitempty"`

	// MaxAlerts MaxAlerts is the maximum number of alerts to be sent per webhook message.
	// Alerts exceeding this threshold will be truncated. Setting this to 0
	// allows an unlimited number of alerts.
	MaxAlerts    int  `json:"max_alerts"`
	SendResolved bool `json:"send_resolved"`

	// Url URL to send POST request to.
	Url string `json:"url"`
}

WebhookConfig WebhookConfig configures notifications via a generic webhook.

Jump to

Keyboard shortcuts

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