api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

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

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

Code generated by genreadonly; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckResponse

func CheckResponse(statusCode int, body []byte) error

func Decode

func Decode[T any](statusCode int, status string, body []byte, typed *T) (*T, error)

Decode validates an API response and returns its typed body. It folds the status check and the typed-nil guard that every WithResponse call site repeats: CheckResponse rejects non-2xx/3xx status codes (parsing the body for an error message), and a nil typed pointer means the server returned a status the generated client could not decode into the expected type.

The typed body is passed explicitly because the generated *Resp types expose it as a concrete field (JSON200, JSON201, ...) that is not reachable through a common interface.

func MarshalStrippingReadOnly

func MarshalStrippingReadOnly(v any, schema string) ([]byte, error)

MarshalStrippingReadOnly marshals v to JSON, then strips readOnly fields for the given schema.

func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody

func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateApiKey builder with application/vnd.api+json body

func NewCreateApiKeyRequestWithBody

func NewCreateApiKeyRequestWithBody(server string, teamSlug TeamSlug, contentType string, body io.Reader) (*http.Request, error)

NewCreateApiKeyRequestWithBody constructs an http.Request for the CreateApiKey method, with any body, and a specified content type

func NewCreateBoardRequest

func NewCreateBoardRequest(server string, body CreateBoardJSONRequestBody) (*http.Request, error)

NewCreateBoardRequest calls the generic CreateBoard builder with application/json body

func NewCreateBoardRequestWithBody

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

NewCreateBoardRequestWithBody constructs an http.Request for the CreateBoard method, with any body, and a specified content type

func NewCreateBoardViewRequest

func NewCreateBoardViewRequest(server string, boardId string, body CreateBoardViewJSONRequestBody) (*http.Request, error)

NewCreateBoardViewRequest calls the generic CreateBoardView builder with application/json body

func NewCreateBoardViewRequestWithBody

func NewCreateBoardViewRequestWithBody(server string, boardId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateBoardViewRequestWithBody constructs an http.Request for the CreateBoardView method, with any body, and a specified content type

func NewCreateBurnAlertRequest

func NewCreateBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody) (*http.Request, error)

NewCreateBurnAlertRequest calls the generic CreateBurnAlert builder with application/json body

func NewCreateBurnAlertRequestWithBody

func NewCreateBurnAlertRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateBurnAlertRequestWithBody constructs an http.Request for the CreateBurnAlert method, with any body, and a specified content type

func NewCreateCalculatedFieldRequest

func NewCreateCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody) (*http.Request, error)

NewCreateCalculatedFieldRequest calls the generic CreateCalculatedField builder with application/json body

func NewCreateCalculatedFieldRequestWithBody

func NewCreateCalculatedFieldRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateCalculatedFieldRequestWithBody constructs an http.Request for the CreateCalculatedField method, with any body, and a specified content type

func NewCreateColumnRequest

func NewCreateColumnRequest(server string, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody) (*http.Request, error)

NewCreateColumnRequest calls the generic CreateColumn builder with application/json body

func NewCreateColumnRequestWithBody

func NewCreateColumnRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateColumnRequestWithBody constructs an http.Request for the CreateColumn method, with any body, and a specified content type

func NewCreateDatasetRequest

func NewCreateDatasetRequest(server string, body CreateDatasetJSONRequestBody) (*http.Request, error)

NewCreateDatasetRequest calls the generic CreateDataset builder with application/json body

func NewCreateDatasetRequestWithBody

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

NewCreateDatasetRequestWithBody constructs an http.Request for the CreateDataset method, with any body, and a specified content type

func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody

func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateEnvironment builder with application/vnd.api+json body

func NewCreateEnvironmentRequestWithBody

func NewCreateEnvironmentRequestWithBody(server string, teamSlug TeamSlug, contentType string, body io.Reader) (*http.Request, error)

NewCreateEnvironmentRequestWithBody constructs an http.Request for the CreateEnvironment method, with any body, and a specified content type

func NewCreateEventRequest

func NewCreateEventRequest(server string, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody) (*http.Request, error)

NewCreateEventRequest calls the generic CreateEvent builder with application/json body

func NewCreateEventRequestWithBody

func NewCreateEventRequestWithBody(server string, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateEventRequestWithBody constructs an http.Request for the CreateEvent method, with any body, and a specified content type

func NewCreateEventsRequest

func NewCreateEventsRequest(server string, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody) (*http.Request, error)

NewCreateEventsRequest calls the generic CreateEvents builder with application/json body

func NewCreateEventsRequestWithBody

func NewCreateEventsRequestWithBody(server string, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateEventsRequestWithBody constructs an http.Request for the CreateEvents method, with any body, and a specified content type

func NewCreateKinesisEventsRequest

func NewCreateKinesisEventsRequest(server string, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody) (*http.Request, error)

NewCreateKinesisEventsRequest calls the generic CreateKinesisEvents builder with application/json body

func NewCreateKinesisEventsRequestWithBody

func NewCreateKinesisEventsRequestWithBody(server string, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateKinesisEventsRequestWithBody constructs an http.Request for the CreateKinesisEvents method, with any body, and a specified content type

func NewCreateMapDependencyRequestRequest

func NewCreateMapDependencyRequestRequest(server string, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody) (*http.Request, error)

NewCreateMapDependencyRequestRequest calls the generic CreateMapDependencyRequest builder with application/json body

func NewCreateMapDependencyRequestRequestWithBody

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

NewCreateMapDependencyRequestRequestWithBody constructs an http.Request for the CreateMapDependencyRequest method, with any body, and a specified content type

func NewCreateMarkerRequest

func NewCreateMarkerRequest(server string, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody) (*http.Request, error)

NewCreateMarkerRequest calls the generic CreateMarker builder with application/json body

func NewCreateMarkerRequestWithBody

func NewCreateMarkerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateMarkerRequestWithBody constructs an http.Request for the CreateMarker method, with any body, and a specified content type

func NewCreateMarkerSettingRequest

func NewCreateMarkerSettingRequest(server string, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody) (*http.Request, error)

NewCreateMarkerSettingRequest calls the generic CreateMarkerSetting builder with application/json body

func NewCreateMarkerSettingRequestWithBody

func NewCreateMarkerSettingRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateMarkerSettingRequestWithBody constructs an http.Request for the CreateMarkerSetting method, with any body, and a specified content type

func NewCreateQueryAnnotationRequest

func NewCreateQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody) (*http.Request, error)

NewCreateQueryAnnotationRequest calls the generic CreateQueryAnnotation builder with application/json body

func NewCreateQueryAnnotationRequestWithBody

func NewCreateQueryAnnotationRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateQueryAnnotationRequestWithBody constructs an http.Request for the CreateQueryAnnotation method, with any body, and a specified content type

func NewCreateQueryRequest

func NewCreateQueryRequest(server string, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody) (*http.Request, error)

NewCreateQueryRequest calls the generic CreateQuery builder with application/json body

func NewCreateQueryRequestWithBody

func NewCreateQueryRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateQueryRequestWithBody constructs an http.Request for the CreateQuery method, with any body, and a specified content type

func NewCreateQueryResultRequest

func NewCreateQueryResultRequest(server string, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody) (*http.Request, error)

NewCreateQueryResultRequest calls the generic CreateQueryResult builder with application/json body

func NewCreateQueryResultRequestWithBody

func NewCreateQueryResultRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateQueryResultRequestWithBody constructs an http.Request for the CreateQueryResult method, with any body, and a specified content type

func NewCreateRecipientRequest

func NewCreateRecipientRequest(server string, body CreateRecipientJSONRequestBody) (*http.Request, error)

NewCreateRecipientRequest calls the generic CreateRecipient builder with application/json body

func NewCreateRecipientRequestWithBody

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

NewCreateRecipientRequestWithBody constructs an http.Request for the CreateRecipient method, with any body, and a specified content type

func NewCreateSloRequest

func NewCreateSloRequest(server string, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody) (*http.Request, error)

NewCreateSloRequest calls the generic CreateSlo builder with application/json body

func NewCreateSloRequestWithBody

func NewCreateSloRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateSloRequestWithBody constructs an http.Request for the CreateSlo method, with any body, and a specified content type

func NewCreateTriggerRequest

func NewCreateTriggerRequest(server string, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody) (*http.Request, error)

NewCreateTriggerRequest calls the generic CreateTrigger builder with application/json body

func NewCreateTriggerRequestWithBody

func NewCreateTriggerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader) (*http.Request, error)

NewCreateTriggerRequestWithBody constructs an http.Request for the CreateTrigger method, with any body, and a specified content type

func NewDeleteApiKeyRequest

func NewDeleteApiKeyRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)

NewDeleteApiKeyRequest constructs an http.Request for the DeleteApiKey method

func NewDeleteBoardRequest

func NewDeleteBoardRequest(server string, boardId string) (*http.Request, error)

NewDeleteBoardRequest constructs an http.Request for the DeleteBoard method

func NewDeleteBoardViewRequest

func NewDeleteBoardViewRequest(server string, boardId string, viewId string) (*http.Request, error)

NewDeleteBoardViewRequest constructs an http.Request for the DeleteBoardView method

func NewDeleteBurnAlertRequest

func NewDeleteBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string) (*http.Request, error)

NewDeleteBurnAlertRequest constructs an http.Request for the DeleteBurnAlert method

func NewDeleteCalculatedFieldRequest

func NewDeleteCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string) (*http.Request, error)

NewDeleteCalculatedFieldRequest constructs an http.Request for the DeleteCalculatedField method

func NewDeleteColumnRequest

func NewDeleteColumnRequest(server string, datasetSlug DatasetSlug, columnId string) (*http.Request, error)

NewDeleteColumnRequest constructs an http.Request for the DeleteColumn method

func NewDeleteDatasetRequest

func NewDeleteDatasetRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)

NewDeleteDatasetRequest constructs an http.Request for the DeleteDataset method

func NewDeleteEnvironmentRequest

func NewDeleteEnvironmentRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)

NewDeleteEnvironmentRequest constructs an http.Request for the DeleteEnvironment method

func NewDeleteMarkerRequest

func NewDeleteMarkerRequest(server string, datasetSlug DatasetSlugOrAll, markerId string) (*http.Request, error)

NewDeleteMarkerRequest constructs an http.Request for the DeleteMarker method

func NewDeleteMarkerSettingsRequest

func NewDeleteMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll, markerSettingId string) (*http.Request, error)

NewDeleteMarkerSettingsRequest constructs an http.Request for the DeleteMarkerSettings method

func NewDeleteQueryAnnotationRequest

func NewDeleteQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string) (*http.Request, error)

NewDeleteQueryAnnotationRequest constructs an http.Request for the DeleteQueryAnnotation method

func NewDeleteRecipientRequest

func NewDeleteRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)

NewDeleteRecipientRequest constructs an http.Request for the DeleteRecipient method

func NewDeleteSloRequest

func NewDeleteSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string) (*http.Request, error)

NewDeleteSloRequest constructs an http.Request for the DeleteSlo method

func NewDeleteTriggerRequest

func NewDeleteTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string) (*http.Request, error)

NewDeleteTriggerRequest constructs an http.Request for the DeleteTrigger method

func NewGetApiKeyRequest

func NewGetApiKeyRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)

NewGetApiKeyRequest constructs an http.Request for the GetApiKey method

func NewGetAuthRequest

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

NewGetAuthRequest constructs an http.Request for the GetAuth method

func NewGetBoardRequest

func NewGetBoardRequest(server string, boardId string) (*http.Request, error)

NewGetBoardRequest constructs an http.Request for the GetBoard method

func NewGetBoardViewRequest

func NewGetBoardViewRequest(server string, boardId string, viewId string) (*http.Request, error)

NewGetBoardViewRequest constructs an http.Request for the GetBoardView method

func NewGetBurnAlertRequest

func NewGetBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string) (*http.Request, error)

NewGetBurnAlertRequest constructs an http.Request for the GetBurnAlert method

func NewGetCalculatedFieldRequest

func NewGetCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string) (*http.Request, error)

NewGetCalculatedFieldRequest constructs an http.Request for the GetCalculatedField method

func NewGetColumnRequest

func NewGetColumnRequest(server string, datasetSlug DatasetSlug, columnId string) (*http.Request, error)

NewGetColumnRequest constructs an http.Request for the GetColumn method

func NewGetDatasetRequest

func NewGetDatasetRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)

NewGetDatasetRequest constructs an http.Request for the GetDataset method

func NewGetEnvironmentRequest

func NewGetEnvironmentRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)

NewGetEnvironmentRequest constructs an http.Request for the GetEnvironment method

func NewGetMapDependenciesRequest

func NewGetMapDependenciesRequest(server string, requestId string, params *GetMapDependenciesParams) (*http.Request, error)

NewGetMapDependenciesRequest constructs an http.Request for the GetMapDependencies method

func NewGetMarkerRequest

func NewGetMarkerRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)

NewGetMarkerRequest constructs an http.Request for the GetMarker method

func NewGetQueryAnnotationRequest

func NewGetQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string) (*http.Request, error)

NewGetQueryAnnotationRequest constructs an http.Request for the GetQueryAnnotation method

func NewGetQueryRequest

func NewGetQueryRequest(server string, datasetSlug DatasetSlugOrAll, queryId string) (*http.Request, error)

NewGetQueryRequest constructs an http.Request for the GetQuery method

func NewGetQueryResultRequest

func NewGetQueryResultRequest(server string, datasetSlug DatasetSlugOrAll, queryResultId string) (*http.Request, error)

NewGetQueryResultRequest constructs an http.Request for the GetQueryResult method

func NewGetRecipientRequest

func NewGetRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)

NewGetRecipientRequest constructs an http.Request for the GetRecipient method

func NewGetSignalRequest

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

NewGetSignalRequest constructs an http.Request for the GetSignal method

func NewGetSloHistoryRequest

func NewGetSloHistoryRequest(server string, body GetSloHistoryJSONRequestBody) (*http.Request, error)

NewGetSloHistoryRequest calls the generic GetSloHistory builder with application/json body

func NewGetSloHistoryRequestWithBody

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

NewGetSloHistoryRequestWithBody constructs an http.Request for the GetSloHistory method, with any body, and a specified content type

func NewGetSloHourlyCountsHistoryRequest

func NewGetSloHourlyCountsHistoryRequest(server string, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloHourlyCountsHistoryParams) (*http.Request, error)

NewGetSloHourlyCountsHistoryRequest constructs an http.Request for the GetSloHourlyCountsHistory method

func NewGetSloRealtimeCountsRequest

func NewGetSloRealtimeCountsRequest(server string, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloRealtimeCountsParams) (*http.Request, error)

NewGetSloRealtimeCountsRequest constructs an http.Request for the GetSloRealtimeCounts method

func NewGetSloRequest

func NewGetSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams) (*http.Request, error)

NewGetSloRequest constructs an http.Request for the GetSlo method

func NewGetTriggerRequest

func NewGetTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string) (*http.Request, error)

NewGetTriggerRequest constructs an http.Request for the GetTrigger method

func NewGetV2AuthRequest

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

NewGetV2AuthRequest constructs an http.Request for the GetV2Auth method

func NewListApiKeysRequest

func NewListApiKeysRequest(server string, teamSlug TeamSlug, params *ListApiKeysParams) (*http.Request, error)

NewListApiKeysRequest constructs an http.Request for the ListApiKeys method

func NewListBoardViewsRequest

func NewListBoardViewsRequest(server string, boardId string) (*http.Request, error)

NewListBoardViewsRequest constructs an http.Request for the ListBoardViews method

func NewListBoardsRequest

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

NewListBoardsRequest constructs an http.Request for the ListBoards method

func NewListBurnAlertsBySloRequest

func NewListBurnAlertsBySloRequest(server string, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams) (*http.Request, error)

NewListBurnAlertsBySloRequest constructs an http.Request for the ListBurnAlertsBySlo method

func NewListCalculatedFieldsRequest

func NewListCalculatedFieldsRequest(server string, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams) (*http.Request, error)

NewListCalculatedFieldsRequest constructs an http.Request for the ListCalculatedFields method

func NewListColumnsRequest

func NewListColumnsRequest(server string, datasetSlug DatasetSlugOrAll, params *ListColumnsParams) (*http.Request, error)

NewListColumnsRequest constructs an http.Request for the ListColumns method

func NewListDatasetDefinitionsRequest

func NewListDatasetDefinitionsRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)

NewListDatasetDefinitionsRequest constructs an http.Request for the ListDatasetDefinitions method

func NewListDatasetsRequest

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

NewListDatasetsRequest constructs an http.Request for the ListDatasets method

func NewListEnvironmentsRequest

func NewListEnvironmentsRequest(server string, teamSlug TeamSlug, params *ListEnvironmentsParams) (*http.Request, error)

NewListEnvironmentsRequest constructs an http.Request for the ListEnvironments method

func NewListMarkerSettingsRequest

func NewListMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)

NewListMarkerSettingsRequest constructs an http.Request for the ListMarkerSettings method

func NewListQueryAnnotationsRequest

func NewListQueryAnnotationsRequest(server string, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams) (*http.Request, error)

NewListQueryAnnotationsRequest constructs an http.Request for the ListQueryAnnotations method

func NewListRecipientsRequest

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

NewListRecipientsRequest constructs an http.Request for the ListRecipients method

func NewListSignalHistoricalAnomaliesRequest

func NewListSignalHistoricalAnomaliesRequest(server string, id string, params *ListSignalHistoricalAnomaliesParams) (*http.Request, error)

NewListSignalHistoricalAnomaliesRequest constructs an http.Request for the ListSignalHistoricalAnomalies method

func NewListSignalsRequest

func NewListSignalsRequest(server string, params *ListSignalsParams) (*http.Request, error)

NewListSignalsRequest constructs an http.Request for the ListSignals method

func NewListSlosRequest

func NewListSlosRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)

NewListSlosRequest constructs an http.Request for the ListSlos method

func NewListTriggersRequest

func NewListTriggersRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)

NewListTriggersRequest constructs an http.Request for the ListTriggers method

func NewListTriggersWithRecipientRequest

func NewListTriggersWithRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)

NewListTriggersWithRecipientRequest constructs an http.Request for the ListTriggersWithRecipient method

func NewPatchDatasetDefinitionsRequest

func NewPatchDatasetDefinitionsRequest(server string, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody) (*http.Request, error)

NewPatchDatasetDefinitionsRequest calls the generic PatchDatasetDefinitions builder with application/json body

func NewPatchDatasetDefinitionsRequestWithBody

func NewPatchDatasetDefinitionsRequestWithBody(server string, datasetSlug DatasetSlug, contentType string, body io.Reader) (*http.Request, error)

NewPatchDatasetDefinitionsRequestWithBody constructs an http.Request for the PatchDatasetDefinitions method, with any body, and a specified content type

func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateApiKey builder with application/vnd.api+json body

func NewUpdateApiKeyRequestWithBody

func NewUpdateApiKeyRequestWithBody(server string, teamSlug TeamSlug, id ID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateApiKeyRequestWithBody constructs an http.Request for the UpdateApiKey method, with any body, and a specified content type

func NewUpdateBoardRequest

func NewUpdateBoardRequest(server string, boardId string, body UpdateBoardJSONRequestBody) (*http.Request, error)

NewUpdateBoardRequest calls the generic UpdateBoard builder with application/json body

func NewUpdateBoardRequestWithBody

func NewUpdateBoardRequestWithBody(server string, boardId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateBoardRequestWithBody constructs an http.Request for the UpdateBoard method, with any body, and a specified content type

func NewUpdateBoardViewRequest

func NewUpdateBoardViewRequest(server string, boardId string, viewId string, body UpdateBoardViewJSONRequestBody) (*http.Request, error)

NewUpdateBoardViewRequest calls the generic UpdateBoardView builder with application/json body

func NewUpdateBoardViewRequestWithBody

func NewUpdateBoardViewRequestWithBody(server string, boardId string, viewId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateBoardViewRequestWithBody constructs an http.Request for the UpdateBoardView method, with any body, and a specified content type

func NewUpdateBurnAlertRequest

func NewUpdateBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody) (*http.Request, error)

NewUpdateBurnAlertRequest calls the generic UpdateBurnAlert builder with application/json body

func NewUpdateBurnAlertRequestWithBody

func NewUpdateBurnAlertRequestWithBody(server string, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateBurnAlertRequestWithBody constructs an http.Request for the UpdateBurnAlert method, with any body, and a specified content type

func NewUpdateCalculatedFieldRequest

func NewUpdateCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody) (*http.Request, error)

NewUpdateCalculatedFieldRequest calls the generic UpdateCalculatedField builder with application/json body

func NewUpdateCalculatedFieldRequestWithBody

func NewUpdateCalculatedFieldRequestWithBody(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateCalculatedFieldRequestWithBody constructs an http.Request for the UpdateCalculatedField method, with any body, and a specified content type

func NewUpdateColumnRequest

func NewUpdateColumnRequest(server string, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody) (*http.Request, error)

NewUpdateColumnRequest calls the generic UpdateColumn builder with application/json body

func NewUpdateColumnRequestWithBody

func NewUpdateColumnRequestWithBody(server string, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateColumnRequestWithBody constructs an http.Request for the UpdateColumn method, with any body, and a specified content type

func NewUpdateDatasetRequest

func NewUpdateDatasetRequest(server string, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody) (*http.Request, error)

NewUpdateDatasetRequest calls the generic UpdateDataset builder with application/json body

func NewUpdateDatasetRequestWithBody

func NewUpdateDatasetRequestWithBody(server string, datasetSlug DatasetSlug, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDatasetRequestWithBody constructs an http.Request for the UpdateDataset method, with any body, and a specified content type

func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody

func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody) (*http.Request, error)

NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody calls the generic UpdateEnvironment builder with application/vnd.api+json body

func NewUpdateEnvironmentRequestWithBody

func NewUpdateEnvironmentRequestWithBody(server string, teamSlug TeamSlug, id ID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEnvironmentRequestWithBody constructs an http.Request for the UpdateEnvironment method, with any body, and a specified content type

func NewUpdateMarkerRequest

func NewUpdateMarkerRequest(server string, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody) (*http.Request, error)

NewUpdateMarkerRequest calls the generic UpdateMarker builder with application/json body

func NewUpdateMarkerRequestWithBody

func NewUpdateMarkerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateMarkerRequestWithBody constructs an http.Request for the UpdateMarker method, with any body, and a specified content type

func NewUpdateMarkerSettingsRequest

func NewUpdateMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody) (*http.Request, error)

NewUpdateMarkerSettingsRequest calls the generic UpdateMarkerSettings builder with application/json body

func NewUpdateMarkerSettingsRequestWithBody

func NewUpdateMarkerSettingsRequestWithBody(server string, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateMarkerSettingsRequestWithBody constructs an http.Request for the UpdateMarkerSettings method, with any body, and a specified content type

func NewUpdateQueryAnnotationRequest

func NewUpdateQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody) (*http.Request, error)

NewUpdateQueryAnnotationRequest calls the generic UpdateQueryAnnotation builder with application/json body

func NewUpdateQueryAnnotationRequestWithBody

func NewUpdateQueryAnnotationRequestWithBody(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateQueryAnnotationRequestWithBody constructs an http.Request for the UpdateQueryAnnotation method, with any body, and a specified content type

func NewUpdateRecipientRequest

func NewUpdateRecipientRequest(server string, recipientId RecipientId, body UpdateRecipientJSONRequestBody) (*http.Request, error)

NewUpdateRecipientRequest calls the generic UpdateRecipient builder with application/json body

func NewUpdateRecipientRequestWithBody

func NewUpdateRecipientRequestWithBody(server string, recipientId RecipientId, contentType string, body io.Reader) (*http.Request, error)

NewUpdateRecipientRequestWithBody constructs an http.Request for the UpdateRecipient method, with any body, and a specified content type

func NewUpdateSignalRequest

func NewUpdateSignalRequest(server string, id string, body UpdateSignalJSONRequestBody) (*http.Request, error)

NewUpdateSignalRequest calls the generic UpdateSignal builder with application/json body

func NewUpdateSignalRequestWithBody

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

NewUpdateSignalRequestWithBody constructs an http.Request for the UpdateSignal method, with any body, and a specified content type

func NewUpdateSloRequest

func NewUpdateSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody) (*http.Request, error)

NewUpdateSloRequest calls the generic UpdateSlo builder with application/json body

func NewUpdateSloRequestWithBody

func NewUpdateSloRequestWithBody(server string, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSloRequestWithBody constructs an http.Request for the UpdateSlo method, with any body, and a specified content type

func NewUpdateTriggerRequest

func NewUpdateTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody) (*http.Request, error)

NewUpdateTriggerRequest calls the generic UpdateTrigger builder with application/json body

func NewUpdateTriggerRequestWithBody

func NewUpdateTriggerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTriggerRequestWithBody constructs an http.Request for the UpdateTrigger method, with any body, and a specified content type

func NextPageCursor

func NextPageCursor(links *PaginationLinks, prev string) (string, error)

NextPageCursor extracts the page[after] cursor from a links.next URL, returning an empty string when there is no further page. Passing the cursor that produced this page as prev bounds the loop: a server that keeps returning the same cursor would otherwise page forever.

func StripReadOnly

func StripReadOnly(data []byte, schema string) ([]byte, error)

StripReadOnly removes readOnly fields from JSON data for the given schema. Returns data unchanged if the schema has no readOnly fields.

Types

type APIError

type APIError struct {
	StatusCode int
	Message    string
}

func (*APIError) Error

func (e *APIError) Error() string

type AnomalySignal

type AnomalySignal string

AnomalySignal The kind of measurement the Signal is trained on.

- `error_rate`: The fraction of erroring requests for the service. - `presence`: Whether the service is producing spans.

Example: error_rate

const (
	ErrorRate AnomalySignal = "error_rate"
	Presence  AnomalySignal = "presence"
)

Defines values for AnomalySignal.

func (AnomalySignal) Valid

func (e AnomalySignal) Valid() bool

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

type AnomalySignalSensitivity

type AnomalySignalSensitivity string

AnomalySignalSensitivity How far a measurement must deviate from the trained normal band before the Signal fires.

Higher sensitivity narrows the normal band and catches smaller deviations. `sensitivity` is always `null` for `presence` Signals.

Example: medium

const (
	High   AnomalySignalSensitivity = "high"
	Low    AnomalySignalSensitivity = "low"
	Medium AnomalySignalSensitivity = "medium"
)

Defines values for AnomalySignalSensitivity.

func (AnomalySignalSensitivity) Valid

func (e AnomalySignalSensitivity) Valid() bool

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

type AnomalySignalStatus

type AnomalySignalStatus string

AnomalySignalStatus The lifecycle status of the Signal.

`ineligible` is returned when the underlying service does not meet the conditions required for training.

Example: active

const (
	AnomalySignalStatusActive     AnomalySignalStatus = "active"
	AnomalySignalStatusIneligible AnomalySignalStatus = "ineligible"
	AnomalySignalStatusOff        AnomalySignalStatus = "off"
	AnomalySignalStatusOnboarding AnomalySignalStatus = "onboarding"
	AnomalySignalStatusTraining   AnomalySignalStatus = "training"
)

Defines values for AnomalySignalStatus.

func (AnomalySignalStatus) Valid

func (e AnomalySignalStatus) Valid() bool

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

type ApiKeyAttributes

type ApiKeyAttributes struct {
	// contains filtered or unexported fields
}

ApiKeyAttributes defines model for ApiKeyAttributes.

func (ApiKeyAttributes) AsConfigurationKeyAttributes

func (t ApiKeyAttributes) AsConfigurationKeyAttributes() (ConfigurationKeyAttributes, error)

AsConfigurationKeyAttributes returns the union data inside the ApiKeyAttributes as a ConfigurationKeyAttributes

func (ApiKeyAttributes) AsIngestKeyAttributes

func (t ApiKeyAttributes) AsIngestKeyAttributes() (IngestKeyAttributes, error)

AsIngestKeyAttributes returns the union data inside the ApiKeyAttributes as a IngestKeyAttributes

func (ApiKeyAttributes) Discriminator

func (t ApiKeyAttributes) Discriminator() (string, error)

func (*ApiKeyAttributes) FromConfigurationKeyAttributes

func (t *ApiKeyAttributes) FromConfigurationKeyAttributes(v ConfigurationKeyAttributes) error

FromConfigurationKeyAttributes overwrites any union data inside the ApiKeyAttributes as the provided ConfigurationKeyAttributes

func (*ApiKeyAttributes) FromIngestKeyAttributes

func (t *ApiKeyAttributes) FromIngestKeyAttributes(v IngestKeyAttributes) error

FromIngestKeyAttributes overwrites any union data inside the ApiKeyAttributes as the provided IngestKeyAttributes

func (ApiKeyAttributes) MarshalJSON

func (t ApiKeyAttributes) MarshalJSON() ([]byte, error)

func (*ApiKeyAttributes) MergeConfigurationKeyAttributes

func (t *ApiKeyAttributes) MergeConfigurationKeyAttributes(v ConfigurationKeyAttributes) error

MergeConfigurationKeyAttributes performs a merge with any union data inside the ApiKeyAttributes, using the provided ConfigurationKeyAttributes

func (*ApiKeyAttributes) MergeIngestKeyAttributes

func (t *ApiKeyAttributes) MergeIngestKeyAttributes(v IngestKeyAttributes) error

MergeIngestKeyAttributes performs a merge with any union data inside the ApiKeyAttributes, using the provided IngestKeyAttributes

func (*ApiKeyAttributes) UnmarshalJSON

func (t *ApiKeyAttributes) UnmarshalJSON(b []byte) error

func (ApiKeyAttributes) ValueByDiscriminator

func (t ApiKeyAttributes) ValueByDiscriminator() (interface{}, error)

type ApiKeyCreateRequest

type ApiKeyCreateRequest struct {
	Data struct {
		Attributes    ApiKeyAttributes `json:"attributes"`
		Relationships struct {
			// Environment The Environment this object is associated with.
			Environment EnvironmentRelationship `json:"environment"`
		} `json:"relationships"`
		Type ApiKeyCreateRequestDataType `json:"type"`
	} `json:"data"`
}

ApiKeyCreateRequest defines model for ApiKeyCreateRequest.

type ApiKeyCreateRequestDataType

type ApiKeyCreateRequestDataType string

ApiKeyCreateRequestDataType defines model for ApiKeyCreateRequest.Data.Type.

const (
	ApiKeyCreateRequestDataTypeApiKeys ApiKeyCreateRequestDataType = "api-keys"
)

Defines values for ApiKeyCreateRequestDataType.

func (ApiKeyCreateRequestDataType) Valid

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

type ApiKeyCreateResponse

type ApiKeyCreateResponse struct {
	Data struct {
		Attributes ApiKeyCreateResponse_Data_Attributes `json:"attributes"`

		// Id The unique identifier of the API Key
		//
		// Example: hcxik_12345678901234567890123456
		Id    *string `json:"id,omitempty"`
		Links struct {
			// Self The URL of this resource
			//
			// Example: /2/teams/my-team/api-keys/hcxik_12345678901234567890123456
			Self *string `json:"self,omitempty"`
		} `json:"links"`
		Relationships struct {
			Creator *CreatorRelationship `json:"creator,omitempty"`
			Editor  *EditorRelationship  `json:"editor,omitempty"`

			// Environment The Environment this object is associated with.
			Environment EnvironmentRelationship `json:"environment"`
		} `json:"relationships"`
		Type *ApiKeyCreateResponseDataType `json:"type,omitempty"`
	} `json:"data"`
}

ApiKeyCreateResponse defines model for ApiKeyCreateResponse.

type ApiKeyCreateResponseDataType

type ApiKeyCreateResponseDataType string

ApiKeyCreateResponseDataType defines model for ApiKeyCreateResponse.Data.Type.

const (
	ApiKeyCreateResponseDataTypeApiKeys ApiKeyCreateResponseDataType = "api-keys"
)

Defines values for ApiKeyCreateResponseDataType.

func (ApiKeyCreateResponseDataType) Valid

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

type ApiKeyCreateResponse_Data_Attributes

type ApiKeyCreateResponse_Data_Attributes struct {
	// Secret The API Key secret. This is the only time it will be returned.
	//
	// Example: 12345678901234567890123456789
	Secret *string `json:"secret,omitempty"`
	// contains filtered or unexported fields
}

ApiKeyCreateResponse_Data_Attributes defines model for ApiKeyCreateResponse.Data.Attributes.

func (ApiKeyCreateResponse_Data_Attributes) AsConfigurationKeyAttributes

func (t ApiKeyCreateResponse_Data_Attributes) AsConfigurationKeyAttributes() (ConfigurationKeyAttributes, error)

AsConfigurationKeyAttributes returns the union data inside the ApiKeyCreateResponse_Data_Attributes as a ConfigurationKeyAttributes

func (ApiKeyCreateResponse_Data_Attributes) AsIngestKeyAttributes

func (t ApiKeyCreateResponse_Data_Attributes) AsIngestKeyAttributes() (IngestKeyAttributes, error)

AsIngestKeyAttributes returns the union data inside the ApiKeyCreateResponse_Data_Attributes as a IngestKeyAttributes

func (ApiKeyCreateResponse_Data_Attributes) Discriminator

func (t ApiKeyCreateResponse_Data_Attributes) Discriminator() (string, error)

func (*ApiKeyCreateResponse_Data_Attributes) FromConfigurationKeyAttributes

func (t *ApiKeyCreateResponse_Data_Attributes) FromConfigurationKeyAttributes(v ConfigurationKeyAttributes) error

FromConfigurationKeyAttributes overwrites any union data inside the ApiKeyCreateResponse_Data_Attributes as the provided ConfigurationKeyAttributes

func (*ApiKeyCreateResponse_Data_Attributes) FromIngestKeyAttributes

func (t *ApiKeyCreateResponse_Data_Attributes) FromIngestKeyAttributes(v IngestKeyAttributes) error

FromIngestKeyAttributes overwrites any union data inside the ApiKeyCreateResponse_Data_Attributes as the provided IngestKeyAttributes

func (ApiKeyCreateResponse_Data_Attributes) MarshalJSON

func (t ApiKeyCreateResponse_Data_Attributes) MarshalJSON() ([]byte, error)

func (*ApiKeyCreateResponse_Data_Attributes) MergeConfigurationKeyAttributes

func (t *ApiKeyCreateResponse_Data_Attributes) MergeConfigurationKeyAttributes(v ConfigurationKeyAttributes) error

MergeConfigurationKeyAttributes performs a merge with any union data inside the ApiKeyCreateResponse_Data_Attributes, using the provided ConfigurationKeyAttributes

func (*ApiKeyCreateResponse_Data_Attributes) MergeIngestKeyAttributes

func (t *ApiKeyCreateResponse_Data_Attributes) MergeIngestKeyAttributes(v IngestKeyAttributes) error

MergeIngestKeyAttributes performs a merge with any union data inside the ApiKeyCreateResponse_Data_Attributes, using the provided IngestKeyAttributes

func (*ApiKeyCreateResponse_Data_Attributes) UnmarshalJSON

func (t *ApiKeyCreateResponse_Data_Attributes) UnmarshalJSON(b []byte) error

func (ApiKeyCreateResponse_Data_Attributes) ValueByDiscriminator

func (t ApiKeyCreateResponse_Data_Attributes) ValueByDiscriminator() (interface{}, error)

type ApiKeyListResponse

type ApiKeyListResponse struct {
	Data []ApiKeyObject `json:"data"`

	// Links Links to iterate through the pages of results.
	Links *PaginationLinks `json:"links,omitempty"`
}

ApiKeyListResponse defines model for ApiKeyListResponse.

type ApiKeyObject

type ApiKeyObject struct {
	Attributes *ApiKeyAttributes `json:"attributes,omitempty"`

	// Id The unique identifier of the API Key.
	//
	// The last two characters of the prefix define the type of key. `ik` for Ingest Keys and `lk` for
	// Configuration Keys.
	//
	//
	// Example: hcxik_12345678901234567890123456
	Id    *string `json:"id,omitempty"`
	Links *struct {
		// Self The URL of this resource
		//
		// Example: /2/teams/my-team/api-keys/hcxik_12345678901234567890123456
		Self *string `json:"self,omitempty"`
	} `json:"links,omitempty"`
	Relationships *struct {
		Creator *CreatorRelationship `json:"creator,omitempty"`
		Editor  *EditorRelationship  `json:"editor,omitempty"`

		// Environment The Environment this object is associated with.
		Environment EnvironmentRelationship `json:"environment"`
	} `json:"relationships,omitempty"`
	Type *ApiKeyObjectType `json:"type,omitempty"`
}

ApiKeyObject defines model for ApiKeyObject.

type ApiKeyObjectType

type ApiKeyObjectType string

ApiKeyObjectType defines model for ApiKeyObject.Type.

const (
	ApiKeyObjectTypeApiKeys ApiKeyObjectType = "api-keys"
)

Defines values for ApiKeyObjectType.

func (ApiKeyObjectType) Valid

func (e ApiKeyObjectType) Valid() bool

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

type ApiKeyResponse

type ApiKeyResponse struct {
	Data ApiKeyObject `json:"data"`
}

ApiKeyResponse defines model for ApiKeyResponse.

type ApiKeyUpdateRequest

type ApiKeyUpdateRequest struct {
	Data ApiKeyUpdateRequest_Data `json:"data"`
}

ApiKeyUpdateRequest defines model for ApiKeyUpdateRequest.

type ApiKeyUpdateRequest_Data

type ApiKeyUpdateRequest_Data struct {
	// contains filtered or unexported fields
}

ApiKeyUpdateRequest_Data defines model for ApiKeyUpdateRequest.Data.

func (ApiKeyUpdateRequest_Data) AsConfigurationKeyRequest

func (t ApiKeyUpdateRequest_Data) AsConfigurationKeyRequest() (ConfigurationKeyRequest, error)

AsConfigurationKeyRequest returns the union data inside the ApiKeyUpdateRequest_Data as a ConfigurationKeyRequest

func (ApiKeyUpdateRequest_Data) AsIngestKeyRequest

func (t ApiKeyUpdateRequest_Data) AsIngestKeyRequest() (IngestKeyRequest, error)

AsIngestKeyRequest returns the union data inside the ApiKeyUpdateRequest_Data as a IngestKeyRequest

func (*ApiKeyUpdateRequest_Data) FromConfigurationKeyRequest

func (t *ApiKeyUpdateRequest_Data) FromConfigurationKeyRequest(v ConfigurationKeyRequest) error

FromConfigurationKeyRequest overwrites any union data inside the ApiKeyUpdateRequest_Data as the provided ConfigurationKeyRequest

func (*ApiKeyUpdateRequest_Data) FromIngestKeyRequest

func (t *ApiKeyUpdateRequest_Data) FromIngestKeyRequest(v IngestKeyRequest) error

FromIngestKeyRequest overwrites any union data inside the ApiKeyUpdateRequest_Data as the provided IngestKeyRequest

func (ApiKeyUpdateRequest_Data) MarshalJSON

func (t ApiKeyUpdateRequest_Data) MarshalJSON() ([]byte, error)

func (*ApiKeyUpdateRequest_Data) MergeConfigurationKeyRequest

func (t *ApiKeyUpdateRequest_Data) MergeConfigurationKeyRequest(v ConfigurationKeyRequest) error

MergeConfigurationKeyRequest performs a merge with any union data inside the ApiKeyUpdateRequest_Data, using the provided ConfigurationKeyRequest

func (*ApiKeyUpdateRequest_Data) MergeIngestKeyRequest

func (t *ApiKeyUpdateRequest_Data) MergeIngestKeyRequest(v IngestKeyRequest) error

MergeIngestKeyRequest performs a merge with any union data inside the ApiKeyUpdateRequest_Data, using the provided IngestKeyRequest

func (*ApiKeyUpdateRequest_Data) UnmarshalJSON

func (t *ApiKeyUpdateRequest_Data) UnmarshalJSON(b []byte) error

type Auth

type Auth struct {
	ApiKeyAccess struct {
		Boards         *bool `json:"boards,omitempty"`
		Columns        *bool `json:"columns,omitempty"`
		CreateDatasets *bool `json:"createDatasets,omitempty"`
		Events         *bool `json:"events,omitempty"`
		Markers        *bool `json:"markers,omitempty"`
		PrivateBoards  *bool `json:"privateBoards,omitempty"`
		Queries        *bool `json:"queries,omitempty"`
		Recipients     *bool `json:"recipients,omitempty"`
		Slos           *bool `json:"slos,omitempty"`
		Triggers       *bool `json:"triggers,omitempty"`
	} `json:"api_key_access"`
	Environment struct {
		// Name The name of the Environment. Will be empty for Classic environments.
		Name *string `json:"name,omitempty"`

		// Slug The slug of the Environment. Will be empty for Classic environments.
		Slug *string `json:"slug,omitempty"`
	} `json:"environment"`

	// Id Unique identifier (ID) of the API Key.
	Id   string `json:"id"`
	Team struct {
		Name *string `json:"name,omitempty"`
		Slug *string `json:"slug,omitempty"`
	} `json:"team"`

	// Type The type of API Key.
	Type AuthType `json:"type"`
}

Auth defines model for Auth.

type AuthType

type AuthType string

AuthType The type of API Key.

const (
	AuthTypeConfiguration AuthType = "configuration"
	AuthTypeIngest        AuthType = "ingest"
)

Defines values for AuthType.

func (AuthType) Valid

func (e AuthType) Valid() bool

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

type AuthV2Response

type AuthV2Response struct {
	Data struct {
		Attributes *struct {
			// Disabled Whether the API Key is disabled
			Disabled *bool `json:"disabled,omitempty"`

			// KeyType The type of API Key
			KeyType *AuthV2ResponseDataAttributesKeyType `json:"key_type,omitempty"`

			// Name A human-readable name for the API Key
			//
			// Example: mgmt write key
			Name *string `json:"name,omitempty"`

			// Scopes The scopes assigned to this API Key
			//
			// Example: ["api-keys:write"]
			Scopes     *[]interface{} `json:"scopes,omitempty"`
			Timestamps *struct {
				// Created The ISO8601-formatted time when the API Key was created.
				//
				// Example: 2022-09-22T17:32:11Z
				Created *time.Time `json:"created,omitempty"`

				// Updated The ISO8601-formatted time when the API Key was updated.
				//
				// Example: 2022-10-31T15:08:11Z
				Updated *time.Time `json:"updated,omitempty"`
			} `json:"timestamps,omitempty"`
		} `json:"attributes,omitempty"`

		// Id The unique identifier of the API Key making the request
		//
		// Example: hcxik_12345678901234567890123456
		Id            *string                 `json:"id,omitempty"`
		Relationships *TeamRelationship       `json:"relationships,omitempty"`
		Type          *AuthV2ResponseDataType `json:"type,omitempty"`
	} `json:"data"`

	// Included Example: [{"attributes":{"name":"My Team","slug":"my-team"},"id":"hcxtm_12345678901234567890123456","type":"teams"}]
	Included *[]IncludedResource `json:"included,omitempty"`
}

AuthV2Response defines model for AuthV2Response.

type AuthV2ResponseDataAttributesKeyType

type AuthV2ResponseDataAttributesKeyType string

AuthV2ResponseDataAttributesKeyType The type of API Key

const (
	Management AuthV2ResponseDataAttributesKeyType = "management"
)

Defines values for AuthV2ResponseDataAttributesKeyType.

func (AuthV2ResponseDataAttributesKeyType) Valid

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

type AuthV2ResponseDataType

type AuthV2ResponseDataType string

AuthV2ResponseDataType defines model for AuthV2Response.Data.Type.

const (
	AuthV2ResponseDataTypeApiKeys AuthV2ResponseDataType = "api-keys"
)

Defines values for AuthV2ResponseDataType.

func (AuthV2ResponseDataType) Valid

func (e AuthV2ResponseDataType) Valid() bool

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

type BadRequestApplicationJSON

type BadRequestApplicationJSON = Error

BadRequestApplicationJSON A legacy error, containing only a textual description.

type BadRequestApplicationProblemPlusJSON

type BadRequestApplicationProblemPlusJSON = DetailedError

BadRequestApplicationProblemPlusJSON An RFC7807 'Problem Detail' formatted error message.

type BadRequestApplicationVndAPIPlusJSON

type BadRequestApplicationVndAPIPlusJSON = JSONAPIError

BadRequestApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type BaseTrigger

type BaseTrigger struct {
	// AlertType How often to fire an alert when a trigger threshold is crossed.
	// - `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold.
	//   The trigger resolves only when the result of the query no longer satisfies the threshold condition.
	// - `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met.
	//   (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
	AlertType *BaseTriggerAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Trigger fires.
	//
	//
	// Example: false
	AutoInvestigate *bool                        `json:"auto_investigate,omitempty"`
	BaselineDetails *BaseTrigger_BaselineDetails `json:"baseline_details,omitempty"`
	CreatedAt       *time.Time                   `json:"created_at,omitempty"`

	// DatasetSlug The slug of the dataset this trigger belongs to. For environment-wide triggers, this will be "__all__".
	DatasetSlug *string `json:"dataset_slug,omitempty"`

	// Description A longer description, displayed on the Trigger's detail page.
	Description *string `json:"description,omitempty"`

	// Disabled If true, the trigger will not be evaluated and alerts will not be sent.
	Disabled *bool `json:"disabled,omitempty"`

	// EvaluationSchedule A schedule that determines when the trigger is run. When the time is within the scheduled
	// window, the trigger will be run at the specified frequency. Outside of the window, the trigger
	// will not be run.
	EvaluationSchedule *struct {
		// Window Window start/end times and days of the week are calculated in UTC. If the end time is the same as or earlier than the start time, the end time is treated as being in the following day.
		Window struct {
			DaysOfWeek []BaseTriggerEvaluationScheduleWindowDaysOfWeek `json:"days_of_week"`

			// EndTime A UTC time in HH:mm format (13:00)
			//
			// Example: 1260
			EndTime string `json:"end_time"`

			// StartTime A UTC time in HH:mm format (13:00)
			//
			// Example: 840
			StartTime string `json:"start_time"`
		} `json:"window"`
	} `json:"evaluation_schedule,omitempty"`

	// EvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the
	// specified frequency. The window type means that the trigger will run at the specified frequency,
	// but only in the time window specified in the evaluation_schedule field.
	EvaluationScheduleType *BaseTriggerEvaluationScheduleType `json:"evaluation_schedule_type,omitempty"`

	// Frequency The interval in seconds in which to check the results of the query’s calculation against the threshold. Cannot be more than 4 times the query's duration (i.e. `duration <= frequency*4`). See [A Caveat on Time](https://docs.honeycomb.io/investigate/collaborate/share-query/define-query-json/#how-to-specify-an-absolute-time-range) for more information on specifying a query's duration. minimum: 60 maximum: 86400 multipleOf: 60 default: 900
	Frequency *int `json:"frequency,omitempty"`

	// Id The unique identifier (ID) for this Trigger.
	Id *string `json:"id,omitempty"`

	// Name A short, human-readable name for this Trigger, which will be displayed in the UI and when the trigger fires.
	Name *string `json:"name,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when the Trigger fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	Recipients *[]NotificationRecipient `json:"recipients,omitempty"`

	// Tags A list of key-value pairs to help identify the Trigger.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// Threshold The threshold over which the trigger will fire, specified as both an operator and a value.
	Threshold *struct {
		// ExceededLimit The number of times the threshold must be met before an alert is sent.
		ExceededLimit *int                   `json:"exceeded_limit,omitempty"`
		Op            BaseTriggerThresholdOp `json:"op"`
		Value         float32                `json:"value"`
	} `json:"threshold,omitempty"`

	// Triggered If true, the trigger has crossed its specified threshold without resolving.
	Triggered *bool      `json:"triggered,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

BaseTrigger defines model for BaseTrigger.

type BaseTriggerAlertType

type BaseTriggerAlertType string

BaseTriggerAlertType How often to fire an alert when a trigger threshold is crossed.

  • `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold. The trigger resolves only when the result of the query no longer satisfies the threshold condition.
  • `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met. (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
const (
	BaseTriggerAlertTypeOnChange BaseTriggerAlertType = "on_change"
	BaseTriggerAlertTypeOnTrue   BaseTriggerAlertType = "on_true"
)

Defines values for BaseTriggerAlertType.

func (BaseTriggerAlertType) Valid

func (e BaseTriggerAlertType) Valid() bool

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

type BaseTriggerBaselineDetails0

type BaseTriggerBaselineDetails0 struct {
	// OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.
	OffsetMinutes BaseTriggerBaselineDetails0OffsetMinutes `json:"offset_minutes"`

	// Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.
	Type BaseTriggerBaselineDetails0Type `json:"type"`
}

BaseTriggerBaselineDetails0 Additional properties needed to configure this trigger with a dynamic baseline threshold.

Example: {"offset_minutes":60,"type":"percentage"}

type BaseTriggerBaselineDetails0OffsetMinutes

type BaseTriggerBaselineDetails0OffsetMinutes int

BaseTriggerBaselineDetails0OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.

const (
	BaseTriggerBaselineDetails0OffsetMinutesN10080 BaseTriggerBaselineDetails0OffsetMinutes = 10080
	BaseTriggerBaselineDetails0OffsetMinutesN1440  BaseTriggerBaselineDetails0OffsetMinutes = 1440
	BaseTriggerBaselineDetails0OffsetMinutesN40320 BaseTriggerBaselineDetails0OffsetMinutes = 40320
	BaseTriggerBaselineDetails0OffsetMinutesN60    BaseTriggerBaselineDetails0OffsetMinutes = 60
)

Defines values for BaseTriggerBaselineDetails0OffsetMinutes.

func (BaseTriggerBaselineDetails0OffsetMinutes) Valid

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

type BaseTriggerBaselineDetails0Type

type BaseTriggerBaselineDetails0Type string

BaseTriggerBaselineDetails0Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.

const (
	BaseTriggerBaselineDetails0TypePercentage BaseTriggerBaselineDetails0Type = "percentage"
	BaseTriggerBaselineDetails0TypeValue      BaseTriggerBaselineDetails0Type = "value"
)

Defines values for BaseTriggerBaselineDetails0Type.

func (BaseTriggerBaselineDetails0Type) Valid

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

type BaseTriggerBaselineDetails1

type BaseTriggerBaselineDetails1 = interface{}

BaseTriggerBaselineDetails1 Set to an empty object to clear the baseline threshold.

Example: {}

type BaseTriggerEvaluationScheduleType

type BaseTriggerEvaluationScheduleType string

BaseTriggerEvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the specified frequency. The window type means that the trigger will run at the specified frequency, but only in the time window specified in the evaluation_schedule field.

const (
	BaseTriggerEvaluationScheduleTypeFrequency BaseTriggerEvaluationScheduleType = "frequency"
	BaseTriggerEvaluationScheduleTypeWindow    BaseTriggerEvaluationScheduleType = "window"
)

Defines values for BaseTriggerEvaluationScheduleType.

func (BaseTriggerEvaluationScheduleType) Valid

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

type BaseTriggerEvaluationScheduleWindowDaysOfWeek

type BaseTriggerEvaluationScheduleWindowDaysOfWeek string

BaseTriggerEvaluationScheduleWindowDaysOfWeek defines model for BaseTrigger.EvaluationSchedule.Window.DaysOfWeek.

const (
	BaseTriggerEvaluationScheduleWindowDaysOfWeekFriday    BaseTriggerEvaluationScheduleWindowDaysOfWeek = "friday"
	BaseTriggerEvaluationScheduleWindowDaysOfWeekMonday    BaseTriggerEvaluationScheduleWindowDaysOfWeek = "monday"
	BaseTriggerEvaluationScheduleWindowDaysOfWeekSaturday  BaseTriggerEvaluationScheduleWindowDaysOfWeek = "saturday"
	BaseTriggerEvaluationScheduleWindowDaysOfWeekSunday    BaseTriggerEvaluationScheduleWindowDaysOfWeek = "sunday"
	BaseTriggerEvaluationScheduleWindowDaysOfWeekThursday  BaseTriggerEvaluationScheduleWindowDaysOfWeek = "thursday"
	BaseTriggerEvaluationScheduleWindowDaysOfWeekTuesday   BaseTriggerEvaluationScheduleWindowDaysOfWeek = "tuesday"
	BaseTriggerEvaluationScheduleWindowDaysOfWeekWednesday BaseTriggerEvaluationScheduleWindowDaysOfWeek = "wednesday"
)

Defines values for BaseTriggerEvaluationScheduleWindowDaysOfWeek.

func (BaseTriggerEvaluationScheduleWindowDaysOfWeek) Valid

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

type BaseTriggerThresholdOp

type BaseTriggerThresholdOp string

BaseTriggerThresholdOp defines model for BaseTrigger.Threshold.Op.

const (
	BaseTriggerThresholdOpGreaterThan      BaseTriggerThresholdOp = ">"
	BaseTriggerThresholdOpGreaterThanEqual BaseTriggerThresholdOp = ">="
	BaseTriggerThresholdOpLessThan         BaseTriggerThresholdOp = "<"
	BaseTriggerThresholdOpLessThanEqual    BaseTriggerThresholdOp = "<="
)

Defines values for BaseTriggerThresholdOp.

func (BaseTriggerThresholdOp) Valid

func (e BaseTriggerThresholdOp) Valid() bool

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

type BaseTrigger_BaselineDetails

type BaseTrigger_BaselineDetails struct {
	// contains filtered or unexported fields
}

BaseTrigger_BaselineDetails defines model for BaseTrigger.BaselineDetails.

func (BaseTrigger_BaselineDetails) AsBaseTriggerBaselineDetails0

func (t BaseTrigger_BaselineDetails) AsBaseTriggerBaselineDetails0() (BaseTriggerBaselineDetails0, error)

AsBaseTriggerBaselineDetails0 returns the union data inside the BaseTrigger_BaselineDetails as a BaseTriggerBaselineDetails0

func (BaseTrigger_BaselineDetails) AsBaseTriggerBaselineDetails1

func (t BaseTrigger_BaselineDetails) AsBaseTriggerBaselineDetails1() (BaseTriggerBaselineDetails1, error)

AsBaseTriggerBaselineDetails1 returns the union data inside the BaseTrigger_BaselineDetails as a BaseTriggerBaselineDetails1

func (*BaseTrigger_BaselineDetails) FromBaseTriggerBaselineDetails0

func (t *BaseTrigger_BaselineDetails) FromBaseTriggerBaselineDetails0(v BaseTriggerBaselineDetails0) error

FromBaseTriggerBaselineDetails0 overwrites any union data inside the BaseTrigger_BaselineDetails as the provided BaseTriggerBaselineDetails0

func (*BaseTrigger_BaselineDetails) FromBaseTriggerBaselineDetails1

func (t *BaseTrigger_BaselineDetails) FromBaseTriggerBaselineDetails1(v BaseTriggerBaselineDetails1) error

FromBaseTriggerBaselineDetails1 overwrites any union data inside the BaseTrigger_BaselineDetails as the provided BaseTriggerBaselineDetails1

func (BaseTrigger_BaselineDetails) MarshalJSON

func (t BaseTrigger_BaselineDetails) MarshalJSON() ([]byte, error)

func (*BaseTrigger_BaselineDetails) MergeBaseTriggerBaselineDetails0

func (t *BaseTrigger_BaselineDetails) MergeBaseTriggerBaselineDetails0(v BaseTriggerBaselineDetails0) error

MergeBaseTriggerBaselineDetails0 performs a merge with any union data inside the BaseTrigger_BaselineDetails, using the provided BaseTriggerBaselineDetails0

func (*BaseTrigger_BaselineDetails) MergeBaseTriggerBaselineDetails1

func (t *BaseTrigger_BaselineDetails) MergeBaseTriggerBaselineDetails1(v BaseTriggerBaselineDetails1) error

MergeBaseTriggerBaselineDetails1 performs a merge with any union data inside the BaseTrigger_BaselineDetails, using the provided BaseTriggerBaselineDetails1

func (*BaseTrigger_BaselineDetails) UnmarshalJSON

func (t *BaseTrigger_BaselineDetails) UnmarshalJSON(b []byte) error

type BatchEvent

type BatchEvent struct {
	Data *Event `json:"data,omitempty"`

	// Samplerate An integer representing the denominator in the fraction 1/n when client-side sampling has been applied. Optional. If not set, defaults to `1`, meaning "not sampled". Refer to [Sampling](https://docs.honeycomb.io/manage-data-volume/sample/sampled-data-in-honeycomb/) for more detail.
	Samplerate *int `json:"samplerate,omitempty"`

	// Time Should be in RFC3339 high precision format (for example, YYYY-MM-DDTHH:MM:SS.mmmZ). May be a Unix epoch (seconds since 1970) with second or greater precision (for example, 1452759330927). Optional. If not set, defaults to the time that the API receives the event.
	Time *string `json:"time,omitempty"`
}

BatchEvent defines model for BatchEvent.

type Board

type Board struct {
	// Description A description of the Board.
	//
	// Example: A board created via the API
	Description *string `json:"description,omitempty"`

	// Id Unique identifier (ID), returned in response bodies.
	//
	// Example: 2NeeaE9bBLd
	Id *string `json:"id,omitempty"`

	// LayoutGeneration The layout generation mode for the board. When set to "auto", the board will be automatically laid out based on the panels. When set to "manual", the board will be laid out manually by the user.
	LayoutGeneration *BoardLayoutGeneration `json:"layout_generation,omitempty"`
	Links            *struct {
		// BoardUrl Example: https://ui.honeycomb.io/myteam/environments/myenvironment/board/2NeeaE9bBLd
		BoardUrl *string `json:"board_url,omitempty"`
	} `json:"links,omitempty"`

	// Name The name of the Board.
	//
	// Example: My Board
	Name   string        `json:"name"`
	Panels *[]BoardPanel `json:"panels,omitempty"`

	// PresetFilters A list of preset filters to apply to the board. For backwards compatibility, if no preset filters are provided, the existing preset filters will be preserved. If an empty array is provided, all preset filters will be deleted.
	// **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to create or update a board with more than 5 preset filters will result in an error.
	//
	//
	// Example: [{"alias":"Service","column":"app.Service"}]
	PresetFilters *[]PresetFilter `json:"preset_filters,omitempty"`

	// Tags A list of key-value pairs to help identify the Trigger.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// Type The type of the board. Only flexible boards are supported.
	Type BoardType `json:"type"`
}

Board defines model for Board.

type BoardLayoutGeneration

type BoardLayoutGeneration string

BoardLayoutGeneration The layout generation mode for the board. When set to "auto", the board will be automatically laid out based on the panels. When set to "manual", the board will be laid out manually by the user.

const (
	Auto   BoardLayoutGeneration = "auto"
	Manual BoardLayoutGeneration = "manual"
)

Defines values for BoardLayoutGeneration.

func (BoardLayoutGeneration) Valid

func (e BoardLayoutGeneration) Valid() bool

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

type BoardPanel

type BoardPanel struct {
	// contains filtered or unexported fields
}

BoardPanel defines model for BoardPanel.

func (BoardPanel) AsQueryPanel

func (t BoardPanel) AsQueryPanel() (QueryPanel, error)

AsQueryPanel returns the union data inside the BoardPanel as a QueryPanel

func (BoardPanel) AsSLOPanel

func (t BoardPanel) AsSLOPanel() (SLOPanel, error)

AsSLOPanel returns the union data inside the BoardPanel as a SLOPanel

func (BoardPanel) AsTextPanel

func (t BoardPanel) AsTextPanel() (TextPanel, error)

AsTextPanel returns the union data inside the BoardPanel as a TextPanel

func (BoardPanel) Discriminator

func (t BoardPanel) Discriminator() (string, error)

func (*BoardPanel) FromQueryPanel

func (t *BoardPanel) FromQueryPanel(v QueryPanel) error

FromQueryPanel overwrites any union data inside the BoardPanel as the provided QueryPanel

func (*BoardPanel) FromSLOPanel

func (t *BoardPanel) FromSLOPanel(v SLOPanel) error

FromSLOPanel overwrites any union data inside the BoardPanel as the provided SLOPanel

func (*BoardPanel) FromTextPanel

func (t *BoardPanel) FromTextPanel(v TextPanel) error

FromTextPanel overwrites any union data inside the BoardPanel as the provided TextPanel

func (BoardPanel) MarshalJSON

func (t BoardPanel) MarshalJSON() ([]byte, error)

func (*BoardPanel) MergeQueryPanel

func (t *BoardPanel) MergeQueryPanel(v QueryPanel) error

MergeQueryPanel performs a merge with any union data inside the BoardPanel, using the provided QueryPanel

func (*BoardPanel) MergeSLOPanel

func (t *BoardPanel) MergeSLOPanel(v SLOPanel) error

MergeSLOPanel performs a merge with any union data inside the BoardPanel, using the provided SLOPanel

func (*BoardPanel) MergeTextPanel

func (t *BoardPanel) MergeTextPanel(v TextPanel) error

MergeTextPanel performs a merge with any union data inside the BoardPanel, using the provided TextPanel

func (*BoardPanel) UnmarshalJSON

func (t *BoardPanel) UnmarshalJSON(b []byte) error

func (BoardPanel) ValueByDiscriminator

func (t BoardPanel) ValueByDiscriminator() (interface{}, error)

type BoardPanelPosition

type BoardPanelPosition struct {
	// Height The height of the panel. When not specified or set to 0, the height of the panel is calculated dynamically based on the panel type.
	Height *int `json:"height,omitempty"`

	// Width The width of the panel. When not specified or set to 0, the width of the panel is calculated dynamically based on the panel type.
	Width *int `json:"width,omitempty"`

	// XCoordinate The x-axis origin point for placing the panel within the layout.
	XCoordinate *int `json:"x_coordinate,omitempty"`

	// YCoordinate The y-axis origin point for placing the panel within the layout.
	YCoordinate *int `json:"y_coordinate,omitempty"`
}

BoardPanelPosition The position of the panel within the layout. When X and Y coordinates are not specified for any of the panels, the layout will be generated automatically.

type BoardQueryVisualizationSettings

type BoardQueryVisualizationSettings struct {
	Charts *[]struct {
		ChartIndex        *int                                            `json:"chart_index,omitempty"`
		ChartType         *BoardQueryVisualizationSettingsChartsChartType `json:"chart_type,omitempty"`
		HideOther         *bool                                           `json:"hide_other,omitempty"`
		LogScale          *bool                                           `json:"log_scale,omitempty"`
		OmitMissingValues *bool                                           `json:"omit_missing_values,omitempty"`

		// Thresholds Optional threshold lines to display on this chart. Currently limited to at most 5 entries.
		Thresholds *[]Threshold `json:"thresholds,omitempty"`
	} `json:"charts,omitempty"`
	HideCompare    *bool `json:"hide_compare,omitempty"`
	HideHovers     *bool `json:"hide_hovers,omitempty"`
	HideMarkers    *bool `json:"hide_markers,omitempty"`
	OverlaidCharts *bool `json:"overlaid_charts,omitempty"`
	UtcXaxis       *bool `json:"utc_xaxis,omitempty"`
}

BoardQueryVisualizationSettings A map of values to control the display settings for the Query on the Board. Unspecified boolean values are assumed to be `false`. Unspecified integers are assumed to be `0`, unspecified arrays are assumed to be null and unspecified strings are assumed to be empty. This is incompatible with the `graph_settings` field.

type BoardQueryVisualizationSettingsChartsChartType

type BoardQueryVisualizationSettingsChartsChartType string

BoardQueryVisualizationSettingsChartsChartType defines model for BoardQueryVisualizationSettings.Charts.ChartType.

func (BoardQueryVisualizationSettingsChartsChartType) Valid

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

type BoardType

type BoardType string

BoardType The type of the board. Only flexible boards are supported.

const (
	Flexible BoardType = "flexible"
)

Defines values for BoardType.

func (BoardType) Valid

func (e BoardType) Valid() bool

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

type BoardViewFilter

type BoardViewFilter struct {
	// Column The column name to filter on.
	//
	// Example: status
	Column string `json:"column"`

	// Operation The filter operation.
	//
	// Example: =
	Operation BoardViewFilterOperation `json:"operation"`

	// Value The value to filter by.
	//
	// Example: error
	Value interface{} `json:"value,omitempty"`
}

BoardViewFilter defines model for BoardViewFilter.

type BoardViewFilterOperation

type BoardViewFilterOperation string

BoardViewFilterOperation The filter operation.

Example: =

const (
	BoardViewFilterOperationContains         BoardViewFilterOperation = "contains"
	BoardViewFilterOperationDoesNotContain   BoardViewFilterOperation = "does-not-contain"
	BoardViewFilterOperationDoesNotEndWith   BoardViewFilterOperation = "does-not-end-with"
	BoardViewFilterOperationDoesNotExist     BoardViewFilterOperation = "does-not-exist"
	BoardViewFilterOperationDoesNotStartWith BoardViewFilterOperation = "does-not-start-with"
	BoardViewFilterOperationEmpty            BoardViewFilterOperation = "!="
	BoardViewFilterOperationEndsWith         BoardViewFilterOperation = "ends-with"
	BoardViewFilterOperationEqual            BoardViewFilterOperation = "="
	BoardViewFilterOperationExists           BoardViewFilterOperation = "exists"
	BoardViewFilterOperationGreaterThan      BoardViewFilterOperation = ">"
	BoardViewFilterOperationGreaterThanEqual BoardViewFilterOperation = ">="
	BoardViewFilterOperationIn               BoardViewFilterOperation = "in"
	BoardViewFilterOperationLessThan         BoardViewFilterOperation = "<"
	BoardViewFilterOperationLessThanEqual    BoardViewFilterOperation = "<="
	BoardViewFilterOperationNotIn            BoardViewFilterOperation = "not-in"
	BoardViewFilterOperationStartsWith       BoardViewFilterOperation = "starts-with"
)

Defines values for BoardViewFilterOperation.

func (BoardViewFilterOperation) Valid

func (e BoardViewFilterOperation) Valid() bool

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

type BoardViewResponse

type BoardViewResponse struct {
	Filters *[]BoardViewFilter `json:"filters,omitempty"`

	// Id Unique identifier for the board view.
	//
	// Example: eC_abc123
	Id *string `json:"id,omitempty"`

	// Name The name of the view.
	//
	// Example: My View
	Name *string `json:"name,omitempty"`
}

BoardViewResponse defines model for BoardViewResponse.

type BudgetRateBurnAlert

type BudgetRateBurnAlert struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: budget_rate
	AlertType BudgetRateBurnAlertAlertType `json:"alert_type"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// BudgetRateDecreaseThresholdPerMillion Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// The percent the budget has decreased over the budget rate window, represented as a value out of one million.
	// The alert will fire when this budget decrease threshold is reached.
	//
	// See the table below for some example conversions from desired budget decrease percent to the representation as a value out of one million
	// | Desired percent | Value per million |
	// |-----------------|-------------------|
	// | 0.001%          | 1                 |
	// | 1%              | 10,000            |
	// | 5%              | 50,000            |
	// | 99.99%          | 999,900           |
	//
	//
	// Example: 1000
	BudgetRateDecreaseThresholdPerMillion int `json:"budget_rate_decrease_threshold_per_million"`

	// BudgetRateWindowMinutes Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// Time period (in minutes) over which a budget rate will be calculated.
	//
	// Must be no greater than the associated SLO's time period.
	//
	//
	// Example: 120
	BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

BudgetRateBurnAlert defines model for BudgetRateBurnAlert.

type BudgetRateBurnAlertAlertType

type BudgetRateBurnAlertAlertType string

BudgetRateBurnAlertAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: budget_rate

const (
	BudgetRateBurnAlertAlertTypeBudgetRate     BudgetRateBurnAlertAlertType = "budget_rate"
	BudgetRateBurnAlertAlertTypeExhaustionTime BudgetRateBurnAlertAlertType = "exhaustion_time"
)

Defines values for BudgetRateBurnAlertAlertType.

func (BudgetRateBurnAlertAlertType) Valid

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

type BudgetRateBurnAlertDetailResponse

type BudgetRateBurnAlertDetailResponse struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: budget_rate
	AlertType BudgetRateBurnAlertDetailResponseAlertType `json:"alert_type"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// BudgetRateDecreaseThresholdPerMillion Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// The percent the budget has decreased over the budget rate window, represented as a value out of one million.
	// The alert will fire when this budget decrease threshold is reached.
	//
	// See the table below for some example conversions from desired budget decrease percent to the representation as a value out of one million
	// | Desired percent | Value per million |
	// |-----------------|-------------------|
	// | 0.001%          | 1                 |
	// | 1%              | 10,000            |
	// | 5%              | 50,000            |
	// | 99.99%          | 999,900           |
	//
	//
	// Example: 1000
	BudgetRateDecreaseThresholdPerMillion int `json:"budget_rate_decrease_threshold_per_million"`

	// BudgetRateWindowMinutes Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// Time period (in minutes) over which a budget rate will be calculated.
	//
	// Must be no greater than the associated SLO's time period.
	//
	//
	// Example: 120
	BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when an alert fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	//
	//
	// Example: [{"id":"abcd123","target":"alerts@example.com","type":"email"}]
	Recipients *[]NotificationRecipient `json:"recipients,omitempty"`

	// Slo Details about the SLO associated with the burn alert.
	//
	// Example: {"id":"2LBq9LckbcA"}
	Slo *struct {
		// Id Unique identifier (ID) of a SLO.
		Id *string `json:"id,omitempty"`
	} `json:"slo,omitempty"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

BudgetRateBurnAlertDetailResponse defines model for BudgetRateBurnAlertDetailResponse.

type BudgetRateBurnAlertDetailResponseAlertType

type BudgetRateBurnAlertDetailResponseAlertType string

BudgetRateBurnAlertDetailResponseAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: budget_rate

const (
	BudgetRateBurnAlertDetailResponseAlertTypeBudgetRate     BudgetRateBurnAlertDetailResponseAlertType = "budget_rate"
	BudgetRateBurnAlertDetailResponseAlertTypeExhaustionTime BudgetRateBurnAlertDetailResponseAlertType = "exhaustion_time"
)

Defines values for BudgetRateBurnAlertDetailResponseAlertType.

func (BudgetRateBurnAlertDetailResponseAlertType) Valid

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

type BudgetRateBurnAlertListResponse

type BudgetRateBurnAlertListResponse struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: budget_rate
	AlertType BudgetRateBurnAlertListResponseAlertType `json:"alert_type"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// BudgetRateDecreaseThresholdPerMillion Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// The percent the budget has decreased over the budget rate window, represented as a value out of one million.
	// The alert will fire when this budget decrease threshold is reached.
	//
	// See the table below for some example conversions from desired budget decrease percent to the representation as a value out of one million
	// | Desired percent | Value per million |
	// |-----------------|-------------------|
	// | 0.001%          | 1                 |
	// | 1%              | 10,000            |
	// | 5%              | 50,000            |
	// | 99.99%          | 999,900           |
	//
	//
	// Example: 1000
	BudgetRateDecreaseThresholdPerMillion int `json:"budget_rate_decrease_threshold_per_million"`

	// BudgetRateWindowMinutes Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// Time period (in minutes) over which a budget rate will be calculated.
	//
	// Must be no greater than the associated SLO's time period.
	//
	//
	// Example: 120
	BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Slo Details about the SLO associated with the burn alert.
	//
	// Example: {"id":"2LBq9LckbcA"}
	Slo *struct {
		// Id Unique identifier (ID) of a SLO.
		Id *string `json:"id,omitempty"`
	} `json:"slo,omitempty"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

BudgetRateBurnAlertListResponse defines model for BudgetRateBurnAlertListResponse.

type BudgetRateBurnAlertListResponseAlertType

type BudgetRateBurnAlertListResponseAlertType string

BudgetRateBurnAlertListResponseAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: budget_rate

const (
	BudgetRateBurnAlertListResponseAlertTypeBudgetRate     BudgetRateBurnAlertListResponseAlertType = "budget_rate"
	BudgetRateBurnAlertListResponseAlertTypeExhaustionTime BudgetRateBurnAlertListResponseAlertType = "exhaustion_time"
)

Defines values for BudgetRateBurnAlertListResponseAlertType.

func (BudgetRateBurnAlertListResponseAlertType) Valid

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

type BurnAlertDetailResponse

type BurnAlertDetailResponse struct {
	AlertType string `json:"alert_type"`
	// contains filtered or unexported fields
}

BurnAlertDetailResponse defines model for BurnAlertDetailResponse.

func (BurnAlertDetailResponse) AsBudgetRateBurnAlertDetailResponse

func (t BurnAlertDetailResponse) AsBudgetRateBurnAlertDetailResponse() (BudgetRateBurnAlertDetailResponse, error)

AsBudgetRateBurnAlertDetailResponse returns the union data inside the BurnAlertDetailResponse as a BudgetRateBurnAlertDetailResponse

func (BurnAlertDetailResponse) AsExhaustionTimeBurnAlertDetailResponse

func (t BurnAlertDetailResponse) AsExhaustionTimeBurnAlertDetailResponse() (ExhaustionTimeBurnAlertDetailResponse, error)

AsExhaustionTimeBurnAlertDetailResponse returns the union data inside the BurnAlertDetailResponse as a ExhaustionTimeBurnAlertDetailResponse

func (BurnAlertDetailResponse) Discriminator

func (t BurnAlertDetailResponse) Discriminator() (string, error)

func (*BurnAlertDetailResponse) FromBudgetRateBurnAlertDetailResponse

func (t *BurnAlertDetailResponse) FromBudgetRateBurnAlertDetailResponse(v BudgetRateBurnAlertDetailResponse) error

FromBudgetRateBurnAlertDetailResponse overwrites any union data inside the BurnAlertDetailResponse as the provided BudgetRateBurnAlertDetailResponse

func (*BurnAlertDetailResponse) FromExhaustionTimeBurnAlertDetailResponse

func (t *BurnAlertDetailResponse) FromExhaustionTimeBurnAlertDetailResponse(v ExhaustionTimeBurnAlertDetailResponse) error

FromExhaustionTimeBurnAlertDetailResponse overwrites any union data inside the BurnAlertDetailResponse as the provided ExhaustionTimeBurnAlertDetailResponse

func (BurnAlertDetailResponse) MarshalJSON

func (t BurnAlertDetailResponse) MarshalJSON() ([]byte, error)

func (*BurnAlertDetailResponse) MergeBudgetRateBurnAlertDetailResponse

func (t *BurnAlertDetailResponse) MergeBudgetRateBurnAlertDetailResponse(v BudgetRateBurnAlertDetailResponse) error

MergeBudgetRateBurnAlertDetailResponse performs a merge with any union data inside the BurnAlertDetailResponse, using the provided BudgetRateBurnAlertDetailResponse

func (*BurnAlertDetailResponse) MergeExhaustionTimeBurnAlertDetailResponse

func (t *BurnAlertDetailResponse) MergeExhaustionTimeBurnAlertDetailResponse(v ExhaustionTimeBurnAlertDetailResponse) error

MergeExhaustionTimeBurnAlertDetailResponse performs a merge with any union data inside the BurnAlertDetailResponse, using the provided ExhaustionTimeBurnAlertDetailResponse

func (*BurnAlertDetailResponse) UnmarshalJSON

func (t *BurnAlertDetailResponse) UnmarshalJSON(b []byte) error

func (BurnAlertDetailResponse) ValueByDiscriminator

func (t BurnAlertDetailResponse) ValueByDiscriminator() (interface{}, error)

type BurnAlertListResponse

type BurnAlertListResponse struct {
	AlertType string `json:"alert_type"`
	// contains filtered or unexported fields
}

BurnAlertListResponse defines model for BurnAlertListResponse.

func (BurnAlertListResponse) AsBudgetRateBurnAlertListResponse

func (t BurnAlertListResponse) AsBudgetRateBurnAlertListResponse() (BudgetRateBurnAlertListResponse, error)

AsBudgetRateBurnAlertListResponse returns the union data inside the BurnAlertListResponse as a BudgetRateBurnAlertListResponse

func (BurnAlertListResponse) AsExhaustionTimeBurnAlertListResponse

func (t BurnAlertListResponse) AsExhaustionTimeBurnAlertListResponse() (ExhaustionTimeBurnAlertListResponse, error)

AsExhaustionTimeBurnAlertListResponse returns the union data inside the BurnAlertListResponse as a ExhaustionTimeBurnAlertListResponse

func (BurnAlertListResponse) Discriminator

func (t BurnAlertListResponse) Discriminator() (string, error)

func (*BurnAlertListResponse) FromBudgetRateBurnAlertListResponse

func (t *BurnAlertListResponse) FromBudgetRateBurnAlertListResponse(v BudgetRateBurnAlertListResponse) error

FromBudgetRateBurnAlertListResponse overwrites any union data inside the BurnAlertListResponse as the provided BudgetRateBurnAlertListResponse

func (*BurnAlertListResponse) FromExhaustionTimeBurnAlertListResponse

func (t *BurnAlertListResponse) FromExhaustionTimeBurnAlertListResponse(v ExhaustionTimeBurnAlertListResponse) error

FromExhaustionTimeBurnAlertListResponse overwrites any union data inside the BurnAlertListResponse as the provided ExhaustionTimeBurnAlertListResponse

func (BurnAlertListResponse) MarshalJSON

func (t BurnAlertListResponse) MarshalJSON() ([]byte, error)

func (*BurnAlertListResponse) MergeBudgetRateBurnAlertListResponse

func (t *BurnAlertListResponse) MergeBudgetRateBurnAlertListResponse(v BudgetRateBurnAlertListResponse) error

MergeBudgetRateBurnAlertListResponse performs a merge with any union data inside the BurnAlertListResponse, using the provided BudgetRateBurnAlertListResponse

func (*BurnAlertListResponse) MergeExhaustionTimeBurnAlertListResponse

func (t *BurnAlertListResponse) MergeExhaustionTimeBurnAlertListResponse(v ExhaustionTimeBurnAlertListResponse) error

MergeExhaustionTimeBurnAlertListResponse performs a merge with any union data inside the BurnAlertListResponse, using the provided ExhaustionTimeBurnAlertListResponse

func (*BurnAlertListResponse) UnmarshalJSON

func (t *BurnAlertListResponse) UnmarshalJSON(b []byte) error

func (BurnAlertListResponse) ValueByDiscriminator

func (t BurnAlertListResponse) ValueByDiscriminator() (interface{}, error)

type BurnAlertSharedParams

type BurnAlertSharedParams struct {
	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

BurnAlertSharedParams defines model for BurnAlertSharedParams.

type CalculatedField

type CalculatedField struct {
	// Alias The human-readable name of the Calculated Field (also called Derived Column), as it will be referenced when building queries.
	Alias string `json:"alias"`

	// CreatedAt ISO8601 formatted time when the field was created.
	CreatedAt *string `json:"created_at,omitempty"`

	// Description A human-readable description for the Calculated Field that displays in the UI.
	Description *string `json:"description,omitempty"`

	// Expression The expression to evaluate to construct this Calculated Field's value. (Calculated Field is also called Derived Column.) Refer to the [Calculated Field Reference](https://docs.honeycomb.io/reference/derived-column-formula/).
	Expression string `json:"expression"`

	// Id Unique identifier (ID), returned in response bodies.
	Id *string `json:"id,omitempty"`

	// UpdatedAt ISO8601 formatted time when the field was updated.
	UpdatedAt *string `json:"updated_at,omitempty"`
}

CalculatedField defines model for CalculatedField.

type CalculatedFieldList

type CalculatedFieldList = []CalculatedField

CalculatedFieldList defines model for CalculatedFieldList.

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) CreateApiKeyWithApplicationVndAPIPlusJSONBody

func (c *Client) CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateApiKeyWithApplicationVndAPIPlusJSONBody Create an API Key

This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.

To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`

Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).

Takes a body of the `application/vnd.api+json` content type.

Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).

func (*Client) CreateApiKeyWithBody

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

CreateApiKeyWithBody Create an API Key

This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.

To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`

Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).

Takes any type of body and a specified content type.

Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).

func (*Client) CreateBoard

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

CreateBoard Create a Board

Create a Board comprised of one or more Panels (Query, SLO, or Text). **Note**: Each board is limited to a maximum of 5 preset filters.

Takes a body of the `application/json` content type.

Corresponds with POST /1/boards (the `CreateBoard` operationId).

func (*Client) CreateBoardView

func (c *Client) CreateBoardView(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateBoardView Create a Board View

Create a new view for a board with the specified filters. **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.

Takes a body of the `application/json` content type.

Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).

func (*Client) CreateBoardViewWithBody

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

CreateBoardViewWithBody Create a Board View

Create a new view for a board with the specified filters. **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.

Takes any type of body and a specified content type.

Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).

func (*Client) CreateBoardWithBody

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

CreateBoardWithBody Create a Board

Create a Board comprised of one or more Panels (Query, SLO, or Text). **Note**: Each board is limited to a maximum of 5 preset filters.

Takes any type of body and a specified content type.

Corresponds with POST /1/boards (the `CreateBoard` operationId).

func (*Client) CreateBurnAlert

func (c *Client) CreateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateBurnAlert Create a Burn Alert

Create a Burn Alert against a specified SLO.

Takes a body of the `application/json` content type.

Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).

func (*Client) CreateBurnAlertWithBody

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

CreateBurnAlertWithBody Create a Burn Alert

Create a Burn Alert against a specified SLO.

Takes any type of body and a specified content type.

Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).

func (*Client) CreateCalculatedField

func (c *Client) CreateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateCalculatedField Create a Calculated Field

Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.

Takes a body of the `application/json` content type.

Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).

func (*Client) CreateCalculatedFieldWithBody

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

CreateCalculatedFieldWithBody Create a Calculated Field

Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.

Takes any type of body and a specified content type.

Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).

func (*Client) CreateColumn

func (c *Client) CreateColumn(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateColumn Create a Column

Create a column by providing corresponding details for that type.

Takes a body of the `application/json` content type.

Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).

func (*Client) CreateColumnWithBody

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

CreateColumnWithBody Create a Column

Create a column by providing corresponding details for that type.

Takes any type of body and a specified content type.

Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).

func (*Client) CreateDataset

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

CreateDataset Create a Dataset

Create a Dataset in the environment associated with your API key. If a Dataset already exists by that name (or slug), then the existing dataset will be returned.

Takes a body of the `application/json` content type.

Corresponds with POST /1/datasets (the `CreateDataset` operationId).

func (*Client) CreateDatasetWithBody

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

CreateDatasetWithBody Create a Dataset

Create a Dataset in the environment associated with your API key. If a Dataset already exists by that name (or slug), then the existing dataset will be returned.

Takes any type of body and a specified content type.

Corresponds with POST /1/datasets (the `CreateDataset` operationId).

func (*Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody

func (c *Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateEnvironmentWithApplicationVndAPIPlusJSONBody Create an Environment

Takes a body of the `application/vnd.api+json` content type.

Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).

func (*Client) CreateEnvironmentWithBody

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

CreateEnvironmentWithBody Create an Environment

Takes any type of body and a specified content type.

Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).

func (*Client) CreateEvent

func (c *Client) CreateEvent(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateEvent Create an Event

Using this endpoint for anything more than testing is highly discouraged.

Sending events in batches will be much more efficient and should be preferred if at all possible.

Takes a body of the `application/json` content type.

Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).

func (*Client) CreateEventWithBody

func (c *Client) CreateEventWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateEventWithBody Create an Event

Using this endpoint for anything more than testing is highly discouraged.

Sending events in batches will be much more efficient and should be preferred if at all possible.

Takes any type of body and a specified content type.

Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).

func (*Client) CreateEvents

func (c *Client) CreateEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateEvents Create Events

Supports batch creation of events.

Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".

The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.

Takes a body of the `application/json` content type.

Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).

func (*Client) CreateEventsWithBody

func (c *Client) CreateEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateEventsWithBody Create Events

Supports batch creation of events.

Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".

The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.

Takes any type of body and a specified content type.

Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).

func (*Client) CreateKinesisEvents

func (c *Client) CreateKinesisEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateKinesisEvents Create Kinesis Events

This endpoint processes events and metrics coming from AWS through Kinesis Firehose.

Takes a body of the `application/json` content type.

Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).

func (*Client) CreateKinesisEventsWithBody

func (c *Client) CreateKinesisEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateKinesisEventsWithBody Create Kinesis Events

This endpoint processes events and metrics coming from AWS through Kinesis Firehose.

Takes any type of body and a specified content type.

Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).

func (*Client) CreateMapDependencyRequest

func (c *Client) CreateMapDependencyRequest(ctx context.Context, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateMapDependencyRequest Create a Map Dependency Request

Create a Map Dependency Request.

Takes a body of the `application/json` content type.

Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).

func (*Client) CreateMapDependencyRequestWithBody

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

CreateMapDependencyRequestWithBody Create a Map Dependency Request

Create a Map Dependency Request.

Takes any type of body and a specified content type.

Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).

func (*Client) CreateMarker

func (c *Client) CreateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateMarker Create a Marker

Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes a body of the `application/json` content type.

Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).

func (*Client) CreateMarkerSetting

func (c *Client) CreateMarkerSetting(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateMarkerSetting Create a Marker Setting

Takes a body of the `application/json` content type.

Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).

func (*Client) CreateMarkerSettingWithBody

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

CreateMarkerSettingWithBody Create a Marker Setting

Takes any type of body and a specified content type.

Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).

func (*Client) CreateMarkerWithBody

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

CreateMarkerWithBody Create a Marker

Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes any type of body and a specified content type.

Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).

func (*Client) CreateQuery

func (c *Client) CreateQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateQuery Create a Query

Create a query from a specification. DOES NOT run the query to retrieve results.

Takes a body of the `application/json` content type.

Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).

func (*Client) CreateQueryAnnotation

func (c *Client) CreateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateQueryAnnotation Create a Query Annotation

Create a Query Annotation for the specified query ID.

Takes a body of the `application/json` content type.

Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).

func (*Client) CreateQueryAnnotationWithBody

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

CreateQueryAnnotationWithBody Create a Query Annotation

Create a Query Annotation for the specified query ID.

Takes any type of body and a specified content type.

Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).

func (*Client) CreateQueryResult

func (c *Client) CreateQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateQueryResult Create a Query Result

Kick off processing of a Query to then get back the Query Results. Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint. A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.

Takes a body of the `application/json` content type.

Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).

func (*Client) CreateQueryResultWithBody

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

CreateQueryResultWithBody Create a Query Result

Kick off processing of a Query to then get back the Query Results. Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint. A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.

Takes any type of body and a specified content type.

Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).

func (*Client) CreateQueryWithBody

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

CreateQueryWithBody Create a Query

Create a query from a specification. DOES NOT run the query to retrieve results.

Takes any type of body and a specified content type.

Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).

func (*Client) CreateRecipient

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

CreateRecipient Create a Recipient

Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key. The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value. Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.

Takes a body of the `application/json` content type.

Corresponds with POST /1/recipients (the `CreateRecipient` operationId).

func (*Client) CreateRecipientWithBody

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

CreateRecipientWithBody Create a Recipient

Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key. The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value. Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.

Takes any type of body and a specified content type.

Corresponds with POST /1/recipients (the `CreateRecipient` operationId).

func (*Client) CreateSlo

func (c *Client) CreateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateSlo Create an SLO

Create an SLO on the provided dataset.

Takes a body of the `application/json` content type.

Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).

func (*Client) CreateSloWithBody

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

CreateSloWithBody Create an SLO

Create an SLO on the provided dataset.

Takes any type of body and a specified content type.

Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).

func (*Client) CreateTrigger

func (c *Client) CreateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateTrigger Create a Trigger

Create a trigger on the provided dataset or environment.

Takes a body of the `application/json` content type.

Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).

func (*Client) CreateTriggerWithBody

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

CreateTriggerWithBody Create a Trigger

Create a trigger on the provided dataset or environment.

Takes any type of body and a specified content type.

Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).

func (*Client) DeleteApiKey

func (c *Client) DeleteApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteApiKey Delete an API Key

This deletes and immediately deactivates the API Key. This is an irreversible operation.

Corresponds with DELETE /2/teams/{teamSlug}/api-keys/{ID} (the `DeleteApiKey` operationId).

func (*Client) DeleteBoard

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

DeleteBoard Delete a Board

Delete a public Board by specifying its ID.

Corresponds with DELETE /1/boards/{boardId} (the `DeleteBoard` operationId).

func (*Client) DeleteBoardView

func (c *Client) DeleteBoardView(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteBoardView Delete a Board View

Delete a Board View by specifying its ID.

Corresponds with DELETE /1/boards/{boardId}/views/{viewId} (the `DeleteBoardView` operationId).

func (*Client) DeleteBurnAlert

func (c *Client) DeleteBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteBurnAlert Delete a Burn Alert

Delete a Burn Alert by specifying its ID.

Corresponds with DELETE /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `DeleteBurnAlert` operationId).

func (*Client) DeleteCalculatedField

func (c *Client) DeleteCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteCalculatedField Delete a Calculated Field

Delete a Calculated Field (also called a Derived Column). **Note**: A Calculated Field used by a SLO, Trigger, or Board cannot be deleted without removing or modifying the SLO, Trigger, or Board first.

Corresponds with DELETE /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `DeleteCalculatedField` operationId).

func (*Client) DeleteColumn

func (c *Client) DeleteColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteColumn Delete a Column

Delete a column. **Note**: Deleted columns are no longer queryable, but data in existing permalinks (query results and trace views) will remain stored and available at those links.

Corresponds with DELETE /1/columns/{datasetSlug}/{columnId} (the `DeleteColumn` operationId).

func (*Client) DeleteDataset

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

DeleteDataset Delete a Dataset

Deletes the Dataset. This is an irreversible operation. It may take several minutes for the deletion process to complete.

**WARNING**: This endpoint will allow anyone with an API key that has the manage dataset permission to delete any dataset in the environment (or any dataset in the whole team for Classic customers).

Datasets with Deletion Protection enabled cannot be deleted.

To delete a Dataset with Deletion Protection enabled, first disable Deletion Protection by updating the Dataset with `settings.delete_protected = false`.

Corresponds with DELETE /1/datasets/{datasetSlug} (the `DeleteDataset` operationId).

func (*Client) DeleteEnvironment

func (c *Client) DeleteEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteEnvironment Delete an Environment

This deletes and immediately deactivates the Environment. This is an irreversible operation.

Environments with Deletion Protection enabled cannot be deleted. To delete an Environment with Deletion Protection enabled, first disable Deletion Protection by updating the Environment with `settings.delete_protected = false`.

Corresponds with DELETE /2/teams/{teamSlug}/environments/{ID} (the `DeleteEnvironment` operationId).

func (*Client) DeleteMarker

func (c *Client) DeleteMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteMarker Delete a Marker

Corresponds with DELETE /1/markers/{datasetSlug}/{markerId} (the `DeleteMarker` operationId).

func (*Client) DeleteMarkerSettings

func (c *Client) DeleteMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteMarkerSettings Delete a Marker Setting

Corresponds with DELETE /1/marker_settings/{datasetSlug}/{markerSettingId} (the `DeleteMarkerSettings` operationId).

func (*Client) DeleteQueryAnnotation

func (c *Client) DeleteQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteQueryAnnotation Delete a Query Annotation

Delete a Query Annotation by specifying its ID.

Corresponds with DELETE /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `DeleteQueryAnnotation` operationId).

func (*Client) DeleteRecipient

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

DeleteRecipient Delete a Recipient

Delete a recipient by specifying the recipient ID. A Recipient can only be deleted if it is NOT in use by any Triggers or Burn Alerts associated to the team.

Corresponds with DELETE /1/recipients/{recipientId} (the `DeleteRecipient` operationId).

func (*Client) DeleteSlo

func (c *Client) DeleteSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteSlo Delete an SLO

Delete an SLO by specifying its ID.

Corresponds with DELETE /1/slos/{datasetSlug}/{sloId} (the `DeleteSlo` operationId).

func (*Client) DeleteTrigger

func (c *Client) DeleteTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteTrigger Delete a Trigger

Delete a trigger by specifying the trigger ID. The body of the DELETE request should be empty.

Corresponds with DELETE /1/triggers/{datasetSlug}/{triggerId} (the `DeleteTrigger` operationId).

func (*Client) GetApiKey

func (c *Client) GetApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetApiKey Get an API Key

Fetches an environment API Key, either a key of type `ingest` or type `configuration` based on the ID given.

Corresponds with GET /2/teams/{teamSlug}/api-keys/{ID} (the `GetApiKey` operationId).

func (*Client) GetAuth

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

GetAuth List Authorizations

Returns metadata about the API Key used to call the API. Note: a Honeycomb Classic API key will return an empty string for both of the `environment` values.

Corresponds with GET /1/auth (the `GetAuth` operationId).

func (*Client) GetBoard

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

GetBoard Get a Board

Get a single Board by ID.

Corresponds with GET /1/boards/{boardId} (the `GetBoard` operationId).

func (*Client) GetBoardView

func (c *Client) GetBoardView(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetBoardView Get a Board View

Retrieve a single Board View by ID.

Corresponds with GET /1/boards/{boardId}/views/{viewId} (the `GetBoardView` operationId).

func (*Client) GetBurnAlert

func (c *Client) GetBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetBurnAlert Get a Burn Alert

Get a single Burn Alert by ID.

Corresponds with GET /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `GetBurnAlert` operationId).

func (*Client) GetCalculatedField

func (c *Client) GetCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCalculatedField Get a Calculated Field

Corresponds with GET /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `GetCalculatedField` operationId).

func (*Client) GetColumn

func (c *Client) GetColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetColumn Get a Column

Corresponds with GET /1/columns/{datasetSlug}/{columnId} (the `GetColumn` operationId).

func (*Client) GetDataset

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

GetDataset Get a Dataset

Get a single Dataset by slug.

Corresponds with GET /1/datasets/{datasetSlug} (the `GetDataset` operationId).

func (*Client) GetEnvironment

func (c *Client) GetEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetEnvironment Get an Environment

Corresponds with GET /2/teams/{teamSlug}/environments/{ID} (the `GetEnvironment` operationId).

func (*Client) GetMapDependencies

func (c *Client) GetMapDependencies(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetMapDependencies Get Map Dependencies

Get the dependencies for a previously created Map Dependencies Request. Note: This endpoint returns a single page of results and uses pagination. Even if you specified a large limit in the initial POST request, you will receive up to the page size limit per request and must use the pagination links to retrieve additional results.

Corresponds with GET /1/maps/dependencies/requests/{requestId} (the `GetMapDependencies` operationId).

func (*Client) GetMarker

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

GetMarker List All Markers

Lists all Markers for a dataset.

Corresponds with GET /1/markers/{datasetSlug} (the `GetMarker` operationId).

func (*Client) GetQuery

func (c *Client) GetQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetQuery Get a Query

Retrieve a query by its ID.

Corresponds with GET /1/queries/{datasetSlug}/{queryId} (the `GetQuery` operationId).

func (*Client) GetQueryAnnotation

func (c *Client) GetQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetQueryAnnotation Get a Query Annotation

Get a Query Annotation by its ID.

Corresponds with GET /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `GetQueryAnnotation` operationId).

func (*Client) GetQueryResult

func (c *Client) GetQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetQueryResult Get Query Result

Get the Query Result details for a specific Query Result ID. This endpoint is used to fetch the results of a query that had previously been created. It is recommended to follow the Location header included in the Create Query Result output, but the URL can also be constructed manually with the &lt;query-result-id&gt;. Note: a query that fails to run still returns HTTP 200. Check the response body: a failed query has "complete": true with an "error" field in place of "data".

Corresponds with GET /1/query_results/{datasetSlug}/{queryResultId} (the `GetQueryResult` operationId).

func (*Client) GetRecipient

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

GetRecipient Get a single Recipient

Retrieve a Recipient by recipient ID.

Corresponds with GET /1/recipients/{recipientId} (the `GetRecipient` operationId).

func (*Client) GetSignal

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

GetSignal Get a Signal

Fetch a Signal by ID, including the Recipients assigned to it.

Corresponds with GET /1/signals/{id} (the `GetSignal` operationId).

func (*Client) GetSlo

func (c *Client) GetSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSlo Get an SLO

Get an SLO by ID.

Corresponds with GET /1/slos/{datasetSlug}/{sloId} (the `GetSlo` operationId).

func (*Client) GetSloHistory

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

GetSloHistory Get SLO History

Get a weekly breakdown of historical data for a list of SLOs for a given time range.

Takes a body of the `application/json` content type.

Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).

func (*Client) GetSloHistoryWithBody

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

GetSloHistoryWithBody Get SLO History

Get a weekly breakdown of historical data for a list of SLOs for a given time range.

Takes any type of body and a specified content type.

Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).

func (*Client) GetSloHourlyCountsHistory

func (c *Client) GetSloHourlyCountsHistory(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloHourlyCountsHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSloHourlyCountsHistory Get SLO Hourly Counts History

Get hourly-bucketed total and error event counts for an SLO from the persistent historical store. Use this endpoint to retrieve completed historical hours; pair with the [Get SLO Realtime Counts endpoint](https://api-docs.honeycomb.io/api/slos/getslorealtimecounts/) for the current in-progress hour.

**Requirements:**

  • Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
  • This feature must be enabled for your team. Contact your account team to request access.

**Partial buckets:** The most recent bucket may be marked `is_partial: true` if it covers the current in-progress hour. Counts for that bucket will increase until the hour completes.

Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts/history (the `GetSloHourlyCountsHistory` operationId).

func (*Client) GetSloRealtimeCounts

func (c *Client) GetSloRealtimeCounts(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloRealtimeCountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSloRealtimeCounts Get SLO Realtime Counts

Get per-minute success and failure event counts for an SLO, updated approximately once per minute from a rolling 24-hour window.

This endpoint is intended for near-real-time integrations such as external SLO dashboards and alerting tools (e.g. nobl9). For weekly compliance history, use the [Get SLO History endpoint](https://api-docs.honeycomb.io/api/reporting/getSloHistory/).

**Requirements:**

  • Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
  • This feature must be enabled for your team. Contact your account team to request access.

**Gaps:** Some minutes may have no entry in the `windows` array. The first window after a gap may contain a larger-than-usual delta. Treat missing timestamps as unavailable data, not zero-event periods.

**Epoch:** The response includes an `epoch` field — a hash of the SLO's SLI expression and dataset configuration. If this value changes between responses, the underlying SLO definition has changed and any client-side cache should be invalidated.

**Partial windows:** Windows marked `is_partial: true` may still receive additional events. This occurs for the most recent 10 minutes (late-arriving data settlement) or when no prior snapshot exists to compute a delta from.

Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts (the `GetSloRealtimeCounts` operationId).

func (*Client) GetTrigger

func (c *Client) GetTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetTrigger Get a Trigger

Fetch details for a single Trigger by Trigger ID.

Corresponds with GET /1/triggers/{datasetSlug}/{triggerId} (the `GetTrigger` operationId).

func (*Client) GetV2Auth

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

GetV2Auth List Authorizations V2

Returns metadata about the Management API Key used to call the API.

Corresponds with GET /2/auth (the `GetV2Auth` operationId).

func (*Client) ListApiKeys

func (c *Client) ListApiKeys(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListApiKeys List all API Keys

List all API Keys for a Team.

Corresponds with GET /2/teams/{teamSlug}/api-keys (the `ListApiKeys` operationId).

func (*Client) ListBoardViews

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

ListBoardViews List Board Views

Retrieve a list of all views for a board. **Note**: Each board is limited to a maximum of 50 views.

Corresponds with GET /1/boards/{boardId}/views (the `ListBoardViews` operationId).

func (*Client) ListBoards

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

ListBoards List All Boards

Retrieves a list of all non-secret Boards within an environment. **Note**: For Honeycomb Classic users, all boards within Classic will be returned.

Corresponds with GET /1/boards (the `ListBoards` operationId).

func (*Client) ListBurnAlertsBySlo

func (c *Client) ListBurnAlertsBySlo(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListBurnAlertsBySlo List All Burn Alerts for an SLO

Get all burn alerts associated with the SLO specified in the `slo_id` query param. It is not currently possible to retrieve all burn alerts for a dataset, environment, or team.

Corresponds with GET /1/burn_alerts/{datasetSlug} (the `ListBurnAlertsBySlo` operationId).

func (*Client) ListCalculatedFields

func (c *Client) ListCalculatedFields(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListCalculatedFields List all Calculated Fields

Get all the Calculated Fields (also called Derived Columns) in a dataset or environment. With the `?alias=X` query parameter, can return a single Calculated Field by its `alias`.

Corresponds with GET /1/derived_columns/{datasetSlug} (the `ListCalculatedFields` operationId).

func (*Client) ListColumns

func (c *Client) ListColumns(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListColumns List all Columns

Get all the Columns in a dataset or environment. Use `__all__` as the dataset slug to retrieve all Columns across all datasets in the environment (not available for classic environments).

Corresponds with GET /1/columns/{datasetSlug} (the `ListColumns` operationId).

func (*Client) ListDatasetDefinitions

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

ListDatasetDefinitions Get all Dataset Definitions

Get all definitions for a Dataset. The response returns an object with a Dataset Definition for each set Dataset Definition type.

Corresponds with GET /1/dataset_definitions/{datasetSlug} (the `ListDatasetDefinitions` operationId).

func (*Client) ListDatasets

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

ListDatasets List All Datasets

Lists all Datasets for an environment. **Note**: For Honeycomb Classic users, all datasets in Classic are returned.

Corresponds with GET /1/datasets (the `ListDatasets` operationId).

func (*Client) ListEnvironments

func (c *Client) ListEnvironments(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListEnvironments List all Environments

Corresponds with GET /2/teams/{teamSlug}/environments (the `ListEnvironments` operationId).

func (*Client) ListMarkerSettings

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

ListMarkerSettings Get a Marker Setting

Corresponds with GET /1/marker_settings/{datasetSlug} (the `ListMarkerSettings` operationId).

func (*Client) ListQueryAnnotations

func (c *Client) ListQueryAnnotations(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListQueryAnnotations List Query Annotations

List all Query Annotations in the specified dataset.

Corresponds with GET /1/query_annotations/{datasetSlug} (the `ListQueryAnnotations` operationId).

func (*Client) ListRecipients

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

ListRecipients List all Recipients

Retrieve all recipients for a team.

Corresponds with GET /1/recipients (the `ListRecipients` operationId).

func (*Client) ListSignalHistoricalAnomalies

func (c *Client) ListSignalHistoricalAnomalies(ctx context.Context, id string, params *ListSignalHistoricalAnomaliesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ListSignalHistoricalAnomalies List Historical Anomalies

List anomalies that a Signal has resolved within a bounded time window. Anomalies are returned in cursor-paginated pages, most recent first. `start_time` and `end_time` are required and must span no more than 30 days.

Corresponds with GET /1/signals/{id}/historical_anomalies (the `ListSignalHistoricalAnomalies` operationId).

func (*Client) ListSignals

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

ListSignals List All Signals

List Signals in the environment associated with your API key. Signals are returned in cursor-paginated pages and can be filtered by service, dataset, kind, status, and whether they are currently anomalous.

Corresponds with GET /1/signals (the `ListSignals` operationId).

func (*Client) ListSlos

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

ListSlos Get all SLOs

Get all SLOs for a dataset or environment (using `__all__`). This action returns any SLOs, including those applied with multiple datasets.

Corresponds with GET /1/slos/{datasetSlug} (the `ListSlos` operationId).

func (*Client) ListTriggers

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

ListTriggers List All Triggers

List all triggers on the provided dataset or environment.

Corresponds with GET /1/triggers/{datasetSlug} (the `ListTriggers` operationId).

func (*Client) ListTriggersWithRecipient

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

ListTriggersWithRecipient Get Triggers Associated with a Recipient

List all triggers that will alert a given Recipient. **Important:** This request will return all Triggers associated with the specific Recipient across your entire Honeycomb team rather than being scoped to a dataset or environment.

Corresponds with GET /1/recipients/{recipientId}/triggers (the `ListTriggersWithRecipient` operationId).

func (*Client) PatchDatasetDefinitions

func (c *Client) PatchDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PatchDatasetDefinitions Set or Update Dataset Definitions

Set or update one or more definitions for a Dataset. **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.

Takes a body of the `application/json` content type.

Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).

func (*Client) PatchDatasetDefinitionsWithBody

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

PatchDatasetDefinitionsWithBody Set or Update Dataset Definitions

Set or update one or more definitions for a Dataset. **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.

Takes any type of body and a specified content type.

Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).

func (*Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody

func (c *Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateApiKeyWithApplicationVndAPIPlusJSONBody Update an API Key

Updates an API Key. The expected attributes depend on the key type: - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes

Takes a body of the `application/vnd.api+json` content type.

Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).

func (*Client) UpdateApiKeyWithBody

func (c *Client) UpdateApiKeyWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateApiKeyWithBody Update an API Key

Updates an API Key. The expected attributes depend on the key type: - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes

Takes any type of body and a specified content type.

Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).

func (*Client) UpdateBoard

func (c *Client) UpdateBoard(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateBoard Update a Board

Update a Board by specifying its ID and full details. **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API. **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).

func (*Client) UpdateBoardView

func (c *Client) UpdateBoardView(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateBoardView Update a Board View

Update a Board View by specifying its ID and full details.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).

func (*Client) UpdateBoardViewWithBody

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

UpdateBoardViewWithBody Update a Board View

Update a Board View by specifying its ID and full details.

Takes any type of body and a specified content type.

Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).

func (*Client) UpdateBoardWithBody

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

UpdateBoardWithBody Update a Board

Update a Board by specifying its ID and full details. **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API. **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.

Takes any type of body and a specified content type.

Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).

func (*Client) UpdateBurnAlert

func (c *Client) UpdateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateBurnAlert Update a Burn Alert

Update a Burn Alert by specifying its ID and full details.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).

func (*Client) UpdateBurnAlertWithBody

func (c *Client) UpdateBurnAlertWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateBurnAlertWithBody Update a Burn Alert

Update a Burn Alert by specifying its ID and full details.

Takes any type of body and a specified content type.

Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).

func (*Client) UpdateCalculatedField

func (c *Client) UpdateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateCalculatedField Update a Calculated Field

Update a Calculated Field (also called a Derived Column).

Takes a body of the `application/json` content type.

Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).

func (*Client) UpdateCalculatedFieldWithBody

func (c *Client) UpdateCalculatedFieldWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateCalculatedFieldWithBody Update a Calculated Field

Update a Calculated Field (also called a Derived Column).

Takes any type of body and a specified content type.

Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).

func (*Client) UpdateColumn

func (c *Client) UpdateColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateColumn Update a Column

Update a column.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).

func (*Client) UpdateColumnWithBody

func (c *Client) UpdateColumnWithBody(ctx context.Context, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateColumnWithBody Update a Column

Update a column.

Takes any type of body and a specified content type.

Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).

func (*Client) UpdateDataset

func (c *Client) UpdateDataset(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDataset Update a Dataset

Update a Dataset's settings.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).

func (*Client) UpdateDatasetWithBody

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

UpdateDatasetWithBody Update a Dataset

Update a Dataset's settings.

Takes any type of body and a specified content type.

Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).

func (*Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody

func (c *Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateEnvironmentWithApplicationVndAPIPlusJSONBody Update an Environment

Takes a body of the `application/vnd.api+json` content type.

Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).

func (*Client) UpdateEnvironmentWithBody

func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateEnvironmentWithBody Update an Environment

Takes any type of body and a specified content type.

Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).

func (*Client) UpdateMarker

func (c *Client) UpdateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateMarker Update a Marker

Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).

func (*Client) UpdateMarkerSettings

func (c *Client) UpdateMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateMarkerSettings Update a Marker Setting

A marker setting's `type` may not be changed after creation.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).

func (*Client) UpdateMarkerSettingsWithBody

func (c *Client) UpdateMarkerSettingsWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateMarkerSettingsWithBody Update a Marker Setting

A marker setting's `type` may not be changed after creation.

Takes any type of body and a specified content type.

Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).

func (*Client) UpdateMarkerWithBody

func (c *Client) UpdateMarkerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateMarkerWithBody Update a Marker

Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes any type of body and a specified content type.

Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).

func (*Client) UpdateQueryAnnotation

func (c *Client) UpdateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateQueryAnnotation Update a Query Annotation

Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).

func (*Client) UpdateQueryAnnotationWithBody

func (c *Client) UpdateQueryAnnotationWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateQueryAnnotationWithBody Update a Query Annotation

Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.

Takes any type of body and a specified content type.

Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).

func (*Client) UpdateRecipient

func (c *Client) UpdateRecipient(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateRecipient Update a Recipient

Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.) Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed. **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).

func (*Client) UpdateRecipientWithBody

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

UpdateRecipientWithBody Update a Recipient

Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.) Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed. **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.

Takes any type of body and a specified content type.

Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).

func (*Client) UpdateSignal

func (c *Client) UpdateSignal(ctx context.Context, id string, body UpdateSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSignal Update a Signal

Update a Signal by ID. All fields in the body are optional; only the fields you supply are applied.

- `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`. - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained. - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).

func (*Client) UpdateSignalWithBody

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

UpdateSignalWithBody Update a Signal

Update a Signal by ID. All fields in the body are optional; only the fields you supply are applied.

- `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`. - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained. - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.

Takes any type of body and a specified content type.

Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).

func (*Client) UpdateSlo

func (c *Client) UpdateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSlo Update an SLO

Update an SLO by specifying its ID and full SLO details.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).

func (*Client) UpdateSloWithBody

func (c *Client) UpdateSloWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateSloWithBody Update an SLO

Update an SLO by specifying its ID and full SLO details.

Takes any type of body and a specified content type.

Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).

func (*Client) UpdateTrigger

func (c *Client) UpdateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateTrigger Update a Trigger

Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.

Takes a body of the `application/json` content type.

Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).

func (*Client) UpdateTriggerWithBody

func (c *Client) UpdateTriggerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateTriggerWithBody Update a Trigger

Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.

Takes any type of body and a specified content type.

Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).

type ClientInterface

type ClientInterface interface {

	// GetAuth List Authorizations
	//
	// Returns metadata about the API Key used to call the API.
	// Note: a Honeycomb Classic API key will return an empty string for both of the `environment` values.
	//
	// Corresponds with GET /1/auth (the `GetAuth` operationId).
	GetAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEventsWithBody Create Events
	//
	// Supports batch creation of events.
	//
	// Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".
	//
	// The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).
	CreateEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEvents Create Events
	//
	// Supports batch creation of events.
	//
	// Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".
	//
	// The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).
	CreateEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBoards List All Boards
	//
	// Retrieves a list of all non-secret Boards within an environment. **Note**: For Honeycomb Classic users, all boards within Classic will be returned.
	//
	// Corresponds with GET /1/boards (the `ListBoards` operationId).
	ListBoards(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBoardWithBody Create a Board
	//
	// Create a Board comprised of one or more Panels (Query, SLO, or Text).
	// **Note**: Each board is limited to a maximum of 5 preset filters.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/boards (the `CreateBoard` operationId).
	CreateBoardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBoard Create a Board
	//
	// Create a Board comprised of one or more Panels (Query, SLO, or Text).
	// **Note**: Each board is limited to a maximum of 5 preset filters.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/boards (the `CreateBoard` operationId).
	CreateBoard(ctx context.Context, body CreateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBoard Delete a Board
	//
	// Delete a public Board by specifying its ID.
	//
	// Corresponds with DELETE /1/boards/{boardId} (the `DeleteBoard` operationId).
	DeleteBoard(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBoard Get a Board
	//
	// Get a single Board by ID.
	//
	// Corresponds with GET /1/boards/{boardId} (the `GetBoard` operationId).
	GetBoard(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBoardWithBody Update a Board
	//
	// Update a Board by specifying its ID and full details.
	// **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API.
	// **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).
	UpdateBoardWithBody(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBoard Update a Board
	//
	// Update a Board by specifying its ID and full details.
	// **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API.
	// **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).
	UpdateBoard(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBoardViews List Board Views
	//
	// Retrieve a list of all views for a board.
	// **Note**: Each board is limited to a maximum of 50 views.
	//
	// Corresponds with GET /1/boards/{boardId}/views (the `ListBoardViews` operationId).
	ListBoardViews(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBoardViewWithBody Create a Board View
	//
	// Create a new view for a board with the specified filters.
	// **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).
	CreateBoardViewWithBody(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBoardView Create a Board View
	//
	// Create a new view for a board with the specified filters.
	// **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).
	CreateBoardView(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBoardView Delete a Board View
	//
	// Delete a Board View by specifying its ID.
	//
	// Corresponds with DELETE /1/boards/{boardId}/views/{viewId} (the `DeleteBoardView` operationId).
	DeleteBoardView(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBoardView Get a Board View
	//
	// Retrieve a single Board View by ID.
	//
	// Corresponds with GET /1/boards/{boardId}/views/{viewId} (the `GetBoardView` operationId).
	GetBoardView(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBoardViewWithBody Update a Board View
	//
	// Update a Board View by specifying its ID and full details.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).
	UpdateBoardViewWithBody(ctx context.Context, boardId string, viewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBoardView Update a Board View
	//
	// Update a Board View by specifying its ID and full details.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).
	UpdateBoardView(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBurnAlertsBySlo List All Burn Alerts for an SLO
	//
	// Get all burn alerts associated with the SLO specified in the `slo_id` query param. It is not currently possible to retrieve all burn alerts for a dataset, environment, or team.
	//
	// Corresponds with GET /1/burn_alerts/{datasetSlug} (the `ListBurnAlertsBySlo` operationId).
	ListBurnAlertsBySlo(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBurnAlertWithBody Create a Burn Alert
	//
	// Create a Burn Alert against a specified SLO.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).
	CreateBurnAlertWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBurnAlert Create a Burn Alert
	//
	// Create a Burn Alert against a specified SLO.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).
	CreateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBurnAlert Delete a Burn Alert
	//
	// Delete a Burn Alert by specifying its ID.
	//
	// Corresponds with DELETE /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `DeleteBurnAlert` operationId).
	DeleteBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetBurnAlert Get a Burn Alert
	//
	// Get a single Burn Alert by ID.
	//
	// Corresponds with GET /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `GetBurnAlert` operationId).
	GetBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBurnAlertWithBody Update a Burn Alert
	//
	// Update a Burn Alert by specifying its ID and full details.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).
	UpdateBurnAlertWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateBurnAlert Update a Burn Alert
	//
	// Update a Burn Alert by specifying its ID and full details.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).
	UpdateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListColumns List all Columns
	//
	// Get all the Columns in a dataset or environment.
	// Use `__all__`  as the dataset slug to retrieve all Columns across all datasets in the environment (not available for classic environments).
	//
	// Corresponds with GET /1/columns/{datasetSlug} (the `ListColumns` operationId).
	ListColumns(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateColumnWithBody Create a Column
	//
	// Create a column by providing corresponding details for that type.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).
	CreateColumnWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateColumn Create a Column
	//
	// Create a column by providing corresponding details for that type.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).
	CreateColumn(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteColumn Delete a Column
	//
	// Delete a column. **Note**: Deleted columns are no longer queryable, but data in existing permalinks (query results and trace views) will remain stored and available at those links.
	//
	// Corresponds with DELETE /1/columns/{datasetSlug}/{columnId} (the `DeleteColumn` operationId).
	DeleteColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetColumn Get a Column
	//
	// Corresponds with GET /1/columns/{datasetSlug}/{columnId} (the `GetColumn` operationId).
	GetColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateColumnWithBody Update a Column
	//
	// Update a column.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).
	UpdateColumnWithBody(ctx context.Context, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateColumn Update a Column
	//
	// Update a column.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).
	UpdateColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDatasetDefinitions Get all Dataset Definitions
	//
	// Get all definitions for a Dataset.
	// The response returns an object with a Dataset Definition for each set Dataset Definition type.
	//
	// Corresponds with GET /1/dataset_definitions/{datasetSlug} (the `ListDatasetDefinitions` operationId).
	ListDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDatasetDefinitionsWithBody Set or Update Dataset Definitions
	//
	// Set or update one or more definitions for a Dataset.
	// **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).
	PatchDatasetDefinitionsWithBody(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchDatasetDefinitions Set or Update Dataset Definitions
	//
	// Set or update one or more definitions for a Dataset.
	// **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).
	PatchDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDatasets List All Datasets
	//
	// Lists all Datasets for an environment.
	// **Note**: For Honeycomb Classic users, all datasets in Classic are returned.
	//
	// Corresponds with GET /1/datasets (the `ListDatasets` operationId).
	ListDatasets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDatasetWithBody Create a Dataset
	//
	// Create a Dataset in the environment associated with your API key.
	// If a Dataset already exists by that name (or slug), then the existing dataset will be returned.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/datasets (the `CreateDataset` operationId).
	CreateDatasetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDataset Create a Dataset
	//
	// Create a Dataset in the environment associated with your API key.
	// If a Dataset already exists by that name (or slug), then the existing dataset will be returned.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/datasets (the `CreateDataset` operationId).
	CreateDataset(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDataset Delete a Dataset
	//
	// Deletes the Dataset. This is an irreversible operation.
	// It may take several minutes for the deletion process to complete.
	//
	//
	// **WARNING**: This endpoint will allow anyone with an API key that has the
	// manage dataset permission to delete any dataset in the environment (or
	// any dataset in the whole team for Classic customers).
	//
	//
	// Datasets with Deletion Protection enabled cannot be deleted.
	//
	// To delete a Dataset with Deletion Protection enabled, first disable Deletion Protection by updating the Dataset with `settings.delete_protected = false`.
	//
	// Corresponds with DELETE /1/datasets/{datasetSlug} (the `DeleteDataset` operationId).
	DeleteDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDataset Get a Dataset
	//
	// Get a single Dataset by slug.
	//
	// Corresponds with GET /1/datasets/{datasetSlug} (the `GetDataset` operationId).
	GetDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDatasetWithBody Update a Dataset
	//
	// Update a Dataset's settings.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).
	UpdateDatasetWithBody(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDataset Update a Dataset
	//
	// Update a Dataset's settings.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).
	UpdateDataset(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCalculatedFields List all Calculated Fields
	//
	// Get all the Calculated Fields (also called Derived Columns) in a dataset or environment. With the `?alias=X` query parameter, can return a single Calculated Field by its `alias`.
	//
	// Corresponds with GET /1/derived_columns/{datasetSlug} (the `ListCalculatedFields` operationId).
	ListCalculatedFields(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCalculatedFieldWithBody Create a Calculated Field
	//
	// Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).
	CreateCalculatedFieldWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCalculatedField Create a Calculated Field
	//
	// Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).
	CreateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCalculatedField Delete a Calculated Field
	//
	// Delete a Calculated Field (also called a Derived Column). **Note**: A Calculated Field used by a SLO, Trigger, or Board cannot be deleted without removing or modifying the SLO, Trigger, or Board first.
	//
	// Corresponds with DELETE /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `DeleteCalculatedField` operationId).
	DeleteCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCalculatedField Get a Calculated Field
	//
	// Corresponds with GET /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `GetCalculatedField` operationId).
	GetCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCalculatedFieldWithBody Update a Calculated Field
	//
	// Update a Calculated Field (also called a Derived Column).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).
	UpdateCalculatedFieldWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateCalculatedField Update a Calculated Field
	//
	// Update a Calculated Field (also called a Derived Column).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).
	UpdateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEventWithBody Create an Event
	//
	// Using this endpoint for anything more than testing is highly discouraged.
	//
	// Sending events in batches will be much more efficient and should be preferred if at all possible.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).
	CreateEventWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEvent Create an Event
	//
	// Using this endpoint for anything more than testing is highly discouraged.
	//
	// Sending events in batches will be much more efficient and should be preferred if at all possible.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).
	CreateEvent(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateKinesisEventsWithBody Create Kinesis Events
	//
	// This endpoint processes events and metrics coming from AWS through Kinesis Firehose.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).
	CreateKinesisEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateKinesisEvents Create Kinesis Events
	//
	// This endpoint processes events and metrics coming from AWS through Kinesis Firehose.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).
	CreateKinesisEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMapDependencyRequestWithBody Create a Map Dependency Request
	//
	// Create a Map Dependency Request.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).
	CreateMapDependencyRequestWithBody(ctx context.Context, params *CreateMapDependencyRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMapDependencyRequest Create a Map Dependency Request
	//
	// Create a Map Dependency Request.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).
	CreateMapDependencyRequest(ctx context.Context, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMapDependencies Get Map Dependencies
	//
	// Get the dependencies for a previously created Map Dependencies Request. Note: This endpoint returns a single page of results and uses pagination. Even if you specified a large limit in the initial POST request, you will receive up to the page size limit per request and must use the pagination links to retrieve additional results.
	//
	// Corresponds with GET /1/maps/dependencies/requests/{requestId} (the `GetMapDependencies` operationId).
	GetMapDependencies(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMarkerSettings Get a Marker Setting
	//
	// Corresponds with GET /1/marker_settings/{datasetSlug} (the `ListMarkerSettings` operationId).
	ListMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMarkerSettingWithBody Create a Marker Setting
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).
	CreateMarkerSettingWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMarkerSetting Create a Marker Setting
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).
	CreateMarkerSetting(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMarkerSettings Delete a Marker Setting
	//
	// Corresponds with DELETE /1/marker_settings/{datasetSlug}/{markerSettingId} (the `DeleteMarkerSettings` operationId).
	DeleteMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMarkerSettingsWithBody Update a Marker Setting
	//
	// A marker setting's `type` may not be changed after creation.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).
	UpdateMarkerSettingsWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMarkerSettings Update a Marker Setting
	//
	// A marker setting's `type` may not be changed after creation.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).
	UpdateMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMarker List All Markers
	//
	// Lists all Markers for a dataset.
	//
	// Corresponds with GET /1/markers/{datasetSlug} (the `GetMarker` operationId).
	GetMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMarkerWithBody Create a Marker
	//
	// Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).
	CreateMarkerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMarker Create a Marker
	//
	// Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).
	CreateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMarker Delete a Marker
	//
	// Corresponds with DELETE /1/markers/{datasetSlug}/{markerId} (the `DeleteMarker` operationId).
	DeleteMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMarkerWithBody Update a Marker
	//
	// Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).
	UpdateMarkerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMarker Update a Marker
	//
	// Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).
	UpdateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateQueryWithBody Create a Query
	//
	// Create a query from a specification. DOES NOT run the query to retrieve results.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).
	CreateQueryWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateQuery Create a Query
	//
	// Create a query from a specification. DOES NOT run the query to retrieve results.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).
	CreateQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetQuery Get a Query
	//
	// Retrieve a query by its ID.
	//
	// Corresponds with GET /1/queries/{datasetSlug}/{queryId} (the `GetQuery` operationId).
	GetQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListQueryAnnotations List Query Annotations
	//
	// List all Query Annotations in the specified dataset.
	//
	// Corresponds with GET /1/query_annotations/{datasetSlug} (the `ListQueryAnnotations` operationId).
	ListQueryAnnotations(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateQueryAnnotationWithBody Create a Query Annotation
	//
	// Create a Query Annotation for the specified query ID.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).
	CreateQueryAnnotationWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateQueryAnnotation Create a Query Annotation
	//
	// Create a Query Annotation for the specified query ID.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).
	CreateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteQueryAnnotation Delete a Query Annotation
	//
	// Delete a Query Annotation by specifying its ID.
	//
	// Corresponds with DELETE /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `DeleteQueryAnnotation` operationId).
	DeleteQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetQueryAnnotation Get a Query Annotation
	//
	// Get a Query Annotation by its ID.
	//
	// Corresponds with GET /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `GetQueryAnnotation` operationId).
	GetQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateQueryAnnotationWithBody Update a Query Annotation
	//
	// Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).
	UpdateQueryAnnotationWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateQueryAnnotation Update a Query Annotation
	//
	// Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).
	UpdateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateQueryResultWithBody Create a Query Result
	//
	// Kick off processing of a Query to then get back the Query Results.
	// Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint.
	// A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).
	CreateQueryResultWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateQueryResult Create a Query Result
	//
	// Kick off processing of a Query to then get back the Query Results.
	// Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint.
	// A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).
	CreateQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetQueryResult Get Query Result
	//
	// Get the Query Result details for a specific Query Result ID.
	// This endpoint is used to fetch the results of a query that had previously been created. It is recommended to follow the Location header included in the Create Query Result output, but the URL can also be constructed manually with the &lt;query-result-id&gt;.
	// Note: a query that fails to run still returns HTTP 200. Check the response body: a failed query has "complete": true with an "error" field in place of "data".
	//
	// Corresponds with GET /1/query_results/{datasetSlug}/{queryResultId} (the `GetQueryResult` operationId).
	GetQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRecipients List all Recipients
	//
	// Retrieve all recipients for a team.
	//
	// Corresponds with GET /1/recipients (the `ListRecipients` operationId).
	ListRecipients(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRecipientWithBody Create a Recipient
	//
	// Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key.
	// The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value.
	// Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/recipients (the `CreateRecipient` operationId).
	CreateRecipientWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRecipient Create a Recipient
	//
	// Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key.
	// The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value.
	// Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/recipients (the `CreateRecipient` operationId).
	CreateRecipient(ctx context.Context, body CreateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRecipient Delete a Recipient
	//
	// Delete a recipient by specifying the recipient ID.
	// A Recipient can only be deleted if it is NOT in use by any Triggers or Burn Alerts associated to the team.
	//
	// Corresponds with DELETE /1/recipients/{recipientId} (the `DeleteRecipient` operationId).
	DeleteRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRecipient Get a single Recipient
	//
	// Retrieve a Recipient by recipient ID.
	//
	// Corresponds with GET /1/recipients/{recipientId} (the `GetRecipient` operationId).
	GetRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRecipientWithBody Update a Recipient
	//
	// Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.)
	// Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed.
	// **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).
	UpdateRecipientWithBody(ctx context.Context, recipientId RecipientId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRecipient Update a Recipient
	//
	// Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.)
	// Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed.
	// **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).
	UpdateRecipient(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTriggersWithRecipient Get Triggers Associated with a Recipient
	//
	// List all triggers that will alert a given Recipient. **Important:** This request will return all Triggers associated with the specific Recipient across your entire Honeycomb team rather than being scoped to a dataset or environment.
	//
	// Corresponds with GET /1/recipients/{recipientId}/triggers (the `ListTriggersWithRecipient` operationId).
	ListTriggersWithRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSloHistoryWithBody Get SLO History
	//
	// Get a weekly breakdown of historical data for a list of SLOs for a given time range.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).
	GetSloHistoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSloHistory Get SLO History
	//
	// Get a weekly breakdown of historical data for a list of SLOs for a given time range.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).
	GetSloHistory(ctx context.Context, body GetSloHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSignals List All Signals
	//
	// List Signals in the environment associated with your API key. Signals are returned in cursor-paginated pages and can be filtered by service, dataset, kind, status, and whether they are currently anomalous.
	//
	// Corresponds with GET /1/signals (the `ListSignals` operationId).
	ListSignals(ctx context.Context, params *ListSignalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSignal Get a Signal
	//
	// Fetch a Signal by ID, including the Recipients assigned to it.
	//
	// Corresponds with GET /1/signals/{id} (the `GetSignal` operationId).
	GetSignal(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSignalWithBody Update a Signal
	//
	// Update a Signal by ID. All fields in the body are optional; only the fields you supply
	// are applied.
	//
	// - `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`.
	// - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained.
	// - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).
	UpdateSignalWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSignal Update a Signal
	//
	// Update a Signal by ID. All fields in the body are optional; only the fields you supply
	// are applied.
	//
	// - `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`.
	// - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained.
	// - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).
	UpdateSignal(ctx context.Context, id string, body UpdateSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSignalHistoricalAnomalies List Historical Anomalies
	//
	// List anomalies that a Signal has resolved within a bounded time window. Anomalies are returned in cursor-paginated pages, most recent first. `start_time` and `end_time` are required and must span no more than 30 days.
	//
	// Corresponds with GET /1/signals/{id}/historical_anomalies (the `ListSignalHistoricalAnomalies` operationId).
	ListSignalHistoricalAnomalies(ctx context.Context, id string, params *ListSignalHistoricalAnomaliesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSlos Get all SLOs
	//
	// Get all SLOs for a dataset or environment (using  `__all__`). This action returns any SLOs, including those applied with multiple datasets.
	//
	// Corresponds with GET /1/slos/{datasetSlug} (the `ListSlos` operationId).
	ListSlos(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSloWithBody Create an SLO
	//
	// Create an SLO on the provided dataset.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).
	CreateSloWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSlo Create an SLO
	//
	// Create an SLO on the provided dataset.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).
	CreateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSlo Delete an SLO
	//
	// Delete an SLO by specifying its ID.
	//
	// Corresponds with DELETE /1/slos/{datasetSlug}/{sloId} (the `DeleteSlo` operationId).
	DeleteSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSlo Get an SLO
	//
	// Get an SLO by ID.
	//
	// Corresponds with GET /1/slos/{datasetSlug}/{sloId} (the `GetSlo` operationId).
	GetSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSloWithBody Update an SLO
	//
	// Update an SLO by specifying its ID and full SLO details.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).
	UpdateSloWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSlo Update an SLO
	//
	// Update an SLO by specifying its ID and full SLO details.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).
	UpdateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSloRealtimeCounts Get SLO Realtime Counts
	//
	// Get per-minute success and failure event counts for an SLO, updated approximately once per minute from a rolling 24-hour window.
	//
	// This endpoint is intended for near-real-time integrations such as external SLO dashboards and alerting tools (e.g. nobl9). For weekly compliance history, use the [Get SLO History endpoint](https://api-docs.honeycomb.io/api/reporting/getSloHistory/).
	//
	// **Requirements:**
	// - Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
	// - This feature must be enabled for your team. Contact your account team
	//   to request access.
	//
	//
	// **Gaps:** Some minutes may have no entry in the `windows` array. The first window after a gap may contain a larger-than-usual delta. Treat missing timestamps as unavailable data, not zero-event periods.
	//
	// **Epoch:** The response includes an `epoch` field — a hash of the SLO's SLI expression and dataset configuration. If this value changes between responses, the underlying SLO definition has changed and any client-side cache should be invalidated.
	//
	// **Partial windows:** Windows marked `is_partial: true` may still receive additional events. This occurs for the most recent 10 minutes (late-arriving data settlement) or when no prior snapshot exists to compute a delta from.
	//
	// Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts (the `GetSloRealtimeCounts` operationId).
	GetSloRealtimeCounts(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloRealtimeCountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSloHourlyCountsHistory Get SLO Hourly Counts History
	//
	// Get hourly-bucketed total and error event counts for an SLO from the persistent historical store. Use this endpoint to retrieve completed historical hours; pair with the [Get SLO Realtime Counts endpoint](https://api-docs.honeycomb.io/api/slos/getslorealtimecounts/) for the current in-progress hour.
	//
	// **Requirements:**
	// - Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
	// - This feature must be enabled for your team. Contact your account team
	//   to request access.
	//
	//
	// **Partial buckets:** The most recent bucket may be marked `is_partial: true` if it covers the current in-progress hour. Counts for that bucket will increase until the hour completes.
	//
	// Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts/history (the `GetSloHourlyCountsHistory` operationId).
	GetSloHourlyCountsHistory(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloHourlyCountsHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTriggers List All Triggers
	//
	// List all triggers on the provided dataset or environment.
	//
	// Corresponds with GET /1/triggers/{datasetSlug} (the `ListTriggers` operationId).
	ListTriggers(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTriggerWithBody Create a Trigger
	//
	// Create a trigger on the provided dataset or environment.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).
	CreateTriggerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTrigger Create a Trigger
	//
	// Create a trigger on the provided dataset or environment.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).
	CreateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTrigger Delete a Trigger
	//
	// Delete a trigger by specifying the trigger ID. The body of the DELETE request should be empty.
	//
	// Corresponds with DELETE /1/triggers/{datasetSlug}/{triggerId} (the `DeleteTrigger` operationId).
	DeleteTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTrigger Get a Trigger
	//
	// Fetch details for a single Trigger by Trigger ID.
	//
	// Corresponds with GET /1/triggers/{datasetSlug}/{triggerId} (the `GetTrigger` operationId).
	GetTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTriggerWithBody Update a Trigger
	//
	// Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).
	UpdateTriggerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTrigger Update a Trigger
	//
	// Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).
	UpdateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV2Auth List Authorizations V2
	//
	// Returns metadata about the Management API Key used to call the API.
	//
	// Corresponds with GET /2/auth (the `GetV2Auth` operationId).
	GetV2Auth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListApiKeys List all API Keys
	//
	// List all API Keys for a Team.
	//
	// Corresponds with GET /2/teams/{teamSlug}/api-keys (the `ListApiKeys` operationId).
	ListApiKeys(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateApiKeyWithBody Create an API Key
	//
	// This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and
	// the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.
	//
	// To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret
	// concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`
	//
	// Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).
	CreateApiKeyWithBody(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateApiKeyWithApplicationVndAPIPlusJSONBody Create an API Key
	//
	// This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and
	// the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.
	//
	// To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret
	// concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`
	//
	// Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).
	//
	// Takes a body of the `application/vnd.api+json` content type.
	//
	// Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).
	CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKey Delete an API Key
	//
	// This deletes and immediately deactivates the API Key. This is an irreversible operation.
	//
	// Corresponds with DELETE /2/teams/{teamSlug}/api-keys/{ID} (the `DeleteApiKey` operationId).
	DeleteApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiKey Get an API Key
	//
	// Fetches an environment API Key, either a key of type `ingest` or type `configuration` based on the
	// ID given.
	//
	// Corresponds with GET /2/teams/{teamSlug}/api-keys/{ID} (the `GetApiKey` operationId).
	GetApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateApiKeyWithBody Update an API Key
	//
	// Updates an API Key. The expected attributes depend on the key type:
	// - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes
	// - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).
	UpdateApiKeyWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateApiKeyWithApplicationVndAPIPlusJSONBody Update an API Key
	//
	// Updates an API Key. The expected attributes depend on the key type:
	// - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes
	// - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes
	//
	// Takes a body of the `application/vnd.api+json` content type.
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).
	UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEnvironments List all Environments
	//
	// Corresponds with GET /2/teams/{teamSlug}/environments (the `ListEnvironments` operationId).
	ListEnvironments(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEnvironmentWithBody Create an Environment
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).
	CreateEnvironmentWithBody(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEnvironmentWithApplicationVndAPIPlusJSONBody Create an Environment
	//
	// Takes a body of the `application/vnd.api+json` content type.
	//
	// Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).
	CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteEnvironment Delete an Environment
	//
	// This deletes and immediately deactivates the Environment. This is an irreversible operation.
	//
	// Environments with Deletion Protection enabled cannot be deleted. To delete an Environment with Deletion Protection enabled, first disable Deletion Protection by updating the Environment with `settings.delete_protected = false`.
	//
	// Corresponds with DELETE /2/teams/{teamSlug}/environments/{ID} (the `DeleteEnvironment` operationId).
	DeleteEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnvironment Get an Environment
	//
	// Corresponds with GET /2/teams/{teamSlug}/environments/{ID} (the `GetEnvironment` operationId).
	GetEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEnvironmentWithBody Update an Environment
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).
	UpdateEnvironmentWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEnvironmentWithApplicationVndAPIPlusJSONBody Update an Environment
	//
	// Takes a body of the `application/vnd.api+json` content type.
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).
	UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, 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) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResp, error)

CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse Create an API Key

This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.

To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`

Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).

Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).

func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse

func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResp, error)

CreateApiKeyWithBodyWithResponse Create an API Key

This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.

To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`

Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).

func (*ClientWithResponses) CreateBoardViewWithBodyWithResponse

func (c *ClientWithResponses) CreateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)

CreateBoardViewWithBodyWithResponse Create a Board View

Create a new view for a board with the specified filters. **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).

func (*ClientWithResponses) CreateBoardViewWithResponse

func (c *ClientWithResponses) CreateBoardViewWithResponse(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)

CreateBoardViewWithResponse Create a Board View

Create a new view for a board with the specified filters. **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).

func (*ClientWithResponses) CreateBoardWithBodyWithResponse

func (c *ClientWithResponses) CreateBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)

CreateBoardWithBodyWithResponse Create a Board

Create a Board comprised of one or more Panels (Query, SLO, or Text). **Note**: Each board is limited to a maximum of 5 preset filters.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/boards (the `CreateBoard` operationId).

func (*ClientWithResponses) CreateBoardWithResponse

func (c *ClientWithResponses) CreateBoardWithResponse(ctx context.Context, body CreateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)

CreateBoardWithResponse Create a Board

Create a Board comprised of one or more Panels (Query, SLO, or Text). **Note**: Each board is limited to a maximum of 5 preset filters.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/boards (the `CreateBoard` operationId).

func (*ClientWithResponses) CreateBurnAlertWithBodyWithResponse

func (c *ClientWithResponses) CreateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)

CreateBurnAlertWithBodyWithResponse Create a Burn Alert

Create a Burn Alert against a specified SLO.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).

func (*ClientWithResponses) CreateBurnAlertWithResponse

func (c *ClientWithResponses) CreateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)

CreateBurnAlertWithResponse Create a Burn Alert

Create a Burn Alert against a specified SLO.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).

func (*ClientWithResponses) CreateCalculatedFieldWithBodyWithResponse

func (c *ClientWithResponses) CreateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)

CreateCalculatedFieldWithBodyWithResponse Create a Calculated Field

Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).

func (*ClientWithResponses) CreateCalculatedFieldWithResponse

func (c *ClientWithResponses) CreateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)

CreateCalculatedFieldWithResponse Create a Calculated Field

Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).

func (*ClientWithResponses) CreateColumnWithBodyWithResponse

func (c *ClientWithResponses) CreateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)

CreateColumnWithBodyWithResponse Create a Column

Create a column by providing corresponding details for that type.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).

func (*ClientWithResponses) CreateColumnWithResponse

func (c *ClientWithResponses) CreateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)

CreateColumnWithResponse Create a Column

Create a column by providing corresponding details for that type.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).

func (*ClientWithResponses) CreateDatasetWithBodyWithResponse

func (c *ClientWithResponses) CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)

CreateDatasetWithBodyWithResponse Create a Dataset

Create a Dataset in the environment associated with your API key. If a Dataset already exists by that name (or slug), then the existing dataset will be returned.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/datasets (the `CreateDataset` operationId).

func (*ClientWithResponses) CreateDatasetWithResponse

func (c *ClientWithResponses) CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)

CreateDatasetWithResponse Create a Dataset

Create a Dataset in the environment associated with your API key. If a Dataset already exists by that name (or slug), then the existing dataset will be returned.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/datasets (the `CreateDataset` operationId).

func (*ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)

CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse Create an Environment

Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).

func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)

CreateEnvironmentWithBodyWithResponse Create an Environment

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).

func (*ClientWithResponses) CreateEventWithBodyWithResponse

func (c *ClientWithResponses) CreateEventWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResp, error)

CreateEventWithBodyWithResponse Create an Event

Using this endpoint for anything more than testing is highly discouraged.

Sending events in batches will be much more efficient and should be preferred if at all possible.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).

func (*ClientWithResponses) CreateEventWithResponse

func (c *ClientWithResponses) CreateEventWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResp, error)

CreateEventWithResponse Create an Event

Using this endpoint for anything more than testing is highly discouraged.

Sending events in batches will be much more efficient and should be preferred if at all possible.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).

func (*ClientWithResponses) CreateEventsWithBodyWithResponse

func (c *ClientWithResponses) CreateEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)

CreateEventsWithBodyWithResponse Create Events

Supports batch creation of events.

Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".

The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).

func (*ClientWithResponses) CreateEventsWithResponse

func (c *ClientWithResponses) CreateEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)

CreateEventsWithResponse Create Events

Supports batch creation of events.

Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".

The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).

func (*ClientWithResponses) CreateKinesisEventsWithBodyWithResponse

func (c *ClientWithResponses) CreateKinesisEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)

CreateKinesisEventsWithBodyWithResponse Create Kinesis Events

This endpoint processes events and metrics coming from AWS through Kinesis Firehose.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).

func (*ClientWithResponses) CreateKinesisEventsWithResponse

func (c *ClientWithResponses) CreateKinesisEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)

CreateKinesisEventsWithResponse Create Kinesis Events

This endpoint processes events and metrics coming from AWS through Kinesis Firehose.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).

func (*ClientWithResponses) CreateMapDependencyRequestWithBodyWithResponse

func (c *ClientWithResponses) CreateMapDependencyRequestWithBodyWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMapDependencyRequestResp, error)

CreateMapDependencyRequestWithBodyWithResponse Create a Map Dependency Request

Create a Map Dependency Request.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).

func (*ClientWithResponses) CreateMapDependencyRequestWithResponse

CreateMapDependencyRequestWithResponse Create a Map Dependency Request

Create a Map Dependency Request.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).

func (*ClientWithResponses) CreateMarkerSettingWithBodyWithResponse

func (c *ClientWithResponses) CreateMarkerSettingWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)

CreateMarkerSettingWithBodyWithResponse Create a Marker Setting

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).

func (*ClientWithResponses) CreateMarkerSettingWithResponse

func (c *ClientWithResponses) CreateMarkerSettingWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)

CreateMarkerSettingWithResponse Create a Marker Setting

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).

func (*ClientWithResponses) CreateMarkerWithBodyWithResponse

func (c *ClientWithResponses) CreateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)

CreateMarkerWithBodyWithResponse Create a Marker

Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).

func (*ClientWithResponses) CreateMarkerWithResponse

func (c *ClientWithResponses) CreateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)

CreateMarkerWithResponse Create a Marker

Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).

func (*ClientWithResponses) CreateQueryAnnotationWithBodyWithResponse

func (c *ClientWithResponses) CreateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)

CreateQueryAnnotationWithBodyWithResponse Create a Query Annotation

Create a Query Annotation for the specified query ID.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).

func (*ClientWithResponses) CreateQueryAnnotationWithResponse

func (c *ClientWithResponses) CreateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)

CreateQueryAnnotationWithResponse Create a Query Annotation

Create a Query Annotation for the specified query ID.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).

func (*ClientWithResponses) CreateQueryResultWithBodyWithResponse

func (c *ClientWithResponses) CreateQueryResultWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)

CreateQueryResultWithBodyWithResponse Create a Query Result

Kick off processing of a Query to then get back the Query Results. Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint. A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).

func (*ClientWithResponses) CreateQueryResultWithResponse

func (c *ClientWithResponses) CreateQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)

CreateQueryResultWithResponse Create a Query Result

Kick off processing of a Query to then get back the Query Results. Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint. A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).

func (*ClientWithResponses) CreateQueryWithBodyWithResponse

func (c *ClientWithResponses) CreateQueryWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)

CreateQueryWithBodyWithResponse Create a Query

Create a query from a specification. DOES NOT run the query to retrieve results.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).

func (*ClientWithResponses) CreateQueryWithResponse

func (c *ClientWithResponses) CreateQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)

CreateQueryWithResponse Create a Query

Create a query from a specification. DOES NOT run the query to retrieve results.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).

func (*ClientWithResponses) CreateRecipientWithBodyWithResponse

func (c *ClientWithResponses) CreateRecipientWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)

CreateRecipientWithBodyWithResponse Create a Recipient

Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key. The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value. Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/recipients (the `CreateRecipient` operationId).

func (*ClientWithResponses) CreateRecipientWithResponse

func (c *ClientWithResponses) CreateRecipientWithResponse(ctx context.Context, body CreateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)

CreateRecipientWithResponse Create a Recipient

Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key. The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value. Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/recipients (the `CreateRecipient` operationId).

func (*ClientWithResponses) CreateSloWithBodyWithResponse

func (c *ClientWithResponses) CreateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSloResp, error)

CreateSloWithBodyWithResponse Create an SLO

Create an SLO on the provided dataset.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).

func (*ClientWithResponses) CreateSloWithResponse

func (c *ClientWithResponses) CreateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSloResp, error)

CreateSloWithResponse Create an SLO

Create an SLO on the provided dataset.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).

func (*ClientWithResponses) CreateTriggerWithBodyWithResponse

func (c *ClientWithResponses) CreateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)

CreateTriggerWithBodyWithResponse Create a Trigger

Create a trigger on the provided dataset or environment.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).

func (*ClientWithResponses) CreateTriggerWithResponse

func (c *ClientWithResponses) CreateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)

CreateTriggerWithResponse Create a Trigger

Create a trigger on the provided dataset or environment.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).

func (*ClientWithResponses) DeleteApiKeyWithResponse

func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResp, error)

DeleteApiKeyWithResponse Delete an API Key

This deletes and immediately deactivates the API Key. This is an irreversible operation.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /2/teams/{teamSlug}/api-keys/{ID} (the `DeleteApiKey` operationId).

func (*ClientWithResponses) DeleteBoardViewWithResponse

func (c *ClientWithResponses) DeleteBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*DeleteBoardViewResp, error)

DeleteBoardViewWithResponse Delete a Board View

Delete a Board View by specifying its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/boards/{boardId}/views/{viewId} (the `DeleteBoardView` operationId).

func (*ClientWithResponses) DeleteBoardWithResponse

func (c *ClientWithResponses) DeleteBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*DeleteBoardResp, error)

DeleteBoardWithResponse Delete a Board

Delete a public Board by specifying its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/boards/{boardId} (the `DeleteBoard` operationId).

func (*ClientWithResponses) DeleteBurnAlertWithResponse

func (c *ClientWithResponses) DeleteBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*DeleteBurnAlertResp, error)

DeleteBurnAlertWithResponse Delete a Burn Alert

Delete a Burn Alert by specifying its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `DeleteBurnAlert` operationId).

func (*ClientWithResponses) DeleteCalculatedFieldWithResponse

func (c *ClientWithResponses) DeleteCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*DeleteCalculatedFieldResp, error)

DeleteCalculatedFieldWithResponse Delete a Calculated Field

Delete a Calculated Field (also called a Derived Column). **Note**: A Calculated Field used by a SLO, Trigger, or Board cannot be deleted without removing or modifying the SLO, Trigger, or Board first.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `DeleteCalculatedField` operationId).

func (*ClientWithResponses) DeleteColumnWithResponse

func (c *ClientWithResponses) DeleteColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*DeleteColumnResp, error)

DeleteColumnWithResponse Delete a Column

Delete a column. **Note**: Deleted columns are no longer queryable, but data in existing permalinks (query results and trace views) will remain stored and available at those links.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/columns/{datasetSlug}/{columnId} (the `DeleteColumn` operationId).

func (*ClientWithResponses) DeleteDatasetWithResponse

func (c *ClientWithResponses) DeleteDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*DeleteDatasetResp, error)

DeleteDatasetWithResponse Delete a Dataset

Deletes the Dataset. This is an irreversible operation. It may take several minutes for the deletion process to complete.

**WARNING**: This endpoint will allow anyone with an API key that has the manage dataset permission to delete any dataset in the environment (or any dataset in the whole team for Classic customers).

Datasets with Deletion Protection enabled cannot be deleted.

To delete a Dataset with Deletion Protection enabled, first disable Deletion Protection by updating the Dataset with `settings.delete_protected = false`.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/datasets/{datasetSlug} (the `DeleteDataset` operationId).

func (*ClientWithResponses) DeleteEnvironmentWithResponse

func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResp, error)

DeleteEnvironmentWithResponse Delete an Environment

This deletes and immediately deactivates the Environment. This is an irreversible operation.

Environments with Deletion Protection enabled cannot be deleted. To delete an Environment with Deletion Protection enabled, first disable Deletion Protection by updating the Environment with `settings.delete_protected = false`.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /2/teams/{teamSlug}/environments/{ID} (the `DeleteEnvironment` operationId).

func (*ClientWithResponses) DeleteMarkerSettingsWithResponse

func (c *ClientWithResponses) DeleteMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*DeleteMarkerSettingsResp, error)

DeleteMarkerSettingsWithResponse Delete a Marker Setting

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/marker_settings/{datasetSlug}/{markerSettingId} (the `DeleteMarkerSettings` operationId).

func (*ClientWithResponses) DeleteMarkerWithResponse

func (c *ClientWithResponses) DeleteMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*DeleteMarkerResp, error)

DeleteMarkerWithResponse Delete a Marker

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/markers/{datasetSlug}/{markerId} (the `DeleteMarker` operationId).

func (*ClientWithResponses) DeleteQueryAnnotationWithResponse

func (c *ClientWithResponses) DeleteQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*DeleteQueryAnnotationResp, error)

DeleteQueryAnnotationWithResponse Delete a Query Annotation

Delete a Query Annotation by specifying its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `DeleteQueryAnnotation` operationId).

func (*ClientWithResponses) DeleteRecipientWithResponse

func (c *ClientWithResponses) DeleteRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*DeleteRecipientResp, error)

DeleteRecipientWithResponse Delete a Recipient

Delete a recipient by specifying the recipient ID. A Recipient can only be deleted if it is NOT in use by any Triggers or Burn Alerts associated to the team.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/recipients/{recipientId} (the `DeleteRecipient` operationId).

func (*ClientWithResponses) DeleteSloWithResponse

func (c *ClientWithResponses) DeleteSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*DeleteSloResp, error)

DeleteSloWithResponse Delete an SLO

Delete an SLO by specifying its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/slos/{datasetSlug}/{sloId} (the `DeleteSlo` operationId).

func (*ClientWithResponses) DeleteTriggerWithResponse

func (c *ClientWithResponses) DeleteTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*DeleteTriggerResp, error)

DeleteTriggerWithResponse Delete a Trigger

Delete a trigger by specifying the trigger ID. The body of the DELETE request should be empty.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /1/triggers/{datasetSlug}/{triggerId} (the `DeleteTrigger` operationId).

func (*ClientWithResponses) GetApiKeyWithResponse

func (c *ClientWithResponses) GetApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetApiKeyResp, error)

GetApiKeyWithResponse Get an API Key

Fetches an environment API Key, either a key of type `ingest` or type `configuration` based on the ID given.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /2/teams/{teamSlug}/api-keys/{ID} (the `GetApiKey` operationId).

func (*ClientWithResponses) GetAuthWithResponse

func (c *ClientWithResponses) GetAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthResp, error)

GetAuthWithResponse List Authorizations

Returns metadata about the API Key used to call the API. Note: a Honeycomb Classic API key will return an empty string for both of the `environment` values.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/auth (the `GetAuth` operationId).

func (*ClientWithResponses) GetBoardViewWithResponse

func (c *ClientWithResponses) GetBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*GetBoardViewResp, error)

GetBoardViewWithResponse Get a Board View

Retrieve a single Board View by ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/boards/{boardId}/views/{viewId} (the `GetBoardView` operationId).

func (*ClientWithResponses) GetBoardWithResponse

func (c *ClientWithResponses) GetBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*GetBoardResp, error)

GetBoardWithResponse Get a Board

Get a single Board by ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/boards/{boardId} (the `GetBoard` operationId).

func (*ClientWithResponses) GetBurnAlertWithResponse

func (c *ClientWithResponses) GetBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*GetBurnAlertResp, error)

GetBurnAlertWithResponse Get a Burn Alert

Get a single Burn Alert by ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `GetBurnAlert` operationId).

func (*ClientWithResponses) GetCalculatedFieldWithResponse

func (c *ClientWithResponses) GetCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*GetCalculatedFieldResp, error)

GetCalculatedFieldWithResponse Get a Calculated Field

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `GetCalculatedField` operationId).

func (*ClientWithResponses) GetColumnWithResponse

func (c *ClientWithResponses) GetColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*GetColumnResp, error)

GetColumnWithResponse Get a Column

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/columns/{datasetSlug}/{columnId} (the `GetColumn` operationId).

func (*ClientWithResponses) GetDatasetWithResponse

func (c *ClientWithResponses) GetDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*GetDatasetResp, error)

GetDatasetWithResponse Get a Dataset

Get a single Dataset by slug.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/datasets/{datasetSlug} (the `GetDataset` operationId).

func (*ClientWithResponses) GetEnvironmentWithResponse

func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetEnvironmentResp, error)

GetEnvironmentWithResponse Get an Environment

Returns a wrapper object for the known response body format(s).

Corresponds with GET /2/teams/{teamSlug}/environments/{ID} (the `GetEnvironment` operationId).

func (*ClientWithResponses) GetMapDependenciesWithResponse

func (c *ClientWithResponses) GetMapDependenciesWithResponse(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*GetMapDependenciesResp, error)

GetMapDependenciesWithResponse Get Map Dependencies

Get the dependencies for a previously created Map Dependencies Request. Note: This endpoint returns a single page of results and uses pagination. Even if you specified a large limit in the initial POST request, you will receive up to the page size limit per request and must use the pagination links to retrieve additional results.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/maps/dependencies/requests/{requestId} (the `GetMapDependencies` operationId).

func (*ClientWithResponses) GetMarkerWithResponse

func (c *ClientWithResponses) GetMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*GetMarkerResp, error)

GetMarkerWithResponse List All Markers

Lists all Markers for a dataset.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/markers/{datasetSlug} (the `GetMarker` operationId).

func (*ClientWithResponses) GetQueryAnnotationWithResponse

func (c *ClientWithResponses) GetQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*GetQueryAnnotationResp, error)

GetQueryAnnotationWithResponse Get a Query Annotation

Get a Query Annotation by its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `GetQueryAnnotation` operationId).

func (*ClientWithResponses) GetQueryResultWithResponse

func (c *ClientWithResponses) GetQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*GetQueryResultResp, error)

GetQueryResultWithResponse Get Query Result

Get the Query Result details for a specific Query Result ID. This endpoint is used to fetch the results of a query that had previously been created. It is recommended to follow the Location header included in the Create Query Result output, but the URL can also be constructed manually with the &lt;query-result-id&gt;. Note: a query that fails to run still returns HTTP 200. Check the response body: a failed query has "complete": true with an "error" field in place of "data".

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/query_results/{datasetSlug}/{queryResultId} (the `GetQueryResult` operationId).

func (*ClientWithResponses) GetQueryWithResponse

func (c *ClientWithResponses) GetQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*GetQueryResp, error)

GetQueryWithResponse Get a Query

Retrieve a query by its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/queries/{datasetSlug}/{queryId} (the `GetQuery` operationId).

func (*ClientWithResponses) GetRecipientWithResponse

func (c *ClientWithResponses) GetRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*GetRecipientResp, error)

GetRecipientWithResponse Get a single Recipient

Retrieve a Recipient by recipient ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/recipients/{recipientId} (the `GetRecipient` operationId).

func (*ClientWithResponses) GetSignalWithResponse

func (c *ClientWithResponses) GetSignalWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSignalResp, error)

GetSignalWithResponse Get a Signal

Fetch a Signal by ID, including the Recipients assigned to it.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/signals/{id} (the `GetSignal` operationId).

func (*ClientWithResponses) GetSloHistoryWithBodyWithResponse

func (c *ClientWithResponses) GetSloHistoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)

GetSloHistoryWithBodyWithResponse Get SLO History

Get a weekly breakdown of historical data for a list of SLOs for a given time range.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).

func (*ClientWithResponses) GetSloHistoryWithResponse

func (c *ClientWithResponses) GetSloHistoryWithResponse(ctx context.Context, body GetSloHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)

GetSloHistoryWithResponse Get SLO History

Get a weekly breakdown of historical data for a list of SLOs for a given time range.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).

func (*ClientWithResponses) GetSloHourlyCountsHistoryWithResponse

func (c *ClientWithResponses) GetSloHourlyCountsHistoryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloHourlyCountsHistoryParams, reqEditors ...RequestEditorFn) (*GetSloHourlyCountsHistoryResp, error)

GetSloHourlyCountsHistoryWithResponse Get SLO Hourly Counts History

Get hourly-bucketed total and error event counts for an SLO from the persistent historical store. Use this endpoint to retrieve completed historical hours; pair with the [Get SLO Realtime Counts endpoint](https://api-docs.honeycomb.io/api/slos/getslorealtimecounts/) for the current in-progress hour.

**Requirements:**

  • Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
  • This feature must be enabled for your team. Contact your account team to request access.

**Partial buckets:** The most recent bucket may be marked `is_partial: true` if it covers the current in-progress hour. Counts for that bucket will increase until the hour completes.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts/history (the `GetSloHourlyCountsHistory` operationId).

func (*ClientWithResponses) GetSloRealtimeCountsWithResponse

func (c *ClientWithResponses) GetSloRealtimeCountsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloRealtimeCountsParams, reqEditors ...RequestEditorFn) (*GetSloRealtimeCountsResp, error)

GetSloRealtimeCountsWithResponse Get SLO Realtime Counts

Get per-minute success and failure event counts for an SLO, updated approximately once per minute from a rolling 24-hour window.

This endpoint is intended for near-real-time integrations such as external SLO dashboards and alerting tools (e.g. nobl9). For weekly compliance history, use the [Get SLO History endpoint](https://api-docs.honeycomb.io/api/reporting/getSloHistory/).

**Requirements:**

  • Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
  • This feature must be enabled for your team. Contact your account team to request access.

**Gaps:** Some minutes may have no entry in the `windows` array. The first window after a gap may contain a larger-than-usual delta. Treat missing timestamps as unavailable data, not zero-event periods.

**Epoch:** The response includes an `epoch` field — a hash of the SLO's SLI expression and dataset configuration. If this value changes between responses, the underlying SLO definition has changed and any client-side cache should be invalidated.

**Partial windows:** Windows marked `is_partial: true` may still receive additional events. This occurs for the most recent 10 minutes (late-arriving data settlement) or when no prior snapshot exists to compute a delta from.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts (the `GetSloRealtimeCounts` operationId).

func (*ClientWithResponses) GetSloWithResponse

func (c *ClientWithResponses) GetSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*GetSloResp, error)

GetSloWithResponse Get an SLO

Get an SLO by ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/slos/{datasetSlug}/{sloId} (the `GetSlo` operationId).

func (*ClientWithResponses) GetTriggerWithResponse

func (c *ClientWithResponses) GetTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*GetTriggerResp, error)

GetTriggerWithResponse Get a Trigger

Fetch details for a single Trigger by Trigger ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/triggers/{datasetSlug}/{triggerId} (the `GetTrigger` operationId).

func (*ClientWithResponses) GetV2AuthWithResponse

func (c *ClientWithResponses) GetV2AuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2AuthResp, error)

GetV2AuthWithResponse List Authorizations V2

Returns metadata about the Management API Key used to call the API.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /2/auth (the `GetV2Auth` operationId).

func (*ClientWithResponses) ListApiKeysWithResponse

func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResp, error)

ListApiKeysWithResponse List all API Keys

List all API Keys for a Team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /2/teams/{teamSlug}/api-keys (the `ListApiKeys` operationId).

func (*ClientWithResponses) ListBoardViewsWithResponse

func (c *ClientWithResponses) ListBoardViewsWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*ListBoardViewsResp, error)

ListBoardViewsWithResponse List Board Views

Retrieve a list of all views for a board. **Note**: Each board is limited to a maximum of 50 views.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/boards/{boardId}/views (the `ListBoardViews` operationId).

func (*ClientWithResponses) ListBoardsWithResponse

func (c *ClientWithResponses) ListBoardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoardsResp, error)

ListBoardsWithResponse List All Boards

Retrieves a list of all non-secret Boards within an environment. **Note**: For Honeycomb Classic users, all boards within Classic will be returned.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/boards (the `ListBoards` operationId).

func (*ClientWithResponses) ListBurnAlertsBySloWithResponse

func (c *ClientWithResponses) ListBurnAlertsBySloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*ListBurnAlertsBySloResp, error)

ListBurnAlertsBySloWithResponse List All Burn Alerts for an SLO

Get all burn alerts associated with the SLO specified in the `slo_id` query param. It is not currently possible to retrieve all burn alerts for a dataset, environment, or team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/burn_alerts/{datasetSlug} (the `ListBurnAlertsBySlo` operationId).

func (*ClientWithResponses) ListCalculatedFieldsWithResponse

func (c *ClientWithResponses) ListCalculatedFieldsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*ListCalculatedFieldsResp, error)

ListCalculatedFieldsWithResponse List all Calculated Fields

Get all the Calculated Fields (also called Derived Columns) in a dataset or environment. With the `?alias=X` query parameter, can return a single Calculated Field by its `alias`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/derived_columns/{datasetSlug} (the `ListCalculatedFields` operationId).

func (*ClientWithResponses) ListColumnsWithResponse

func (c *ClientWithResponses) ListColumnsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*ListColumnsResp, error)

ListColumnsWithResponse List all Columns

Get all the Columns in a dataset or environment. Use `__all__` as the dataset slug to retrieve all Columns across all datasets in the environment (not available for classic environments).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/columns/{datasetSlug} (the `ListColumns` operationId).

func (*ClientWithResponses) ListDatasetDefinitionsWithResponse

func (c *ClientWithResponses) ListDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*ListDatasetDefinitionsResp, error)

ListDatasetDefinitionsWithResponse Get all Dataset Definitions

Get all definitions for a Dataset. The response returns an object with a Dataset Definition for each set Dataset Definition type.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/dataset_definitions/{datasetSlug} (the `ListDatasetDefinitions` operationId).

func (*ClientWithResponses) ListDatasetsWithResponse

func (c *ClientWithResponses) ListDatasetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatasetsResp, error)

ListDatasetsWithResponse List All Datasets

Lists all Datasets for an environment. **Note**: For Honeycomb Classic users, all datasets in Classic are returned.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/datasets (the `ListDatasets` operationId).

func (*ClientWithResponses) ListEnvironmentsWithResponse

func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResp, error)

ListEnvironmentsWithResponse List all Environments

Returns a wrapper object for the known response body format(s).

Corresponds with GET /2/teams/{teamSlug}/environments (the `ListEnvironments` operationId).

func (*ClientWithResponses) ListMarkerSettingsWithResponse

func (c *ClientWithResponses) ListMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListMarkerSettingsResp, error)

ListMarkerSettingsWithResponse Get a Marker Setting

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/marker_settings/{datasetSlug} (the `ListMarkerSettings` operationId).

func (*ClientWithResponses) ListQueryAnnotationsWithResponse

func (c *ClientWithResponses) ListQueryAnnotationsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*ListQueryAnnotationsResp, error)

ListQueryAnnotationsWithResponse List Query Annotations

List all Query Annotations in the specified dataset.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/query_annotations/{datasetSlug} (the `ListQueryAnnotations` operationId).

func (*ClientWithResponses) ListRecipientsWithResponse

func (c *ClientWithResponses) ListRecipientsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecipientsResp, error)

ListRecipientsWithResponse List all Recipients

Retrieve all recipients for a team.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/recipients (the `ListRecipients` operationId).

func (*ClientWithResponses) ListSignalHistoricalAnomaliesWithResponse

func (c *ClientWithResponses) ListSignalHistoricalAnomaliesWithResponse(ctx context.Context, id string, params *ListSignalHistoricalAnomaliesParams, reqEditors ...RequestEditorFn) (*ListSignalHistoricalAnomaliesResp, error)

ListSignalHistoricalAnomaliesWithResponse List Historical Anomalies

List anomalies that a Signal has resolved within a bounded time window. Anomalies are returned in cursor-paginated pages, most recent first. `start_time` and `end_time` are required and must span no more than 30 days.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/signals/{id}/historical_anomalies (the `ListSignalHistoricalAnomalies` operationId).

func (*ClientWithResponses) ListSignalsWithResponse

func (c *ClientWithResponses) ListSignalsWithResponse(ctx context.Context, params *ListSignalsParams, reqEditors ...RequestEditorFn) (*ListSignalsResp, error)

ListSignalsWithResponse List All Signals

List Signals in the environment associated with your API key. Signals are returned in cursor-paginated pages and can be filtered by service, dataset, kind, status, and whether they are currently anomalous.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/signals (the `ListSignals` operationId).

func (*ClientWithResponses) ListSlosWithResponse

func (c *ClientWithResponses) ListSlosWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListSlosResp, error)

ListSlosWithResponse Get all SLOs

Get all SLOs for a dataset or environment (using `__all__`). This action returns any SLOs, including those applied with multiple datasets.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/slos/{datasetSlug} (the `ListSlos` operationId).

func (*ClientWithResponses) ListTriggersWithRecipientWithResponse

func (c *ClientWithResponses) ListTriggersWithRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*ListTriggersWithRecipientResp, error)

ListTriggersWithRecipientWithResponse Get Triggers Associated with a Recipient

List all triggers that will alert a given Recipient. **Important:** This request will return all Triggers associated with the specific Recipient across your entire Honeycomb team rather than being scoped to a dataset or environment.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/recipients/{recipientId}/triggers (the `ListTriggersWithRecipient` operationId).

func (*ClientWithResponses) ListTriggersWithResponse

func (c *ClientWithResponses) ListTriggersWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListTriggersResp, error)

ListTriggersWithResponse List All Triggers

List all triggers on the provided dataset or environment.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /1/triggers/{datasetSlug} (the `ListTriggers` operationId).

func (*ClientWithResponses) PatchDatasetDefinitionsWithBodyWithResponse

func (c *ClientWithResponses) PatchDatasetDefinitionsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)

PatchDatasetDefinitionsWithBodyWithResponse Set or Update Dataset Definitions

Set or update one or more definitions for a Dataset. **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).

func (*ClientWithResponses) PatchDatasetDefinitionsWithResponse

func (c *ClientWithResponses) PatchDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)

PatchDatasetDefinitionsWithResponse Set or Update Dataset Definitions

Set or update one or more definitions for a Dataset. **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).

func (*ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)

UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse Update an API Key

Updates an API Key. The expected attributes depend on the key type: - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes

Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).

func (*ClientWithResponses) UpdateApiKeyWithBodyWithResponse

func (c *ClientWithResponses) UpdateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)

UpdateApiKeyWithBodyWithResponse Update an API Key

Updates an API Key. The expected attributes depend on the key type: - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).

func (*ClientWithResponses) UpdateBoardViewWithBodyWithResponse

func (c *ClientWithResponses) UpdateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, viewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)

UpdateBoardViewWithBodyWithResponse Update a Board View

Update a Board View by specifying its ID and full details.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).

func (*ClientWithResponses) UpdateBoardViewWithResponse

func (c *ClientWithResponses) UpdateBoardViewWithResponse(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)

UpdateBoardViewWithResponse Update a Board View

Update a Board View by specifying its ID and full details.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).

func (*ClientWithResponses) UpdateBoardWithBodyWithResponse

func (c *ClientWithResponses) UpdateBoardWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)

UpdateBoardWithBodyWithResponse Update a Board

Update a Board by specifying its ID and full details. **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API. **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).

func (*ClientWithResponses) UpdateBoardWithResponse

func (c *ClientWithResponses) UpdateBoardWithResponse(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)

UpdateBoardWithResponse Update a Board

Update a Board by specifying its ID and full details. **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API. **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).

func (*ClientWithResponses) UpdateBurnAlertWithBodyWithResponse

func (c *ClientWithResponses) UpdateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)

UpdateBurnAlertWithBodyWithResponse Update a Burn Alert

Update a Burn Alert by specifying its ID and full details.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).

func (*ClientWithResponses) UpdateBurnAlertWithResponse

func (c *ClientWithResponses) UpdateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)

UpdateBurnAlertWithResponse Update a Burn Alert

Update a Burn Alert by specifying its ID and full details.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).

func (*ClientWithResponses) UpdateCalculatedFieldWithBodyWithResponse

func (c *ClientWithResponses) UpdateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)

UpdateCalculatedFieldWithBodyWithResponse Update a Calculated Field

Update a Calculated Field (also called a Derived Column).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).

func (*ClientWithResponses) UpdateCalculatedFieldWithResponse

func (c *ClientWithResponses) UpdateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)

UpdateCalculatedFieldWithResponse Update a Calculated Field

Update a Calculated Field (also called a Derived Column).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).

func (*ClientWithResponses) UpdateColumnWithBodyWithResponse

func (c *ClientWithResponses) UpdateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)

UpdateColumnWithBodyWithResponse Update a Column

Update a column.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).

func (*ClientWithResponses) UpdateColumnWithResponse

func (c *ClientWithResponses) UpdateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)

UpdateColumnWithResponse Update a Column

Update a column.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).

func (*ClientWithResponses) UpdateDatasetWithBodyWithResponse

func (c *ClientWithResponses) UpdateDatasetWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)

UpdateDatasetWithBodyWithResponse Update a Dataset

Update a Dataset's settings.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).

func (*ClientWithResponses) UpdateDatasetWithResponse

func (c *ClientWithResponses) UpdateDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)

UpdateDatasetWithResponse Update a Dataset

Update a Dataset's settings.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).

func (*ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse

func (c *ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResp, error)

UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse Update an Environment

Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).

func (*ClientWithResponses) UpdateEnvironmentWithBodyWithResponse

func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResp, error)

UpdateEnvironmentWithBodyWithResponse Update an Environment

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).

func (*ClientWithResponses) UpdateMarkerSettingsWithBodyWithResponse

func (c *ClientWithResponses) UpdateMarkerSettingsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)

UpdateMarkerSettingsWithBodyWithResponse Update a Marker Setting

A marker setting's `type` may not be changed after creation.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).

func (*ClientWithResponses) UpdateMarkerSettingsWithResponse

func (c *ClientWithResponses) UpdateMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)

UpdateMarkerSettingsWithResponse Update a Marker Setting

A marker setting's `type` may not be changed after creation.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).

func (*ClientWithResponses) UpdateMarkerWithBodyWithResponse

func (c *ClientWithResponses) UpdateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)

UpdateMarkerWithBodyWithResponse Update a Marker

Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).

func (*ClientWithResponses) UpdateMarkerWithResponse

func (c *ClientWithResponses) UpdateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)

UpdateMarkerWithResponse Update a Marker

Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).

func (*ClientWithResponses) UpdateQueryAnnotationWithBodyWithResponse

func (c *ClientWithResponses) UpdateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)

UpdateQueryAnnotationWithBodyWithResponse Update a Query Annotation

Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).

func (*ClientWithResponses) UpdateQueryAnnotationWithResponse

func (c *ClientWithResponses) UpdateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)

UpdateQueryAnnotationWithResponse Update a Query Annotation

Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).

func (*ClientWithResponses) UpdateRecipientWithBodyWithResponse

func (c *ClientWithResponses) UpdateRecipientWithBodyWithResponse(ctx context.Context, recipientId RecipientId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)

UpdateRecipientWithBodyWithResponse Update a Recipient

Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.) Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed. **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).

func (*ClientWithResponses) UpdateRecipientWithResponse

func (c *ClientWithResponses) UpdateRecipientWithResponse(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)

UpdateRecipientWithResponse Update a Recipient

Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.) Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed. **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).

func (*ClientWithResponses) UpdateSignalWithBodyWithResponse

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

UpdateSignalWithBodyWithResponse Update a Signal

Update a Signal by ID. All fields in the body are optional; only the fields you supply are applied.

- `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`. - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained. - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).

func (*ClientWithResponses) UpdateSignalWithResponse

func (c *ClientWithResponses) UpdateSignalWithResponse(ctx context.Context, id string, body UpdateSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSignalResp, error)

UpdateSignalWithResponse Update a Signal

Update a Signal by ID. All fields in the body are optional; only the fields you supply are applied.

- `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`. - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained. - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).

func (*ClientWithResponses) UpdateSloWithBodyWithResponse

func (c *ClientWithResponses) UpdateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)

UpdateSloWithBodyWithResponse Update an SLO

Update an SLO by specifying its ID and full SLO details.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).

func (*ClientWithResponses) UpdateSloWithResponse

func (c *ClientWithResponses) UpdateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)

UpdateSloWithResponse Update an SLO

Update an SLO by specifying its ID and full SLO details.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).

func (*ClientWithResponses) UpdateTriggerWithBodyWithResponse

func (c *ClientWithResponses) UpdateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)

UpdateTriggerWithBodyWithResponse Update a Trigger

Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).

func (*ClientWithResponses) UpdateTriggerWithResponse

func (c *ClientWithResponses) UpdateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)

UpdateTriggerWithResponse Update a Trigger

Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GetAuthWithResponse List Authorizations
	//
	// Returns metadata about the API Key used to call the API.
	// Note: a Honeycomb Classic API key will return an empty string for both of the `environment` values.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/auth (the `GetAuth` operationId).
	GetAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthResp, error)

	// CreateEventsWithBodyWithResponse Create Events
	//
	// Supports batch creation of events.
	//
	// Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".
	//
	// The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).
	CreateEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)

	// CreateEventsWithResponse Create Events
	//
	// Supports batch creation of events.
	//
	// Dataset names are case insensitive. `POST` requests to "MyDatasET" will land in the same dataset as "mydataset". Names may contain URL-encoded spaces or other special characters, but not URL-encoded slashes. For example, "My%20Dataset" will show up in the UI as "My Dataset".
	//
	// The first event received for a dataset determines the casing of the displayed name. All subsequent variations in casing will use the originally specified case.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/batch/{datasetSlug} (the `CreateEvents` operationId).
	CreateEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)

	// ListBoardsWithResponse List All Boards
	//
	// Retrieves a list of all non-secret Boards within an environment. **Note**: For Honeycomb Classic users, all boards within Classic will be returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/boards (the `ListBoards` operationId).
	ListBoardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoardsResp, error)

	// CreateBoardWithBodyWithResponse Create a Board
	//
	// Create a Board comprised of one or more Panels (Query, SLO, or Text).
	// **Note**: Each board is limited to a maximum of 5 preset filters.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/boards (the `CreateBoard` operationId).
	CreateBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)

	// CreateBoardWithResponse Create a Board
	//
	// Create a Board comprised of one or more Panels (Query, SLO, or Text).
	// **Note**: Each board is limited to a maximum of 5 preset filters.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/boards (the `CreateBoard` operationId).
	CreateBoardWithResponse(ctx context.Context, body CreateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)

	// DeleteBoardWithResponse Delete a Board
	//
	// Delete a public Board by specifying its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/boards/{boardId} (the `DeleteBoard` operationId).
	DeleteBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*DeleteBoardResp, error)

	// GetBoardWithResponse Get a Board
	//
	// Get a single Board by ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/boards/{boardId} (the `GetBoard` operationId).
	GetBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*GetBoardResp, error)

	// UpdateBoardWithBodyWithResponse Update a Board
	//
	// Update a Board by specifying its ID and full details.
	// **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API.
	// **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).
	UpdateBoardWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)

	// UpdateBoardWithResponse Update a Board
	//
	// Update a Board by specifying its ID and full details.
	// **Note**: Queries can be added to, removed from, and re-ordered by updating the board itself. It is not possible to reference individual queries via the API.
	// **Note**: Each board is limited to a maximum of 5 preset filters. Attempting to update a board with more than 5 preset filters will result in an error.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/boards/{boardId} (the `UpdateBoard` operationId).
	UpdateBoardWithResponse(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)

	// ListBoardViewsWithResponse List Board Views
	//
	// Retrieve a list of all views for a board.
	// **Note**: Each board is limited to a maximum of 50 views.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/boards/{boardId}/views (the `ListBoardViews` operationId).
	ListBoardViewsWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*ListBoardViewsResp, error)

	// CreateBoardViewWithBodyWithResponse Create a Board View
	//
	// Create a new view for a board with the specified filters.
	// **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).
	CreateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)

	// CreateBoardViewWithResponse Create a Board View
	//
	// Create a new view for a board with the specified filters.
	// **Note**: Each board is limited to a maximum of 50 views. Attempting to create more than 50 views will result in an error.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/boards/{boardId}/views (the `CreateBoardView` operationId).
	CreateBoardViewWithResponse(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)

	// DeleteBoardViewWithResponse Delete a Board View
	//
	// Delete a Board View by specifying its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/boards/{boardId}/views/{viewId} (the `DeleteBoardView` operationId).
	DeleteBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*DeleteBoardViewResp, error)

	// GetBoardViewWithResponse Get a Board View
	//
	// Retrieve a single Board View by ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/boards/{boardId}/views/{viewId} (the `GetBoardView` operationId).
	GetBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*GetBoardViewResp, error)

	// UpdateBoardViewWithBodyWithResponse Update a Board View
	//
	// Update a Board View by specifying its ID and full details.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).
	UpdateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, viewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)

	// UpdateBoardViewWithResponse Update a Board View
	//
	// Update a Board View by specifying its ID and full details.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/boards/{boardId}/views/{viewId} (the `UpdateBoardView` operationId).
	UpdateBoardViewWithResponse(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)

	// ListBurnAlertsBySloWithResponse List All Burn Alerts for an SLO
	//
	// Get all burn alerts associated with the SLO specified in the `slo_id` query param. It is not currently possible to retrieve all burn alerts for a dataset, environment, or team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/burn_alerts/{datasetSlug} (the `ListBurnAlertsBySlo` operationId).
	ListBurnAlertsBySloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*ListBurnAlertsBySloResp, error)

	// CreateBurnAlertWithBodyWithResponse Create a Burn Alert
	//
	// Create a Burn Alert against a specified SLO.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).
	CreateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)

	// CreateBurnAlertWithResponse Create a Burn Alert
	//
	// Create a Burn Alert against a specified SLO.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/burn_alerts/{datasetSlug} (the `CreateBurnAlert` operationId).
	CreateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)

	// DeleteBurnAlertWithResponse Delete a Burn Alert
	//
	// Delete a Burn Alert by specifying its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `DeleteBurnAlert` operationId).
	DeleteBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*DeleteBurnAlertResp, error)

	// GetBurnAlertWithResponse Get a Burn Alert
	//
	// Get a single Burn Alert by ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `GetBurnAlert` operationId).
	GetBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*GetBurnAlertResp, error)

	// UpdateBurnAlertWithBodyWithResponse Update a Burn Alert
	//
	// Update a Burn Alert by specifying its ID and full details.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).
	UpdateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)

	// UpdateBurnAlertWithResponse Update a Burn Alert
	//
	// Update a Burn Alert by specifying its ID and full details.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/burn_alerts/{datasetSlug}/{burnAlertId} (the `UpdateBurnAlert` operationId).
	UpdateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)

	// ListColumnsWithResponse List all Columns
	//
	// Get all the Columns in a dataset or environment.
	// Use `__all__`  as the dataset slug to retrieve all Columns across all datasets in the environment (not available for classic environments).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/columns/{datasetSlug} (the `ListColumns` operationId).
	ListColumnsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*ListColumnsResp, error)

	// CreateColumnWithBodyWithResponse Create a Column
	//
	// Create a column by providing corresponding details for that type.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).
	CreateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)

	// CreateColumnWithResponse Create a Column
	//
	// Create a column by providing corresponding details for that type.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/columns/{datasetSlug} (the `CreateColumn` operationId).
	CreateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)

	// DeleteColumnWithResponse Delete a Column
	//
	// Delete a column. **Note**: Deleted columns are no longer queryable, but data in existing permalinks (query results and trace views) will remain stored and available at those links.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/columns/{datasetSlug}/{columnId} (the `DeleteColumn` operationId).
	DeleteColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*DeleteColumnResp, error)

	// GetColumnWithResponse Get a Column
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/columns/{datasetSlug}/{columnId} (the `GetColumn` operationId).
	GetColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*GetColumnResp, error)

	// UpdateColumnWithBodyWithResponse Update a Column
	//
	// Update a column.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).
	UpdateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)

	// UpdateColumnWithResponse Update a Column
	//
	// Update a column.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/columns/{datasetSlug}/{columnId} (the `UpdateColumn` operationId).
	UpdateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)

	// ListDatasetDefinitionsWithResponse Get all Dataset Definitions
	//
	// Get all definitions for a Dataset.
	// The response returns an object with a Dataset Definition for each set Dataset Definition type.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/dataset_definitions/{datasetSlug} (the `ListDatasetDefinitions` operationId).
	ListDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*ListDatasetDefinitionsResp, error)

	// PatchDatasetDefinitionsWithBodyWithResponse Set or Update Dataset Definitions
	//
	// Set or update one or more definitions for a Dataset.
	// **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).
	PatchDatasetDefinitionsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)

	// PatchDatasetDefinitionsWithResponse Set or Update Dataset Definitions
	//
	// Set or update one or more definitions for a Dataset.
	// **Note**: While the PATCH payload can include the `column_type`, Honeycomb does not use this field when updating Dataset Definitions.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /1/dataset_definitions/{datasetSlug} (the `PatchDatasetDefinitions` operationId).
	PatchDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)

	// ListDatasetsWithResponse List All Datasets
	//
	// Lists all Datasets for an environment.
	// **Note**: For Honeycomb Classic users, all datasets in Classic are returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/datasets (the `ListDatasets` operationId).
	ListDatasetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatasetsResp, error)

	// CreateDatasetWithBodyWithResponse Create a Dataset
	//
	// Create a Dataset in the environment associated with your API key.
	// If a Dataset already exists by that name (or slug), then the existing dataset will be returned.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/datasets (the `CreateDataset` operationId).
	CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)

	// CreateDatasetWithResponse Create a Dataset
	//
	// Create a Dataset in the environment associated with your API key.
	// If a Dataset already exists by that name (or slug), then the existing dataset will be returned.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/datasets (the `CreateDataset` operationId).
	CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)

	// DeleteDatasetWithResponse Delete a Dataset
	//
	// Deletes the Dataset. This is an irreversible operation.
	// It may take several minutes for the deletion process to complete.
	//
	//
	// **WARNING**: This endpoint will allow anyone with an API key that has the
	// manage dataset permission to delete any dataset in the environment (or
	// any dataset in the whole team for Classic customers).
	//
	//
	// Datasets with Deletion Protection enabled cannot be deleted.
	//
	// To delete a Dataset with Deletion Protection enabled, first disable Deletion Protection by updating the Dataset with `settings.delete_protected = false`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/datasets/{datasetSlug} (the `DeleteDataset` operationId).
	DeleteDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*DeleteDatasetResp, error)

	// GetDatasetWithResponse Get a Dataset
	//
	// Get a single Dataset by slug.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/datasets/{datasetSlug} (the `GetDataset` operationId).
	GetDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*GetDatasetResp, error)

	// UpdateDatasetWithBodyWithResponse Update a Dataset
	//
	// Update a Dataset's settings.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).
	UpdateDatasetWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)

	// UpdateDatasetWithResponse Update a Dataset
	//
	// Update a Dataset's settings.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/datasets/{datasetSlug} (the `UpdateDataset` operationId).
	UpdateDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)

	// ListCalculatedFieldsWithResponse List all Calculated Fields
	//
	// Get all the Calculated Fields (also called Derived Columns) in a dataset or environment. With the `?alias=X` query parameter, can return a single Calculated Field by its `alias`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/derived_columns/{datasetSlug} (the `ListCalculatedFields` operationId).
	ListCalculatedFieldsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*ListCalculatedFieldsResp, error)

	// CreateCalculatedFieldWithBodyWithResponse Create a Calculated Field
	//
	// Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).
	CreateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)

	// CreateCalculatedFieldWithResponse Create a Calculated Field
	//
	// Create a Calculated Field (also called a Derived Column). Calculated Fields allow you to run queries based on the value of an expression that is calculated from the fields in an event.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/derived_columns/{datasetSlug} (the `CreateCalculatedField` operationId).
	CreateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)

	// DeleteCalculatedFieldWithResponse Delete a Calculated Field
	//
	// Delete a Calculated Field (also called a Derived Column). **Note**: A Calculated Field used by a SLO, Trigger, or Board cannot be deleted without removing or modifying the SLO, Trigger, or Board first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `DeleteCalculatedField` operationId).
	DeleteCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*DeleteCalculatedFieldResp, error)

	// GetCalculatedFieldWithResponse Get a Calculated Field
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `GetCalculatedField` operationId).
	GetCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*GetCalculatedFieldResp, error)

	// UpdateCalculatedFieldWithBodyWithResponse Update a Calculated Field
	//
	// Update a Calculated Field (also called a Derived Column).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).
	UpdateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)

	// UpdateCalculatedFieldWithResponse Update a Calculated Field
	//
	// Update a Calculated Field (also called a Derived Column).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/derived_columns/{datasetSlug}/{derivedColumnId} (the `UpdateCalculatedField` operationId).
	UpdateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)

	// CreateEventWithBodyWithResponse Create an Event
	//
	// Using this endpoint for anything more than testing is highly discouraged.
	//
	// Sending events in batches will be much more efficient and should be preferred if at all possible.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).
	CreateEventWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResp, error)

	// CreateEventWithResponse Create an Event
	//
	// Using this endpoint for anything more than testing is highly discouraged.
	//
	// Sending events in batches will be much more efficient and should be preferred if at all possible.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/events/{datasetSlug} (the `CreateEvent` operationId).
	CreateEventWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResp, error)

	// CreateKinesisEventsWithBodyWithResponse Create Kinesis Events
	//
	// This endpoint processes events and metrics coming from AWS through Kinesis Firehose.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).
	CreateKinesisEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)

	// CreateKinesisEventsWithResponse Create Kinesis Events
	//
	// This endpoint processes events and metrics coming from AWS through Kinesis Firehose.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/kinesis_events/{datasetSlug} (the `CreateKinesisEvents` operationId).
	CreateKinesisEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)

	// CreateMapDependencyRequestWithBodyWithResponse Create a Map Dependency Request
	//
	// Create a Map Dependency Request.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).
	CreateMapDependencyRequestWithBodyWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMapDependencyRequestResp, error)

	// CreateMapDependencyRequestWithResponse Create a Map Dependency Request
	//
	// Create a Map Dependency Request.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/maps/dependencies/requests (the `CreateMapDependencyRequest` operationId).
	CreateMapDependencyRequestWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMapDependencyRequestResp, error)

	// GetMapDependenciesWithResponse Get Map Dependencies
	//
	// Get the dependencies for a previously created Map Dependencies Request. Note: This endpoint returns a single page of results and uses pagination. Even if you specified a large limit in the initial POST request, you will receive up to the page size limit per request and must use the pagination links to retrieve additional results.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/maps/dependencies/requests/{requestId} (the `GetMapDependencies` operationId).
	GetMapDependenciesWithResponse(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*GetMapDependenciesResp, error)

	// ListMarkerSettingsWithResponse Get a Marker Setting
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/marker_settings/{datasetSlug} (the `ListMarkerSettings` operationId).
	ListMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListMarkerSettingsResp, error)

	// CreateMarkerSettingWithBodyWithResponse Create a Marker Setting
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).
	CreateMarkerSettingWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)

	// CreateMarkerSettingWithResponse Create a Marker Setting
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/marker_settings/{datasetSlug} (the `CreateMarkerSetting` operationId).
	CreateMarkerSettingWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)

	// DeleteMarkerSettingsWithResponse Delete a Marker Setting
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/marker_settings/{datasetSlug}/{markerSettingId} (the `DeleteMarkerSettings` operationId).
	DeleteMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*DeleteMarkerSettingsResp, error)

	// UpdateMarkerSettingsWithBodyWithResponse Update a Marker Setting
	//
	// A marker setting's `type` may not be changed after creation.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).
	UpdateMarkerSettingsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)

	// UpdateMarkerSettingsWithResponse Update a Marker Setting
	//
	// A marker setting's `type` may not be changed after creation.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/marker_settings/{datasetSlug}/{markerSettingId} (the `UpdateMarkerSettings` operationId).
	UpdateMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)

	// GetMarkerWithResponse List All Markers
	//
	// Lists all Markers for a dataset.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/markers/{datasetSlug} (the `GetMarker` operationId).
	GetMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*GetMarkerResp, error)

	// CreateMarkerWithBodyWithResponse Create a Marker
	//
	// Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).
	CreateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)

	// CreateMarkerWithResponse Create a Marker
	//
	// Create a Marker in the specified dataset. To create an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/markers/{datasetSlug} (the `CreateMarker` operationId).
	CreateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)

	// DeleteMarkerWithResponse Delete a Marker
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/markers/{datasetSlug}/{markerId} (the `DeleteMarker` operationId).
	DeleteMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*DeleteMarkerResp, error)

	// UpdateMarkerWithBodyWithResponse Update a Marker
	//
	// Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).
	UpdateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)

	// UpdateMarkerWithResponse Update a Marker
	//
	// Update a Marker in the specified dataset. To update an environment marker, use the `__all__` keyword and an API key associated with the desired environment.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/markers/{datasetSlug}/{markerId} (the `UpdateMarker` operationId).
	UpdateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)

	// CreateQueryWithBodyWithResponse Create a Query
	//
	// Create a query from a specification. DOES NOT run the query to retrieve results.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).
	CreateQueryWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)

	// CreateQueryWithResponse Create a Query
	//
	// Create a query from a specification. DOES NOT run the query to retrieve results.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/queries/{datasetSlug} (the `CreateQuery` operationId).
	CreateQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)

	// GetQueryWithResponse Get a Query
	//
	// Retrieve a query by its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/queries/{datasetSlug}/{queryId} (the `GetQuery` operationId).
	GetQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*GetQueryResp, error)

	// ListQueryAnnotationsWithResponse List Query Annotations
	//
	// List all Query Annotations in the specified dataset.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/query_annotations/{datasetSlug} (the `ListQueryAnnotations` operationId).
	ListQueryAnnotationsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*ListQueryAnnotationsResp, error)

	// CreateQueryAnnotationWithBodyWithResponse Create a Query Annotation
	//
	// Create a Query Annotation for the specified query ID.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).
	CreateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)

	// CreateQueryAnnotationWithResponse Create a Query Annotation
	//
	// Create a Query Annotation for the specified query ID.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/query_annotations/{datasetSlug} (the `CreateQueryAnnotation` operationId).
	CreateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)

	// DeleteQueryAnnotationWithResponse Delete a Query Annotation
	//
	// Delete a Query Annotation by specifying its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `DeleteQueryAnnotation` operationId).
	DeleteQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*DeleteQueryAnnotationResp, error)

	// GetQueryAnnotationWithResponse Get a Query Annotation
	//
	// Get a Query Annotation by its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `GetQueryAnnotation` operationId).
	GetQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*GetQueryAnnotationResp, error)

	// UpdateQueryAnnotationWithBodyWithResponse Update a Query Annotation
	//
	// Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).
	UpdateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)

	// UpdateQueryAnnotationWithResponse Update a Query Annotation
	//
	// Update a Query Annotation by specifying its ID. The Query ID associated with the Query Annotation cannot be updated. Partial updates are not supported.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/query_annotations/{datasetSlug}/{queryAnnotationId} (the `UpdateQueryAnnotation` operationId).
	UpdateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)

	// CreateQueryResultWithBodyWithResponse Create a Query Result
	//
	// Kick off processing of a Query to then get back the Query Results.
	// Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint.
	// A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).
	CreateQueryResultWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)

	// CreateQueryResultWithResponse Create a Query Result
	//
	// Kick off processing of a Query to then get back the Query Results.
	// Once the Query Result has been created, the query will be run asynchronously, allowing the result data to be fetched from the GET query result endpoint.
	// A maximum duration of 7 days of data can be queried. Any queries with a `start_time`, `end_time`, or `time_range` resulting in a duration longer than 7 days will result in a `400` error response.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/query_results/{datasetSlug} (the `CreateQueryResult` operationId).
	CreateQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)

	// GetQueryResultWithResponse Get Query Result
	//
	// Get the Query Result details for a specific Query Result ID.
	// This endpoint is used to fetch the results of a query that had previously been created. It is recommended to follow the Location header included in the Create Query Result output, but the URL can also be constructed manually with the &lt;query-result-id&gt;.
	// Note: a query that fails to run still returns HTTP 200. Check the response body: a failed query has "complete": true with an "error" field in place of "data".
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/query_results/{datasetSlug}/{queryResultId} (the `GetQueryResult` operationId).
	GetQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*GetQueryResultResp, error)

	// ListRecipientsWithResponse List all Recipients
	//
	// Retrieve all recipients for a team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/recipients (the `ListRecipients` operationId).
	ListRecipientsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecipientsResp, error)

	// CreateRecipientWithBodyWithResponse Create a Recipient
	//
	// Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key.
	// The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value.
	// Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/recipients (the `CreateRecipient` operationId).
	CreateRecipientWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)

	// CreateRecipientWithResponse Create a Recipient
	//
	// Unlike many resources, Recipients are not linked to a specific Environment or Dataset. The Recipient will be created for the Team associated with your API key.
	// The `details` fields will vary depending on the `type` of Recipient. Use the drop-down to view the specific fields for each `type` value.
	// Before Slack Recipients can be created, the Slack OAuth flow in the Integration Center must be completed.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/recipients (the `CreateRecipient` operationId).
	CreateRecipientWithResponse(ctx context.Context, body CreateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)

	// DeleteRecipientWithResponse Delete a Recipient
	//
	// Delete a recipient by specifying the recipient ID.
	// A Recipient can only be deleted if it is NOT in use by any Triggers or Burn Alerts associated to the team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/recipients/{recipientId} (the `DeleteRecipient` operationId).
	DeleteRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*DeleteRecipientResp, error)

	// GetRecipientWithResponse Get a single Recipient
	//
	// Retrieve a Recipient by recipient ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/recipients/{recipientId} (the `GetRecipient` operationId).
	GetRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*GetRecipientResp, error)

	// UpdateRecipientWithBodyWithResponse Update a Recipient
	//
	// Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.)
	// Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed.
	// **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).
	UpdateRecipientWithBodyWithResponse(ctx context.Context, recipientId RecipientId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)

	// UpdateRecipientWithResponse Update a Recipient
	//
	// Update a Recipient by specifying the recipient ID and full recipient details. (Partial PUT is not supported.)
	// Updates to the Recipient Type is not supported. For example, changing an existing Recipient from PagerDuty to Email is not allowed.
	// **Important**: Modifying an existing recipient will change the destination of all triggers/burn alerts that use that recipient.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/recipients/{recipientId} (the `UpdateRecipient` operationId).
	UpdateRecipientWithResponse(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)

	// ListTriggersWithRecipientWithResponse Get Triggers Associated with a Recipient
	//
	// List all triggers that will alert a given Recipient. **Important:** This request will return all Triggers associated with the specific Recipient across your entire Honeycomb team rather than being scoped to a dataset or environment.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/recipients/{recipientId}/triggers (the `ListTriggersWithRecipient` operationId).
	ListTriggersWithRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*ListTriggersWithRecipientResp, error)

	// GetSloHistoryWithBodyWithResponse Get SLO History
	//
	// Get a weekly breakdown of historical data for a list of SLOs for a given time range.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).
	GetSloHistoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)

	// GetSloHistoryWithResponse Get SLO History
	//
	// Get a weekly breakdown of historical data for a list of SLOs for a given time range.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/reporting/slos/historical (the `GetSloHistory` operationId).
	GetSloHistoryWithResponse(ctx context.Context, body GetSloHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)

	// ListSignalsWithResponse List All Signals
	//
	// List Signals in the environment associated with your API key. Signals are returned in cursor-paginated pages and can be filtered by service, dataset, kind, status, and whether they are currently anomalous.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/signals (the `ListSignals` operationId).
	ListSignalsWithResponse(ctx context.Context, params *ListSignalsParams, reqEditors ...RequestEditorFn) (*ListSignalsResp, error)

	// GetSignalWithResponse Get a Signal
	//
	// Fetch a Signal by ID, including the Recipients assigned to it.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/signals/{id} (the `GetSignal` operationId).
	GetSignalWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetSignalResp, error)

	// UpdateSignalWithBodyWithResponse Update a Signal
	//
	// Update a Signal by ID. All fields in the body are optional; only the fields you supply
	// are applied.
	//
	// - `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`.
	// - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained.
	// - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).
	UpdateSignalWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSignalResp, error)

	// UpdateSignalWithResponse Update a Signal
	//
	// Update a Signal by ID. All fields in the body are optional; only the fields you supply
	// are applied.
	//
	// - `enabled`: Toggles the Signal on or off. Re-enabling a Signal that has already trained puts it back into `active`; otherwise it returns to `onboarding`.
	// - `sensitivity`: Sets how far a measurement must deviate from the trained normal band before the Signal fires. Not applicable to `presence` Signals, and cannot be set on a Signal that has not yet trained.
	// - `recipients`: Replaces the Signal's Recipient set. An empty array clears all Recipients. Modifying Recipients requires the **Manage Recipients** permission in addition to **Manage Signals**.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/signals/{id} (the `UpdateSignal` operationId).
	UpdateSignalWithResponse(ctx context.Context, id string, body UpdateSignalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSignalResp, error)

	// ListSignalHistoricalAnomaliesWithResponse List Historical Anomalies
	//
	// List anomalies that a Signal has resolved within a bounded time window. Anomalies are returned in cursor-paginated pages, most recent first. `start_time` and `end_time` are required and must span no more than 30 days.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/signals/{id}/historical_anomalies (the `ListSignalHistoricalAnomalies` operationId).
	ListSignalHistoricalAnomaliesWithResponse(ctx context.Context, id string, params *ListSignalHistoricalAnomaliesParams, reqEditors ...RequestEditorFn) (*ListSignalHistoricalAnomaliesResp, error)

	// ListSlosWithResponse Get all SLOs
	//
	// Get all SLOs for a dataset or environment (using  `__all__`). This action returns any SLOs, including those applied with multiple datasets.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/slos/{datasetSlug} (the `ListSlos` operationId).
	ListSlosWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListSlosResp, error)

	// CreateSloWithBodyWithResponse Create an SLO
	//
	// Create an SLO on the provided dataset.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).
	CreateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSloResp, error)

	// CreateSloWithResponse Create an SLO
	//
	// Create an SLO on the provided dataset.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/slos/{datasetSlug} (the `CreateSlo` operationId).
	CreateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSloResp, error)

	// DeleteSloWithResponse Delete an SLO
	//
	// Delete an SLO by specifying its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/slos/{datasetSlug}/{sloId} (the `DeleteSlo` operationId).
	DeleteSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*DeleteSloResp, error)

	// GetSloWithResponse Get an SLO
	//
	// Get an SLO by ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/slos/{datasetSlug}/{sloId} (the `GetSlo` operationId).
	GetSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*GetSloResp, error)

	// UpdateSloWithBodyWithResponse Update an SLO
	//
	// Update an SLO by specifying its ID and full SLO details.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).
	UpdateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)

	// UpdateSloWithResponse Update an SLO
	//
	// Update an SLO by specifying its ID and full SLO details.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/slos/{datasetSlug}/{sloId} (the `UpdateSlo` operationId).
	UpdateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)

	// GetSloRealtimeCountsWithResponse Get SLO Realtime Counts
	//
	// Get per-minute success and failure event counts for an SLO, updated approximately once per minute from a rolling 24-hour window.
	//
	// This endpoint is intended for near-real-time integrations such as external SLO dashboards and alerting tools (e.g. nobl9). For weekly compliance history, use the [Get SLO History endpoint](https://api-docs.honeycomb.io/api/reporting/getSloHistory/).
	//
	// **Requirements:**
	// - Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
	// - This feature must be enabled for your team. Contact your account team
	//   to request access.
	//
	//
	// **Gaps:** Some minutes may have no entry in the `windows` array. The first window after a gap may contain a larger-than-usual delta. Treat missing timestamps as unavailable data, not zero-event periods.
	//
	// **Epoch:** The response includes an `epoch` field — a hash of the SLO's SLI expression and dataset configuration. If this value changes between responses, the underlying SLO definition has changed and any client-side cache should be invalidated.
	//
	// **Partial windows:** Windows marked `is_partial: true` may still receive additional events. This occurs for the most recent 10 minutes (late-arriving data settlement) or when no prior snapshot exists to compute a delta from.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts (the `GetSloRealtimeCounts` operationId).
	GetSloRealtimeCountsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloRealtimeCountsParams, reqEditors ...RequestEditorFn) (*GetSloRealtimeCountsResp, error)

	// GetSloHourlyCountsHistoryWithResponse Get SLO Hourly Counts History
	//
	// Get hourly-bucketed total and error event counts for an SLO from the persistent historical store. Use this endpoint to retrieve completed historical hours; pair with the [Get SLO Realtime Counts endpoint](https://api-docs.honeycomb.io/api/slos/getslorealtimecounts/) for the current in-progress hour.
	//
	// **Requirements:**
	// - Available on the [Enterprise plan](https://www.honeycomb.io/pricing/) only.
	// - This feature must be enabled for your team. Contact your account team
	//   to request access.
	//
	//
	// **Partial buckets:** The most recent bucket may be marked `is_partial: true` if it covers the current in-progress hour. Counts for that bucket will increase until the hour completes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/slos/{datasetSlug}/{sloId}/counts/history (the `GetSloHourlyCountsHistory` operationId).
	GetSloHourlyCountsHistoryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloHourlyCountsHistoryParams, reqEditors ...RequestEditorFn) (*GetSloHourlyCountsHistoryResp, error)

	// ListTriggersWithResponse List All Triggers
	//
	// List all triggers on the provided dataset or environment.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/triggers/{datasetSlug} (the `ListTriggers` operationId).
	ListTriggersWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListTriggersResp, error)

	// CreateTriggerWithBodyWithResponse Create a Trigger
	//
	// Create a trigger on the provided dataset or environment.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).
	CreateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)

	// CreateTriggerWithResponse Create a Trigger
	//
	// Create a trigger on the provided dataset or environment.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /1/triggers/{datasetSlug} (the `CreateTrigger` operationId).
	CreateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)

	// DeleteTriggerWithResponse Delete a Trigger
	//
	// Delete a trigger by specifying the trigger ID. The body of the DELETE request should be empty.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /1/triggers/{datasetSlug}/{triggerId} (the `DeleteTrigger` operationId).
	DeleteTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*DeleteTriggerResp, error)

	// GetTriggerWithResponse Get a Trigger
	//
	// Fetch details for a single Trigger by Trigger ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /1/triggers/{datasetSlug}/{triggerId} (the `GetTrigger` operationId).
	GetTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*GetTriggerResp, error)

	// UpdateTriggerWithBodyWithResponse Update a Trigger
	//
	// Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).
	UpdateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)

	// UpdateTriggerWithResponse Update a Trigger
	//
	// Update a trigger by specifying the trigger ID and the same fields used when creating a new trigger.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /1/triggers/{datasetSlug}/{triggerId} (the `UpdateTrigger` operationId).
	UpdateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)

	// GetV2AuthWithResponse List Authorizations V2
	//
	// Returns metadata about the Management API Key used to call the API.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /2/auth (the `GetV2Auth` operationId).
	GetV2AuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2AuthResp, error)

	// ListApiKeysWithResponse List all API Keys
	//
	// List all API Keys for a Team.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /2/teams/{teamSlug}/api-keys (the `ListApiKeys` operationId).
	ListApiKeysWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResp, error)

	// CreateApiKeyWithBodyWithResponse Create an API Key
	//
	// This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and
	// the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.
	//
	// To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret
	// concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`
	//
	// Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).
	CreateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResp, error)

	// CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse Create an API Key
	//
	// This creates an API Key, which will return the API Key components in the response. The Key ID will be found at `data.id` and
	// the Key Secret will be found at `data.attributes.secret`. For security reasons the Key Secret will only be available during creation so make sure to save it.
	//
	// To use a newly-created Ingest Key it should be passed in the `X-Honeycomb-Team` header with the API Key's ID and secret
	// concatenated (and with no separator). For example, `X-Honeycomb-Team: hcxik_1234567890123456789012345612345678901234567890123456789012`
	//
	// Check out our [best practices for API Keys](https://docs.honeycomb.io/get-started/best-practices/api-keys/#ingest-keys).
	//
	// Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /2/teams/{teamSlug}/api-keys (the `CreateApiKey` operationId).
	CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResp, error)

	// DeleteApiKeyWithResponse Delete an API Key
	//
	// This deletes and immediately deactivates the API Key. This is an irreversible operation.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /2/teams/{teamSlug}/api-keys/{ID} (the `DeleteApiKey` operationId).
	DeleteApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResp, error)

	// GetApiKeyWithResponse Get an API Key
	//
	// Fetches an environment API Key, either a key of type `ingest` or type `configuration` based on the
	// ID given.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /2/teams/{teamSlug}/api-keys/{ID} (the `GetApiKey` operationId).
	GetApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetApiKeyResp, error)

	// UpdateApiKeyWithBodyWithResponse Update an API Key
	//
	// Updates an API Key. The expected attributes depend on the key type:
	// - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes
	// - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).
	UpdateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)

	// UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse Update an API Key
	//
	// Updates an API Key. The expected attributes depend on the key type:
	// - **Ingest Keys** (prefix `hcxik_`): Support `name` and `enabled` attributes
	// - **Configuration Keys** (prefix `hcxlk_`): Support `name`, `enabled`, and `permissions` attributes
	//
	// Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/api-keys/{ID} (the `UpdateApiKey` operationId).
	UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)

	// ListEnvironmentsWithResponse List all Environments
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /2/teams/{teamSlug}/environments (the `ListEnvironments` operationId).
	ListEnvironmentsWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResp, error)

	// CreateEnvironmentWithBodyWithResponse Create an Environment
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).
	CreateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)

	// CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse Create an Environment
	//
	// Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /2/teams/{teamSlug}/environments (the `CreateEnvironment` operationId).
	CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)

	// DeleteEnvironmentWithResponse Delete an Environment
	//
	// This deletes and immediately deactivates the Environment. This is an irreversible operation.
	//
	// Environments with Deletion Protection enabled cannot be deleted. To delete an Environment with Deletion Protection enabled, first disable Deletion Protection by updating the Environment with `settings.delete_protected = false`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /2/teams/{teamSlug}/environments/{ID} (the `DeleteEnvironment` operationId).
	DeleteEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResp, error)

	// GetEnvironmentWithResponse Get an Environment
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /2/teams/{teamSlug}/environments/{ID} (the `GetEnvironment` operationId).
	GetEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetEnvironmentResp, error)

	// UpdateEnvironmentWithBodyWithResponse Update an Environment
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).
	UpdateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResp, error)

	// UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse Update an Environment
	//
	// Takes a body of the `application/vnd.api+json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /2/teams/{teamSlug}/environments/{ID} (the `UpdateEnvironment` operationId).
	UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResp, error)
}

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

type Column

type Column struct {
	// CreatedAt ISO8601 formatted time the column was created.
	CreatedAt *string `json:"created_at,omitempty"`

	// Description Column description.
	//
	// Example: An integer column
	Description *string `json:"description,omitempty"`

	// Hidden If `true`, the column is excluded from autocomplete and raw data field lists.
	Hidden *bool `json:"hidden,omitempty"`

	// Id Unique identifier (ID), returned in response bodies.
	Id      *string `json:"id,omitempty"`
	KeyName *string `json:"key_name,omitempty"`

	// LastWritten ISO8601 formatted time the column was last written to (received event data).
	LastWritten *string `json:"last_written,omitempty"`

	// Type Type of data that the Column will contain. Histogram is in beta and only works in your Metrics dataset.
	//
	// Example: integer
	Type *ColumnType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the column was updated.
	UpdatedAt *string `json:"updated_at,omitempty"`
}

Column defines model for Column.

type ColumnList

type ColumnList = []Column

ColumnList defines model for ColumnList.

type ColumnType

type ColumnType string

ColumnType Type of data that the Column will contain. Histogram is in beta and only works in your Metrics dataset.

Example: integer

const (
	ColumnTypeBoolean   ColumnType = "boolean"
	ColumnTypeFloat     ColumnType = "float"
	ColumnTypeHistogram ColumnType = "histogram"
	ColumnTypeInteger   ColumnType = "integer"
	ColumnTypeString    ColumnType = "string"
)

Defines values for ColumnType.

func (ColumnType) Valid

func (e ColumnType) Valid() bool

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

type ConfigurationKeyAttributes

type ConfigurationKeyAttributes struct {
	// Disabled Whether the API Key is disabled
	//
	// Example: false
	Disabled *bool `json:"disabled,omitempty"`

	// KeyType The type of API Key
	//
	// Example: configuration
	KeyType ConfigurationKeyAttributesKeyType `json:"key_type"`

	// Name A human-readable name for the API Key
	//
	// Example: us-west-2 collectors key
	Name string `json:"name"`

	// Permissions The permissions granted to this Configuration API Key
	Permissions *struct {
		// CreateDatasets Whether this API Key can create new Datasets
		CreateDatasets *bool `json:"create_datasets,omitempty"`

		// ManageBoards Whether this API Key can manage Boards
		ManageBoards *bool `json:"manage_boards,omitempty"`

		// ManageColumns Whether this API Key can manage Columns and Queries
		ManageColumns *bool `json:"manage_columns,omitempty"`

		// ManageMarkers Whether this API Key can manage Markers
		ManageMarkers *bool `json:"manage_markers,omitempty"`

		// ManagePrivateBoards Whether this API Key can manage Private Boards
		ManagePrivateBoards *bool `json:"manage_privateBoards,omitempty"`

		// ManageRecipients Whether this API Key can manage Recipients
		ManageRecipients *bool `json:"manage_recipients,omitempty"`

		// ManageSignals Whether this API Key can manage Signals (Anomaly Detection)
		ManageSignals *bool `json:"manage_signals,omitempty"`

		// ManageSlos Whether this API Key can manage SLOs
		ManageSlos *bool `json:"manage_slos,omitempty"`

		// ManageTriggers Whether this API Key can manage Triggers
		ManageTriggers *bool `json:"manage_triggers,omitempty"`

		// ReadServiceMaps Whether this API Key can read Service Maps
		ReadServiceMaps *bool `json:"read_service_maps,omitempty"`

		// RunQueries Whether this API Key can run Queries
		RunQueries *bool `json:"run_queries,omitempty"`

		// SendEvents Whether this API Key can send Events
		SendEvents *bool `json:"send_events,omitempty"`

		// VisibleTeamMembers Whether this API Key secret can be accessed by members in the Honeycomb dashboard. The user will only
		// see a redacted key if they aren't an owner when this setting is enabled.
		//
		// This parameter has no effect when used through the API since the API never returns the configuration
		// key secret except at creation.
		VisibleTeamMembers *bool `json:"visible_team_members,omitempty"`
	} `json:"permissions,omitempty"`
	Timestamps *struct {
		// Created The ISO8601-formatted time when the API Key was created.
		//
		// Example: 2022-09-22T17:32:11Z
		Created *time.Time `json:"created,omitempty"`

		// Updated The ISO8601-formatted time when the API Key was updated.
		//
		// Example: 2022-10-31T15:08:11Z
		Updated *time.Time `json:"updated,omitempty"`
	} `json:"timestamps,omitempty"`
}

ConfigurationKeyAttributes defines model for ConfigurationKeyAttributes.

type ConfigurationKeyAttributesKeyType

type ConfigurationKeyAttributesKeyType string

ConfigurationKeyAttributesKeyType The type of API Key

Example: configuration

const (
	ConfigurationKeyAttributesKeyTypeConfiguration ConfigurationKeyAttributesKeyType = "configuration"
)

Defines values for ConfigurationKeyAttributesKeyType.

func (ConfigurationKeyAttributesKeyType) Valid

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

type ConfigurationKeyRequest

type ConfigurationKeyRequest struct {
	Attributes struct {
		// Disabled Whether the API Key is enabled
		//
		// Example: false
		Disabled *bool `json:"disabled,omitempty"`

		// Name A human-readable name for the API Key
		//
		// Example: updated key name
		Name *string `json:"name,omitempty"`

		// Permissions The permissions granted to this Configuration API Key. Values omitted will not be replaced.
		Permissions *struct {
			// CreateDatasets Whether this API Key can create new Datasets
			CreateDatasets *bool `json:"create_datasets,omitempty"`

			// ManageBoards Whether this API Key can manage Boards
			ManageBoards *bool `json:"manage_boards,omitempty"`

			// ManageColumns Whether this API Key can manage Columns and Queries
			ManageColumns *bool `json:"manage_columns,omitempty"`

			// ManageMarkers Whether this API Key can manage Markers
			ManageMarkers *bool `json:"manage_markers,omitempty"`

			// ManagePrivateBoards Whether this API Key can manage Private Boards
			ManagePrivateBoards *bool `json:"manage_privateBoards,omitempty"`

			// ManageRecipients Whether this API Key can manage Recipients
			ManageRecipients *bool `json:"manage_recipients,omitempty"`

			// ManageSlos Whether this API Key can manage SLOs
			ManageSlos *bool `json:"manage_slos,omitempty"`

			// ManageTriggers Whether this API Key can manage Triggers
			ManageTriggers *bool `json:"manage_triggers,omitempty"`

			// ReadServiceMaps Whether this API Key can read Service Maps
			ReadServiceMaps *bool `json:"read_service_maps,omitempty"`

			// RunQueries Whether this API Key can run Queries
			RunQueries *bool `json:"run_queries,omitempty"`

			// SendEvents Whether this API Key can send Events
			SendEvents *bool `json:"send_events,omitempty"`

			// VisibleTeamMembers Whether this API Key can be accessed by members.
			// This value is not checked when fetching API keys through the API, there are no permissions check in the
			// API.
			VisibleTeamMembers *bool `json:"visible_team_members,omitempty"`
		} `json:"permissions,omitempty"`
	} `json:"attributes"`

	// Id The unique identifier of the Configuration Key ID with hcxlk_ prefix
	//
	// Example: hcxlk_12345678901234567890123456
	Id   string                      `json:"id"`
	Type ConfigurationKeyRequestType `json:"type"`
}

ConfigurationKeyRequest defines model for ConfigurationKeyRequest.

type ConfigurationKeyRequestType

type ConfigurationKeyRequestType string

ConfigurationKeyRequestType defines model for ConfigurationKeyRequest.Type.

const (
	ConfigurationKeyRequestTypeApiKeys ConfigurationKeyRequestType = "api-keys"
)

Defines values for ConfigurationKeyRequestType.

func (ConfigurationKeyRequestType) Valid

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

type ConflictApplicationJSON

type ConflictApplicationJSON = Error

ConflictApplicationJSON A legacy error, containing only a textual description.

type ConflictApplicationProblemPlusJSON

type ConflictApplicationProblemPlusJSON = DetailedError

ConflictApplicationProblemPlusJSON An RFC7807 'Problem Detail' formatted error message.

type ConflictApplicationVndAPIPlusJSON

type ConflictApplicationVndAPIPlusJSON = JSONAPIError

ConflictApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type CreateApiKeyApplicationVndAPIPlusJSONRequestBody

type CreateApiKeyApplicationVndAPIPlusJSONRequestBody = ApiKeyCreateRequest

CreateApiKeyApplicationVndAPIPlusJSONRequestBody defines body for CreateApiKey for application/vnd.api+json ContentType.

type CreateApiKeyResp

type CreateApiKeyResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON201 the response for an HTTP 201 `application/vnd.api+json` response
	ApplicationvndApiJSON201 *ApiKeyCreateResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *PayloadTooLarge
	// ApplicationvndApiJSON415 the response for an HTTP 415 `application/vnd.api+json` response
	ApplicationvndApiJSON415 *UnsupportedMediaType
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateApiKeyResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateApiKeyResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateApiKeyResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateApiKeyResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateApiKeyResp429Headers
}

func ParseCreateApiKeyResp

func ParseCreateApiKeyResp(rsp *http.Response) (*CreateApiKeyResp, error)

ParseCreateApiKeyResp parses an HTTP response from a CreateApiKeyWithResponse call

func (CreateApiKeyResp) ContentType

func (r CreateApiKeyResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateApiKeyResp) GetApplicationproblemJSON400

func (r CreateApiKeyResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateApiKeyResp) GetApplicationproblemJSON403

func (r CreateApiKeyResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateApiKeyResp) GetApplicationproblemJSON404

func (r CreateApiKeyResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateApiKeyResp) GetApplicationproblemJSON422

func (r CreateApiKeyResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateApiKeyResp) GetApplicationproblemJSON429

func (r CreateApiKeyResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateApiKeyResp) GetApplicationproblemJSON500

func (r CreateApiKeyResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON201

func (r CreateApiKeyResp) GetApplicationvndApiJSON201() *ApiKeyCreateResponse

GetApplicationvndApiJSON201 returns the response for an HTTP 201 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON400

func (r CreateApiKeyResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON401

func (r CreateApiKeyResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON403

func (r CreateApiKeyResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON404

func (r CreateApiKeyResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON415

func (r CreateApiKeyResp) GetApplicationvndApiJSON415() *UnsupportedMediaType

GetApplicationvndApiJSON415 returns the response for an HTTP 415 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON422

func (r CreateApiKeyResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON429

func (r CreateApiKeyResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateApiKeyResp) GetApplicationvndApiJSON500

func (r CreateApiKeyResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (CreateApiKeyResp) GetBody

func (r CreateApiKeyResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateApiKeyResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateApiKeyResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateApiKeyResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateApiKeyResp) GetJSON404

func (r CreateApiKeyResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateApiKeyResp) GetJSON413

func (r CreateApiKeyResp) GetJSON413() *PayloadTooLarge

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (CreateApiKeyResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateApiKeyResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateApiKeyResp) Status

func (r CreateApiKeyResp) Status() string

Status returns HTTPResponse.Status

func (CreateApiKeyResp) StatusCode

func (r CreateApiKeyResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateApiKeyResp201Headers

type CreateApiKeyResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateApiKeyResp201Headers the declared response headers of an HTTP 201 response for CreateApiKey

type CreateApiKeyResp400Headers

type CreateApiKeyResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateApiKeyResp400Headers the declared response headers of an HTTP 400 response for CreateApiKey

type CreateApiKeyResp404Headers

type CreateApiKeyResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateApiKeyResp404Headers the declared response headers of an HTTP 404 response for CreateApiKey

type CreateApiKeyResp422Headers

type CreateApiKeyResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateApiKeyResp422Headers the declared response headers of an HTTP 422 response for CreateApiKey

type CreateApiKeyResp429Headers

type CreateApiKeyResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateApiKeyResp429Headers the declared response headers of an HTTP 429 response for CreateApiKey

type CreateBoardJSONRequestBody

type CreateBoardJSONRequestBody = Board

CreateBoardJSONRequestBody defines body for CreateBoard for application/json ContentType.

type CreateBoardResp

type CreateBoardResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Board
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateBoardResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateBoardResp400Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateBoardResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateBoardResp429Headers
}

func ParseCreateBoardResp

func ParseCreateBoardResp(rsp *http.Response) (*CreateBoardResp, error)

ParseCreateBoardResp parses an HTTP response from a CreateBoardWithResponse call

func (CreateBoardResp) ContentType

func (r CreateBoardResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateBoardResp) GetApplicationproblemJSON400

func (r CreateBoardResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateBoardResp) GetApplicationproblemJSON403

func (r CreateBoardResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateBoardResp) GetApplicationproblemJSON422

func (r CreateBoardResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateBoardResp) GetApplicationproblemJSON429

func (r CreateBoardResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateBoardResp) GetApplicationvndApiJSON400

func (r CreateBoardResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateBoardResp) GetApplicationvndApiJSON401

func (r CreateBoardResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateBoardResp) GetApplicationvndApiJSON403

func (r CreateBoardResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateBoardResp) GetApplicationvndApiJSON422

func (r CreateBoardResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateBoardResp) GetApplicationvndApiJSON429

func (r CreateBoardResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateBoardResp) GetBody

func (r CreateBoardResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateBoardResp) GetJSON201

func (r CreateBoardResp) GetJSON201() *Board

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateBoardResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateBoardResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateBoardResp) GetJSON403

func (r CreateBoardResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateBoardResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateBoardResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateBoardResp) GetJSONDefault

func (r CreateBoardResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateBoardResp) Status

func (r CreateBoardResp) Status() string

Status returns HTTPResponse.Status

func (CreateBoardResp) StatusCode

func (r CreateBoardResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBoardResp201Headers

type CreateBoardResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardResp201Headers the declared response headers of an HTTP 201 response for CreateBoard

type CreateBoardResp400Headers

type CreateBoardResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardResp400Headers the declared response headers of an HTTP 400 response for CreateBoard

type CreateBoardResp422Headers

type CreateBoardResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardResp422Headers the declared response headers of an HTTP 422 response for CreateBoard

type CreateBoardResp429Headers

type CreateBoardResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateBoardResp429Headers the declared response headers of an HTTP 429 response for CreateBoard

type CreateBoardViewJSONRequestBody

type CreateBoardViewJSONRequestBody = CreateBoardViewRequest

CreateBoardViewJSONRequestBody defines body for CreateBoardView for application/json ContentType.

type CreateBoardViewRequest

type CreateBoardViewRequest struct {
	// Filters The filters to apply to this view.
	Filters []BoardViewFilter `json:"filters"`

	// Name The name of the view.
	//
	// Example: My View
	Name string `json:"name"`
}

CreateBoardViewRequest defines model for CreateBoardViewRequest.

type CreateBoardViewResp

type CreateBoardViewResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *BoardViewResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateBoardViewResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateBoardViewResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateBoardViewResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateBoardViewResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateBoardViewResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateBoardViewResp429Headers
}

func ParseCreateBoardViewResp

func ParseCreateBoardViewResp(rsp *http.Response) (*CreateBoardViewResp, error)

ParseCreateBoardViewResp parses an HTTP response from a CreateBoardViewWithResponse call

func (CreateBoardViewResp) ContentType

func (r CreateBoardViewResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateBoardViewResp) GetApplicationproblemJSON400

func (r CreateBoardViewResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateBoardViewResp) GetApplicationproblemJSON404

func (r CreateBoardViewResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateBoardViewResp) GetApplicationproblemJSON409

func (r CreateBoardViewResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateBoardViewResp) GetApplicationproblemJSON422

func (r CreateBoardViewResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateBoardViewResp) GetApplicationproblemJSON429

func (r CreateBoardViewResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateBoardViewResp) GetApplicationvndApiJSON400

func (r CreateBoardViewResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateBoardViewResp) GetApplicationvndApiJSON401

func (r CreateBoardViewResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateBoardViewResp) GetApplicationvndApiJSON404

func (r CreateBoardViewResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateBoardViewResp) GetApplicationvndApiJSON409

func (r CreateBoardViewResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (CreateBoardViewResp) GetApplicationvndApiJSON422

func (r CreateBoardViewResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateBoardViewResp) GetApplicationvndApiJSON429

func (r CreateBoardViewResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateBoardViewResp) GetBody

func (r CreateBoardViewResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateBoardViewResp) GetJSON201

func (r CreateBoardViewResp) GetJSON201() *BoardViewResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateBoardViewResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateBoardViewResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateBoardViewResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateBoardViewResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateBoardViewResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateBoardViewResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateBoardViewResp) GetJSONDefault

func (r CreateBoardViewResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateBoardViewResp) Status

func (r CreateBoardViewResp) Status() string

Status returns HTTPResponse.Status

func (CreateBoardViewResp) StatusCode

func (r CreateBoardViewResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBoardViewResp201Headers

type CreateBoardViewResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardViewResp201Headers the declared response headers of an HTTP 201 response for CreateBoardView

type CreateBoardViewResp400Headers

type CreateBoardViewResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardViewResp400Headers the declared response headers of an HTTP 400 response for CreateBoardView

type CreateBoardViewResp404Headers

type CreateBoardViewResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardViewResp404Headers the declared response headers of an HTTP 404 response for CreateBoardView

type CreateBoardViewResp409Headers

type CreateBoardViewResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardViewResp409Headers the declared response headers of an HTTP 409 response for CreateBoardView

type CreateBoardViewResp422Headers

type CreateBoardViewResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBoardViewResp422Headers the declared response headers of an HTTP 422 response for CreateBoardView

type CreateBoardViewResp429Headers

type CreateBoardViewResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateBoardViewResp429Headers the declared response headers of an HTTP 429 response for CreateBoardView

type CreateBudgetRateBurnAlertRequest

type CreateBudgetRateBurnAlertRequest struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: budget_rate
	AlertType CreateBudgetRateBurnAlertRequestAlertType `json:"alert_type"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// BudgetRateDecreaseThresholdPerMillion Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// The percent the budget has decreased over the budget rate window, represented as a value out of one million.
	// The alert will fire when this budget decrease threshold is reached.
	//
	// See the table below for some example conversions from desired budget decrease percent to the representation as a value out of one million
	// | Desired percent | Value per million |
	// |-----------------|-------------------|
	// | 0.001%          | 1                 |
	// | 1%              | 10,000            |
	// | 5%              | 50,000            |
	// | 99.99%          | 999,900           |
	//
	//
	// Example: 1000
	BudgetRateDecreaseThresholdPerMillion int `json:"budget_rate_decrease_threshold_per_million"`

	// BudgetRateWindowMinutes Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// Time period (in minutes) over which a budget rate will be calculated.
	//
	// Must be no greater than the associated SLO's time period.
	//
	//
	// Example: 120
	BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when an alert fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	//
	//
	// Example: [{"id":"abcd123","target":"alerts@example.com","type":"email"}]
	Recipients []NotificationRecipient `json:"recipients"`

	// Slo Details about the SLO associated with the burn alert.
	//
	// Example: {"id":"2LBq9LckbcA"}
	Slo struct {
		// Id Unique identifier (ID) of a SLO.
		Id string `json:"id"`
	} `json:"slo"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

CreateBudgetRateBurnAlertRequest defines model for CreateBudgetRateBurnAlertRequest.

type CreateBudgetRateBurnAlertRequestAlertType

type CreateBudgetRateBurnAlertRequestAlertType string

CreateBudgetRateBurnAlertRequestAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: budget_rate

const (
	CreateBudgetRateBurnAlertRequestAlertTypeBudgetRate     CreateBudgetRateBurnAlertRequestAlertType = "budget_rate"
	CreateBudgetRateBurnAlertRequestAlertTypeExhaustionTime CreateBudgetRateBurnAlertRequestAlertType = "exhaustion_time"
)

Defines values for CreateBudgetRateBurnAlertRequestAlertType.

func (CreateBudgetRateBurnAlertRequestAlertType) Valid

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

type CreateBurnAlertJSONRequestBody

type CreateBurnAlertJSONRequestBody = CreateBurnAlertRequest

CreateBurnAlertJSONRequestBody defines body for CreateBurnAlert for application/json ContentType.

type CreateBurnAlertRequest

type CreateBurnAlertRequest struct {
	AlertType string `json:"alert_type"`
	// contains filtered or unexported fields
}

CreateBurnAlertRequest defines model for CreateBurnAlertRequest.

func (CreateBurnAlertRequest) AsCreateBudgetRateBurnAlertRequest

func (t CreateBurnAlertRequest) AsCreateBudgetRateBurnAlertRequest() (CreateBudgetRateBurnAlertRequest, error)

AsCreateBudgetRateBurnAlertRequest returns the union data inside the CreateBurnAlertRequest as a CreateBudgetRateBurnAlertRequest

func (CreateBurnAlertRequest) AsCreateExhaustionTimeBurnAlertRequest

func (t CreateBurnAlertRequest) AsCreateExhaustionTimeBurnAlertRequest() (CreateExhaustionTimeBurnAlertRequest, error)

AsCreateExhaustionTimeBurnAlertRequest returns the union data inside the CreateBurnAlertRequest as a CreateExhaustionTimeBurnAlertRequest

func (CreateBurnAlertRequest) Discriminator

func (t CreateBurnAlertRequest) Discriminator() (string, error)

func (*CreateBurnAlertRequest) FromCreateBudgetRateBurnAlertRequest

func (t *CreateBurnAlertRequest) FromCreateBudgetRateBurnAlertRequest(v CreateBudgetRateBurnAlertRequest) error

FromCreateBudgetRateBurnAlertRequest overwrites any union data inside the CreateBurnAlertRequest as the provided CreateBudgetRateBurnAlertRequest

func (*CreateBurnAlertRequest) FromCreateExhaustionTimeBurnAlertRequest

func (t *CreateBurnAlertRequest) FromCreateExhaustionTimeBurnAlertRequest(v CreateExhaustionTimeBurnAlertRequest) error

FromCreateExhaustionTimeBurnAlertRequest overwrites any union data inside the CreateBurnAlertRequest as the provided CreateExhaustionTimeBurnAlertRequest

func (CreateBurnAlertRequest) MarshalJSON

func (t CreateBurnAlertRequest) MarshalJSON() ([]byte, error)

func (*CreateBurnAlertRequest) MergeCreateBudgetRateBurnAlertRequest

func (t *CreateBurnAlertRequest) MergeCreateBudgetRateBurnAlertRequest(v CreateBudgetRateBurnAlertRequest) error

MergeCreateBudgetRateBurnAlertRequest performs a merge with any union data inside the CreateBurnAlertRequest, using the provided CreateBudgetRateBurnAlertRequest

func (*CreateBurnAlertRequest) MergeCreateExhaustionTimeBurnAlertRequest

func (t *CreateBurnAlertRequest) MergeCreateExhaustionTimeBurnAlertRequest(v CreateExhaustionTimeBurnAlertRequest) error

MergeCreateExhaustionTimeBurnAlertRequest performs a merge with any union data inside the CreateBurnAlertRequest, using the provided CreateExhaustionTimeBurnAlertRequest

func (*CreateBurnAlertRequest) UnmarshalJSON

func (t *CreateBurnAlertRequest) UnmarshalJSON(b []byte) error

func (CreateBurnAlertRequest) ValueByDiscriminator

func (t CreateBurnAlertRequest) ValueByDiscriminator() (interface{}, error)

type CreateBurnAlertResp

type CreateBurnAlertResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *BurnAlertDetailResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateBurnAlertResp201Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateBurnAlertResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateBurnAlertResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateBurnAlertResp429Headers
}

func ParseCreateBurnAlertResp

func ParseCreateBurnAlertResp(rsp *http.Response) (*CreateBurnAlertResp, error)

ParseCreateBurnAlertResp parses an HTTP response from a CreateBurnAlertWithResponse call

func (CreateBurnAlertResp) ContentType

func (r CreateBurnAlertResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateBurnAlertResp) GetApplicationproblemJSON403

func (r CreateBurnAlertResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateBurnAlertResp) GetApplicationproblemJSON404

func (r CreateBurnAlertResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateBurnAlertResp) GetApplicationproblemJSON422

func (r CreateBurnAlertResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateBurnAlertResp) GetApplicationproblemJSON429

func (r CreateBurnAlertResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateBurnAlertResp) GetApplicationvndApiJSON403

func (r CreateBurnAlertResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateBurnAlertResp) GetApplicationvndApiJSON404

func (r CreateBurnAlertResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateBurnAlertResp) GetApplicationvndApiJSON422

func (r CreateBurnAlertResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateBurnAlertResp) GetApplicationvndApiJSON429

func (r CreateBurnAlertResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateBurnAlertResp) GetBody

func (r CreateBurnAlertResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateBurnAlertResp) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateBurnAlertResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateBurnAlertResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateBurnAlertResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateBurnAlertResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateBurnAlertResp) GetJSONDefault

func (r CreateBurnAlertResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateBurnAlertResp) Status

func (r CreateBurnAlertResp) Status() string

Status returns HTTPResponse.Status

func (CreateBurnAlertResp) StatusCode

func (r CreateBurnAlertResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBurnAlertResp201Headers

type CreateBurnAlertResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBurnAlertResp201Headers the declared response headers of an HTTP 201 response for CreateBurnAlert

type CreateBurnAlertResp404Headers

type CreateBurnAlertResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBurnAlertResp404Headers the declared response headers of an HTTP 404 response for CreateBurnAlert

type CreateBurnAlertResp422Headers

type CreateBurnAlertResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateBurnAlertResp422Headers the declared response headers of an HTTP 422 response for CreateBurnAlert

type CreateBurnAlertResp429Headers

type CreateBurnAlertResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateBurnAlertResp429Headers the declared response headers of an HTTP 429 response for CreateBurnAlert

type CreateCalculatedFieldJSONRequestBody

type CreateCalculatedFieldJSONRequestBody = CalculatedField

CreateCalculatedFieldJSONRequestBody defines body for CreateCalculatedField for application/json ContentType.

type CreateCalculatedFieldResp

type CreateCalculatedFieldResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CalculatedField
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateCalculatedFieldResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateCalculatedFieldResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateCalculatedFieldResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateCalculatedFieldResp409Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateCalculatedFieldResp429Headers
}

func ParseCreateCalculatedFieldResp

func ParseCreateCalculatedFieldResp(rsp *http.Response) (*CreateCalculatedFieldResp, error)

ParseCreateCalculatedFieldResp parses an HTTP response from a CreateCalculatedFieldWithResponse call

func (CreateCalculatedFieldResp) ContentType

func (r CreateCalculatedFieldResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCalculatedFieldResp) GetApplicationproblemJSON400

func (r CreateCalculatedFieldResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateCalculatedFieldResp) GetApplicationproblemJSON403

func (r CreateCalculatedFieldResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateCalculatedFieldResp) GetApplicationproblemJSON404

func (r CreateCalculatedFieldResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateCalculatedFieldResp) GetApplicationproblemJSON409

func (r CreateCalculatedFieldResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateCalculatedFieldResp) GetApplicationproblemJSON429

func (r CreateCalculatedFieldResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateCalculatedFieldResp) GetApplicationvndApiJSON400

func (r CreateCalculatedFieldResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateCalculatedFieldResp) GetApplicationvndApiJSON401

func (r CreateCalculatedFieldResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateCalculatedFieldResp) GetApplicationvndApiJSON403

func (r CreateCalculatedFieldResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateCalculatedFieldResp) GetApplicationvndApiJSON404

func (r CreateCalculatedFieldResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateCalculatedFieldResp) GetApplicationvndApiJSON409

func (r CreateCalculatedFieldResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (CreateCalculatedFieldResp) GetApplicationvndApiJSON429

func (r CreateCalculatedFieldResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateCalculatedFieldResp) GetBody

func (r CreateCalculatedFieldResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateCalculatedFieldResp) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateCalculatedFieldResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateCalculatedFieldResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateCalculatedFieldResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateCalculatedFieldResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateCalculatedFieldResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateCalculatedFieldResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateCalculatedFieldResp) Status

func (r CreateCalculatedFieldResp) Status() string

Status returns HTTPResponse.Status

func (CreateCalculatedFieldResp) StatusCode

func (r CreateCalculatedFieldResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateCalculatedFieldResp201Headers

type CreateCalculatedFieldResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateCalculatedFieldResp201Headers the declared response headers of an HTTP 201 response for CreateCalculatedField

type CreateCalculatedFieldResp400Headers

type CreateCalculatedFieldResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateCalculatedFieldResp400Headers the declared response headers of an HTTP 400 response for CreateCalculatedField

type CreateCalculatedFieldResp404Headers

type CreateCalculatedFieldResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateCalculatedFieldResp404Headers the declared response headers of an HTTP 404 response for CreateCalculatedField

type CreateCalculatedFieldResp409Headers

type CreateCalculatedFieldResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateCalculatedFieldResp409Headers the declared response headers of an HTTP 409 response for CreateCalculatedField

type CreateCalculatedFieldResp429Headers

type CreateCalculatedFieldResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateCalculatedFieldResp429Headers the declared response headers of an HTTP 429 response for CreateCalculatedField

type CreateColumn

type CreateColumn struct {
	// CreatedAt ISO8601 formatted time the column was created.
	CreatedAt *string `json:"created_at,omitempty"`

	// Description Column description.
	//
	// Example: An integer column
	Description *string `json:"description,omitempty"`

	// Hidden If `true`, the column is excluded from autocomplete and raw data field lists.
	Hidden *bool `json:"hidden,omitempty"`

	// Id Unique identifier (ID), returned in response bodies.
	Id *string `json:"id,omitempty"`

	// KeyName Name of the Column.
	//
	// Example: my_column
	KeyName string `json:"key_name"`

	// LastWritten ISO8601 formatted time the column was last written to (received event data).
	LastWritten *string `json:"last_written,omitempty"`

	// Type Type of data that the Column will contain. Histogram is in beta and only works in your Metrics dataset.
	//
	// Example: integer
	Type *CreateColumnType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the column was updated.
	UpdatedAt *string `json:"updated_at,omitempty"`
}

CreateColumn defines model for CreateColumn.

type CreateColumnJSONRequestBody

type CreateColumnJSONRequestBody = CreateColumn

CreateColumnJSONRequestBody defines body for CreateColumn for application/json ContentType.

type CreateColumnResp

type CreateColumnResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Column
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *UnprocessableEntityApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *UnprocessableEntityApplicationProblemPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateColumnResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateColumnResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateColumnResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateColumnResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateColumnResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateColumnResp429Headers
}

func ParseCreateColumnResp

func ParseCreateColumnResp(rsp *http.Response) (*CreateColumnResp, error)

ParseCreateColumnResp parses an HTTP response from a CreateColumnWithResponse call

func (CreateColumnResp) ContentType

func (r CreateColumnResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateColumnResp) GetApplicationproblemJSON403

func (r CreateColumnResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateColumnResp) GetApplicationproblemJSON404

func (r CreateColumnResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateColumnResp) GetApplicationproblemJSON409

func (r CreateColumnResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateColumnResp) GetApplicationproblemJSON422

func (r CreateColumnResp) GetApplicationproblemJSON422() *UnprocessableEntityApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateColumnResp) GetApplicationproblemJSON429

func (r CreateColumnResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateColumnResp) GetApplicationvndApiJSON401

func (r CreateColumnResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateColumnResp) GetApplicationvndApiJSON403

func (r CreateColumnResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateColumnResp) GetApplicationvndApiJSON404

func (r CreateColumnResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateColumnResp) GetApplicationvndApiJSON409

func (r CreateColumnResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (CreateColumnResp) GetApplicationvndApiJSON429

func (r CreateColumnResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateColumnResp) GetBody

func (r CreateColumnResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateColumnResp) GetJSON201

func (r CreateColumnResp) GetJSON201() *Column

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateColumnResp) GetJSON400

func (r CreateColumnResp) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateColumnResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateColumnResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateColumnResp) GetJSON404

func (r CreateColumnResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateColumnResp) GetJSON409

func (r CreateColumnResp) GetJSON409() *ConflictApplicationJSON

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateColumnResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateColumnResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateColumnResp) Status

func (r CreateColumnResp) Status() string

Status returns HTTPResponse.Status

func (CreateColumnResp) StatusCode

func (r CreateColumnResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateColumnResp201Headers

type CreateColumnResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateColumnResp201Headers the declared response headers of an HTTP 201 response for CreateColumn

type CreateColumnResp400Headers

type CreateColumnResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateColumnResp400Headers the declared response headers of an HTTP 400 response for CreateColumn

type CreateColumnResp404Headers

type CreateColumnResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateColumnResp404Headers the declared response headers of an HTTP 404 response for CreateColumn

type CreateColumnResp409Headers

type CreateColumnResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateColumnResp409Headers the declared response headers of an HTTP 409 response for CreateColumn

type CreateColumnResp422Headers

type CreateColumnResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateColumnResp422Headers the declared response headers of an HTTP 422 response for CreateColumn

type CreateColumnResp429Headers

type CreateColumnResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateColumnResp429Headers the declared response headers of an HTTP 429 response for CreateColumn

type CreateColumnType

type CreateColumnType string

CreateColumnType Type of data that the Column will contain. Histogram is in beta and only works in your Metrics dataset.

Example: integer

const (
	CreateColumnTypeBoolean   CreateColumnType = "boolean"
	CreateColumnTypeFloat     CreateColumnType = "float"
	CreateColumnTypeHistogram CreateColumnType = "histogram"
	CreateColumnTypeInteger   CreateColumnType = "integer"
	CreateColumnTypeString    CreateColumnType = "string"
)

Defines values for CreateColumnType.

func (CreateColumnType) Valid

func (e CreateColumnType) Valid() bool

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

type CreateDatasetJSONRequestBody

type CreateDatasetJSONRequestBody = DatasetCreationPayload

CreateDatasetJSONRequestBody defines body for CreateDataset for application/json ContentType.

type CreateDatasetResp

type CreateDatasetResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Dataset
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Dataset
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *Error
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *DetailedError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *CreateDatasetResp200Headers
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateDatasetResp201Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateDatasetResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateDatasetResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateDatasetResp429Headers
}

func ParseCreateDatasetResp

func ParseCreateDatasetResp(rsp *http.Response) (*CreateDatasetResp, error)

ParseCreateDatasetResp parses an HTTP response from a CreateDatasetWithResponse call

func (CreateDatasetResp) ContentType

func (r CreateDatasetResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDatasetResp) GetApplicationproblemJSON403

func (r CreateDatasetResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateDatasetResp) GetApplicationproblemJSON409

func (r CreateDatasetResp) GetApplicationproblemJSON409() *DetailedError

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateDatasetResp) GetApplicationproblemJSON422

func (r CreateDatasetResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateDatasetResp) GetApplicationproblemJSON429

func (r CreateDatasetResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateDatasetResp) GetApplicationvndApiJSON401

func (r CreateDatasetResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateDatasetResp) GetApplicationvndApiJSON403

func (r CreateDatasetResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateDatasetResp) GetApplicationvndApiJSON422

func (r CreateDatasetResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateDatasetResp) GetApplicationvndApiJSON429

func (r CreateDatasetResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateDatasetResp) GetBody

func (r CreateDatasetResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateDatasetResp) GetJSON200

func (r CreateDatasetResp) GetJSON200() *Dataset

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateDatasetResp) GetJSON201

func (r CreateDatasetResp) GetJSON201() *Dataset

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateDatasetResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateDatasetResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateDatasetResp) GetJSON409

func (r CreateDatasetResp) GetJSON409() *Error

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateDatasetResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateDatasetResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateDatasetResp) GetJSONDefault

func (r CreateDatasetResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateDatasetResp) Status

func (r CreateDatasetResp) Status() string

Status returns HTTPResponse.Status

func (CreateDatasetResp) StatusCode

func (r CreateDatasetResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDatasetResp200Headers

type CreateDatasetResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateDatasetResp200Headers the declared response headers of an HTTP 200 response for CreateDataset

type CreateDatasetResp201Headers

type CreateDatasetResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateDatasetResp201Headers the declared response headers of an HTTP 201 response for CreateDataset

type CreateDatasetResp409Headers

type CreateDatasetResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateDatasetResp409Headers the declared response headers of an HTTP 409 response for CreateDataset

type CreateDatasetResp422Headers

type CreateDatasetResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateDatasetResp422Headers the declared response headers of an HTTP 422 response for CreateDataset

type CreateDatasetResp429Headers

type CreateDatasetResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateDatasetResp429Headers the declared response headers of an HTTP 429 response for CreateDataset

type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody

type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody = CreateEnvironmentRequest

CreateEnvironmentApplicationVndAPIPlusJSONRequestBody defines body for CreateEnvironment for application/vnd.api+json ContentType.

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {
	Data struct {
		Attributes struct {
			Color       *EnvironmentColor `json:"color,omitempty"`
			Description *string           `json:"description,omitempty"`
			Name        string            `json:"name"`
		} `json:"attributes"`
		Type CreateEnvironmentRequestDataType `json:"type"`
	} `json:"data"`
}

CreateEnvironmentRequest defines model for CreateEnvironmentRequest.

type CreateEnvironmentRequestDataType

type CreateEnvironmentRequestDataType string

CreateEnvironmentRequestDataType defines model for CreateEnvironmentRequest.Data.Type.

const (
	CreateEnvironmentRequestDataTypeEnvironments CreateEnvironmentRequestDataType = "environments"
)

Defines values for CreateEnvironmentRequestDataType.

func (CreateEnvironmentRequestDataType) Valid

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

type CreateEnvironmentResp

type CreateEnvironmentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON201 the response for an HTTP 201 `application/vnd.api+json` response
	ApplicationvndApiJSON201 *EnvironmentResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *PayloadTooLarge
	// ApplicationvndApiJSON415 the response for an HTTP 415 `application/vnd.api+json` response
	ApplicationvndApiJSON415 *UnsupportedMediaType
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateEnvironmentResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateEnvironmentResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateEnvironmentResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateEnvironmentResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateEnvironmentResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateEnvironmentResp429Headers
}

func ParseCreateEnvironmentResp

func ParseCreateEnvironmentResp(rsp *http.Response) (*CreateEnvironmentResp, error)

ParseCreateEnvironmentResp parses an HTTP response from a CreateEnvironmentWithResponse call

func (CreateEnvironmentResp) ContentType

func (r CreateEnvironmentResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateEnvironmentResp) GetApplicationproblemJSON400

func (r CreateEnvironmentResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateEnvironmentResp) GetApplicationproblemJSON403

func (r CreateEnvironmentResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateEnvironmentResp) GetApplicationproblemJSON404

func (r CreateEnvironmentResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateEnvironmentResp) GetApplicationproblemJSON409

func (r CreateEnvironmentResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateEnvironmentResp) GetApplicationproblemJSON422

func (r CreateEnvironmentResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateEnvironmentResp) GetApplicationproblemJSON429

func (r CreateEnvironmentResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateEnvironmentResp) GetApplicationproblemJSON500

func (r CreateEnvironmentResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON201

func (r CreateEnvironmentResp) GetApplicationvndApiJSON201() *EnvironmentResponse

GetApplicationvndApiJSON201 returns the response for an HTTP 201 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON400

func (r CreateEnvironmentResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON401

func (r CreateEnvironmentResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON403

func (r CreateEnvironmentResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON404

func (r CreateEnvironmentResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON409

func (r CreateEnvironmentResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON415

func (r CreateEnvironmentResp) GetApplicationvndApiJSON415() *UnsupportedMediaType

GetApplicationvndApiJSON415 returns the response for an HTTP 415 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON422

func (r CreateEnvironmentResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON429

func (r CreateEnvironmentResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetApplicationvndApiJSON500

func (r CreateEnvironmentResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (CreateEnvironmentResp) GetBody

func (r CreateEnvironmentResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateEnvironmentResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateEnvironmentResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateEnvironmentResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateEnvironmentResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateEnvironmentResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateEnvironmentResp) GetJSON413

func (r CreateEnvironmentResp) GetJSON413() *PayloadTooLarge

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (CreateEnvironmentResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateEnvironmentResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateEnvironmentResp) Status

func (r CreateEnvironmentResp) Status() string

Status returns HTTPResponse.Status

func (CreateEnvironmentResp) StatusCode

func (r CreateEnvironmentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEnvironmentResp201Headers

type CreateEnvironmentResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateEnvironmentResp201Headers the declared response headers of an HTTP 201 response for CreateEnvironment

type CreateEnvironmentResp400Headers

type CreateEnvironmentResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateEnvironmentResp400Headers the declared response headers of an HTTP 400 response for CreateEnvironment

type CreateEnvironmentResp404Headers

type CreateEnvironmentResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateEnvironmentResp404Headers the declared response headers of an HTTP 404 response for CreateEnvironment

type CreateEnvironmentResp409Headers

type CreateEnvironmentResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateEnvironmentResp409Headers the declared response headers of an HTTP 409 response for CreateEnvironment

type CreateEnvironmentResp422Headers

type CreateEnvironmentResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateEnvironmentResp422Headers the declared response headers of an HTTP 422 response for CreateEnvironment

type CreateEnvironmentResp429Headers

type CreateEnvironmentResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateEnvironmentResp429Headers the declared response headers of an HTTP 429 response for CreateEnvironment

type CreateEventJSONRequestBody

type CreateEventJSONRequestBody = Event

CreateEventJSONRequestBody defines body for CreateEvent for application/json ContentType.

type CreateEventParams

type CreateEventParams struct {
	// XHoneycombEventTime The Event's timestamp. Optional. Defaults to server time.
	XHoneycombEventTime *int `json:"X-Honeycomb-Event-Time,omitempty"`

	// XHoneycombSamplerate Optional. Defaults to 1.
	XHoneycombSamplerate *int `json:"X-Honeycomb-Samplerate,omitempty"`
}

CreateEventParams defines parameters for CreateEvent.

type CreateEventResp

type CreateEventResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *Error
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateEventResp404Headers
}

func ParseCreateEventResp

func ParseCreateEventResp(rsp *http.Response) (*CreateEventResp, error)

ParseCreateEventResp parses an HTTP response from a CreateEventWithResponse call

func (CreateEventResp) ContentType

func (r CreateEventResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateEventResp) GetApplicationproblemJSON404

func (r CreateEventResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateEventResp) GetApplicationvndApiJSON401

func (r CreateEventResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateEventResp) GetApplicationvndApiJSON404

func (r CreateEventResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateEventResp) GetBody

func (r CreateEventResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateEventResp) GetJSON400

func (r CreateEventResp) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateEventResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateEventResp) GetJSON403

func (r CreateEventResp) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateEventResp) GetJSON404

func (r CreateEventResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateEventResp) GetJSON429

func (r CreateEventResp) GetJSON429() *Error

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateEventResp) Status

func (r CreateEventResp) Status() string

Status returns HTTPResponse.Status

func (CreateEventResp) StatusCode

func (r CreateEventResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEventResp404Headers

type CreateEventResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateEventResp404Headers the declared response headers of an HTTP 404 response for CreateEvent

type CreateEventsJSONBody

type CreateEventsJSONBody = []BatchEvent

CreateEventsJSONBody defines parameters for CreateEvents.

type CreateEventsJSONRequestBody

type CreateEventsJSONRequestBody = CreateEventsJSONBody

CreateEventsJSONRequestBody defines body for CreateEvents for application/json ContentType.

type CreateEventsParams

type CreateEventsParams struct {
	// ContentEncoding Included when sending events in a file. Size limitations may be addressed by compressing request bodies with gzip or zstd compression. Be sure to set the Content-Encoding to `gzip` or `zstd` when compressing the request body. If sending plaintext, omit this header; "plaintext" is included to simplify the example with curl.
	ContentEncoding *CreateEventsParamsContentEncoding `json:"Content-Encoding,omitempty"`
}

CreateEventsParams defines parameters for CreateEvents.

type CreateEventsParamsContentEncoding

type CreateEventsParamsContentEncoding string

CreateEventsParamsContentEncoding defines parameters for CreateEvents.

Defines values for CreateEventsParamsContentEncoding.

func (CreateEventsParamsContentEncoding) Valid

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

type CreateEventsResp

type CreateEventsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		Error  *string  `json:"error,omitempty"`
		Status *float32 `json:"status,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *Error
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateEventsResp404Headers
}

func ParseCreateEventsResp

func ParseCreateEventsResp(rsp *http.Response) (*CreateEventsResp, error)

ParseCreateEventsResp parses an HTTP response from a CreateEventsWithResponse call

func (CreateEventsResp) ContentType

func (r CreateEventsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateEventsResp) GetApplicationproblemJSON404

func (r CreateEventsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateEventsResp) GetApplicationvndApiJSON401

func (r CreateEventsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateEventsResp) GetApplicationvndApiJSON404

func (r CreateEventsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateEventsResp) GetBody

func (r CreateEventsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateEventsResp) GetJSON200

func (r CreateEventsResp) GetJSON200() *[]struct {
	Error  *string  `json:"error,omitempty"`
	Status *float32 `json:"status,omitempty"`
}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateEventsResp) GetJSON400

func (r CreateEventsResp) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateEventsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateEventsResp) GetJSON403

func (r CreateEventsResp) GetJSON403() *Error

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateEventsResp) GetJSON404

func (r CreateEventsResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateEventsResp) GetJSON429

func (r CreateEventsResp) GetJSON429() *Error

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateEventsResp) Status

func (r CreateEventsResp) Status() string

Status returns HTTPResponse.Status

func (CreateEventsResp) StatusCode

func (r CreateEventsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEventsResp404Headers

type CreateEventsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateEventsResp404Headers the declared response headers of an HTTP 404 response for CreateEvents

type CreateExhaustionTimeBurnAlertRequest

type CreateExhaustionTimeBurnAlertRequest struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: exhaustion_time
	AlertType *CreateExhaustionTimeBurnAlertRequestAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// ExhaustionMinutes Required when `alert_type` is `exhaustion_time`.
	//
	// Must not be specified when `alert_type` is `budget_rate`.
	//
	// Amount of time (in minutes) left until your projected SLO budget is exhausted.
	// The alert will fire when this exhaustion threshold is reached.
	//
	//
	// Example: 120
	ExhaustionMinutes int `json:"exhaustion_minutes"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when an alert fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	//
	//
	// Example: [{"id":"abcd123","target":"alerts@example.com","type":"email"}]
	Recipients []NotificationRecipient `json:"recipients"`

	// Slo Details about the SLO associated with the burn alert.
	//
	// Example: {"id":"2LBq9LckbcA"}
	Slo struct {
		// Id Unique identifier (ID) of a SLO.
		Id string `json:"id"`
	} `json:"slo"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

CreateExhaustionTimeBurnAlertRequest defines model for CreateExhaustionTimeBurnAlertRequest.

type CreateExhaustionTimeBurnAlertRequestAlertType

type CreateExhaustionTimeBurnAlertRequestAlertType string

CreateExhaustionTimeBurnAlertRequestAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: exhaustion_time

const (
	CreateExhaustionTimeBurnAlertRequestAlertTypeBudgetRate     CreateExhaustionTimeBurnAlertRequestAlertType = "budget_rate"
	CreateExhaustionTimeBurnAlertRequestAlertTypeExhaustionTime CreateExhaustionTimeBurnAlertRequestAlertType = "exhaustion_time"
)

Defines values for CreateExhaustionTimeBurnAlertRequestAlertType.

func (CreateExhaustionTimeBurnAlertRequestAlertType) Valid

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

type CreateKinesisEventsJSONRequestBody

type CreateKinesisEventsJSONRequestBody = KinesisEvent

CreateKinesisEventsJSONRequestBody defines body for CreateKinesisEvents for application/json ContentType.

type CreateKinesisEventsParams

type CreateKinesisEventsParams struct {
	// XAmzFirehoseRequestId AWS Request ID associated with the Kinesis Firehose.
	XAmzFirehoseRequestId string `json:"X-Amz-Firehose-Request-Id"`
}

CreateKinesisEventsParams defines parameters for CreateKinesisEvents.

type CreateKinesisEventsResp

type CreateKinesisEventsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *KinesisResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
}

func ParseCreateKinesisEventsResp

func ParseCreateKinesisEventsResp(rsp *http.Response) (*CreateKinesisEventsResp, error)

ParseCreateKinesisEventsResp parses an HTTP response from a CreateKinesisEventsWithResponse call

func (CreateKinesisEventsResp) ContentType

func (r CreateKinesisEventsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateKinesisEventsResp) GetApplicationvndApiJSON401

func (r CreateKinesisEventsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateKinesisEventsResp) GetBody

func (r CreateKinesisEventsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateKinesisEventsResp) GetJSON200

func (r CreateKinesisEventsResp) GetJSON200() *KinesisResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateKinesisEventsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateKinesisEventsResp) GetJSONDefault

func (r CreateKinesisEventsResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateKinesisEventsResp) Status

func (r CreateKinesisEventsResp) Status() string

Status returns HTTPResponse.Status

func (CreateKinesisEventsResp) StatusCode

func (r CreateKinesisEventsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMapDependenciesRequest

type CreateMapDependenciesRequest struct {
	// EndTime Absolute end time to evaluate dependencies, in seconds since UNIX epoch. Must be >= `start_time` (when `time_range` is not provided).
	//
	//
	// Example: 1622635200
	EndTime *int `json:"end_time,omitempty"`

	// Filters Optional list of service nodes to filter dependencies by. Only dependencies involving these nodes will be returned.
	Filters *[]MapNode `json:"filters,omitempty"`

	// StartTime Absolute start time to evaluate dependencies, in seconds since UNIX epoch. Must be <= `end_time` (when `time_range` is not provided).
	//
	//
	// Example: 1622548800
	StartTime *int `json:"start_time,omitempty"`

	// TimeRange Time range in seconds (minimum 1). Can be used with either `start_time` (seconds after `start_time`), `end_time` (seconds before `end_time`), or without either (seconds before now).
	//
	//
	// Example: 7200
	TimeRange *int `json:"time_range,omitempty"`
}

CreateMapDependenciesRequest Create a Map Dependency Request.

type CreateMapDependenciesResponse

type CreateMapDependenciesResponse struct {
	// RequestId Unique identifier for the Map Dependency Request.
	//
	//
	// Example: abc123
	RequestId *string `json:"request_id,omitempty"`

	// Status Status of the Map Dependency Request.
	//
	//
	// Example: pending
	Status *CreateMapDependenciesResponseStatus `json:"status,omitempty"`
}

CreateMapDependenciesResponse Response for a Map Dependency Request.

type CreateMapDependenciesResponseStatus

type CreateMapDependenciesResponseStatus string

CreateMapDependenciesResponseStatus Status of the Map Dependency Request.

Example: pending

const (
	CreateMapDependenciesResponseStatusError   CreateMapDependenciesResponseStatus = "error"
	CreateMapDependenciesResponseStatusPending CreateMapDependenciesResponseStatus = "pending"
	CreateMapDependenciesResponseStatusReady   CreateMapDependenciesResponseStatus = "ready"
)

Defines values for CreateMapDependenciesResponseStatus.

func (CreateMapDependenciesResponseStatus) Valid

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

type CreateMapDependencyRequestJSONRequestBody

type CreateMapDependencyRequestJSONRequestBody = CreateMapDependenciesRequest

CreateMapDependencyRequestJSONRequestBody defines body for CreateMapDependencyRequest for application/json ContentType.

type CreateMapDependencyRequestParams

type CreateMapDependencyRequestParams struct {
	// Limit Maximum number of dependencies to return. Default is 10000, maximum is 64000.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

CreateMapDependencyRequestParams defines parameters for CreateMapDependencyRequest.

type CreateMapDependencyRequestResp

type CreateMapDependencyRequestResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CreateMapDependenciesResponse
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CreateMapDependenciesResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *CreateMapDependencyRequestResp200Headers
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateMapDependencyRequestResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateMapDependencyRequestResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateMapDependencyRequestResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateMapDependencyRequestResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateMapDependencyRequestResp429Headers
}

func ParseCreateMapDependencyRequestResp

func ParseCreateMapDependencyRequestResp(rsp *http.Response) (*CreateMapDependencyRequestResp, error)

ParseCreateMapDependencyRequestResp parses an HTTP response from a CreateMapDependencyRequestWithResponse call

func (CreateMapDependencyRequestResp) ContentType

func (r CreateMapDependencyRequestResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateMapDependencyRequestResp) GetApplicationproblemJSON400

func (r CreateMapDependencyRequestResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateMapDependencyRequestResp) GetApplicationproblemJSON403

func (r CreateMapDependencyRequestResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateMapDependencyRequestResp) GetApplicationproblemJSON404

func (r CreateMapDependencyRequestResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateMapDependencyRequestResp) GetApplicationproblemJSON422

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateMapDependencyRequestResp) GetApplicationproblemJSON429

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateMapDependencyRequestResp) GetApplicationvndApiJSON400

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateMapDependencyRequestResp) GetApplicationvndApiJSON401

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateMapDependencyRequestResp) GetApplicationvndApiJSON403

func (r CreateMapDependencyRequestResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateMapDependencyRequestResp) GetApplicationvndApiJSON404

func (r CreateMapDependencyRequestResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateMapDependencyRequestResp) GetApplicationvndApiJSON422

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateMapDependencyRequestResp) GetApplicationvndApiJSON429

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateMapDependencyRequestResp) GetBody

func (r CreateMapDependencyRequestResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateMapDependencyRequestResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateMapDependencyRequestResp) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateMapDependencyRequestResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateMapDependencyRequestResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateMapDependencyRequestResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateMapDependencyRequestResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateMapDependencyRequestResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateMapDependencyRequestResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateMapDependencyRequestResp) GetJSONDefault

func (r CreateMapDependencyRequestResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateMapDependencyRequestResp) Status

Status returns HTTPResponse.Status

func (CreateMapDependencyRequestResp) StatusCode

func (r CreateMapDependencyRequestResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMapDependencyRequestResp200Headers

type CreateMapDependencyRequestResp200Headers struct {
	LastModified    *string
	Location        *string
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMapDependencyRequestResp200Headers the declared response headers of an HTTP 200 response for CreateMapDependencyRequest

type CreateMapDependencyRequestResp201Headers

type CreateMapDependencyRequestResp201Headers struct {
	LastModified    *string
	Location        *string
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMapDependencyRequestResp201Headers the declared response headers of an HTTP 201 response for CreateMapDependencyRequest

type CreateMapDependencyRequestResp400Headers

type CreateMapDependencyRequestResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMapDependencyRequestResp400Headers the declared response headers of an HTTP 400 response for CreateMapDependencyRequest

type CreateMapDependencyRequestResp404Headers

type CreateMapDependencyRequestResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMapDependencyRequestResp404Headers the declared response headers of an HTTP 404 response for CreateMapDependencyRequest

type CreateMapDependencyRequestResp422Headers

type CreateMapDependencyRequestResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMapDependencyRequestResp422Headers the declared response headers of an HTTP 422 response for CreateMapDependencyRequest

type CreateMapDependencyRequestResp429Headers

type CreateMapDependencyRequestResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateMapDependencyRequestResp429Headers the declared response headers of an HTTP 429 response for CreateMapDependencyRequest

type CreateMarkerJSONRequestBody

type CreateMarkerJSONRequestBody = Marker

CreateMarkerJSONRequestBody defines body for CreateMarker for application/json ContentType.

type CreateMarkerResp

type CreateMarkerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Marker
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateMarkerResp201Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateMarkerResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateMarkerResp429Headers
}

func ParseCreateMarkerResp

func ParseCreateMarkerResp(rsp *http.Response) (*CreateMarkerResp, error)

ParseCreateMarkerResp parses an HTTP response from a CreateMarkerWithResponse call

func (CreateMarkerResp) ContentType

func (r CreateMarkerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateMarkerResp) GetApplicationproblemJSON404

func (r CreateMarkerResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateMarkerResp) GetApplicationproblemJSON429

func (r CreateMarkerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateMarkerResp) GetApplicationvndApiJSON401

func (r CreateMarkerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateMarkerResp) GetApplicationvndApiJSON404

func (r CreateMarkerResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateMarkerResp) GetApplicationvndApiJSON429

func (r CreateMarkerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateMarkerResp) GetBody

func (r CreateMarkerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateMarkerResp) GetJSON201

func (r CreateMarkerResp) GetJSON201() *Marker

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateMarkerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateMarkerResp) GetJSON404

func (r CreateMarkerResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateMarkerResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateMarkerResp) GetJSONDefault

func (r CreateMarkerResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateMarkerResp) Status

func (r CreateMarkerResp) Status() string

Status returns HTTPResponse.Status

func (CreateMarkerResp) StatusCode

func (r CreateMarkerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMarkerResp201Headers

type CreateMarkerResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMarkerResp201Headers the declared response headers of an HTTP 201 response for CreateMarker

type CreateMarkerResp404Headers

type CreateMarkerResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMarkerResp404Headers the declared response headers of an HTTP 404 response for CreateMarker

type CreateMarkerResp429Headers

type CreateMarkerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateMarkerResp429Headers the declared response headers of an HTTP 429 response for CreateMarker

type CreateMarkerSettingJSONRequestBody

type CreateMarkerSettingJSONRequestBody = MarkerSetting

CreateMarkerSettingJSONRequestBody defines body for CreateMarkerSetting for application/json ContentType.

type CreateMarkerSettingResp

type CreateMarkerSettingResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *MarkerSetting
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateMarkerSettingResp201Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateMarkerSettingResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateMarkerSettingResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateMarkerSettingResp429Headers
}

func ParseCreateMarkerSettingResp

func ParseCreateMarkerSettingResp(rsp *http.Response) (*CreateMarkerSettingResp, error)

ParseCreateMarkerSettingResp parses an HTTP response from a CreateMarkerSettingWithResponse call

func (CreateMarkerSettingResp) ContentType

func (r CreateMarkerSettingResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateMarkerSettingResp) GetApplicationproblemJSON404

func (r CreateMarkerSettingResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateMarkerSettingResp) GetApplicationproblemJSON422

func (r CreateMarkerSettingResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateMarkerSettingResp) GetApplicationproblemJSON429

func (r CreateMarkerSettingResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateMarkerSettingResp) GetApplicationvndApiJSON404

func (r CreateMarkerSettingResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateMarkerSettingResp) GetApplicationvndApiJSON422

func (r CreateMarkerSettingResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateMarkerSettingResp) GetApplicationvndApiJSON429

func (r CreateMarkerSettingResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateMarkerSettingResp) GetBody

func (r CreateMarkerSettingResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateMarkerSettingResp) GetJSON201

func (r CreateMarkerSettingResp) GetJSON201() *MarkerSetting

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateMarkerSettingResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateMarkerSettingResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateMarkerSettingResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateMarkerSettingResp) Status

func (r CreateMarkerSettingResp) Status() string

Status returns HTTPResponse.Status

func (CreateMarkerSettingResp) StatusCode

func (r CreateMarkerSettingResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMarkerSettingResp201Headers

type CreateMarkerSettingResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMarkerSettingResp201Headers the declared response headers of an HTTP 201 response for CreateMarkerSetting

type CreateMarkerSettingResp404Headers

type CreateMarkerSettingResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMarkerSettingResp404Headers the declared response headers of an HTTP 404 response for CreateMarkerSetting

type CreateMarkerSettingResp422Headers

type CreateMarkerSettingResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateMarkerSettingResp422Headers the declared response headers of an HTTP 422 response for CreateMarkerSetting

type CreateMarkerSettingResp429Headers

type CreateMarkerSettingResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateMarkerSettingResp429Headers the declared response headers of an HTTP 429 response for CreateMarkerSetting

type CreateQueryAnnotationJSONRequestBody

type CreateQueryAnnotationJSONRequestBody = QueryAnnotation

CreateQueryAnnotationJSONRequestBody defines body for CreateQueryAnnotation for application/json ContentType.

type CreateQueryAnnotationResp

type CreateQueryAnnotationResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *QueryAnnotation
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateQueryAnnotationResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateQueryAnnotationResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateQueryAnnotationResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateQueryAnnotationResp429Headers
}

func ParseCreateQueryAnnotationResp

func ParseCreateQueryAnnotationResp(rsp *http.Response) (*CreateQueryAnnotationResp, error)

ParseCreateQueryAnnotationResp parses an HTTP response from a CreateQueryAnnotationWithResponse call

func (CreateQueryAnnotationResp) ContentType

func (r CreateQueryAnnotationResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateQueryAnnotationResp) GetApplicationproblemJSON403

func (r CreateQueryAnnotationResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateQueryAnnotationResp) GetApplicationproblemJSON404

func (r CreateQueryAnnotationResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateQueryAnnotationResp) GetApplicationproblemJSON429

func (r CreateQueryAnnotationResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateQueryAnnotationResp) GetApplicationvndApiJSON403

func (r CreateQueryAnnotationResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateQueryAnnotationResp) GetApplicationvndApiJSON404

func (r CreateQueryAnnotationResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateQueryAnnotationResp) GetApplicationvndApiJSON429

func (r CreateQueryAnnotationResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateQueryAnnotationResp) GetBody

func (r CreateQueryAnnotationResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateQueryAnnotationResp) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateQueryAnnotationResp) GetJSON400

func (r CreateQueryAnnotationResp) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateQueryAnnotationResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateQueryAnnotationResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateQueryAnnotationResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateQueryAnnotationResp) GetJSONDefault

func (r CreateQueryAnnotationResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateQueryAnnotationResp) Status

func (r CreateQueryAnnotationResp) Status() string

Status returns HTTPResponse.Status

func (CreateQueryAnnotationResp) StatusCode

func (r CreateQueryAnnotationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateQueryAnnotationResp201Headers

type CreateQueryAnnotationResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryAnnotationResp201Headers the declared response headers of an HTTP 201 response for CreateQueryAnnotation

type CreateQueryAnnotationResp400Headers

type CreateQueryAnnotationResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryAnnotationResp400Headers the declared response headers of an HTTP 400 response for CreateQueryAnnotation

type CreateQueryAnnotationResp404Headers

type CreateQueryAnnotationResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryAnnotationResp404Headers the declared response headers of an HTTP 404 response for CreateQueryAnnotation

type CreateQueryAnnotationResp429Headers

type CreateQueryAnnotationResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateQueryAnnotationResp429Headers the declared response headers of an HTTP 429 response for CreateQueryAnnotation

type CreateQueryJSONRequestBody

type CreateQueryJSONRequestBody = Query

CreateQueryJSONRequestBody defines body for CreateQuery for application/json ContentType.

type CreateQueryResp

type CreateQueryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Query
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *CreateQueryResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateQueryResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateQueryResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateQueryResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateQueryResp429Headers
}

func ParseCreateQueryResp

func ParseCreateQueryResp(rsp *http.Response) (*CreateQueryResp, error)

ParseCreateQueryResp parses an HTTP response from a CreateQueryWithResponse call

func (CreateQueryResp) ContentType

func (r CreateQueryResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateQueryResp) GetApplicationproblemJSON400

func (r CreateQueryResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateQueryResp) GetApplicationproblemJSON404

func (r CreateQueryResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateQueryResp) GetApplicationproblemJSON422

func (r CreateQueryResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateQueryResp) GetApplicationproblemJSON429

func (r CreateQueryResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateQueryResp) GetApplicationvndApiJSON400

func (r CreateQueryResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateQueryResp) GetApplicationvndApiJSON404

func (r CreateQueryResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateQueryResp) GetApplicationvndApiJSON422

func (r CreateQueryResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateQueryResp) GetApplicationvndApiJSON429

func (r CreateQueryResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateQueryResp) GetBody

func (r CreateQueryResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateQueryResp) GetJSON200

func (r CreateQueryResp) GetJSON200() *Query

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateQueryResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateQueryResp) GetJSON404

func (r CreateQueryResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateQueryResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateQueryResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateQueryResp) Status

func (r CreateQueryResp) Status() string

Status returns HTTPResponse.Status

func (CreateQueryResp) StatusCode

func (r CreateQueryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateQueryResp200Headers

type CreateQueryResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryResp200Headers the declared response headers of an HTTP 200 response for CreateQuery

type CreateQueryResp400Headers

type CreateQueryResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryResp400Headers the declared response headers of an HTTP 400 response for CreateQuery

type CreateQueryResp404Headers

type CreateQueryResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryResp404Headers the declared response headers of an HTTP 404 response for CreateQuery

type CreateQueryResp422Headers

type CreateQueryResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryResp422Headers the declared response headers of an HTTP 422 response for CreateQuery

type CreateQueryResp429Headers

type CreateQueryResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateQueryResp429Headers the declared response headers of an HTTP 429 response for CreateQuery

type CreateQueryResultJSONRequestBody

type CreateQueryResultJSONRequestBody = CreateQueryResultRequest

CreateQueryResultJSONRequestBody defines body for CreateQueryResult for application/json ContentType.

type CreateQueryResultRequest

type CreateQueryResultRequest struct {
	// DisableOtherByAggregate If true, the "other_by_aggregate" data is excluded from the query result.
	DisableOtherByAggregate *bool `json:"disable_other_by_aggregate,omitempty"`

	// DisableSeries If `true`, timeseries data will not be returned in the `series` response field, and only summarized data will be returned in the `results` response field.
	DisableSeries *bool `json:"disable_series,omitempty"`

	// DisableTotalByAggregate If `true`, data representing each aggregate in the query's total value will not be returned. Ensure `disable_series` is false to return the timeseries data.
	DisableTotalByAggregate *bool `json:"disable_total_by_aggregate,omitempty"`

	// Limit If `disable_series` is `true`, a limit may be optionally given. The limit will override the default limit of 1_000 results with a maximum available limit of 10_000. If `disable_series` is `false`, this field will be ignored.
	Limit *int `json:"limit,omitempty"`

	// QueryId The ID of a query returned from the [Queries endpoint](/api/queries/).
	//
	//
	// Example: mabAMpSPDjH
	QueryId *string `json:"query_id,omitempty"`
}

CreateQueryResultRequest A Query Result is created with the Query ID.

type CreateQueryResultResp

type CreateQueryResultResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *QueryResult
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *DetailedError
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateQueryResultResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateQueryResultResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateQueryResultResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateQueryResultResp422Headers
}

func ParseCreateQueryResultResp

func ParseCreateQueryResultResp(rsp *http.Response) (*CreateQueryResultResp, error)

ParseCreateQueryResultResp parses an HTTP response from a CreateQueryResultWithResponse call

func (CreateQueryResultResp) ContentType

func (r CreateQueryResultResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateQueryResultResp) GetApplicationproblemJSON400

func (r CreateQueryResultResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateQueryResultResp) GetApplicationproblemJSON403

func (r CreateQueryResultResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateQueryResultResp) GetApplicationproblemJSON404

func (r CreateQueryResultResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateQueryResultResp) GetApplicationproblemJSON422

func (r CreateQueryResultResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateQueryResultResp) GetApplicationproblemJSON429

func (r CreateQueryResultResp) GetApplicationproblemJSON429() *DetailedError

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateQueryResultResp) GetApplicationvndApiJSON400

func (r CreateQueryResultResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateQueryResultResp) GetApplicationvndApiJSON403

func (r CreateQueryResultResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateQueryResultResp) GetApplicationvndApiJSON404

func (r CreateQueryResultResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateQueryResultResp) GetApplicationvndApiJSON422

func (r CreateQueryResultResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateQueryResultResp) GetBody

func (r CreateQueryResultResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateQueryResultResp) GetJSON201

func (r CreateQueryResultResp) GetJSON201() *QueryResult

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateQueryResultResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateQueryResultResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateQueryResultResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateQueryResultResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateQueryResultResp) GetJSONDefault

func (r CreateQueryResultResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateQueryResultResp) Status

func (r CreateQueryResultResp) Status() string

Status returns HTTPResponse.Status

func (CreateQueryResultResp) StatusCode

func (r CreateQueryResultResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateQueryResultResp201Headers

type CreateQueryResultResp201Headers struct {
	Location *string
}

CreateQueryResultResp201Headers the declared response headers of an HTTP 201 response for CreateQueryResult

type CreateQueryResultResp400Headers

type CreateQueryResultResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryResultResp400Headers the declared response headers of an HTTP 400 response for CreateQueryResult

type CreateQueryResultResp404Headers

type CreateQueryResultResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryResultResp404Headers the declared response headers of an HTTP 404 response for CreateQueryResult

type CreateQueryResultResp422Headers

type CreateQueryResultResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateQueryResultResp422Headers the declared response headers of an HTTP 422 response for CreateQueryResult

type CreateRecipientJSONRequestBody

type CreateRecipientJSONRequestBody = Recipient

CreateRecipientJSONRequestBody defines body for CreateRecipient for application/json ContentType.

type CreateRecipientResp

type CreateRecipientResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Recipient
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateRecipientResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateRecipientResp400Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *CreateRecipientResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateRecipientResp422Headers
}

func ParseCreateRecipientResp

func ParseCreateRecipientResp(rsp *http.Response) (*CreateRecipientResp, error)

ParseCreateRecipientResp parses an HTTP response from a CreateRecipientWithResponse call

func (CreateRecipientResp) ContentType

func (r CreateRecipientResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateRecipientResp) GetApplicationproblemJSON400

func (r CreateRecipientResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateRecipientResp) GetApplicationproblemJSON403

func (r CreateRecipientResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateRecipientResp) GetApplicationproblemJSON409

func (r CreateRecipientResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (CreateRecipientResp) GetApplicationproblemJSON422

func (r CreateRecipientResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateRecipientResp) GetApplicationvndApiJSON400

func (r CreateRecipientResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateRecipientResp) GetApplicationvndApiJSON401

func (r CreateRecipientResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateRecipientResp) GetApplicationvndApiJSON403

func (r CreateRecipientResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateRecipientResp) GetApplicationvndApiJSON409

func (r CreateRecipientResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (CreateRecipientResp) GetApplicationvndApiJSON422

func (r CreateRecipientResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateRecipientResp) GetBody

func (r CreateRecipientResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateRecipientResp) GetJSON201

func (r CreateRecipientResp) GetJSON201() *Recipient

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateRecipientResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateRecipientResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateRecipientResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateRecipientResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateRecipientResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateRecipientResp) Status

func (r CreateRecipientResp) Status() string

Status returns HTTPResponse.Status

func (CreateRecipientResp) StatusCode

func (r CreateRecipientResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRecipientResp201Headers

type CreateRecipientResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateRecipientResp201Headers the declared response headers of an HTTP 201 response for CreateRecipient

type CreateRecipientResp400Headers

type CreateRecipientResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateRecipientResp400Headers the declared response headers of an HTTP 400 response for CreateRecipient

type CreateRecipientResp409Headers

type CreateRecipientResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateRecipientResp409Headers the declared response headers of an HTTP 409 response for CreateRecipient

type CreateRecipientResp422Headers

type CreateRecipientResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateRecipientResp422Headers the declared response headers of an HTTP 422 response for CreateRecipient

type CreateSloJSONRequestBody

type CreateSloJSONRequestBody = SLOCreate

CreateSloJSONRequestBody defines body for CreateSlo for application/json ContentType.

type CreateSloResp

type CreateSloResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *SLOCreate
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateSloResp201Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateSloResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateSloResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateSloResp429Headers
}

func ParseCreateSloResp

func ParseCreateSloResp(rsp *http.Response) (*CreateSloResp, error)

ParseCreateSloResp parses an HTTP response from a CreateSloWithResponse call

func (CreateSloResp) ContentType

func (r CreateSloResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateSloResp) GetApplicationproblemJSON403

func (r CreateSloResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateSloResp) GetApplicationproblemJSON404

func (r CreateSloResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateSloResp) GetApplicationproblemJSON422

func (r CreateSloResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateSloResp) GetApplicationproblemJSON429

func (r CreateSloResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateSloResp) GetApplicationvndApiJSON401

func (r CreateSloResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateSloResp) GetApplicationvndApiJSON403

func (r CreateSloResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateSloResp) GetApplicationvndApiJSON404

func (r CreateSloResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateSloResp) GetApplicationvndApiJSON422

func (r CreateSloResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (CreateSloResp) GetApplicationvndApiJSON429

func (r CreateSloResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateSloResp) GetBody

func (r CreateSloResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateSloResp) GetJSON201

func (r CreateSloResp) GetJSON201() *SLOCreate

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateSloResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateSloResp) GetJSON403

func (r CreateSloResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateSloResp) GetJSON404

func (r CreateSloResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateSloResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateSloResp) GetJSON429

func (r CreateSloResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateSloResp) GetJSONDefault

func (r CreateSloResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (CreateSloResp) Status

func (r CreateSloResp) Status() string

Status returns HTTPResponse.Status

func (CreateSloResp) StatusCode

func (r CreateSloResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSloResp201Headers

type CreateSloResp201Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateSloResp201Headers the declared response headers of an HTTP 201 response for CreateSlo

type CreateSloResp404Headers

type CreateSloResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateSloResp404Headers the declared response headers of an HTTP 404 response for CreateSlo

type CreateSloResp422Headers

type CreateSloResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateSloResp422Headers the declared response headers of an HTTP 422 response for CreateSlo

type CreateSloResp429Headers

type CreateSloResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateSloResp429Headers the declared response headers of an HTTP 429 response for CreateSlo

type CreateTriggerJSONRequestBody

type CreateTriggerJSONRequestBody = CreateTriggerRequest

CreateTriggerJSONRequestBody defines body for CreateTrigger for application/json ContentType.

type CreateTriggerRequest

type CreateTriggerRequest struct {
	// contains filtered or unexported fields
}

CreateTriggerRequest defines model for CreateTriggerRequest.

func (CreateTriggerRequest) AsTriggerWithInlineQuery

func (t CreateTriggerRequest) AsTriggerWithInlineQuery() (TriggerWithInlineQuery, error)

AsTriggerWithInlineQuery returns the union data inside the CreateTriggerRequest as a TriggerWithInlineQuery

func (CreateTriggerRequest) AsTriggerWithQueryReference

func (t CreateTriggerRequest) AsTriggerWithQueryReference() (TriggerWithQueryReference, error)

AsTriggerWithQueryReference returns the union data inside the CreateTriggerRequest as a TriggerWithQueryReference

func (*CreateTriggerRequest) FromTriggerWithInlineQuery

func (t *CreateTriggerRequest) FromTriggerWithInlineQuery(v TriggerWithInlineQuery) error

FromTriggerWithInlineQuery overwrites any union data inside the CreateTriggerRequest as the provided TriggerWithInlineQuery

func (*CreateTriggerRequest) FromTriggerWithQueryReference

func (t *CreateTriggerRequest) FromTriggerWithQueryReference(v TriggerWithQueryReference) error

FromTriggerWithQueryReference overwrites any union data inside the CreateTriggerRequest as the provided TriggerWithQueryReference

func (CreateTriggerRequest) MarshalJSON

func (t CreateTriggerRequest) MarshalJSON() ([]byte, error)

func (*CreateTriggerRequest) MergeTriggerWithInlineQuery

func (t *CreateTriggerRequest) MergeTriggerWithInlineQuery(v TriggerWithInlineQuery) error

MergeTriggerWithInlineQuery performs a merge with any union data inside the CreateTriggerRequest, using the provided TriggerWithInlineQuery

func (*CreateTriggerRequest) MergeTriggerWithQueryReference

func (t *CreateTriggerRequest) MergeTriggerWithQueryReference(v TriggerWithQueryReference) error

MergeTriggerWithQueryReference performs a merge with any union data inside the CreateTriggerRequest, using the provided TriggerWithQueryReference

func (*CreateTriggerRequest) UnmarshalJSON

func (t *CreateTriggerRequest) UnmarshalJSON(b []byte) error

type CreateTriggerResp

type CreateTriggerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *TriggerResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *PayloadTooLarge
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *UnprocessableEntityApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *UnprocessableEntityApplicationProblemPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers201 the parsed response headers for an HTTP 201 response
	Headers201 *CreateTriggerResp201Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *CreateTriggerResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *CreateTriggerResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *CreateTriggerResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *CreateTriggerResp429Headers
}

func ParseCreateTriggerResp

func ParseCreateTriggerResp(rsp *http.Response) (*CreateTriggerResp, error)

ParseCreateTriggerResp parses an HTTP response from a CreateTriggerWithResponse call

func (CreateTriggerResp) ContentType

func (r CreateTriggerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateTriggerResp) GetApplicationproblemJSON400

func (r CreateTriggerResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (CreateTriggerResp) GetApplicationproblemJSON403

func (r CreateTriggerResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (CreateTriggerResp) GetApplicationproblemJSON404

func (r CreateTriggerResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (CreateTriggerResp) GetApplicationproblemJSON422

func (r CreateTriggerResp) GetApplicationproblemJSON422() *UnprocessableEntityApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (CreateTriggerResp) GetApplicationproblemJSON429

func (r CreateTriggerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (CreateTriggerResp) GetApplicationvndApiJSON400

func (r CreateTriggerResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (CreateTriggerResp) GetApplicationvndApiJSON401

func (r CreateTriggerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (CreateTriggerResp) GetApplicationvndApiJSON403

func (r CreateTriggerResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (CreateTriggerResp) GetApplicationvndApiJSON404

func (r CreateTriggerResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (CreateTriggerResp) GetApplicationvndApiJSON429

func (r CreateTriggerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (CreateTriggerResp) GetBody

func (r CreateTriggerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateTriggerResp) GetJSON201

func (r CreateTriggerResp) GetJSON201() *TriggerResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateTriggerResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateTriggerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (CreateTriggerResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateTriggerResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateTriggerResp) GetJSON413

func (r CreateTriggerResp) GetJSON413() *PayloadTooLarge

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (CreateTriggerResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateTriggerResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (CreateTriggerResp) Status

func (r CreateTriggerResp) Status() string

Status returns HTTPResponse.Status

func (CreateTriggerResp) StatusCode

func (r CreateTriggerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTriggerResp201Headers

type CreateTriggerResp201Headers struct {
	Location        *string
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateTriggerResp201Headers the declared response headers of an HTTP 201 response for CreateTrigger

type CreateTriggerResp400Headers

type CreateTriggerResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateTriggerResp400Headers the declared response headers of an HTTP 400 response for CreateTrigger

type CreateTriggerResp404Headers

type CreateTriggerResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateTriggerResp404Headers the declared response headers of an HTTP 404 response for CreateTrigger

type CreateTriggerResp422Headers

type CreateTriggerResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

CreateTriggerResp422Headers the declared response headers of an HTTP 422 response for CreateTrigger

type CreateTriggerResp429Headers

type CreateTriggerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

CreateTriggerResp429Headers the declared response headers of an HTTP 429 response for CreateTrigger

type CreatorRelationship

type CreatorRelationship = UserRelationship

CreatorRelationship defines model for CreatorRelationship.

type Dataset

type Dataset struct {
	// CreatedAt The ISO8601-formatted time when the dataset was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *string `json:"created_at,omitempty"`

	// DatasetType The type of data contained in the dataset. Only present for time-series metrics datasets.
	//
	//
	// Example: metrics
	DatasetType *DatasetDatasetType `json:"dataset_type,omitempty"`

	// Description A description for the dataset.
	//
	// Example: A nice description of my dataset
	Description *string `json:"description,omitempty"`

	// ExpandJsonDepth The maximum unpacking depth of nested JSON fields.
	//
	// Example: 3
	ExpandJsonDepth *int `json:"expand_json_depth,omitempty"`

	// LastWrittenAt The ISO8601-formatted time when the dataset last received event data. The value will be null if no data has been received yet.
	//
	//
	// Example: 2022-07-21T18:39:23Z
	LastWrittenAt nullable.Nullable[string] `json:"last_written_at,omitempty"`

	// Name The name of the dataset.
	//
	// Example: My Dataset!
	Name string `json:"name"`

	// RegularColumnsCount The total number of unique fields for this Dataset. The value will be null if the dataset does not contain any fields yet.
	//
	//
	// Example: 100
	RegularColumnsCount nullable.Nullable[int] `json:"regular_columns_count,omitempty"`
	Settings            *struct {
		// DeleteProtected If true, the dataset cannot be deleted.
		DeleteProtected *bool `json:"delete_protected,omitempty"`
	} `json:"settings,omitempty"`

	// Slug The 'slug' of the dataset to be used in URLs.
	//
	// Example: my-dataset-
	Slug *string `json:"slug,omitempty"`
}

Dataset Datasets are a collection of events from a specific source or related source.

type DatasetCreationPayload

type DatasetCreationPayload struct {
	// Description A description for the dataset.
	//
	// Example: A nice description of my dataset
	Description *string `json:"description,omitempty"`

	// ExpandJsonDepth The maximum unpacking depth of nested JSON fields.
	//
	// Example: 3
	ExpandJsonDepth *int `json:"expand_json_depth,omitempty"`

	// Name The name of the dataset.
	Name string `json:"name"`
}

DatasetCreationPayload an object to send to the Dataset API via PUT

type DatasetDatasetType

type DatasetDatasetType string

DatasetDatasetType The type of data contained in the dataset. Only present for time-series metrics datasets.

Example: metrics

const (
	Metrics DatasetDatasetType = "metrics"
)

Defines values for DatasetDatasetType.

func (DatasetDatasetType) Valid

func (e DatasetDatasetType) Valid() bool

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

type DatasetDefinition

type DatasetDefinition struct {
	// ColumnType Optional: `column` for regular columns and `derived_column` for Calculated Fields (also called Derived Columns) when setting Dataset Definitions. Honeycomb does not use this field when updating Dataset definitions.
	ColumnType *DatasetDefinitionColumnType `json:"column_type,omitempty"`

	// Name The name of the Column or of the Calculated Field (also called Derived Column) to map to this Dataset Definition Type. An empty string clears the mapping, potentially reverting to a default mapping.
	Name string `json:"name"`
}

DatasetDefinition defines model for DatasetDefinition.

type DatasetDefinitionColumnType

type DatasetDefinitionColumnType string

DatasetDefinitionColumnType Optional: `column` for regular columns and `derived_column` for Calculated Fields (also called Derived Columns) when setting Dataset Definitions. Honeycomb does not use this field when updating Dataset definitions.

const (
	DatasetDefinitionColumnTypeColumn        DatasetDefinitionColumnType = "column"
	DatasetDefinitionColumnTypeDerivedColumn DatasetDefinitionColumnType = "derived_column"
)

Defines values for DatasetDefinitionColumnType.

func (DatasetDefinitionColumnType) Valid

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

type DatasetDefinitions

type DatasetDefinitions struct {
	// AnnotationType Metadata: Annotation Type - The type of span annotation. For example, `span_event` or `link`. This lets Honeycomb visualize this type of event differently in a trace. Do not use this field for other purposes.
	AnnotationType nullable.Nullable[DatasetDefinition] `json:"annotation_type,omitempty"`

	// DurationMs Span Duration - How much time the span took, in milliseconds.
	DurationMs nullable.Nullable[DatasetDefinition] `json:"duration_ms,omitempty"`

	// Error Use a Boolean or String to indicate error.
	Error nullable.Nullable[DatasetDefinition] `json:"error,omitempty"`

	// LinkSpanId Metadata: Link Span ID - Links let you tie traces and spans to one another. The Link Span ID lets you link to a different span (when used with Link Trace ID).
	LinkSpanId nullable.Nullable[DatasetDefinition] `json:"link_span_id,omitempty"`

	// LinkTraceId Metadata: Link Trace ID - Links let you tie traces and spans to one another. The Link Trace Id lets you link to a different trace or a different span in the same trace (when used with Link Span ID).
	LinkTraceId nullable.Nullable[DatasetDefinition] `json:"link_trace_id,omitempty"`

	// LogMessage A value containing the log event message. Can be a human-readable string message (including multi-line) describing the event in a free form.
	LogMessage nullable.Nullable[DatasetDefinition] `json:"log_message,omitempty"`

	// LogSeverity Severity level of the event (also known as log level). Supported values: trace, debug, info, warn, error, fatal, unspecified.
	LogSeverity nullable.Nullable[DatasetDefinition] `json:"log_severity,omitempty"`

	// Name The name of the function or method where the span was created.
	Name nullable.Nullable[DatasetDefinition] `json:"name,omitempty"`

	// ParentId The Parent Span ID - The ID of this span's parent span, the call location the current span was called from.
	ParentId nullable.Nullable[DatasetDefinition] `json:"parent_id,omitempty"`

	// Route The HTTP URL or equivalent route processed by the request.
	Route nullable.Nullable[DatasetDefinition] `json:"route,omitempty"`

	// ServiceName The name of the instrumented service.
	ServiceName nullable.Nullable[DatasetDefinition] `json:"service_name,omitempty"`

	// SpanId The unique identifier (ID) for each span.
	SpanId nullable.Nullable[DatasetDefinition] `json:"span_id,omitempty"`

	// SpanKind Metadata: Kind - The kind of Span. For example, `client` or `server`. The use of this field to identify Span Events and Links is deprecated. Use the field Metadata: Annotation Type.
	SpanKind nullable.Nullable[DatasetDefinition] `json:"span_kind,omitempty"`

	// Status Indicates the success, failure, or other status of a request.
	Status nullable.Nullable[DatasetDefinition] `json:"status,omitempty"`

	// TraceId The ID of the trace this span belongs to.
	TraceId nullable.Nullable[DatasetDefinition] `json:"trace_id,omitempty"`

	// User The user making the request in the system.
	User nullable.Nullable[DatasetDefinition] `json:"user,omitempty"`
}

DatasetDefinitions Dataset Definitions describe the fields with special meaning in the Dataset.

type DatasetSlug

type DatasetSlug = string

DatasetSlug defines model for datasetSlug.

type DatasetSlugOrAll

type DatasetSlugOrAll = string

DatasetSlugOrAll defines model for datasetSlugOrAll.

type DatasetUpdatePayload

type DatasetUpdatePayload struct {
	// Description A description for the dataset.
	//
	// Example: A nice description of my dataset
	Description string `json:"description"`

	// ExpandJsonDepth The maximum unpacking depth of nested JSON fields.
	//
	// Example: 3
	ExpandJsonDepth int `json:"expand_json_depth"`
	Settings        *struct {
		// DeleteProtected If true, the dataset cannot be deleted.
		DeleteProtected *bool `json:"delete_protected,omitempty"`
	} `json:"settings,omitempty"`
}

DatasetUpdatePayload an object to send to the Dataset API via PUT

type DeleteApiKeyResp

type DeleteApiKeyResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteApiKeyResp204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *DeleteApiKeyResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteApiKeyResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteApiKeyResp429Headers
}

func ParseDeleteApiKeyResp

func ParseDeleteApiKeyResp(rsp *http.Response) (*DeleteApiKeyResp, error)

ParseDeleteApiKeyResp parses an HTTP response from a DeleteApiKeyWithResponse call

func (DeleteApiKeyResp) ContentType

func (r DeleteApiKeyResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteApiKeyResp) GetApplicationproblemJSON400

func (r DeleteApiKeyResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (DeleteApiKeyResp) GetApplicationproblemJSON403

func (r DeleteApiKeyResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteApiKeyResp) GetApplicationproblemJSON404

func (r DeleteApiKeyResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteApiKeyResp) GetApplicationproblemJSON429

func (r DeleteApiKeyResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteApiKeyResp) GetApplicationproblemJSON500

func (r DeleteApiKeyResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (DeleteApiKeyResp) GetApplicationvndApiJSON400

func (r DeleteApiKeyResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (DeleteApiKeyResp) GetApplicationvndApiJSON401

func (r DeleteApiKeyResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteApiKeyResp) GetApplicationvndApiJSON403

func (r DeleteApiKeyResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (DeleteApiKeyResp) GetApplicationvndApiJSON404

func (r DeleteApiKeyResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteApiKeyResp) GetApplicationvndApiJSON429

func (r DeleteApiKeyResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteApiKeyResp) GetApplicationvndApiJSON500

func (r DeleteApiKeyResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (DeleteApiKeyResp) GetBody

func (r DeleteApiKeyResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteApiKeyResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteApiKeyResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteApiKeyResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteApiKeyResp) GetJSON404

func (r DeleteApiKeyResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteApiKeyResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteApiKeyResp) Status

func (r DeleteApiKeyResp) Status() string

Status returns HTTPResponse.Status

func (DeleteApiKeyResp) StatusCode

func (r DeleteApiKeyResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteApiKeyResp204Headers

type DeleteApiKeyResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteApiKeyResp204Headers the declared response headers of an HTTP 204 response for DeleteApiKey

type DeleteApiKeyResp400Headers

type DeleteApiKeyResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteApiKeyResp400Headers the declared response headers of an HTTP 400 response for DeleteApiKey

type DeleteApiKeyResp404Headers

type DeleteApiKeyResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteApiKeyResp404Headers the declared response headers of an HTTP 404 response for DeleteApiKey

type DeleteApiKeyResp429Headers

type DeleteApiKeyResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteApiKeyResp429Headers the declared response headers of an HTTP 429 response for DeleteApiKey

type DeleteBoardResp

type DeleteBoardResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteBoardResp204Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteBoardResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteBoardResp429Headers
}

func ParseDeleteBoardResp

func ParseDeleteBoardResp(rsp *http.Response) (*DeleteBoardResp, error)

ParseDeleteBoardResp parses an HTTP response from a DeleteBoardWithResponse call

func (DeleteBoardResp) ContentType

func (r DeleteBoardResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteBoardResp) GetApplicationproblemJSON404

func (r DeleteBoardResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteBoardResp) GetApplicationproblemJSON429

func (r DeleteBoardResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteBoardResp) GetApplicationvndApiJSON401

func (r DeleteBoardResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteBoardResp) GetApplicationvndApiJSON404

func (r DeleteBoardResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteBoardResp) GetApplicationvndApiJSON429

func (r DeleteBoardResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteBoardResp) GetBody

func (r DeleteBoardResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBoardResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteBoardResp) GetJSON404

func (r DeleteBoardResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteBoardResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteBoardResp) GetJSONDefault

func (r DeleteBoardResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteBoardResp) Status

func (r DeleteBoardResp) Status() string

Status returns HTTPResponse.Status

func (DeleteBoardResp) StatusCode

func (r DeleteBoardResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBoardResp204Headers

type DeleteBoardResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteBoardResp204Headers the declared response headers of an HTTP 204 response for DeleteBoard

type DeleteBoardResp404Headers

type DeleteBoardResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteBoardResp404Headers the declared response headers of an HTTP 404 response for DeleteBoard

type DeleteBoardResp429Headers

type DeleteBoardResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteBoardResp429Headers the declared response headers of an HTTP 429 response for DeleteBoard

type DeleteBoardViewResp

type DeleteBoardViewResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteBoardViewResp204Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteBoardViewResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteBoardViewResp429Headers
}

func ParseDeleteBoardViewResp

func ParseDeleteBoardViewResp(rsp *http.Response) (*DeleteBoardViewResp, error)

ParseDeleteBoardViewResp parses an HTTP response from a DeleteBoardViewWithResponse call

func (DeleteBoardViewResp) ContentType

func (r DeleteBoardViewResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteBoardViewResp) GetApplicationproblemJSON403

func (r DeleteBoardViewResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteBoardViewResp) GetApplicationproblemJSON404

func (r DeleteBoardViewResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteBoardViewResp) GetApplicationproblemJSON429

func (r DeleteBoardViewResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteBoardViewResp) GetApplicationvndApiJSON401

func (r DeleteBoardViewResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteBoardViewResp) GetApplicationvndApiJSON403

func (r DeleteBoardViewResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (DeleteBoardViewResp) GetApplicationvndApiJSON404

func (r DeleteBoardViewResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteBoardViewResp) GetApplicationvndApiJSON429

func (r DeleteBoardViewResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteBoardViewResp) GetBody

func (r DeleteBoardViewResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBoardViewResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteBoardViewResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteBoardViewResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteBoardViewResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteBoardViewResp) GetJSONDefault

func (r DeleteBoardViewResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteBoardViewResp) Status

func (r DeleteBoardViewResp) Status() string

Status returns HTTPResponse.Status

func (DeleteBoardViewResp) StatusCode

func (r DeleteBoardViewResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBoardViewResp204Headers

type DeleteBoardViewResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteBoardViewResp204Headers the declared response headers of an HTTP 204 response for DeleteBoardView

type DeleteBoardViewResp404Headers

type DeleteBoardViewResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteBoardViewResp404Headers the declared response headers of an HTTP 404 response for DeleteBoardView

type DeleteBoardViewResp429Headers

type DeleteBoardViewResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteBoardViewResp429Headers the declared response headers of an HTTP 429 response for DeleteBoardView

type DeleteBurnAlertResp

type DeleteBurnAlertResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteBurnAlertResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteBurnAlertResp429Headers
}

func ParseDeleteBurnAlertResp

func ParseDeleteBurnAlertResp(rsp *http.Response) (*DeleteBurnAlertResp, error)

ParseDeleteBurnAlertResp parses an HTTP response from a DeleteBurnAlertWithResponse call

func (DeleteBurnAlertResp) ContentType

func (r DeleteBurnAlertResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteBurnAlertResp) GetApplicationproblemJSON403

func (r DeleteBurnAlertResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteBurnAlertResp) GetApplicationproblemJSON404

func (r DeleteBurnAlertResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteBurnAlertResp) GetApplicationproblemJSON429

func (r DeleteBurnAlertResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteBurnAlertResp) GetApplicationvndApiJSON403

func (r DeleteBurnAlertResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (DeleteBurnAlertResp) GetApplicationvndApiJSON404

func (r DeleteBurnAlertResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteBurnAlertResp) GetApplicationvndApiJSON429

func (r DeleteBurnAlertResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteBurnAlertResp) GetBody

func (r DeleteBurnAlertResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteBurnAlertResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteBurnAlertResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteBurnAlertResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteBurnAlertResp) GetJSONDefault

func (r DeleteBurnAlertResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteBurnAlertResp) Status

func (r DeleteBurnAlertResp) Status() string

Status returns HTTPResponse.Status

func (DeleteBurnAlertResp) StatusCode

func (r DeleteBurnAlertResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBurnAlertResp404Headers

type DeleteBurnAlertResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteBurnAlertResp404Headers the declared response headers of an HTTP 404 response for DeleteBurnAlert

type DeleteBurnAlertResp429Headers

type DeleteBurnAlertResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteBurnAlertResp429Headers the declared response headers of an HTTP 429 response for DeleteBurnAlert

type DeleteCalculatedFieldResp

type DeleteCalculatedFieldResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteCalculatedFieldResp204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *DeleteCalculatedFieldResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteCalculatedFieldResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *DeleteCalculatedFieldResp409Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteCalculatedFieldResp429Headers
}

func ParseDeleteCalculatedFieldResp

func ParseDeleteCalculatedFieldResp(rsp *http.Response) (*DeleteCalculatedFieldResp, error)

ParseDeleteCalculatedFieldResp parses an HTTP response from a DeleteCalculatedFieldWithResponse call

func (DeleteCalculatedFieldResp) ContentType

func (r DeleteCalculatedFieldResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteCalculatedFieldResp) GetApplicationproblemJSON400

func (r DeleteCalculatedFieldResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (DeleteCalculatedFieldResp) GetApplicationproblemJSON404

func (r DeleteCalculatedFieldResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteCalculatedFieldResp) GetApplicationproblemJSON409

func (r DeleteCalculatedFieldResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DeleteCalculatedFieldResp) GetApplicationproblemJSON429

func (r DeleteCalculatedFieldResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteCalculatedFieldResp) GetApplicationvndApiJSON400

func (r DeleteCalculatedFieldResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (DeleteCalculatedFieldResp) GetApplicationvndApiJSON401

func (r DeleteCalculatedFieldResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteCalculatedFieldResp) GetApplicationvndApiJSON404

func (r DeleteCalculatedFieldResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteCalculatedFieldResp) GetApplicationvndApiJSON409

func (r DeleteCalculatedFieldResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (DeleteCalculatedFieldResp) GetApplicationvndApiJSON429

func (r DeleteCalculatedFieldResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteCalculatedFieldResp) GetBody

func (r DeleteCalculatedFieldResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteCalculatedFieldResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteCalculatedFieldResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteCalculatedFieldResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteCalculatedFieldResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteCalculatedFieldResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteCalculatedFieldResp) Status

func (r DeleteCalculatedFieldResp) Status() string

Status returns HTTPResponse.Status

func (DeleteCalculatedFieldResp) StatusCode

func (r DeleteCalculatedFieldResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteCalculatedFieldResp204Headers

type DeleteCalculatedFieldResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteCalculatedFieldResp204Headers the declared response headers of an HTTP 204 response for DeleteCalculatedField

type DeleteCalculatedFieldResp400Headers

type DeleteCalculatedFieldResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteCalculatedFieldResp400Headers the declared response headers of an HTTP 400 response for DeleteCalculatedField

type DeleteCalculatedFieldResp404Headers

type DeleteCalculatedFieldResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteCalculatedFieldResp404Headers the declared response headers of an HTTP 404 response for DeleteCalculatedField

type DeleteCalculatedFieldResp409Headers

type DeleteCalculatedFieldResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteCalculatedFieldResp409Headers the declared response headers of an HTTP 409 response for DeleteCalculatedField

type DeleteCalculatedFieldResp429Headers

type DeleteCalculatedFieldResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteCalculatedFieldResp429Headers the declared response headers of an HTTP 429 response for DeleteCalculatedField

type DeleteColumnResp

type DeleteColumnResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteColumnResp204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *DeleteColumnResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteColumnResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *DeleteColumnResp409Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteColumnResp429Headers
}

func ParseDeleteColumnResp

func ParseDeleteColumnResp(rsp *http.Response) (*DeleteColumnResp, error)

ParseDeleteColumnResp parses an HTTP response from a DeleteColumnWithResponse call

func (DeleteColumnResp) ContentType

func (r DeleteColumnResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteColumnResp) GetApplicationproblemJSON400

func (r DeleteColumnResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (DeleteColumnResp) GetApplicationproblemJSON404

func (r DeleteColumnResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteColumnResp) GetApplicationproblemJSON409

func (r DeleteColumnResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DeleteColumnResp) GetApplicationproblemJSON429

func (r DeleteColumnResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteColumnResp) GetApplicationvndApiJSON400

func (r DeleteColumnResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (DeleteColumnResp) GetApplicationvndApiJSON401

func (r DeleteColumnResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteColumnResp) GetApplicationvndApiJSON404

func (r DeleteColumnResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteColumnResp) GetApplicationvndApiJSON409

func (r DeleteColumnResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (DeleteColumnResp) GetApplicationvndApiJSON429

func (r DeleteColumnResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteColumnResp) GetBody

func (r DeleteColumnResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteColumnResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteColumnResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteColumnResp) GetJSON404

func (r DeleteColumnResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteColumnResp) GetJSON409

func (r DeleteColumnResp) GetJSON409() *ConflictApplicationJSON

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteColumnResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteColumnResp) Status

func (r DeleteColumnResp) Status() string

Status returns HTTPResponse.Status

func (DeleteColumnResp) StatusCode

func (r DeleteColumnResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteColumnResp204Headers

type DeleteColumnResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteColumnResp204Headers the declared response headers of an HTTP 204 response for DeleteColumn

type DeleteColumnResp400Headers

type DeleteColumnResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteColumnResp400Headers the declared response headers of an HTTP 400 response for DeleteColumn

type DeleteColumnResp404Headers

type DeleteColumnResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteColumnResp404Headers the declared response headers of an HTTP 404 response for DeleteColumn

type DeleteColumnResp409Headers

type DeleteColumnResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteColumnResp409Headers the declared response headers of an HTTP 409 response for DeleteColumn

type DeleteColumnResp429Headers

type DeleteColumnResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteColumnResp429Headers the declared response headers of an HTTP 429 response for DeleteColumn

type DeleteDatasetResp

type DeleteDatasetResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers202 the parsed response headers for an HTTP 202 response
	Headers202 *DeleteDatasetResp202Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteDatasetResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *DeleteDatasetResp409Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteDatasetResp429Headers
}

func ParseDeleteDatasetResp

func ParseDeleteDatasetResp(rsp *http.Response) (*DeleteDatasetResp, error)

ParseDeleteDatasetResp parses an HTTP response from a DeleteDatasetWithResponse call

func (DeleteDatasetResp) ContentType

func (r DeleteDatasetResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteDatasetResp) GetApplicationproblemJSON403

func (r DeleteDatasetResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteDatasetResp) GetApplicationproblemJSON404

func (r DeleteDatasetResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteDatasetResp) GetApplicationproblemJSON409

func (r DeleteDatasetResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DeleteDatasetResp) GetApplicationproblemJSON429

func (r DeleteDatasetResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteDatasetResp) GetApplicationvndApiJSON401

func (r DeleteDatasetResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteDatasetResp) GetApplicationvndApiJSON403

func (r DeleteDatasetResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (DeleteDatasetResp) GetApplicationvndApiJSON404

func (r DeleteDatasetResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteDatasetResp) GetApplicationvndApiJSON409

func (r DeleteDatasetResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (DeleteDatasetResp) GetApplicationvndApiJSON429

func (r DeleteDatasetResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteDatasetResp) GetBody

func (r DeleteDatasetResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteDatasetResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteDatasetResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteDatasetResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteDatasetResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteDatasetResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteDatasetResp) GetJSONDefault

func (r DeleteDatasetResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteDatasetResp) Status

func (r DeleteDatasetResp) Status() string

Status returns HTTPResponse.Status

func (DeleteDatasetResp) StatusCode

func (r DeleteDatasetResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDatasetResp202Headers

type DeleteDatasetResp202Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteDatasetResp202Headers the declared response headers of an HTTP 202 response for DeleteDataset

type DeleteDatasetResp404Headers

type DeleteDatasetResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteDatasetResp404Headers the declared response headers of an HTTP 404 response for DeleteDataset

type DeleteDatasetResp409Headers

type DeleteDatasetResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteDatasetResp409Headers the declared response headers of an HTTP 409 response for DeleteDataset

type DeleteDatasetResp429Headers

type DeleteDatasetResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteDatasetResp429Headers the declared response headers of an HTTP 429 response for DeleteDataset

type DeleteEnvironmentResp

type DeleteEnvironmentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteEnvironmentResp204Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *DeleteEnvironmentResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteEnvironmentResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *DeleteEnvironmentResp409Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteEnvironmentResp429Headers
}

func ParseDeleteEnvironmentResp

func ParseDeleteEnvironmentResp(rsp *http.Response) (*DeleteEnvironmentResp, error)

ParseDeleteEnvironmentResp parses an HTTP response from a DeleteEnvironmentWithResponse call

func (DeleteEnvironmentResp) ContentType

func (r DeleteEnvironmentResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteEnvironmentResp) GetApplicationproblemJSON400

func (r DeleteEnvironmentResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (DeleteEnvironmentResp) GetApplicationproblemJSON403

func (r DeleteEnvironmentResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteEnvironmentResp) GetApplicationproblemJSON404

func (r DeleteEnvironmentResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteEnvironmentResp) GetApplicationproblemJSON409

func (r DeleteEnvironmentResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DeleteEnvironmentResp) GetApplicationproblemJSON429

func (r DeleteEnvironmentResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteEnvironmentResp) GetApplicationproblemJSON500

func (r DeleteEnvironmentResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (DeleteEnvironmentResp) GetApplicationvndApiJSON400

func (r DeleteEnvironmentResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (DeleteEnvironmentResp) GetApplicationvndApiJSON401

func (r DeleteEnvironmentResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteEnvironmentResp) GetApplicationvndApiJSON403

func (r DeleteEnvironmentResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (DeleteEnvironmentResp) GetApplicationvndApiJSON404

func (r DeleteEnvironmentResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteEnvironmentResp) GetApplicationvndApiJSON409

func (r DeleteEnvironmentResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (DeleteEnvironmentResp) GetApplicationvndApiJSON429

func (r DeleteEnvironmentResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteEnvironmentResp) GetApplicationvndApiJSON500

func (r DeleteEnvironmentResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (DeleteEnvironmentResp) GetBody

func (r DeleteEnvironmentResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteEnvironmentResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteEnvironmentResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteEnvironmentResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteEnvironmentResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteEnvironmentResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteEnvironmentResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteEnvironmentResp) Status

func (r DeleteEnvironmentResp) Status() string

Status returns HTTPResponse.Status

func (DeleteEnvironmentResp) StatusCode

func (r DeleteEnvironmentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteEnvironmentResp204Headers

type DeleteEnvironmentResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteEnvironmentResp204Headers the declared response headers of an HTTP 204 response for DeleteEnvironment

type DeleteEnvironmentResp400Headers

type DeleteEnvironmentResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteEnvironmentResp400Headers the declared response headers of an HTTP 400 response for DeleteEnvironment

type DeleteEnvironmentResp404Headers

type DeleteEnvironmentResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteEnvironmentResp404Headers the declared response headers of an HTTP 404 response for DeleteEnvironment

type DeleteEnvironmentResp409Headers

type DeleteEnvironmentResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteEnvironmentResp409Headers the declared response headers of an HTTP 409 response for DeleteEnvironment

type DeleteEnvironmentResp429Headers

type DeleteEnvironmentResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteEnvironmentResp429Headers the declared response headers of an HTTP 429 response for DeleteEnvironment

type DeleteMarkerResp

type DeleteMarkerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Marker
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *DeleteMarkerResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteMarkerResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteMarkerResp429Headers
}

func ParseDeleteMarkerResp

func ParseDeleteMarkerResp(rsp *http.Response) (*DeleteMarkerResp, error)

ParseDeleteMarkerResp parses an HTTP response from a DeleteMarkerWithResponse call

func (DeleteMarkerResp) ContentType

func (r DeleteMarkerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteMarkerResp) GetApplicationproblemJSON404

func (r DeleteMarkerResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteMarkerResp) GetApplicationproblemJSON429

func (r DeleteMarkerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteMarkerResp) GetApplicationvndApiJSON401

func (r DeleteMarkerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteMarkerResp) GetApplicationvndApiJSON404

func (r DeleteMarkerResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteMarkerResp) GetApplicationvndApiJSON429

func (r DeleteMarkerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteMarkerResp) GetBody

func (r DeleteMarkerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteMarkerResp) GetJSON200

func (r DeleteMarkerResp) GetJSON200() *Marker

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteMarkerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteMarkerResp) GetJSON404

func (r DeleteMarkerResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteMarkerResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteMarkerResp) GetJSONDefault

func (r DeleteMarkerResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteMarkerResp) Status

func (r DeleteMarkerResp) Status() string

Status returns HTTPResponse.Status

func (DeleteMarkerResp) StatusCode

func (r DeleteMarkerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMarkerResp200Headers

type DeleteMarkerResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteMarkerResp200Headers the declared response headers of an HTTP 200 response for DeleteMarker

type DeleteMarkerResp404Headers

type DeleteMarkerResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteMarkerResp404Headers the declared response headers of an HTTP 404 response for DeleteMarker

type DeleteMarkerResp429Headers

type DeleteMarkerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteMarkerResp429Headers the declared response headers of an HTTP 429 response for DeleteMarker

type DeleteMarkerSettingsResp

type DeleteMarkerSettingsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MarkerSetting
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *DeleteMarkerSettingsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteMarkerSettingsResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteMarkerSettingsResp429Headers
}

func ParseDeleteMarkerSettingsResp

func ParseDeleteMarkerSettingsResp(rsp *http.Response) (*DeleteMarkerSettingsResp, error)

ParseDeleteMarkerSettingsResp parses an HTTP response from a DeleteMarkerSettingsWithResponse call

func (DeleteMarkerSettingsResp) ContentType

func (r DeleteMarkerSettingsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteMarkerSettingsResp) GetApplicationproblemJSON404

func (r DeleteMarkerSettingsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteMarkerSettingsResp) GetApplicationproblemJSON429

func (r DeleteMarkerSettingsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteMarkerSettingsResp) GetApplicationvndApiJSON404

func (r DeleteMarkerSettingsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteMarkerSettingsResp) GetApplicationvndApiJSON429

func (r DeleteMarkerSettingsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteMarkerSettingsResp) GetBody

func (r DeleteMarkerSettingsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteMarkerSettingsResp) GetJSON200

func (r DeleteMarkerSettingsResp) GetJSON200() *MarkerSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteMarkerSettingsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteMarkerSettingsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteMarkerSettingsResp) Status

func (r DeleteMarkerSettingsResp) Status() string

Status returns HTTPResponse.Status

func (DeleteMarkerSettingsResp) StatusCode

func (r DeleteMarkerSettingsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMarkerSettingsResp200Headers

type DeleteMarkerSettingsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteMarkerSettingsResp200Headers the declared response headers of an HTTP 200 response for DeleteMarkerSettings

type DeleteMarkerSettingsResp404Headers

type DeleteMarkerSettingsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteMarkerSettingsResp404Headers the declared response headers of an HTTP 404 response for DeleteMarkerSettings

type DeleteMarkerSettingsResp429Headers

type DeleteMarkerSettingsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteMarkerSettingsResp429Headers the declared response headers of an HTTP 429 response for DeleteMarkerSettings

type DeleteQueryAnnotationResp

type DeleteQueryAnnotationResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteQueryAnnotationResp204Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteQueryAnnotationResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteQueryAnnotationResp429Headers
}

func ParseDeleteQueryAnnotationResp

func ParseDeleteQueryAnnotationResp(rsp *http.Response) (*DeleteQueryAnnotationResp, error)

ParseDeleteQueryAnnotationResp parses an HTTP response from a DeleteQueryAnnotationWithResponse call

func (DeleteQueryAnnotationResp) ContentType

func (r DeleteQueryAnnotationResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteQueryAnnotationResp) GetApplicationproblemJSON404

func (r DeleteQueryAnnotationResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteQueryAnnotationResp) GetApplicationproblemJSON429

func (r DeleteQueryAnnotationResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteQueryAnnotationResp) GetApplicationvndApiJSON404

func (r DeleteQueryAnnotationResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteQueryAnnotationResp) GetApplicationvndApiJSON429

func (r DeleteQueryAnnotationResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteQueryAnnotationResp) GetBody

func (r DeleteQueryAnnotationResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteQueryAnnotationResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteQueryAnnotationResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteQueryAnnotationResp) GetJSONDefault

func (r DeleteQueryAnnotationResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteQueryAnnotationResp) Status

func (r DeleteQueryAnnotationResp) Status() string

Status returns HTTPResponse.Status

func (DeleteQueryAnnotationResp) StatusCode

func (r DeleteQueryAnnotationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteQueryAnnotationResp204Headers

type DeleteQueryAnnotationResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteQueryAnnotationResp204Headers the declared response headers of an HTTP 204 response for DeleteQueryAnnotation

type DeleteQueryAnnotationResp404Headers

type DeleteQueryAnnotationResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteQueryAnnotationResp404Headers the declared response headers of an HTTP 404 response for DeleteQueryAnnotation

type DeleteQueryAnnotationResp429Headers

type DeleteQueryAnnotationResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteQueryAnnotationResp429Headers the declared response headers of an HTTP 429 response for DeleteQueryAnnotation

type DeleteRecipientResp

type DeleteRecipientResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteRecipientResp204Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteRecipientResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *DeleteRecipientResp409Headers
}

func ParseDeleteRecipientResp

func ParseDeleteRecipientResp(rsp *http.Response) (*DeleteRecipientResp, error)

ParseDeleteRecipientResp parses an HTTP response from a DeleteRecipientWithResponse call

func (DeleteRecipientResp) ContentType

func (r DeleteRecipientResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteRecipientResp) GetApplicationproblemJSON404

func (r DeleteRecipientResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteRecipientResp) GetApplicationproblemJSON409

func (r DeleteRecipientResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (DeleteRecipientResp) GetApplicationvndApiJSON404

func (r DeleteRecipientResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteRecipientResp) GetApplicationvndApiJSON409

func (r DeleteRecipientResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (DeleteRecipientResp) GetBody

func (r DeleteRecipientResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteRecipientResp) GetJSON401

func (r DeleteRecipientResp) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteRecipientResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteRecipientResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteRecipientResp) Status

func (r DeleteRecipientResp) Status() string

Status returns HTTPResponse.Status

func (DeleteRecipientResp) StatusCode

func (r DeleteRecipientResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRecipientResp204Headers

type DeleteRecipientResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteRecipientResp204Headers the declared response headers of an HTTP 204 response for DeleteRecipient

type DeleteRecipientResp404Headers

type DeleteRecipientResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteRecipientResp404Headers the declared response headers of an HTTP 404 response for DeleteRecipient

type DeleteRecipientResp409Headers

type DeleteRecipientResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteRecipientResp409Headers the declared response headers of an HTTP 409 response for DeleteRecipient

type DeleteSloResp

type DeleteSloResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteSloResp204Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteSloResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteSloResp429Headers
}

func ParseDeleteSloResp

func ParseDeleteSloResp(rsp *http.Response) (*DeleteSloResp, error)

ParseDeleteSloResp parses an HTTP response from a DeleteSloWithResponse call

func (DeleteSloResp) ContentType

func (r DeleteSloResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteSloResp) GetApplicationproblemJSON403

func (r DeleteSloResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (DeleteSloResp) GetApplicationproblemJSON404

func (r DeleteSloResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteSloResp) GetApplicationproblemJSON429

func (r DeleteSloResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteSloResp) GetApplicationvndApiJSON401

func (r DeleteSloResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteSloResp) GetApplicationvndApiJSON403

func (r DeleteSloResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (DeleteSloResp) GetApplicationvndApiJSON404

func (r DeleteSloResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteSloResp) GetApplicationvndApiJSON429

func (r DeleteSloResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteSloResp) GetBody

func (r DeleteSloResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteSloResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteSloResp) GetJSON403

func (r DeleteSloResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteSloResp) GetJSON404

func (r DeleteSloResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteSloResp) GetJSON429

func (r DeleteSloResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteSloResp) GetJSONDefault

func (r DeleteSloResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DeleteSloResp) Status

func (r DeleteSloResp) Status() string

Status returns HTTPResponse.Status

func (DeleteSloResp) StatusCode

func (r DeleteSloResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSloResp204Headers

type DeleteSloResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteSloResp204Headers the declared response headers of an HTTP 204 response for DeleteSlo

type DeleteSloResp404Headers

type DeleteSloResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteSloResp404Headers the declared response headers of an HTTP 404 response for DeleteSlo

type DeleteSloResp429Headers

type DeleteSloResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteSloResp429Headers the declared response headers of an HTTP 429 response for DeleteSlo

type DeleteTriggerResp

type DeleteTriggerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers204 the parsed response headers for an HTTP 204 response
	Headers204 *DeleteTriggerResp204Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *DeleteTriggerResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *DeleteTriggerResp429Headers
}

func ParseDeleteTriggerResp

func ParseDeleteTriggerResp(rsp *http.Response) (*DeleteTriggerResp, error)

ParseDeleteTriggerResp parses an HTTP response from a DeleteTriggerWithResponse call

func (DeleteTriggerResp) ContentType

func (r DeleteTriggerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteTriggerResp) GetApplicationproblemJSON404

func (r DeleteTriggerResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (DeleteTriggerResp) GetApplicationproblemJSON429

func (r DeleteTriggerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (DeleteTriggerResp) GetApplicationvndApiJSON401

func (r DeleteTriggerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (DeleteTriggerResp) GetApplicationvndApiJSON404

func (r DeleteTriggerResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (DeleteTriggerResp) GetApplicationvndApiJSON429

func (r DeleteTriggerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (DeleteTriggerResp) GetBody

func (r DeleteTriggerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteTriggerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (DeleteTriggerResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteTriggerResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (DeleteTriggerResp) Status

func (r DeleteTriggerResp) Status() string

Status returns HTTPResponse.Status

func (DeleteTriggerResp) StatusCode

func (r DeleteTriggerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTriggerResp204Headers

type DeleteTriggerResp204Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteTriggerResp204Headers the declared response headers of an HTTP 204 response for DeleteTrigger

type DeleteTriggerResp404Headers

type DeleteTriggerResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

DeleteTriggerResp404Headers the declared response headers of an HTTP 404 response for DeleteTrigger

type DeleteTriggerResp429Headers

type DeleteTriggerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

DeleteTriggerResp429Headers the declared response headers of an HTTP 429 response for DeleteTrigger

type DetailedError

type DetailedError struct {
	// Detail The general, human-readable error message.
	Detail *string `json:"detail,omitempty"`
	Error  *string `json:"error,omitempty"`

	// Instance The unique identifier (ID) for this specific error.
	Instance *string `json:"instance,omitempty"`

	// Status The HTTP status code of the error.
	Status *float32 `json:"status,omitempty"`

	// Title Title is a human-readable summary that explains the `type` of the problem.
	Title *string `json:"title,omitempty"`

	// Type Type is a URI used to uniquely identify the type of error.
	Type *string `json:"type,omitempty"`
}

DetailedError An RFC7807 'Problem Detail' formatted error message.

type EditorRelationship

type EditorRelationship = UserRelationship

EditorRelationship defines model for EditorRelationship.

type EmailRecipient

type EmailRecipient struct {
	// CreatedAt ISO8601 formatted time the Recipient was created.
	//
	// Example: 2022-07-26T22:38:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Details Specific schema for the Email Recipient Type
	Details *struct {
		// EmailAddress Email address to notify.
		//
		// Example: notify-me@example-email.com
		EmailAddress string `json:"email_address"`
	} `json:"details,omitempty"`

	// Id Example: yUheCUmgZ8p
	Id   *string             `json:"id,omitempty"`
	Type *EmailRecipientType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the Recipient was updated.
	//
	// Example: 2022-07-26T22:38:04Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

EmailRecipient defines model for EmailRecipient.

type EmailRecipientType

type EmailRecipientType string

EmailRecipientType defines model for EmailRecipient.Type.

const (
	EmailRecipientTypeEmail EmailRecipientType = "email"
)

Defines values for EmailRecipientType.

func (EmailRecipientType) Valid

func (e EmailRecipientType) Valid() bool

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

type Environment

type Environment struct {
	Attributes struct {
		// Color 'classic' color is used only for auto-created Classic environments and cannot be set on any other environment. Classic environments cannot be set to any other color.
		Color       Environment_Attributes_Color `json:"color"`
		Description string                       `json:"description"`
		Name        string                       `json:"name"`
		Settings    struct {
			// DeleteProtected If true, the environment cannot be deleted.
			DeleteProtected bool `json:"delete_protected"`
		} `json:"settings"`
		Slug string `json:"slug"`
	} `json:"attributes"`
	Id    string `json:"id"`
	Links struct {
		Self string `json:"self"`
	} `json:"links"`
	Type EnvironmentType `json:"type"`
}

Environment defines model for Environment.

type EnvironmentAttributesColor1

type EnvironmentAttributesColor1 string

EnvironmentAttributesColor1 defines model for Environment.Attributes.Color.1.

const (
	Classic EnvironmentAttributesColor1 = "classic"
)

Defines values for EnvironmentAttributesColor1.

func (EnvironmentAttributesColor1) Valid

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

type EnvironmentColor

type EnvironmentColor string

EnvironmentColor defines model for EnvironmentColor.

const (
	EnvironmentColorBlue        EnvironmentColor = "blue"
	EnvironmentColorGold        EnvironmentColor = "gold"
	EnvironmentColorGreen       EnvironmentColor = "green"
	EnvironmentColorLightBlue   EnvironmentColor = "lightBlue"
	EnvironmentColorLightGold   EnvironmentColor = "lightGold"
	EnvironmentColorLightGreen  EnvironmentColor = "lightGreen"
	EnvironmentColorLightPurple EnvironmentColor = "lightPurple"
	EnvironmentColorLightRed    EnvironmentColor = "lightRed"
	EnvironmentColorPurple      EnvironmentColor = "purple"
	EnvironmentColorRed         EnvironmentColor = "red"
)

Defines values for EnvironmentColor.

func (EnvironmentColor) Valid

func (e EnvironmentColor) Valid() bool

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

type EnvironmentListResponse

type EnvironmentListResponse struct {
	Data []Environment `json:"data"`

	// Links Links to iterate through the pages of results.
	Links *PaginationLinks `json:"links,omitempty"`
}

EnvironmentListResponse defines model for EnvironmentListResponse.

type EnvironmentRelationship

type EnvironmentRelationship struct {
	Data struct {
		// Id The ID of the Environment this object is associated with.
		//
		// Example: hxenv_12345678901234567890123456
		Id   string                          `json:"id"`
		Type EnvironmentRelationshipDataType `json:"type"`
	} `json:"data"`
}

EnvironmentRelationship The Environment this object is associated with.

type EnvironmentRelationshipDataType

type EnvironmentRelationshipDataType string

EnvironmentRelationshipDataType defines model for EnvironmentRelationship.Data.Type.

const (
	EnvironmentRelationshipDataTypeEnvironments EnvironmentRelationshipDataType = "environments"
)

Defines values for EnvironmentRelationshipDataType.

func (EnvironmentRelationshipDataType) Valid

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

type EnvironmentResponse

type EnvironmentResponse struct {
	Data Environment `json:"data"`
}

EnvironmentResponse defines model for EnvironmentResponse.

type EnvironmentType

type EnvironmentType string

EnvironmentType defines model for Environment.Type.

const (
	EnvironmentTypeEnvironments EnvironmentType = "environments"
)

Defines values for EnvironmentType.

func (EnvironmentType) Valid

func (e EnvironmentType) Valid() bool

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

type Environment_Attributes_Color

type Environment_Attributes_Color struct {
	// contains filtered or unexported fields
}

Environment_Attributes_Color 'classic' color is used only for auto-created Classic environments and cannot be set on any other environment. Classic environments cannot be set to any other color.

func (Environment_Attributes_Color) AsEnvironmentAttributesColor1

func (t Environment_Attributes_Color) AsEnvironmentAttributesColor1() (EnvironmentAttributesColor1, error)

AsEnvironmentAttributesColor1 returns the union data inside the Environment_Attributes_Color as a EnvironmentAttributesColor1

func (Environment_Attributes_Color) AsEnvironmentColor

func (t Environment_Attributes_Color) AsEnvironmentColor() (EnvironmentColor, error)

AsEnvironmentColor returns the union data inside the Environment_Attributes_Color as a EnvironmentColor

func (*Environment_Attributes_Color) FromEnvironmentAttributesColor1

func (t *Environment_Attributes_Color) FromEnvironmentAttributesColor1(v EnvironmentAttributesColor1) error

FromEnvironmentAttributesColor1 overwrites any union data inside the Environment_Attributes_Color as the provided EnvironmentAttributesColor1

func (*Environment_Attributes_Color) FromEnvironmentColor

func (t *Environment_Attributes_Color) FromEnvironmentColor(v EnvironmentColor) error

FromEnvironmentColor overwrites any union data inside the Environment_Attributes_Color as the provided EnvironmentColor

func (Environment_Attributes_Color) MarshalJSON

func (t Environment_Attributes_Color) MarshalJSON() ([]byte, error)

func (*Environment_Attributes_Color) MergeEnvironmentAttributesColor1

func (t *Environment_Attributes_Color) MergeEnvironmentAttributesColor1(v EnvironmentAttributesColor1) error

MergeEnvironmentAttributesColor1 performs a merge with any union data inside the Environment_Attributes_Color, using the provided EnvironmentAttributesColor1

func (*Environment_Attributes_Color) MergeEnvironmentColor

func (t *Environment_Attributes_Color) MergeEnvironmentColor(v EnvironmentColor) error

MergeEnvironmentColor performs a merge with any union data inside the Environment_Attributes_Color, using the provided EnvironmentColor

func (*Environment_Attributes_Color) UnmarshalJSON

func (t *Environment_Attributes_Color) UnmarshalJSON(b []byte) error

type Error

type Error struct {
	Error *string `json:"error,omitempty"`
}

Error A legacy error, containing only a textual description.

type Event

type Event map[string]interface{}

Event defines model for Event.

type ExhaustionTimeBurnAlert

type ExhaustionTimeBurnAlert struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: exhaustion_time
	AlertType *ExhaustionTimeBurnAlertAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// ExhaustionMinutes Required when `alert_type` is `exhaustion_time`.
	//
	// Must not be specified when `alert_type` is `budget_rate`.
	//
	// Amount of time (in minutes) left until your projected SLO budget is exhausted.
	// The alert will fire when this exhaustion threshold is reached.
	//
	//
	// Example: 120
	ExhaustionMinutes int `json:"exhaustion_minutes"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ExhaustionTimeBurnAlert defines model for ExhaustionTimeBurnAlert.

type ExhaustionTimeBurnAlertAlertType

type ExhaustionTimeBurnAlertAlertType string

ExhaustionTimeBurnAlertAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: exhaustion_time

const (
	ExhaustionTimeBurnAlertAlertTypeBudgetRate     ExhaustionTimeBurnAlertAlertType = "budget_rate"
	ExhaustionTimeBurnAlertAlertTypeExhaustionTime ExhaustionTimeBurnAlertAlertType = "exhaustion_time"
)

Defines values for ExhaustionTimeBurnAlertAlertType.

func (ExhaustionTimeBurnAlertAlertType) Valid

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

type ExhaustionTimeBurnAlertDetailResponse

type ExhaustionTimeBurnAlertDetailResponse struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: exhaustion_time
	AlertType *ExhaustionTimeBurnAlertDetailResponseAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// ExhaustionMinutes Required when `alert_type` is `exhaustion_time`.
	//
	// Must not be specified when `alert_type` is `budget_rate`.
	//
	// Amount of time (in minutes) left until your projected SLO budget is exhausted.
	// The alert will fire when this exhaustion threshold is reached.
	//
	//
	// Example: 120
	ExhaustionMinutes int `json:"exhaustion_minutes"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when an alert fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	//
	//
	// Example: [{"id":"abcd123","target":"alerts@example.com","type":"email"}]
	Recipients *[]NotificationRecipient `json:"recipients,omitempty"`

	// Slo Details about the SLO associated with the burn alert.
	//
	// Example: {"id":"2LBq9LckbcA"}
	Slo *struct {
		// Id Unique identifier (ID) of a SLO.
		Id *string `json:"id,omitempty"`
	} `json:"slo,omitempty"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ExhaustionTimeBurnAlertDetailResponse defines model for ExhaustionTimeBurnAlertDetailResponse.

type ExhaustionTimeBurnAlertDetailResponseAlertType

type ExhaustionTimeBurnAlertDetailResponseAlertType string

ExhaustionTimeBurnAlertDetailResponseAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: exhaustion_time

const (
	ExhaustionTimeBurnAlertDetailResponseAlertTypeBudgetRate     ExhaustionTimeBurnAlertDetailResponseAlertType = "budget_rate"
	ExhaustionTimeBurnAlertDetailResponseAlertTypeExhaustionTime ExhaustionTimeBurnAlertDetailResponseAlertType = "exhaustion_time"
)

Defines values for ExhaustionTimeBurnAlertDetailResponseAlertType.

func (ExhaustionTimeBurnAlertDetailResponseAlertType) Valid

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

type ExhaustionTimeBurnAlertListResponse

type ExhaustionTimeBurnAlertListResponse struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: exhaustion_time
	AlertType *ExhaustionTimeBurnAlertListResponseAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// ExhaustionMinutes Required when `alert_type` is `exhaustion_time`.
	//
	// Must not be specified when `alert_type` is `budget_rate`.
	//
	// Amount of time (in minutes) left until your projected SLO budget is exhausted.
	// The alert will fire when this exhaustion threshold is reached.
	//
	//
	// Example: 120
	ExhaustionMinutes int `json:"exhaustion_minutes"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Slo Details about the SLO associated with the burn alert.
	//
	// Example: {"id":"2LBq9LckbcA"}
	Slo *struct {
		// Id Unique identifier (ID) of a SLO.
		Id *string `json:"id,omitempty"`
	} `json:"slo,omitempty"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

ExhaustionTimeBurnAlertListResponse defines model for ExhaustionTimeBurnAlertListResponse.

type ExhaustionTimeBurnAlertListResponseAlertType

type ExhaustionTimeBurnAlertListResponseAlertType string

ExhaustionTimeBurnAlertListResponseAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: exhaustion_time

const (
	ExhaustionTimeBurnAlertListResponseAlertTypeBudgetRate     ExhaustionTimeBurnAlertListResponseAlertType = "budget_rate"
	ExhaustionTimeBurnAlertListResponseAlertTypeExhaustionTime ExhaustionTimeBurnAlertListResponseAlertType = "exhaustion_time"
)

Defines values for ExhaustionTimeBurnAlertListResponseAlertType.

func (ExhaustionTimeBurnAlertListResponseAlertType) Valid

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

type FilterColumn

type FilterColumn = string

FilterColumn defines model for FilterColumn.

type FilterCombination

type FilterCombination string

FilterCombination Set to "OR" to match ANY filter in the filter list

const (
	AND FilterCombination = "AND"
	OR  FilterCombination = "OR"
)

Defines values for FilterCombination.

func (FilterCombination) Valid

func (e FilterCombination) Valid() bool

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

type FilterOp

type FilterOp string

FilterOp defines model for FilterOp.

const (
	FilterOpContains         FilterOp = "contains"
	FilterOpDoesNotContain   FilterOp = "does-not-contain"
	FilterOpDoesNotEndWith   FilterOp = "does-not-end-with"
	FilterOpDoesNotExist     FilterOp = "does-not-exist"
	FilterOpDoesNotStartWith FilterOp = "does-not-start-with"
	FilterOpEmpty            FilterOp = "!="
	FilterOpEndsWith         FilterOp = "ends-with"
	FilterOpEqual            FilterOp = "="
	FilterOpExists           FilterOp = "exists"
	FilterOpGreaterThan      FilterOp = ">"
	FilterOpGreaterThanEqual FilterOp = ">="
	FilterOpIn               FilterOp = "in"
	FilterOpLessThan         FilterOp = "<"
	FilterOpLessThanEqual    FilterOp = "<="
	FilterOpNotIn            FilterOp = "not-in"
	FilterOpStartsWith       FilterOp = "starts-with"
)

Defines values for FilterOp.

func (FilterOp) Valid

func (e FilterOp) Valid() bool

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

type FilterValue

type FilterValue struct {
	// contains filtered or unexported fields
}

FilterValue defines model for FilterValue.

func (FilterValue) AsFilterValue0

func (t FilterValue) AsFilterValue0() (FilterValue0, error)

AsFilterValue0 returns the union data inside the FilterValue as a FilterValue0

func (FilterValue) AsFilterValue1

func (t FilterValue) AsFilterValue1() (FilterValue1, error)

AsFilterValue1 returns the union data inside the FilterValue as a FilterValue1

func (FilterValue) AsFilterValue2

func (t FilterValue) AsFilterValue2() (FilterValue2, error)

AsFilterValue2 returns the union data inside the FilterValue as a FilterValue2

func (FilterValue) AsFilterValue3

func (t FilterValue) AsFilterValue3() (FilterValue3, error)

AsFilterValue3 returns the union data inside the FilterValue as a FilterValue3

func (FilterValue) AsFilterValue4

func (t FilterValue) AsFilterValue4() (FilterValue4, error)

AsFilterValue4 returns the union data inside the FilterValue as a FilterValue4

func (*FilterValue) FromFilterValue0

func (t *FilterValue) FromFilterValue0(v FilterValue0) error

FromFilterValue0 overwrites any union data inside the FilterValue as the provided FilterValue0

func (*FilterValue) FromFilterValue1

func (t *FilterValue) FromFilterValue1(v FilterValue1) error

FromFilterValue1 overwrites any union data inside the FilterValue as the provided FilterValue1

func (*FilterValue) FromFilterValue2

func (t *FilterValue) FromFilterValue2(v FilterValue2) error

FromFilterValue2 overwrites any union data inside the FilterValue as the provided FilterValue2

func (*FilterValue) FromFilterValue3

func (t *FilterValue) FromFilterValue3(v FilterValue3) error

FromFilterValue3 overwrites any union data inside the FilterValue as the provided FilterValue3

func (*FilterValue) FromFilterValue4

func (t *FilterValue) FromFilterValue4(v FilterValue4) error

FromFilterValue4 overwrites any union data inside the FilterValue as the provided FilterValue4

func (FilterValue) MarshalJSON

func (t FilterValue) MarshalJSON() ([]byte, error)

func (*FilterValue) MergeFilterValue0

func (t *FilterValue) MergeFilterValue0(v FilterValue0) error

MergeFilterValue0 performs a merge with any union data inside the FilterValue, using the provided FilterValue0

func (*FilterValue) MergeFilterValue1

func (t *FilterValue) MergeFilterValue1(v FilterValue1) error

MergeFilterValue1 performs a merge with any union data inside the FilterValue, using the provided FilterValue1

func (*FilterValue) MergeFilterValue2

func (t *FilterValue) MergeFilterValue2(v FilterValue2) error

MergeFilterValue2 performs a merge with any union data inside the FilterValue, using the provided FilterValue2

func (*FilterValue) MergeFilterValue3

func (t *FilterValue) MergeFilterValue3(v FilterValue3) error

MergeFilterValue3 performs a merge with any union data inside the FilterValue, using the provided FilterValue3

func (*FilterValue) MergeFilterValue4

func (t *FilterValue) MergeFilterValue4(v FilterValue4) error

MergeFilterValue4 performs a merge with any union data inside the FilterValue, using the provided FilterValue4

func (*FilterValue) UnmarshalJSON

func (t *FilterValue) UnmarshalJSON(b []byte) error

type FilterValue0

type FilterValue0 = int

FilterValue0 defines model for FilterValue.0.

type FilterValue1

type FilterValue1 = float32

FilterValue1 defines model for FilterValue.1.

type FilterValue2

type FilterValue2 = string

FilterValue2 defines model for FilterValue.2.

type FilterValue3

type FilterValue3 = bool

FilterValue3 defines model for FilterValue.3.

type FilterValue4

type FilterValue4 = []interface{}

FilterValue4 defines model for FilterValue.4.

type ForbiddenApplicationJSON

type ForbiddenApplicationJSON = Error

ForbiddenApplicationJSON A legacy error, containing only a textual description.

type ForbiddenApplicationProblemPlusJSON

type ForbiddenApplicationProblemPlusJSON = DetailedError

ForbiddenApplicationProblemPlusJSON An RFC7807 'Problem Detail' formatted error message.

type ForbiddenApplicationVndAPIPlusJSON

type ForbiddenApplicationVndAPIPlusJSON = JSONAPIError

ForbiddenApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type GenericError

type GenericError = Error

GenericError A legacy error, containing only a textual description.

type GetApiKeyResp

type GetApiKeyResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON200 the response for an HTTP 200 `application/vnd.api+json` response
	ApplicationvndApiJSON200 *ApiKeyResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetApiKeyResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetApiKeyResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetApiKeyResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetApiKeyResp429Headers
}

func ParseGetApiKeyResp

func ParseGetApiKeyResp(rsp *http.Response) (*GetApiKeyResp, error)

ParseGetApiKeyResp parses an HTTP response from a GetApiKeyWithResponse call

func (GetApiKeyResp) ContentType

func (r GetApiKeyResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetApiKeyResp) GetApplicationproblemJSON400

func (r GetApiKeyResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetApiKeyResp) GetApplicationproblemJSON404

func (r GetApiKeyResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetApiKeyResp) GetApplicationproblemJSON429

func (r GetApiKeyResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetApiKeyResp) GetApplicationproblemJSON500

func (r GetApiKeyResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (GetApiKeyResp) GetApplicationvndApiJSON200

func (r GetApiKeyResp) GetApplicationvndApiJSON200() *ApiKeyResponse

GetApplicationvndApiJSON200 returns the response for an HTTP 200 `application/vnd.api+json` response

func (GetApiKeyResp) GetApplicationvndApiJSON400

func (r GetApiKeyResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (GetApiKeyResp) GetApplicationvndApiJSON401

func (r GetApiKeyResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetApiKeyResp) GetApplicationvndApiJSON404

func (r GetApiKeyResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetApiKeyResp) GetApplicationvndApiJSON429

func (r GetApiKeyResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetApiKeyResp) GetApplicationvndApiJSON500

func (r GetApiKeyResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (GetApiKeyResp) GetBody

func (r GetApiKeyResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetApiKeyResp) GetJSON400

func (r GetApiKeyResp) GetJSON400() *BadRequestApplicationJSON

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetApiKeyResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetApiKeyResp) GetJSON404

func (r GetApiKeyResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetApiKeyResp) GetJSON429

func (r GetApiKeyResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetApiKeyResp) Status

func (r GetApiKeyResp) Status() string

Status returns HTTPResponse.Status

func (GetApiKeyResp) StatusCode

func (r GetApiKeyResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetApiKeyResp200Headers

type GetApiKeyResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetApiKeyResp200Headers the declared response headers of an HTTP 200 response for GetApiKey

type GetApiKeyResp400Headers

type GetApiKeyResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetApiKeyResp400Headers the declared response headers of an HTTP 400 response for GetApiKey

type GetApiKeyResp404Headers

type GetApiKeyResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetApiKeyResp404Headers the declared response headers of an HTTP 404 response for GetApiKey

type GetApiKeyResp429Headers

type GetApiKeyResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetApiKeyResp429Headers the declared response headers of an HTTP 429 response for GetApiKey

type GetAuthResp

type GetAuthResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Auth
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetAuthResp200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetAuthResp429Headers
}

func ParseGetAuthResp

func ParseGetAuthResp(rsp *http.Response) (*GetAuthResp, error)

ParseGetAuthResp parses an HTTP response from a GetAuthWithResponse call

func (GetAuthResp) ContentType

func (r GetAuthResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetAuthResp) GetApplicationproblemJSON429

func (r GetAuthResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetAuthResp) GetApplicationvndApiJSON401

func (r GetAuthResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetAuthResp) GetApplicationvndApiJSON429

func (r GetAuthResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetAuthResp) GetBody

func (r GetAuthResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetAuthResp) GetJSON200

func (r GetAuthResp) GetJSON200() *Auth

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetAuthResp) GetJSON401

func (r GetAuthResp) GetJSON401() *UnauthorizedApplicationJSON

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetAuthResp) GetJSON429

func (r GetAuthResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetAuthResp) GetJSONDefault

func (r GetAuthResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetAuthResp) Status

func (r GetAuthResp) Status() string

Status returns HTTPResponse.Status

func (GetAuthResp) StatusCode

func (r GetAuthResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAuthResp200Headers

type GetAuthResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetAuthResp200Headers the declared response headers of an HTTP 200 response for GetAuth

type GetAuthResp429Headers

type GetAuthResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetAuthResp429Headers the declared response headers of an HTTP 429 response for GetAuth

type GetBoardResp

type GetBoardResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Board
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetBoardResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetBoardResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetBoardResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetBoardResp429Headers
}

func ParseGetBoardResp

func ParseGetBoardResp(rsp *http.Response) (*GetBoardResp, error)

ParseGetBoardResp parses an HTTP response from a GetBoardWithResponse call

func (GetBoardResp) ContentType

func (r GetBoardResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBoardResp) GetApplicationproblemJSON400

func (r GetBoardResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetBoardResp) GetApplicationproblemJSON403

func (r GetBoardResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetBoardResp) GetApplicationproblemJSON404

func (r GetBoardResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetBoardResp) GetApplicationproblemJSON429

func (r GetBoardResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetBoardResp) GetApplicationvndApiJSON400

func (r GetBoardResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (GetBoardResp) GetApplicationvndApiJSON401

func (r GetBoardResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetBoardResp) GetApplicationvndApiJSON403

func (r GetBoardResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetBoardResp) GetApplicationvndApiJSON404

func (r GetBoardResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetBoardResp) GetApplicationvndApiJSON429

func (r GetBoardResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetBoardResp) GetBody

func (r GetBoardResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBoardResp) GetJSON200

func (r GetBoardResp) GetJSON200() *Board

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBoardResp) GetJSON400

func (r GetBoardResp) GetJSON400() *BadRequestApplicationJSON

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetBoardResp) GetJSON401

func (r GetBoardResp) GetJSON401() *UnauthorizedApplicationJSON

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBoardResp) GetJSON403

func (r GetBoardResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBoardResp) GetJSON404

func (r GetBoardResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBoardResp) GetJSON429

func (r GetBoardResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetBoardResp) GetJSONDefault

func (r GetBoardResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetBoardResp) Status

func (r GetBoardResp) Status() string

Status returns HTTPResponse.Status

func (GetBoardResp) StatusCode

func (r GetBoardResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBoardResp200Headers

type GetBoardResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBoardResp200Headers the declared response headers of an HTTP 200 response for GetBoard

type GetBoardResp400Headers

type GetBoardResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBoardResp400Headers the declared response headers of an HTTP 400 response for GetBoard

type GetBoardResp404Headers

type GetBoardResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBoardResp404Headers the declared response headers of an HTTP 404 response for GetBoard

type GetBoardResp429Headers

type GetBoardResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetBoardResp429Headers the declared response headers of an HTTP 429 response for GetBoard

type GetBoardViewResp

type GetBoardViewResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BoardViewResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetBoardViewResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetBoardViewResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetBoardViewResp429Headers
}

func ParseGetBoardViewResp

func ParseGetBoardViewResp(rsp *http.Response) (*GetBoardViewResp, error)

ParseGetBoardViewResp parses an HTTP response from a GetBoardViewWithResponse call

func (GetBoardViewResp) ContentType

func (r GetBoardViewResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBoardViewResp) GetApplicationproblemJSON403

func (r GetBoardViewResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetBoardViewResp) GetApplicationproblemJSON404

func (r GetBoardViewResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetBoardViewResp) GetApplicationproblemJSON429

func (r GetBoardViewResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetBoardViewResp) GetApplicationvndApiJSON401

func (r GetBoardViewResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetBoardViewResp) GetApplicationvndApiJSON403

func (r GetBoardViewResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetBoardViewResp) GetApplicationvndApiJSON404

func (r GetBoardViewResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetBoardViewResp) GetApplicationvndApiJSON429

func (r GetBoardViewResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetBoardViewResp) GetBody

func (r GetBoardViewResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBoardViewResp) GetJSON200

func (r GetBoardViewResp) GetJSON200() *BoardViewResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBoardViewResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetBoardViewResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBoardViewResp) GetJSON404

func (r GetBoardViewResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBoardViewResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetBoardViewResp) GetJSONDefault

func (r GetBoardViewResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetBoardViewResp) Status

func (r GetBoardViewResp) Status() string

Status returns HTTPResponse.Status

func (GetBoardViewResp) StatusCode

func (r GetBoardViewResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBoardViewResp200Headers

type GetBoardViewResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBoardViewResp200Headers the declared response headers of an HTTP 200 response for GetBoardView

type GetBoardViewResp404Headers

type GetBoardViewResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBoardViewResp404Headers the declared response headers of an HTTP 404 response for GetBoardView

type GetBoardViewResp429Headers

type GetBoardViewResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetBoardViewResp429Headers the declared response headers of an HTTP 429 response for GetBoardView

type GetBurnAlertResp

type GetBurnAlertResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BurnAlertDetailResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetBurnAlertResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetBurnAlertResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *GetBurnAlertResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetBurnAlertResp429Headers
}

func ParseGetBurnAlertResp

func ParseGetBurnAlertResp(rsp *http.Response) (*GetBurnAlertResp, error)

ParseGetBurnAlertResp parses an HTTP response from a GetBurnAlertWithResponse call

func (GetBurnAlertResp) ContentType

func (r GetBurnAlertResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetBurnAlertResp) GetApplicationproblemJSON403

func (r GetBurnAlertResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetBurnAlertResp) GetApplicationproblemJSON404

func (r GetBurnAlertResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetBurnAlertResp) GetApplicationproblemJSON422

func (r GetBurnAlertResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (GetBurnAlertResp) GetApplicationproblemJSON429

func (r GetBurnAlertResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetBurnAlertResp) GetApplicationvndApiJSON403

func (r GetBurnAlertResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetBurnAlertResp) GetApplicationvndApiJSON404

func (r GetBurnAlertResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetBurnAlertResp) GetApplicationvndApiJSON422

func (r GetBurnAlertResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (GetBurnAlertResp) GetApplicationvndApiJSON429

func (r GetBurnAlertResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetBurnAlertResp) GetBody

func (r GetBurnAlertResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetBurnAlertResp) GetJSON200

func (r GetBurnAlertResp) GetJSON200() *BurnAlertDetailResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetBurnAlertResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetBurnAlertResp) GetJSON404

func (r GetBurnAlertResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetBurnAlertResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetBurnAlertResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetBurnAlertResp) GetJSONDefault

func (r GetBurnAlertResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetBurnAlertResp) Status

func (r GetBurnAlertResp) Status() string

Status returns HTTPResponse.Status

func (GetBurnAlertResp) StatusCode

func (r GetBurnAlertResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetBurnAlertResp200Headers

type GetBurnAlertResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBurnAlertResp200Headers the declared response headers of an HTTP 200 response for GetBurnAlert

type GetBurnAlertResp404Headers

type GetBurnAlertResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBurnAlertResp404Headers the declared response headers of an HTTP 404 response for GetBurnAlert

type GetBurnAlertResp422Headers

type GetBurnAlertResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetBurnAlertResp422Headers the declared response headers of an HTTP 422 response for GetBurnAlert

type GetBurnAlertResp429Headers

type GetBurnAlertResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetBurnAlertResp429Headers the declared response headers of an HTTP 429 response for GetBurnAlert

type GetCalculatedFieldResp

type GetCalculatedFieldResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CalculatedField
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetCalculatedFieldResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetCalculatedFieldResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetCalculatedFieldResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetCalculatedFieldResp429Headers
}

func ParseGetCalculatedFieldResp

func ParseGetCalculatedFieldResp(rsp *http.Response) (*GetCalculatedFieldResp, error)

ParseGetCalculatedFieldResp parses an HTTP response from a GetCalculatedFieldWithResponse call

func (GetCalculatedFieldResp) ContentType

func (r GetCalculatedFieldResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCalculatedFieldResp) GetApplicationproblemJSON400

func (r GetCalculatedFieldResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetCalculatedFieldResp) GetApplicationproblemJSON404

func (r GetCalculatedFieldResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetCalculatedFieldResp) GetApplicationproblemJSON429

func (r GetCalculatedFieldResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetCalculatedFieldResp) GetApplicationvndApiJSON400

func (r GetCalculatedFieldResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (GetCalculatedFieldResp) GetApplicationvndApiJSON401

func (r GetCalculatedFieldResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetCalculatedFieldResp) GetApplicationvndApiJSON404

func (r GetCalculatedFieldResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetCalculatedFieldResp) GetApplicationvndApiJSON429

func (r GetCalculatedFieldResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetCalculatedFieldResp) GetBody

func (r GetCalculatedFieldResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetCalculatedFieldResp) GetJSON200

func (r GetCalculatedFieldResp) GetJSON200() *CalculatedField

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCalculatedFieldResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetCalculatedFieldResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetCalculatedFieldResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetCalculatedFieldResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetCalculatedFieldResp) Status

func (r GetCalculatedFieldResp) Status() string

Status returns HTTPResponse.Status

func (GetCalculatedFieldResp) StatusCode

func (r GetCalculatedFieldResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCalculatedFieldResp200Headers

type GetCalculatedFieldResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetCalculatedFieldResp200Headers the declared response headers of an HTTP 200 response for GetCalculatedField

type GetCalculatedFieldResp400Headers

type GetCalculatedFieldResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetCalculatedFieldResp400Headers the declared response headers of an HTTP 400 response for GetCalculatedField

type GetCalculatedFieldResp404Headers

type GetCalculatedFieldResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetCalculatedFieldResp404Headers the declared response headers of an HTTP 404 response for GetCalculatedField

type GetCalculatedFieldResp429Headers

type GetCalculatedFieldResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetCalculatedFieldResp429Headers the declared response headers of an HTTP 429 response for GetCalculatedField

type GetColumnResp

type GetColumnResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Column
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetColumnResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetColumnResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetColumnResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetColumnResp429Headers
}

func ParseGetColumnResp

func ParseGetColumnResp(rsp *http.Response) (*GetColumnResp, error)

ParseGetColumnResp parses an HTTP response from a GetColumnWithResponse call

func (GetColumnResp) ContentType

func (r GetColumnResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetColumnResp) GetApplicationproblemJSON404

func (r GetColumnResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetColumnResp) GetApplicationproblemJSON429

func (r GetColumnResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetColumnResp) GetApplicationvndApiJSON401

func (r GetColumnResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetColumnResp) GetApplicationvndApiJSON404

func (r GetColumnResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetColumnResp) GetApplicationvndApiJSON429

func (r GetColumnResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetColumnResp) GetBody

func (r GetColumnResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetColumnResp) GetJSON200

func (r GetColumnResp) GetJSON200() *Column

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetColumnResp) GetJSON400

func (r GetColumnResp) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetColumnResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetColumnResp) GetJSON404

func (r GetColumnResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetColumnResp) GetJSON429

func (r GetColumnResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetColumnResp) Status

func (r GetColumnResp) Status() string

Status returns HTTPResponse.Status

func (GetColumnResp) StatusCode

func (r GetColumnResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetColumnResp200Headers

type GetColumnResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetColumnResp200Headers the declared response headers of an HTTP 200 response for GetColumn

type GetColumnResp400Headers

type GetColumnResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetColumnResp400Headers the declared response headers of an HTTP 400 response for GetColumn

type GetColumnResp404Headers

type GetColumnResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetColumnResp404Headers the declared response headers of an HTTP 404 response for GetColumn

type GetColumnResp429Headers

type GetColumnResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetColumnResp429Headers the declared response headers of an HTTP 429 response for GetColumn

type GetDatasetResp

type GetDatasetResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Dataset
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetDatasetResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetDatasetResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetDatasetResp429Headers
}

func ParseGetDatasetResp

func ParseGetDatasetResp(rsp *http.Response) (*GetDatasetResp, error)

ParseGetDatasetResp parses an HTTP response from a GetDatasetWithResponse call

func (GetDatasetResp) ContentType

func (r GetDatasetResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDatasetResp) GetApplicationproblemJSON404

func (r GetDatasetResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetDatasetResp) GetApplicationproblemJSON429

func (r GetDatasetResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetDatasetResp) GetApplicationvndApiJSON401

func (r GetDatasetResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetDatasetResp) GetApplicationvndApiJSON404

func (r GetDatasetResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetDatasetResp) GetApplicationvndApiJSON429

func (r GetDatasetResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetDatasetResp) GetBody

func (r GetDatasetResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDatasetResp) GetJSON200

func (r GetDatasetResp) GetJSON200() *Dataset

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDatasetResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetDatasetResp) GetJSON404

func (r GetDatasetResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDatasetResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetDatasetResp) GetJSONDefault

func (r GetDatasetResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetDatasetResp) Status

func (r GetDatasetResp) Status() string

Status returns HTTPResponse.Status

func (GetDatasetResp) StatusCode

func (r GetDatasetResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDatasetResp200Headers

type GetDatasetResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetDatasetResp200Headers the declared response headers of an HTTP 200 response for GetDataset

type GetDatasetResp404Headers

type GetDatasetResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetDatasetResp404Headers the declared response headers of an HTTP 404 response for GetDataset

type GetDatasetResp429Headers

type GetDatasetResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetDatasetResp429Headers the declared response headers of an HTTP 429 response for GetDataset

type GetEnvironmentResp

type GetEnvironmentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON200 the response for an HTTP 200 `application/vnd.api+json` response
	ApplicationvndApiJSON200 *EnvironmentResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetEnvironmentResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetEnvironmentResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetEnvironmentResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetEnvironmentResp429Headers
}

func ParseGetEnvironmentResp

func ParseGetEnvironmentResp(rsp *http.Response) (*GetEnvironmentResp, error)

ParseGetEnvironmentResp parses an HTTP response from a GetEnvironmentWithResponse call

func (GetEnvironmentResp) ContentType

func (r GetEnvironmentResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetEnvironmentResp) GetApplicationproblemJSON400

func (r GetEnvironmentResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetEnvironmentResp) GetApplicationproblemJSON404

func (r GetEnvironmentResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetEnvironmentResp) GetApplicationproblemJSON429

func (r GetEnvironmentResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetEnvironmentResp) GetApplicationproblemJSON500

func (r GetEnvironmentResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (GetEnvironmentResp) GetApplicationvndApiJSON200

func (r GetEnvironmentResp) GetApplicationvndApiJSON200() *EnvironmentResponse

GetApplicationvndApiJSON200 returns the response for an HTTP 200 `application/vnd.api+json` response

func (GetEnvironmentResp) GetApplicationvndApiJSON400

func (r GetEnvironmentResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (GetEnvironmentResp) GetApplicationvndApiJSON401

func (r GetEnvironmentResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetEnvironmentResp) GetApplicationvndApiJSON404

func (r GetEnvironmentResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetEnvironmentResp) GetApplicationvndApiJSON429

func (r GetEnvironmentResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetEnvironmentResp) GetApplicationvndApiJSON500

func (r GetEnvironmentResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (GetEnvironmentResp) GetBody

func (r GetEnvironmentResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetEnvironmentResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetEnvironmentResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetEnvironmentResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetEnvironmentResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetEnvironmentResp) Status

func (r GetEnvironmentResp) Status() string

Status returns HTTPResponse.Status

func (GetEnvironmentResp) StatusCode

func (r GetEnvironmentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEnvironmentResp200Headers

type GetEnvironmentResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetEnvironmentResp200Headers the declared response headers of an HTTP 200 response for GetEnvironment

type GetEnvironmentResp400Headers

type GetEnvironmentResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetEnvironmentResp400Headers the declared response headers of an HTTP 400 response for GetEnvironment

type GetEnvironmentResp404Headers

type GetEnvironmentResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetEnvironmentResp404Headers the declared response headers of an HTTP 404 response for GetEnvironment

type GetEnvironmentResp429Headers

type GetEnvironmentResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetEnvironmentResp429Headers the declared response headers of an HTTP 429 response for GetEnvironment

type GetMapDependenciesParams

type GetMapDependenciesParams struct {
	// PageAfter The string value of the `next` attribute from a previous result page.
	// The cursor value must be empty or omitted for the first request of a cursor-paginated query.
	PageAfter *PaginationCursor `form:"page[after],omitempty" json:"page[after],omitempty"`

	// PageSize The number of entries to include per response. Maximum value is 100.
	PageSize *PaginationSize `form:"page[size],omitempty" json:"page[size],omitempty"`
}

GetMapDependenciesParams defines parameters for GetMapDependencies.

type GetMapDependenciesResp

type GetMapDependenciesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetMapDependenciesResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetMapDependenciesResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetMapDependenciesResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetMapDependenciesResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *GetMapDependenciesResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetMapDependenciesResp429Headers
}

func ParseGetMapDependenciesResp

func ParseGetMapDependenciesResp(rsp *http.Response) (*GetMapDependenciesResp, error)

ParseGetMapDependenciesResp parses an HTTP response from a GetMapDependenciesWithResponse call

func (GetMapDependenciesResp) ContentType

func (r GetMapDependenciesResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMapDependenciesResp) GetApplicationproblemJSON400

func (r GetMapDependenciesResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetMapDependenciesResp) GetApplicationproblemJSON403

func (r GetMapDependenciesResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetMapDependenciesResp) GetApplicationproblemJSON404

func (r GetMapDependenciesResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetMapDependenciesResp) GetApplicationproblemJSON422

func (r GetMapDependenciesResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (GetMapDependenciesResp) GetApplicationproblemJSON429

func (r GetMapDependenciesResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetMapDependenciesResp) GetApplicationvndApiJSON400

func (r GetMapDependenciesResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (GetMapDependenciesResp) GetApplicationvndApiJSON401

func (r GetMapDependenciesResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetMapDependenciesResp) GetApplicationvndApiJSON403

func (r GetMapDependenciesResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetMapDependenciesResp) GetApplicationvndApiJSON404

func (r GetMapDependenciesResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetMapDependenciesResp) GetApplicationvndApiJSON422

func (r GetMapDependenciesResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (GetMapDependenciesResp) GetApplicationvndApiJSON429

func (r GetMapDependenciesResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetMapDependenciesResp) GetBody

func (r GetMapDependenciesResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMapDependenciesResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMapDependenciesResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetMapDependenciesResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMapDependenciesResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetMapDependenciesResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetMapDependenciesResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetMapDependenciesResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetMapDependenciesResp) GetJSONDefault

func (r GetMapDependenciesResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetMapDependenciesResp) Status

func (r GetMapDependenciesResp) Status() string

Status returns HTTPResponse.Status

func (GetMapDependenciesResp) StatusCode

func (r GetMapDependenciesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMapDependenciesResp200Headers

type GetMapDependenciesResp200Headers struct {
	CacheControl    *string
	LastModified    *string
	RateLimitPolicy *string
	Ratelimit       *string
}

GetMapDependenciesResp200Headers the declared response headers of an HTTP 200 response for GetMapDependencies

type GetMapDependenciesResp400Headers

type GetMapDependenciesResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetMapDependenciesResp400Headers the declared response headers of an HTTP 400 response for GetMapDependencies

type GetMapDependenciesResp404Headers

type GetMapDependenciesResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetMapDependenciesResp404Headers the declared response headers of an HTTP 404 response for GetMapDependencies

type GetMapDependenciesResp422Headers

type GetMapDependenciesResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetMapDependenciesResp422Headers the declared response headers of an HTTP 422 response for GetMapDependencies

type GetMapDependenciesResp429Headers

type GetMapDependenciesResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetMapDependenciesResp429Headers the declared response headers of an HTTP 429 response for GetMapDependencies

type GetMapDependenciesResponse

type GetMapDependenciesResponse struct {
	// Dependencies Array of service dependencies. Null when status is "pending" or "error".
	Dependencies nullable.Nullable[[]MapDependency] `json:"dependencies,omitempty"`

	// Links Links to iterate through the pages of results.
	Links *PaginationLinks `json:"links,omitempty"`

	// RequestId Unique identifier for the Map Dependency Request.
	//
	//
	// Example: abc123
	RequestId *string `json:"request_id,omitempty"`

	// Status Status of the Map Dependency Request.
	//
	//
	// Example: ready
	Status *GetMapDependenciesResponseStatus `json:"status,omitempty"`
}

GetMapDependenciesResponse Response containing map dependencies data.

type GetMapDependenciesResponseStatus

type GetMapDependenciesResponseStatus string

GetMapDependenciesResponseStatus Status of the Map Dependency Request.

Example: ready

const (
	GetMapDependenciesResponseStatusError   GetMapDependenciesResponseStatus = "error"
	GetMapDependenciesResponseStatusPending GetMapDependenciesResponseStatus = "pending"
	GetMapDependenciesResponseStatusReady   GetMapDependenciesResponseStatus = "ready"
)

Defines values for GetMapDependenciesResponseStatus.

func (GetMapDependenciesResponseStatus) Valid

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

type GetMarkerResp

type GetMarkerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Marker
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetMarkerResp200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetMarkerResp429Headers
}

func ParseGetMarkerResp

func ParseGetMarkerResp(rsp *http.Response) (*GetMarkerResp, error)

ParseGetMarkerResp parses an HTTP response from a GetMarkerWithResponse call

func (GetMarkerResp) ContentType

func (r GetMarkerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetMarkerResp) GetApplicationproblemJSON429

func (r GetMarkerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetMarkerResp) GetApplicationvndApiJSON401

func (r GetMarkerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetMarkerResp) GetApplicationvndApiJSON429

func (r GetMarkerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetMarkerResp) GetBody

func (r GetMarkerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetMarkerResp) GetJSON200

func (r GetMarkerResp) GetJSON200() *[]Marker

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetMarkerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetMarkerResp) GetJSON429

func (r GetMarkerResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetMarkerResp) GetJSONDefault

func (r GetMarkerResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetMarkerResp) Status

func (r GetMarkerResp) Status() string

Status returns HTTPResponse.Status

func (GetMarkerResp) StatusCode

func (r GetMarkerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMarkerResp200Headers

type GetMarkerResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetMarkerResp200Headers the declared response headers of an HTTP 200 response for GetMarker

type GetMarkerResp429Headers

type GetMarkerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetMarkerResp429Headers the declared response headers of an HTTP 429 response for GetMarker

type GetQueryAnnotationResp

type GetQueryAnnotationResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryAnnotation
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetQueryAnnotationResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetQueryAnnotationResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetQueryAnnotationResp429Headers
}

func ParseGetQueryAnnotationResp

func ParseGetQueryAnnotationResp(rsp *http.Response) (*GetQueryAnnotationResp, error)

ParseGetQueryAnnotationResp parses an HTTP response from a GetQueryAnnotationWithResponse call

func (GetQueryAnnotationResp) ContentType

func (r GetQueryAnnotationResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetQueryAnnotationResp) GetApplicationproblemJSON404

func (r GetQueryAnnotationResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetQueryAnnotationResp) GetApplicationproblemJSON429

func (r GetQueryAnnotationResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetQueryAnnotationResp) GetApplicationvndApiJSON404

func (r GetQueryAnnotationResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetQueryAnnotationResp) GetApplicationvndApiJSON429

func (r GetQueryAnnotationResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetQueryAnnotationResp) GetBody

func (r GetQueryAnnotationResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetQueryAnnotationResp) GetJSON200

func (r GetQueryAnnotationResp) GetJSON200() *QueryAnnotation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetQueryAnnotationResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetQueryAnnotationResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetQueryAnnotationResp) GetJSONDefault

func (r GetQueryAnnotationResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetQueryAnnotationResp) Status

func (r GetQueryAnnotationResp) Status() string

Status returns HTTPResponse.Status

func (GetQueryAnnotationResp) StatusCode

func (r GetQueryAnnotationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetQueryAnnotationResp200Headers

type GetQueryAnnotationResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetQueryAnnotationResp200Headers the declared response headers of an HTTP 200 response for GetQueryAnnotation

type GetQueryAnnotationResp404Headers

type GetQueryAnnotationResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetQueryAnnotationResp404Headers the declared response headers of an HTTP 404 response for GetQueryAnnotation

type GetQueryAnnotationResp429Headers

type GetQueryAnnotationResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetQueryAnnotationResp429Headers the declared response headers of an HTTP 429 response for GetQueryAnnotation

type GetQueryResp

type GetQueryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Query
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetQueryResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetQueryResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetQueryResp429Headers
}

func ParseGetQueryResp

func ParseGetQueryResp(rsp *http.Response) (*GetQueryResp, error)

ParseGetQueryResp parses an HTTP response from a GetQueryWithResponse call

func (GetQueryResp) ContentType

func (r GetQueryResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetQueryResp) GetApplicationproblemJSON403

func (r GetQueryResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetQueryResp) GetApplicationproblemJSON404

func (r GetQueryResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetQueryResp) GetApplicationproblemJSON429

func (r GetQueryResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetQueryResp) GetApplicationvndApiJSON403

func (r GetQueryResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetQueryResp) GetApplicationvndApiJSON404

func (r GetQueryResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetQueryResp) GetApplicationvndApiJSON429

func (r GetQueryResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetQueryResp) GetBody

func (r GetQueryResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetQueryResp) GetJSON200

func (r GetQueryResp) GetJSON200() *Query

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetQueryResp) GetJSON403

func (r GetQueryResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetQueryResp) GetJSON404

func (r GetQueryResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetQueryResp) GetJSON429

func (r GetQueryResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetQueryResp) Status

func (r GetQueryResp) Status() string

Status returns HTTPResponse.Status

func (GetQueryResp) StatusCode

func (r GetQueryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetQueryResp200Headers

type GetQueryResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetQueryResp200Headers the declared response headers of an HTTP 200 response for GetQuery

type GetQueryResp404Headers

type GetQueryResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetQueryResp404Headers the declared response headers of an HTTP 404 response for GetQuery

type GetQueryResp429Headers

type GetQueryResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetQueryResp429Headers the declared response headers of an HTTP 429 response for GetQuery

type GetQueryResultResp

type GetQueryResultResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryResultDetails
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetQueryResultResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetQueryResultResp404Headers
}

func ParseGetQueryResultResp

func ParseGetQueryResultResp(rsp *http.Response) (*GetQueryResultResp, error)

ParseGetQueryResultResp parses an HTTP response from a GetQueryResultWithResponse call

func (GetQueryResultResp) ContentType

func (r GetQueryResultResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetQueryResultResp) GetApplicationproblemJSON404

func (r GetQueryResultResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetQueryResultResp) GetApplicationvndApiJSON404

func (r GetQueryResultResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetQueryResultResp) GetBody

func (r GetQueryResultResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetQueryResultResp) GetJSON200

func (r GetQueryResultResp) GetJSON200() *QueryResultDetails

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetQueryResultResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetQueryResultResp) GetJSONDefault

func (r GetQueryResultResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetQueryResultResp) Status

func (r GetQueryResultResp) Status() string

Status returns HTTPResponse.Status

func (GetQueryResultResp) StatusCode

func (r GetQueryResultResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetQueryResultResp200Headers

type GetQueryResultResp200Headers struct {
	CacheControl *string
	LastModified *string
}

GetQueryResultResp200Headers the declared response headers of an HTTP 200 response for GetQueryResult

type GetQueryResultResp404Headers

type GetQueryResultResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetQueryResultResp404Headers the declared response headers of an HTTP 404 response for GetQueryResult

type GetRecipientResp

type GetRecipientResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Recipient
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetRecipientResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetRecipientResp404Headers
}

func ParseGetRecipientResp

func ParseGetRecipientResp(rsp *http.Response) (*GetRecipientResp, error)

ParseGetRecipientResp parses an HTTP response from a GetRecipientWithResponse call

func (GetRecipientResp) ContentType

func (r GetRecipientResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRecipientResp) GetApplicationproblemJSON404

func (r GetRecipientResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetRecipientResp) GetApplicationvndApiJSON401

func (r GetRecipientResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetRecipientResp) GetApplicationvndApiJSON404

func (r GetRecipientResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetRecipientResp) GetBody

func (r GetRecipientResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetRecipientResp) GetJSON200

func (r GetRecipientResp) GetJSON200() *Recipient

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRecipientResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetRecipientResp) GetJSON404

func (r GetRecipientResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetRecipientResp) Status

func (r GetRecipientResp) Status() string

Status returns HTTPResponse.Status

func (GetRecipientResp) StatusCode

func (r GetRecipientResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRecipientResp200Headers

type GetRecipientResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetRecipientResp200Headers the declared response headers of an HTTP 200 response for GetRecipient

type GetRecipientResp404Headers

type GetRecipientResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetRecipientResp404Headers the declared response headers of an HTTP 404 response for GetRecipient

type GetSignalResp

type GetSignalResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SignalDetailResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSignalResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetSignalResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSignalResp429Headers
}

func ParseGetSignalResp

func ParseGetSignalResp(rsp *http.Response) (*GetSignalResp, error)

ParseGetSignalResp parses an HTTP response from a GetSignalWithResponse call

func (GetSignalResp) ContentType

func (r GetSignalResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSignalResp) GetApplicationproblemJSON403

func (r GetSignalResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetSignalResp) GetApplicationproblemJSON404

func (r GetSignalResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetSignalResp) GetApplicationproblemJSON429

func (r GetSignalResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetSignalResp) GetApplicationvndApiJSON401

func (r GetSignalResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetSignalResp) GetApplicationvndApiJSON403

func (r GetSignalResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetSignalResp) GetApplicationvndApiJSON404

func (r GetSignalResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetSignalResp) GetApplicationvndApiJSON429

func (r GetSignalResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetSignalResp) GetBody

func (r GetSignalResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSignalResp) GetJSON200

func (r GetSignalResp) GetJSON200() *SignalDetailResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSignalResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSignalResp) GetJSON403

func (r GetSignalResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSignalResp) GetJSON404

func (r GetSignalResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSignalResp) GetJSON429

func (r GetSignalResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSignalResp) GetJSONDefault

func (r GetSignalResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetSignalResp) Status

func (r GetSignalResp) Status() string

Status returns HTTPResponse.Status

func (GetSignalResp) StatusCode

func (r GetSignalResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSignalResp200Headers

type GetSignalResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSignalResp200Headers the declared response headers of an HTTP 200 response for GetSignal

type GetSignalResp404Headers

type GetSignalResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSignalResp404Headers the declared response headers of an HTTP 404 response for GetSignal

type GetSignalResp429Headers

type GetSignalResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetSignalResp429Headers the declared response headers of an HTTP 429 response for GetSignal

type GetSlo200JSONResponseBody

type GetSlo200JSONResponseBody struct {
	// contains filtered or unexported fields
}

GetSlo200JSONResponseBody defines parameters for GetSlo.

func (GetSlo200JSONResponseBody) AsSLO

func (t GetSlo200JSONResponseBody) AsSLO() (SLO, error)

AsSLO returns the union data inside the GetSlo200JSONResponseBody as a SLO

func (GetSlo200JSONResponseBody) AsSLODetailedResponse

func (t GetSlo200JSONResponseBody) AsSLODetailedResponse() (SLODetailedResponse, error)

AsSLODetailedResponse returns the union data inside the GetSlo200JSONResponseBody as a SLODetailedResponse

func (*GetSlo200JSONResponseBody) FromSLO

func (t *GetSlo200JSONResponseBody) FromSLO(v SLO) error

FromSLO overwrites any union data inside the GetSlo200JSONResponseBody as the provided SLO

func (*GetSlo200JSONResponseBody) FromSLODetailedResponse

func (t *GetSlo200JSONResponseBody) FromSLODetailedResponse(v SLODetailedResponse) error

FromSLODetailedResponse overwrites any union data inside the GetSlo200JSONResponseBody as the provided SLODetailedResponse

func (GetSlo200JSONResponseBody) MarshalJSON

func (t GetSlo200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*GetSlo200JSONResponseBody) MergeSLO

func (t *GetSlo200JSONResponseBody) MergeSLO(v SLO) error

MergeSLO performs a merge with any union data inside the GetSlo200JSONResponseBody, using the provided SLO

func (*GetSlo200JSONResponseBody) MergeSLODetailedResponse

func (t *GetSlo200JSONResponseBody) MergeSLODetailedResponse(v SLODetailedResponse) error

MergeSLODetailedResponse performs a merge with any union data inside the GetSlo200JSONResponseBody, using the provided SLODetailedResponse

func (*GetSlo200JSONResponseBody) UnmarshalJSON

func (t *GetSlo200JSONResponseBody) UnmarshalJSON(b []byte) error

type GetSloHistoryJSONRequestBody

type GetSloHistoryJSONRequestBody = SLOHistoryRequest

GetSloHistoryJSONRequestBody defines body for GetSloHistory for application/json ContentType.

type GetSloHistoryResp

type GetSloHistoryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SLOHistoryResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSloHistoryResp200Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *GetSloHistoryResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSloHistoryResp429Headers
}

func ParseGetSloHistoryResp

func ParseGetSloHistoryResp(rsp *http.Response) (*GetSloHistoryResp, error)

ParseGetSloHistoryResp parses an HTTP response from a GetSloHistoryWithResponse call

func (GetSloHistoryResp) ContentType

func (r GetSloHistoryResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSloHistoryResp) GetApplicationproblemJSON403

func (r GetSloHistoryResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetSloHistoryResp) GetApplicationproblemJSON422

func (r GetSloHistoryResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (GetSloHistoryResp) GetApplicationproblemJSON429

func (r GetSloHistoryResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetSloHistoryResp) GetApplicationproblemJSON500

func (r GetSloHistoryResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (GetSloHistoryResp) GetApplicationvndApiJSON401

func (r GetSloHistoryResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetSloHistoryResp) GetApplicationvndApiJSON403

func (r GetSloHistoryResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetSloHistoryResp) GetApplicationvndApiJSON422

func (r GetSloHistoryResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (GetSloHistoryResp) GetApplicationvndApiJSON429

func (r GetSloHistoryResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetSloHistoryResp) GetApplicationvndApiJSON500

func (r GetSloHistoryResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (GetSloHistoryResp) GetBody

func (r GetSloHistoryResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSloHistoryResp) GetJSON200

func (r GetSloHistoryResp) GetJSON200() *SLOHistoryResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSloHistoryResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSloHistoryResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSloHistoryResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetSloHistoryResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSloHistoryResp) GetJSONDefault

func (r GetSloHistoryResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetSloHistoryResp) Status

func (r GetSloHistoryResp) Status() string

Status returns HTTPResponse.Status

func (GetSloHistoryResp) StatusCode

func (r GetSloHistoryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSloHistoryResp200Headers

type GetSloHistoryResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloHistoryResp200Headers the declared response headers of an HTTP 200 response for GetSloHistory

type GetSloHistoryResp422Headers

type GetSloHistoryResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloHistoryResp422Headers the declared response headers of an HTTP 422 response for GetSloHistory

type GetSloHistoryResp429Headers

type GetSloHistoryResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetSloHistoryResp429Headers the declared response headers of an HTTP 429 response for GetSloHistory

type GetSloHourlyCountsHistoryParams

type GetSloHourlyCountsHistoryParams struct {
	// StartTime Start of the time range as a Unix timestamp (seconds).
	StartTime int `form:"start_time" json:"start_time"`

	// EndTime End of the time range as a Unix timestamp (seconds). Must be greater than `start_time`.
	EndTime int `form:"end_time" json:"end_time"`
}

GetSloHourlyCountsHistoryParams defines parameters for GetSloHourlyCountsHistory.

type GetSloHourlyCountsHistoryResp

type GetSloHourlyCountsHistoryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SLOHourlyCountsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSloHourlyCountsHistoryResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetSloHourlyCountsHistoryResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetSloHourlyCountsHistoryResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSloHourlyCountsHistoryResp429Headers
}

func ParseGetSloHourlyCountsHistoryResp

func ParseGetSloHourlyCountsHistoryResp(rsp *http.Response) (*GetSloHourlyCountsHistoryResp, error)

ParseGetSloHourlyCountsHistoryResp parses an HTTP response from a GetSloHourlyCountsHistoryWithResponse call

func (GetSloHourlyCountsHistoryResp) ContentType

func (r GetSloHourlyCountsHistoryResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON400

func (r GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON403

func (r GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON404

func (r GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON429

func (r GetSloHourlyCountsHistoryResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON400

func (r GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON401

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON403

func (r GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON404

func (r GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetSloHourlyCountsHistoryResp) GetApplicationvndApiJSON429

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetSloHourlyCountsHistoryResp) GetBody

func (r GetSloHourlyCountsHistoryResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSloHourlyCountsHistoryResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSloHourlyCountsHistoryResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSloHourlyCountsHistoryResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSloHourlyCountsHistoryResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSloHourlyCountsHistoryResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSloHourlyCountsHistoryResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSloHourlyCountsHistoryResp) GetJSONDefault

func (r GetSloHourlyCountsHistoryResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetSloHourlyCountsHistoryResp) Status

Status returns HTTPResponse.Status

func (GetSloHourlyCountsHistoryResp) StatusCode

func (r GetSloHourlyCountsHistoryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSloHourlyCountsHistoryResp200Headers

type GetSloHourlyCountsHistoryResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloHourlyCountsHistoryResp200Headers the declared response headers of an HTTP 200 response for GetSloHourlyCountsHistory

type GetSloHourlyCountsHistoryResp400Headers

type GetSloHourlyCountsHistoryResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloHourlyCountsHistoryResp400Headers the declared response headers of an HTTP 400 response for GetSloHourlyCountsHistory

type GetSloHourlyCountsHistoryResp404Headers

type GetSloHourlyCountsHistoryResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloHourlyCountsHistoryResp404Headers the declared response headers of an HTTP 404 response for GetSloHourlyCountsHistory

type GetSloHourlyCountsHistoryResp429Headers

type GetSloHourlyCountsHistoryResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetSloHourlyCountsHistoryResp429Headers the declared response headers of an HTTP 429 response for GetSloHourlyCountsHistory

type GetSloParams

type GetSloParams struct {
	// Detailed Allows SLO reporting data (`status`, `burn_rate`, `budget_remaining` and `compliance`) to be returned when retrieving a single SLO.
	//
	// This feature is available as part of the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).
	//
	// **Note:** `burn_rate` is calculated based on the last 4 hours of data.
	Detailed *bool `form:"detailed,omitempty" json:"detailed,omitempty"`
}

GetSloParams defines parameters for GetSlo.

type GetSloRealtimeCountsParams

type GetSloRealtimeCountsParams struct {
	// StartTime Start of the time range as a Unix timestamp (seconds). Must be within the last 24 hours and no later than `end_time`.
	StartTime int `form:"start_time" json:"start_time"`

	// EndTime End of the time range as a Unix timestamp (seconds). Must be greater than `start_time` and within the same clock hour as `start_time`. Realtime counts accumulate from the start of each hour and reset at hour boundaries; use the [Get SLO Hourly Counts History endpoint](https://api-docs.honeycomb.io/api/slos/getSloHourlyCountsHistory/) for completed hours.
	EndTime int `form:"end_time" json:"end_time"`
}

GetSloRealtimeCountsParams defines parameters for GetSloRealtimeCounts.

type GetSloRealtimeCountsResp

type GetSloRealtimeCountsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SLOCountsResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSloRealtimeCountsResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *GetSloRealtimeCountsResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetSloRealtimeCountsResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSloRealtimeCountsResp429Headers
}

func ParseGetSloRealtimeCountsResp

func ParseGetSloRealtimeCountsResp(rsp *http.Response) (*GetSloRealtimeCountsResp, error)

ParseGetSloRealtimeCountsResp parses an HTTP response from a GetSloRealtimeCountsWithResponse call

func (GetSloRealtimeCountsResp) ContentType

func (r GetSloRealtimeCountsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSloRealtimeCountsResp) GetApplicationproblemJSON400

func (r GetSloRealtimeCountsResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (GetSloRealtimeCountsResp) GetApplicationproblemJSON403

func (r GetSloRealtimeCountsResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetSloRealtimeCountsResp) GetApplicationproblemJSON404

func (r GetSloRealtimeCountsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetSloRealtimeCountsResp) GetApplicationproblemJSON429

func (r GetSloRealtimeCountsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetSloRealtimeCountsResp) GetApplicationvndApiJSON400

func (r GetSloRealtimeCountsResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (GetSloRealtimeCountsResp) GetApplicationvndApiJSON401

func (r GetSloRealtimeCountsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetSloRealtimeCountsResp) GetApplicationvndApiJSON403

func (r GetSloRealtimeCountsResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetSloRealtimeCountsResp) GetApplicationvndApiJSON404

func (r GetSloRealtimeCountsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetSloRealtimeCountsResp) GetApplicationvndApiJSON429

func (r GetSloRealtimeCountsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetSloRealtimeCountsResp) GetBody

func (r GetSloRealtimeCountsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSloRealtimeCountsResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSloRealtimeCountsResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSloRealtimeCountsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSloRealtimeCountsResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSloRealtimeCountsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSloRealtimeCountsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSloRealtimeCountsResp) GetJSONDefault

func (r GetSloRealtimeCountsResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetSloRealtimeCountsResp) Status

func (r GetSloRealtimeCountsResp) Status() string

Status returns HTTPResponse.Status

func (GetSloRealtimeCountsResp) StatusCode

func (r GetSloRealtimeCountsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSloRealtimeCountsResp200Headers

type GetSloRealtimeCountsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloRealtimeCountsResp200Headers the declared response headers of an HTTP 200 response for GetSloRealtimeCounts

type GetSloRealtimeCountsResp400Headers

type GetSloRealtimeCountsResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloRealtimeCountsResp400Headers the declared response headers of an HTTP 400 response for GetSloRealtimeCounts

type GetSloRealtimeCountsResp404Headers

type GetSloRealtimeCountsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloRealtimeCountsResp404Headers the declared response headers of an HTTP 404 response for GetSloRealtimeCounts

type GetSloRealtimeCountsResp429Headers

type GetSloRealtimeCountsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetSloRealtimeCountsResp429Headers the declared response headers of an HTTP 429 response for GetSloRealtimeCounts

type GetSloResp

type GetSloResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *GetSlo200JSONResponseBody
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetSloResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetSloResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetSloResp429Headers
}

func ParseGetSloResp

func ParseGetSloResp(rsp *http.Response) (*GetSloResp, error)

ParseGetSloResp parses an HTTP response from a GetSloWithResponse call

func (GetSloResp) ContentType

func (r GetSloResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSloResp) GetApplicationproblemJSON403

func (r GetSloResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetSloResp) GetApplicationproblemJSON404

func (r GetSloResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetSloResp) GetApplicationproblemJSON429

func (r GetSloResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetSloResp) GetApplicationvndApiJSON401

func (r GetSloResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetSloResp) GetApplicationvndApiJSON403

func (r GetSloResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetSloResp) GetApplicationvndApiJSON404

func (r GetSloResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetSloResp) GetApplicationvndApiJSON429

func (r GetSloResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetSloResp) GetBody

func (r GetSloResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetSloResp) GetJSON200

func (r GetSloResp) GetJSON200() *GetSlo200JSONResponseBody

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSloResp) GetJSON401

func (r GetSloResp) GetJSON401() *UnauthorizedApplicationJSON

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetSloResp) GetJSON403

func (r GetSloResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetSloResp) GetJSON404

func (r GetSloResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSloResp) GetJSON429

func (r GetSloResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetSloResp) GetJSONDefault

func (r GetSloResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (GetSloResp) Status

func (r GetSloResp) Status() string

Status returns HTTPResponse.Status

func (GetSloResp) StatusCode

func (r GetSloResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSloResp200Headers

type GetSloResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloResp200Headers the declared response headers of an HTTP 200 response for GetSlo

type GetSloResp404Headers

type GetSloResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetSloResp404Headers the declared response headers of an HTTP 404 response for GetSlo

type GetSloResp429Headers

type GetSloResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetSloResp429Headers the declared response headers of an HTTP 429 response for GetSlo

type GetTriggerResp

type GetTriggerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TriggerResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetTriggerResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *GetTriggerResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetTriggerResp429Headers
}

func ParseGetTriggerResp

func ParseGetTriggerResp(rsp *http.Response) (*GetTriggerResp, error)

ParseGetTriggerResp parses an HTTP response from a GetTriggerWithResponse call

func (GetTriggerResp) ContentType

func (r GetTriggerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetTriggerResp) GetApplicationproblemJSON403

func (r GetTriggerResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (GetTriggerResp) GetApplicationproblemJSON404

func (r GetTriggerResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (GetTriggerResp) GetApplicationproblemJSON429

func (r GetTriggerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetTriggerResp) GetApplicationvndApiJSON401

func (r GetTriggerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetTriggerResp) GetApplicationvndApiJSON403

func (r GetTriggerResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (GetTriggerResp) GetApplicationvndApiJSON404

func (r GetTriggerResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (GetTriggerResp) GetApplicationvndApiJSON429

func (r GetTriggerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetTriggerResp) GetBody

func (r GetTriggerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetTriggerResp) GetJSON200

func (r GetTriggerResp) GetJSON200() *TriggerResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetTriggerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetTriggerResp) GetJSON403

func (r GetTriggerResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetTriggerResp) GetJSON404

func (r GetTriggerResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetTriggerResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetTriggerResp) Status

func (r GetTriggerResp) Status() string

Status returns HTTPResponse.Status

func (GetTriggerResp) StatusCode

func (r GetTriggerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTriggerResp200Headers

type GetTriggerResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetTriggerResp200Headers the declared response headers of an HTTP 200 response for GetTrigger

type GetTriggerResp404Headers

type GetTriggerResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetTriggerResp404Headers the declared response headers of an HTTP 404 response for GetTrigger

type GetTriggerResp429Headers

type GetTriggerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetTriggerResp429Headers the declared response headers of an HTTP 429 response for GetTrigger

type GetV2AuthResp

type GetV2AuthResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON200 the response for an HTTP 200 `application/vnd.api+json` response
	ApplicationvndApiJSON200 *AuthV2Response
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *GetV2AuthResp200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *GetV2AuthResp429Headers
}

func ParseGetV2AuthResp

func ParseGetV2AuthResp(rsp *http.Response) (*GetV2AuthResp, error)

ParseGetV2AuthResp parses an HTTP response from a GetV2AuthWithResponse call

func (GetV2AuthResp) ContentType

func (r GetV2AuthResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetV2AuthResp) GetApplicationproblemJSON429

func (r GetV2AuthResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (GetV2AuthResp) GetApplicationvndApiJSON200

func (r GetV2AuthResp) GetApplicationvndApiJSON200() *AuthV2Response

GetApplicationvndApiJSON200 returns the response for an HTTP 200 `application/vnd.api+json` response

func (GetV2AuthResp) GetApplicationvndApiJSON401

func (r GetV2AuthResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (GetV2AuthResp) GetApplicationvndApiJSON429

func (r GetV2AuthResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (GetV2AuthResp) GetBody

func (r GetV2AuthResp) GetBody() []byte

GetBody returns the raw response body bytes

func (GetV2AuthResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetV2AuthResp) GetJSON429

func (r GetV2AuthResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (GetV2AuthResp) Status

func (r GetV2AuthResp) Status() string

Status returns HTTPResponse.Status

func (GetV2AuthResp) StatusCode

func (r GetV2AuthResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV2AuthResp200Headers

type GetV2AuthResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

GetV2AuthResp200Headers the declared response headers of an HTTP 200 response for GetV2Auth

type GetV2AuthResp429Headers

type GetV2AuthResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

GetV2AuthResp429Headers the declared response headers of an HTTP 429 response for GetV2Auth

type HavingCalculateOp

type HavingCalculateOp string

HavingCalculateOp defines model for HavingCalculateOp.

const (
	HavingCalculateOpAVG           HavingCalculateOp = "AVG"
	HavingCalculateOpCONCURRENCY   HavingCalculateOp = "CONCURRENCY"
	HavingCalculateOpCOUNT         HavingCalculateOp = "COUNT"
	HavingCalculateOpCOUNTDISTINCT HavingCalculateOp = "COUNT_DISTINCT"
	HavingCalculateOpMAX           HavingCalculateOp = "MAX"
	HavingCalculateOpMIN           HavingCalculateOp = "MIN"
	HavingCalculateOpP001          HavingCalculateOp = "P001"
	HavingCalculateOpP01           HavingCalculateOp = "P01"
	HavingCalculateOpP05           HavingCalculateOp = "P05"
	HavingCalculateOpP10           HavingCalculateOp = "P10"
	HavingCalculateOpP20           HavingCalculateOp = "P20"
	HavingCalculateOpP25           HavingCalculateOp = "P25"
	HavingCalculateOpP50           HavingCalculateOp = "P50"
	HavingCalculateOpP75           HavingCalculateOp = "P75"
	HavingCalculateOpP80           HavingCalculateOp = "P80"
	HavingCalculateOpP90           HavingCalculateOp = "P90"
	HavingCalculateOpP95           HavingCalculateOp = "P95"
	HavingCalculateOpP99           HavingCalculateOp = "P99"
	HavingCalculateOpP999          HavingCalculateOp = "P999"
	HavingCalculateOpRATEAVG       HavingCalculateOp = "RATE_AVG"
	HavingCalculateOpRATEMAX       HavingCalculateOp = "RATE_MAX"
	HavingCalculateOpRATESUM       HavingCalculateOp = "RATE_SUM"
	HavingCalculateOpSUM           HavingCalculateOp = "SUM"
)

Defines values for HavingCalculateOp.

func (HavingCalculateOp) Valid

func (e HavingCalculateOp) Valid() bool

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

type HavingOp

type HavingOp string

HavingOp defines model for HavingOp.

const (
	HavingOpEmpty            HavingOp = "!="
	HavingOpEqual            HavingOp = "="
	HavingOpGreaterThan      HavingOp = ">"
	HavingOpGreaterThanEqual HavingOp = ">="
	HavingOpLessThan         HavingOp = "<"
	HavingOpLessThanEqual    HavingOp = "<="
)

Defines values for HavingOp.

func (HavingOp) Valid

func (e HavingOp) Valid() bool

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

type HistoricalAnomaly

type HistoricalAnomaly struct {
	// EndedAt The time the anomaly ended, in seconds since UNIX epoch.
	//
	// Example: 1741093200
	EndedAt *int `json:"ended_at,omitempty"`

	// Id A deterministic identifier for the anomaly, derived from the Signal, its measured kind, and the anomaly's start time.
	//
	// Example: 0f8d0f3a-3f8b-5f2b-8f2b-1f2b3f4b5f6b
	Id *string `json:"id,omitempty"`

	// Measurement The measured value that triggered the anomaly.
	//
	// Example: 0.42
	Measurement *float32 `json:"measurement,omitempty"`

	// NormalRange The trained normal band a measurement exceeded.
	NormalRange HistoricalAnomalyNormalRange `json:"normal_range"`

	// StartedAt The time the anomaly started, in seconds since UNIX epoch.
	//
	// Example: 1741089600
	StartedAt *int `json:"started_at,omitempty"`
}

HistoricalAnomaly A resolved anomaly that a Signal previously fired for.

type HistoricalAnomalyNormalRange

type HistoricalAnomalyNormalRange struct {
	// Lower The lower bound of the trained normal band.
	//
	// Example: 0.01
	Lower float32 `json:"lower"`

	// Upper The upper bound of the trained normal band.
	//
	// Example: 0.08
	Upper float32 `json:"upper"`
}

HistoricalAnomalyNormalRange The trained normal band a measurement exceeded.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ID

type ID = string

ID defines model for ID.

type IncludedResource

type IncludedResource struct {
	// Attributes Example: {"name":"Production","slug":"production"}
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// Id The unique identifier of the resource
	//
	// Example: hcxen_01hznmeqrcq8rz533xrvtc6mk0
	Id *string `json:"id,omitempty"`

	// Type Example: environments
	Type *string `json:"type,omitempty"`
}

IncludedResource defines model for IncludedResource.

type IngestKeyAttributes

type IngestKeyAttributes struct {
	// Disabled Whether the API Key is disabled
	//
	// Example: false
	Disabled *bool `json:"disabled,omitempty"`

	// KeyType The type of API Key
	//
	// Example: ingest
	KeyType IngestKeyAttributesKeyType `json:"key_type"`

	// Name A human-readable name for the API Key
	//
	// Example: us-west-2 collectors key
	Name string `json:"name"`

	// Permissions The permissions granted to this Ingest API Key
	Permissions *struct {
		// CreateDatasets Whether this API Key can create new Datasets
		CreateDatasets *bool `json:"create_datasets,omitempty"`
	} `json:"permissions,omitempty"`
	Timestamps *struct {
		// Created The ISO8601-formatted time when the API Key was created.
		//
		// Example: 2022-09-22T17:32:11Z
		Created *time.Time `json:"created,omitempty"`

		// Updated The ISO8601-formatted time when the API Key was updated.
		//
		// Example: 2022-10-31T15:08:11Z
		Updated *time.Time `json:"updated,omitempty"`
	} `json:"timestamps,omitempty"`
}

IngestKeyAttributes defines model for IngestKeyAttributes.

type IngestKeyAttributesKeyType

type IngestKeyAttributesKeyType string

IngestKeyAttributesKeyType The type of API Key

Example: ingest

const (
	IngestKeyAttributesKeyTypeIngest IngestKeyAttributesKeyType = "ingest"
)

Defines values for IngestKeyAttributesKeyType.

func (IngestKeyAttributesKeyType) Valid

func (e IngestKeyAttributesKeyType) Valid() bool

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

type IngestKeyRequest

type IngestKeyRequest struct {
	Attributes struct {
		// Disabled Whether the Ingest Key is disabled
		//
		// Example: false
		Disabled *bool `json:"disabled,omitempty"`

		// Name A human-readable name for the Ingest Key
		//
		// Example: updated key name
		Name *string `json:"name,omitempty"`
	} `json:"attributes"`

	// Id The unique identifier of the Ingest Key ID with hcxik_ prefix
	//
	// Example: hcxik_12345678901234567890123456
	Id   string               `json:"id"`
	Type IngestKeyRequestType `json:"type"`
}

IngestKeyRequest defines model for IngestKeyRequest.

type IngestKeyRequestType

type IngestKeyRequestType string

IngestKeyRequestType defines model for IngestKeyRequest.Type.

const (
	IngestKeyRequestTypeApiKeys IngestKeyRequestType = "api-keys"
)

Defines values for IngestKeyRequestType.

func (IngestKeyRequestType) Valid

func (e IngestKeyRequestType) Valid() bool

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

type IngestKeyType

type IngestKeyType struct {
	// KeyType The type of API Key
	//
	// Example: ingest
	KeyType IngestKeyTypeKeyType `json:"key_type"`
}

IngestKeyType defines model for IngestKeyType.

type IngestKeyTypeKeyType

type IngestKeyTypeKeyType string

IngestKeyTypeKeyType The type of API Key

Example: ingest

const (
	IngestKeyTypeKeyTypeIngest IngestKeyTypeKeyType = "ingest"
)

Defines values for IngestKeyTypeKeyType.

func (IngestKeyTypeKeyType) Valid

func (e IngestKeyTypeKeyType) Valid() bool

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

type InternalErrorApplicationProblemPlusJSON

type InternalErrorApplicationProblemPlusJSON = DetailedError

InternalErrorApplicationProblemPlusJSON An RFC7807 'Problem Detail' formatted error message.

type InternalErrorApplicationVndAPIPlusJSON

type InternalErrorApplicationVndAPIPlusJSON = JSONAPIError

InternalErrorApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type JSONAPIError

type JSONAPIError struct {
	Errors *[]struct {
		Code   *string `json:"code,omitempty"`
		Detail *string `json:"detail,omitempty"`
		Id     *string `json:"id,omitempty"`
		Source *struct {
			Header    *string `json:"header,omitempty"`
			Parameter *string `json:"parameter,omitempty"`
			Pointer   *string `json:"pointer,omitempty"`
		} `json:"source,omitempty"`
		Status *string `json:"status,omitempty"`
		Title  *string `json:"title,omitempty"`
	} `json:"errors,omitempty"`
}

JSONAPIError A JSONAPI-formatted error message.

type KinesisEvent

type KinesisEvent struct {
	Records   *[]KinesisEventRecord `json:"records,omitempty"`
	RequestId *string               `json:"requestId,omitempty"`
	Timestamp *int                  `json:"timestamp,omitempty"`
}

KinesisEvent defines model for KinesisEvent.

type KinesisEventRecord

type KinesisEventRecord struct {
	// Data Base64 encoded Kinesis record from AWS
	Data *string `json:"data,omitempty"`
}

KinesisEventRecord defines model for KinesisEventRecord.

type KinesisResponse

type KinesisResponse struct {
	ErrorMessage *string `json:"errorMessage,omitempty"`
	RequestId    *string `json:"requestId,omitempty"`
	Timestamp    *int    `json:"timestamp,omitempty"`
}

KinesisResponse defines model for KinesisResponse.

type ListApiKeysParams

type ListApiKeysParams struct {
	// PageAfter The string value of the `next` attribute from a previous result page.
	// The cursor value must be empty or omitted for the first request of a cursor-paginated query.
	PageAfter *PaginationCursor `form:"page[after],omitempty" json:"page[after],omitempty"`

	// PageSize The number of entries to include per response. Maximum value is 100.
	PageSize *PaginationSize `form:"page[size],omitempty" json:"page[size],omitempty"`

	// FilterType Specifies the type of API key to return. This parameter accepts the following values:
	//   - `ingest`: Returns only ingest API keys.
	//   - `configuration`:  Returns only configuration API keys.
	//
	// The endpoint will default to fetching all API keys regardless of type if this filter is omitted.
	FilterType *ListApiKeysParamsFilterType `form:"filter[type],omitempty" json:"filter[type],omitempty"`
}

ListApiKeysParams defines parameters for ListApiKeys.

type ListApiKeysParamsFilterType

type ListApiKeysParamsFilterType string

ListApiKeysParamsFilterType defines parameters for ListApiKeys.

const (
	ListApiKeysParamsFilterTypeConfiguration ListApiKeysParamsFilterType = "configuration"
	ListApiKeysParamsFilterTypeIngest        ListApiKeysParamsFilterType = "ingest"
)

Defines values for ListApiKeysParamsFilterType.

func (ListApiKeysParamsFilterType) Valid

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

type ListApiKeysResp

type ListApiKeysResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON200 the response for an HTTP 200 `application/vnd.api+json` response
	ApplicationvndApiJSON200 *ApiKeyListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListApiKeysResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListApiKeysResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListApiKeysResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListApiKeysResp429Headers
}

func ParseListApiKeysResp

func ParseListApiKeysResp(rsp *http.Response) (*ListApiKeysResp, error)

ParseListApiKeysResp parses an HTTP response from a ListApiKeysWithResponse call

func (ListApiKeysResp) ContentType

func (r ListApiKeysResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListApiKeysResp) GetApplicationproblemJSON403

func (r ListApiKeysResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListApiKeysResp) GetApplicationproblemJSON404

func (r ListApiKeysResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListApiKeysResp) GetApplicationproblemJSON422

func (r ListApiKeysResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListApiKeysResp) GetApplicationproblemJSON429

func (r ListApiKeysResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListApiKeysResp) GetApplicationproblemJSON500

func (r ListApiKeysResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (ListApiKeysResp) GetApplicationvndApiJSON200

func (r ListApiKeysResp) GetApplicationvndApiJSON200() *ApiKeyListResponse

GetApplicationvndApiJSON200 returns the response for an HTTP 200 `application/vnd.api+json` response

func (ListApiKeysResp) GetApplicationvndApiJSON401

func (r ListApiKeysResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListApiKeysResp) GetApplicationvndApiJSON403

func (r ListApiKeysResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListApiKeysResp) GetApplicationvndApiJSON404

func (r ListApiKeysResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListApiKeysResp) GetApplicationvndApiJSON422

func (r ListApiKeysResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (ListApiKeysResp) GetApplicationvndApiJSON429

func (r ListApiKeysResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListApiKeysResp) GetApplicationvndApiJSON500

func (r ListApiKeysResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (ListApiKeysResp) GetBody

func (r ListApiKeysResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListApiKeysResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListApiKeysResp) GetJSON403

func (r ListApiKeysResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListApiKeysResp) GetJSON404

func (r ListApiKeysResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListApiKeysResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListApiKeysResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListApiKeysResp) Status

func (r ListApiKeysResp) Status() string

Status returns HTTPResponse.Status

func (ListApiKeysResp) StatusCode

func (r ListApiKeysResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListApiKeysResp200Headers

type ListApiKeysResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListApiKeysResp200Headers the declared response headers of an HTTP 200 response for ListApiKeys

type ListApiKeysResp404Headers

type ListApiKeysResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListApiKeysResp404Headers the declared response headers of an HTTP 404 response for ListApiKeys

type ListApiKeysResp422Headers

type ListApiKeysResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListApiKeysResp422Headers the declared response headers of an HTTP 422 response for ListApiKeys

type ListApiKeysResp429Headers

type ListApiKeysResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListApiKeysResp429Headers the declared response headers of an HTTP 429 response for ListApiKeys

type ListBoardViewsResp

type ListBoardViewsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]BoardViewResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListBoardViewsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListBoardViewsResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListBoardViewsResp429Headers
}

func ParseListBoardViewsResp

func ParseListBoardViewsResp(rsp *http.Response) (*ListBoardViewsResp, error)

ParseListBoardViewsResp parses an HTTP response from a ListBoardViewsWithResponse call

func (ListBoardViewsResp) ContentType

func (r ListBoardViewsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListBoardViewsResp) GetApplicationproblemJSON403

func (r ListBoardViewsResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListBoardViewsResp) GetApplicationproblemJSON404

func (r ListBoardViewsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListBoardViewsResp) GetApplicationproblemJSON429

func (r ListBoardViewsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListBoardViewsResp) GetApplicationvndApiJSON401

func (r ListBoardViewsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListBoardViewsResp) GetApplicationvndApiJSON403

func (r ListBoardViewsResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListBoardViewsResp) GetApplicationvndApiJSON404

func (r ListBoardViewsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListBoardViewsResp) GetApplicationvndApiJSON429

func (r ListBoardViewsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListBoardViewsResp) GetBody

func (r ListBoardViewsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListBoardViewsResp) GetJSON200

func (r ListBoardViewsResp) GetJSON200() *[]BoardViewResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListBoardViewsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListBoardViewsResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListBoardViewsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListBoardViewsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListBoardViewsResp) GetJSONDefault

func (r ListBoardViewsResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListBoardViewsResp) Status

func (r ListBoardViewsResp) Status() string

Status returns HTTPResponse.Status

func (ListBoardViewsResp) StatusCode

func (r ListBoardViewsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBoardViewsResp200Headers

type ListBoardViewsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListBoardViewsResp200Headers the declared response headers of an HTTP 200 response for ListBoardViews

type ListBoardViewsResp404Headers

type ListBoardViewsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListBoardViewsResp404Headers the declared response headers of an HTTP 404 response for ListBoardViews

type ListBoardViewsResp429Headers

type ListBoardViewsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListBoardViewsResp429Headers the declared response headers of an HTTP 429 response for ListBoardViews

type ListBoardsResp

type ListBoardsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Board
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListBoardsResp200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListBoardsResp429Headers
}

func ParseListBoardsResp

func ParseListBoardsResp(rsp *http.Response) (*ListBoardsResp, error)

ParseListBoardsResp parses an HTTP response from a ListBoardsWithResponse call

func (ListBoardsResp) ContentType

func (r ListBoardsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListBoardsResp) GetApplicationproblemJSON429

func (r ListBoardsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListBoardsResp) GetApplicationvndApiJSON401

func (r ListBoardsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListBoardsResp) GetApplicationvndApiJSON429

func (r ListBoardsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListBoardsResp) GetBody

func (r ListBoardsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListBoardsResp) GetJSON200

func (r ListBoardsResp) GetJSON200() *[]Board

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListBoardsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListBoardsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListBoardsResp) GetJSONDefault

func (r ListBoardsResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListBoardsResp) Status

func (r ListBoardsResp) Status() string

Status returns HTTPResponse.Status

func (ListBoardsResp) StatusCode

func (r ListBoardsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBoardsResp200Headers

type ListBoardsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListBoardsResp200Headers the declared response headers of an HTTP 200 response for ListBoards

type ListBoardsResp429Headers

type ListBoardsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListBoardsResp429Headers the declared response headers of an HTTP 429 response for ListBoards

type ListBurnAlertsBySloParams

type ListBurnAlertsBySloParams struct {
	// SloId For use with the list endpoint to retrieve all burn alerts for a specified SLO.
	SloId string `form:"slo_id" json:"slo_id"`
}

ListBurnAlertsBySloParams defines parameters for ListBurnAlertsBySlo.

type ListBurnAlertsBySloResp

type ListBurnAlertsBySloResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]BurnAlertListResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListBurnAlertsBySloResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListBurnAlertsBySloResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListBurnAlertsBySloResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListBurnAlertsBySloResp429Headers
}

func ParseListBurnAlertsBySloResp

func ParseListBurnAlertsBySloResp(rsp *http.Response) (*ListBurnAlertsBySloResp, error)

ParseListBurnAlertsBySloResp parses an HTTP response from a ListBurnAlertsBySloWithResponse call

func (ListBurnAlertsBySloResp) ContentType

func (r ListBurnAlertsBySloResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListBurnAlertsBySloResp) GetApplicationproblemJSON403

func (r ListBurnAlertsBySloResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListBurnAlertsBySloResp) GetApplicationproblemJSON404

func (r ListBurnAlertsBySloResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListBurnAlertsBySloResp) GetApplicationproblemJSON422

func (r ListBurnAlertsBySloResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListBurnAlertsBySloResp) GetApplicationproblemJSON429

func (r ListBurnAlertsBySloResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListBurnAlertsBySloResp) GetApplicationvndApiJSON403

func (r ListBurnAlertsBySloResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListBurnAlertsBySloResp) GetApplicationvndApiJSON404

func (r ListBurnAlertsBySloResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListBurnAlertsBySloResp) GetApplicationvndApiJSON422

func (r ListBurnAlertsBySloResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (ListBurnAlertsBySloResp) GetApplicationvndApiJSON429

func (r ListBurnAlertsBySloResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListBurnAlertsBySloResp) GetBody

func (r ListBurnAlertsBySloResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListBurnAlertsBySloResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListBurnAlertsBySloResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListBurnAlertsBySloResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListBurnAlertsBySloResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListBurnAlertsBySloResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListBurnAlertsBySloResp) GetJSONDefault

func (r ListBurnAlertsBySloResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListBurnAlertsBySloResp) Status

func (r ListBurnAlertsBySloResp) Status() string

Status returns HTTPResponse.Status

func (ListBurnAlertsBySloResp) StatusCode

func (r ListBurnAlertsBySloResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBurnAlertsBySloResp200Headers

type ListBurnAlertsBySloResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListBurnAlertsBySloResp200Headers the declared response headers of an HTTP 200 response for ListBurnAlertsBySlo

type ListBurnAlertsBySloResp404Headers

type ListBurnAlertsBySloResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListBurnAlertsBySloResp404Headers the declared response headers of an HTTP 404 response for ListBurnAlertsBySlo

type ListBurnAlertsBySloResp422Headers

type ListBurnAlertsBySloResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListBurnAlertsBySloResp422Headers the declared response headers of an HTTP 422 response for ListBurnAlertsBySlo

type ListBurnAlertsBySloResp429Headers

type ListBurnAlertsBySloResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListBurnAlertsBySloResp429Headers the declared response headers of an HTTP 429 response for ListBurnAlertsBySlo

type ListCalculatedFields200JSONResponseBody

type ListCalculatedFields200JSONResponseBody struct {
	// contains filtered or unexported fields
}

ListCalculatedFields200JSONResponseBody defines parameters for ListCalculatedFields.

func (ListCalculatedFields200JSONResponseBody) AsCalculatedField

AsCalculatedField returns the union data inside the ListCalculatedFields200JSONResponseBody as a CalculatedField

func (ListCalculatedFields200JSONResponseBody) AsCalculatedFieldList

AsCalculatedFieldList returns the union data inside the ListCalculatedFields200JSONResponseBody as a CalculatedFieldList

func (*ListCalculatedFields200JSONResponseBody) FromCalculatedField

FromCalculatedField overwrites any union data inside the ListCalculatedFields200JSONResponseBody as the provided CalculatedField

func (*ListCalculatedFields200JSONResponseBody) FromCalculatedFieldList

FromCalculatedFieldList overwrites any union data inside the ListCalculatedFields200JSONResponseBody as the provided CalculatedFieldList

func (ListCalculatedFields200JSONResponseBody) MarshalJSON

func (t ListCalculatedFields200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*ListCalculatedFields200JSONResponseBody) MergeCalculatedField

MergeCalculatedField performs a merge with any union data inside the ListCalculatedFields200JSONResponseBody, using the provided CalculatedField

func (*ListCalculatedFields200JSONResponseBody) MergeCalculatedFieldList

func (t *ListCalculatedFields200JSONResponseBody) MergeCalculatedFieldList(v CalculatedFieldList) error

MergeCalculatedFieldList performs a merge with any union data inside the ListCalculatedFields200JSONResponseBody, using the provided CalculatedFieldList

func (*ListCalculatedFields200JSONResponseBody) UnmarshalJSON

func (t *ListCalculatedFields200JSONResponseBody) UnmarshalJSON(b []byte) error

type ListCalculatedFieldsParams

type ListCalculatedFieldsParams struct {
	// Alias The Calculated Field `alias`.
	Alias *string `form:"alias,omitempty" json:"alias,omitempty"`
}

ListCalculatedFieldsParams defines parameters for ListCalculatedFields.

type ListCalculatedFieldsResp

type ListCalculatedFieldsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListCalculatedFields200JSONResponseBody
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListCalculatedFieldsResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *ListCalculatedFieldsResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListCalculatedFieldsResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListCalculatedFieldsResp429Headers
}

func ParseListCalculatedFieldsResp

func ParseListCalculatedFieldsResp(rsp *http.Response) (*ListCalculatedFieldsResp, error)

ParseListCalculatedFieldsResp parses an HTTP response from a ListCalculatedFieldsWithResponse call

func (ListCalculatedFieldsResp) ContentType

func (r ListCalculatedFieldsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListCalculatedFieldsResp) GetApplicationproblemJSON400

func (r ListCalculatedFieldsResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ListCalculatedFieldsResp) GetApplicationproblemJSON404

func (r ListCalculatedFieldsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListCalculatedFieldsResp) GetApplicationproblemJSON429

func (r ListCalculatedFieldsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListCalculatedFieldsResp) GetApplicationvndApiJSON400

func (r ListCalculatedFieldsResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (ListCalculatedFieldsResp) GetApplicationvndApiJSON401

func (r ListCalculatedFieldsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListCalculatedFieldsResp) GetApplicationvndApiJSON404

func (r ListCalculatedFieldsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListCalculatedFieldsResp) GetApplicationvndApiJSON429

func (r ListCalculatedFieldsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListCalculatedFieldsResp) GetBody

func (r ListCalculatedFieldsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListCalculatedFieldsResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListCalculatedFieldsResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ListCalculatedFieldsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListCalculatedFieldsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListCalculatedFieldsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListCalculatedFieldsResp) Status

func (r ListCalculatedFieldsResp) Status() string

Status returns HTTPResponse.Status

func (ListCalculatedFieldsResp) StatusCode

func (r ListCalculatedFieldsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCalculatedFieldsResp200Headers

type ListCalculatedFieldsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListCalculatedFieldsResp200Headers the declared response headers of an HTTP 200 response for ListCalculatedFields

type ListCalculatedFieldsResp400Headers

type ListCalculatedFieldsResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListCalculatedFieldsResp400Headers the declared response headers of an HTTP 400 response for ListCalculatedFields

type ListCalculatedFieldsResp404Headers

type ListCalculatedFieldsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListCalculatedFieldsResp404Headers the declared response headers of an HTTP 404 response for ListCalculatedFields

type ListCalculatedFieldsResp429Headers

type ListCalculatedFieldsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListCalculatedFieldsResp429Headers the declared response headers of an HTTP 429 response for ListCalculatedFields

type ListColumns200JSONResponseBody

type ListColumns200JSONResponseBody struct {
	// contains filtered or unexported fields
}

ListColumns200JSONResponseBody defines parameters for ListColumns.

func (ListColumns200JSONResponseBody) AsColumn

AsColumn returns the union data inside the ListColumns200JSONResponseBody as a Column

func (ListColumns200JSONResponseBody) AsColumnList

func (t ListColumns200JSONResponseBody) AsColumnList() (ColumnList, error)

AsColumnList returns the union data inside the ListColumns200JSONResponseBody as a ColumnList

func (*ListColumns200JSONResponseBody) FromColumn

func (t *ListColumns200JSONResponseBody) FromColumn(v Column) error

FromColumn overwrites any union data inside the ListColumns200JSONResponseBody as the provided Column

func (*ListColumns200JSONResponseBody) FromColumnList

func (t *ListColumns200JSONResponseBody) FromColumnList(v ColumnList) error

FromColumnList overwrites any union data inside the ListColumns200JSONResponseBody as the provided ColumnList

func (ListColumns200JSONResponseBody) MarshalJSON

func (t ListColumns200JSONResponseBody) MarshalJSON() ([]byte, error)

func (*ListColumns200JSONResponseBody) MergeColumn

func (t *ListColumns200JSONResponseBody) MergeColumn(v Column) error

MergeColumn performs a merge with any union data inside the ListColumns200JSONResponseBody, using the provided Column

func (*ListColumns200JSONResponseBody) MergeColumnList

func (t *ListColumns200JSONResponseBody) MergeColumnList(v ColumnList) error

MergeColumnList performs a merge with any union data inside the ListColumns200JSONResponseBody, using the provided ColumnList

func (*ListColumns200JSONResponseBody) UnmarshalJSON

func (t *ListColumns200JSONResponseBody) UnmarshalJSON(b []byte) error

type ListColumnsParams

type ListColumnsParams struct {
	// KeyName the column key name
	KeyName *string `form:"key_name,omitempty" json:"key_name,omitempty"`
}

ListColumnsParams defines parameters for ListColumns.

type ListColumnsResp

type ListColumnsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListColumns200JSONResponseBody
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListColumnsResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *ListColumnsResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListColumnsResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListColumnsResp429Headers
}

func ParseListColumnsResp

func ParseListColumnsResp(rsp *http.Response) (*ListColumnsResp, error)

ParseListColumnsResp parses an HTTP response from a ListColumnsWithResponse call

func (ListColumnsResp) ContentType

func (r ListColumnsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListColumnsResp) GetApplicationproblemJSON400

func (r ListColumnsResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ListColumnsResp) GetApplicationproblemJSON404

func (r ListColumnsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListColumnsResp) GetApplicationproblemJSON429

func (r ListColumnsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListColumnsResp) GetApplicationvndApiJSON400

func (r ListColumnsResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (ListColumnsResp) GetApplicationvndApiJSON401

func (r ListColumnsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListColumnsResp) GetApplicationvndApiJSON404

func (r ListColumnsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListColumnsResp) GetApplicationvndApiJSON429

func (r ListColumnsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListColumnsResp) GetBody

func (r ListColumnsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListColumnsResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListColumnsResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ListColumnsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListColumnsResp) GetJSON404

func (r ListColumnsResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListColumnsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListColumnsResp) Status

func (r ListColumnsResp) Status() string

Status returns HTTPResponse.Status

func (ListColumnsResp) StatusCode

func (r ListColumnsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListColumnsResp200Headers

type ListColumnsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListColumnsResp200Headers the declared response headers of an HTTP 200 response for ListColumns

type ListColumnsResp400Headers

type ListColumnsResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListColumnsResp400Headers the declared response headers of an HTTP 400 response for ListColumns

type ListColumnsResp404Headers

type ListColumnsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListColumnsResp404Headers the declared response headers of an HTTP 404 response for ListColumns

type ListColumnsResp429Headers

type ListColumnsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListColumnsResp429Headers the declared response headers of an HTTP 429 response for ListColumns

type ListDatasetDefinitionsResp

type ListDatasetDefinitionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetDefinitions
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListDatasetDefinitionsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListDatasetDefinitionsResp404Headers
}

func ParseListDatasetDefinitionsResp

func ParseListDatasetDefinitionsResp(rsp *http.Response) (*ListDatasetDefinitionsResp, error)

ParseListDatasetDefinitionsResp parses an HTTP response from a ListDatasetDefinitionsWithResponse call

func (ListDatasetDefinitionsResp) ContentType

func (r ListDatasetDefinitionsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListDatasetDefinitionsResp) GetApplicationproblemJSON404

func (r ListDatasetDefinitionsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListDatasetDefinitionsResp) GetApplicationvndApiJSON401

func (r ListDatasetDefinitionsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListDatasetDefinitionsResp) GetApplicationvndApiJSON404

func (r ListDatasetDefinitionsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListDatasetDefinitionsResp) GetBody

func (r ListDatasetDefinitionsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListDatasetDefinitionsResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListDatasetDefinitionsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListDatasetDefinitionsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListDatasetDefinitionsResp) Status

Status returns HTTPResponse.Status

func (ListDatasetDefinitionsResp) StatusCode

func (r ListDatasetDefinitionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDatasetDefinitionsResp200Headers

type ListDatasetDefinitionsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListDatasetDefinitionsResp200Headers the declared response headers of an HTTP 200 response for ListDatasetDefinitions

type ListDatasetDefinitionsResp404Headers

type ListDatasetDefinitionsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListDatasetDefinitionsResp404Headers the declared response headers of an HTTP 404 response for ListDatasetDefinitions

type ListDatasetsResp

type ListDatasetsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Dataset
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListDatasetsResp200Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListDatasetsResp429Headers
}

func ParseListDatasetsResp

func ParseListDatasetsResp(rsp *http.Response) (*ListDatasetsResp, error)

ParseListDatasetsResp parses an HTTP response from a ListDatasetsWithResponse call

func (ListDatasetsResp) ContentType

func (r ListDatasetsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListDatasetsResp) GetApplicationproblemJSON429

func (r ListDatasetsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListDatasetsResp) GetApplicationvndApiJSON401

func (r ListDatasetsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListDatasetsResp) GetApplicationvndApiJSON429

func (r ListDatasetsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListDatasetsResp) GetBody

func (r ListDatasetsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListDatasetsResp) GetJSON200

func (r ListDatasetsResp) GetJSON200() *[]Dataset

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListDatasetsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListDatasetsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListDatasetsResp) GetJSONDefault

func (r ListDatasetsResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListDatasetsResp) Status

func (r ListDatasetsResp) Status() string

Status returns HTTPResponse.Status

func (ListDatasetsResp) StatusCode

func (r ListDatasetsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDatasetsResp200Headers

type ListDatasetsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListDatasetsResp200Headers the declared response headers of an HTTP 200 response for ListDatasets

type ListDatasetsResp429Headers

type ListDatasetsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListDatasetsResp429Headers the declared response headers of an HTTP 429 response for ListDatasets

type ListEnvironmentsParams

type ListEnvironmentsParams struct {
	// PageAfter The string value of the `next` attribute from a previous result page.
	// The cursor value must be empty or omitted for the first request of a cursor-paginated query.
	PageAfter *PaginationCursor `form:"page[after],omitempty" json:"page[after],omitempty"`

	// PageSize The number of entries to include per response. Maximum value is 100.
	PageSize *PaginationSize `form:"page[size],omitempty" json:"page[size],omitempty"`
}

ListEnvironmentsParams defines parameters for ListEnvironments.

type ListEnvironmentsResp

type ListEnvironmentsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON200 the response for an HTTP 200 `application/vnd.api+json` response
	ApplicationvndApiJSON200 *EnvironmentListResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListEnvironmentsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListEnvironmentsResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListEnvironmentsResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListEnvironmentsResp429Headers
}

func ParseListEnvironmentsResp

func ParseListEnvironmentsResp(rsp *http.Response) (*ListEnvironmentsResp, error)

ParseListEnvironmentsResp parses an HTTP response from a ListEnvironmentsWithResponse call

func (ListEnvironmentsResp) ContentType

func (r ListEnvironmentsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListEnvironmentsResp) GetApplicationproblemJSON403

func (r ListEnvironmentsResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListEnvironmentsResp) GetApplicationproblemJSON404

func (r ListEnvironmentsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListEnvironmentsResp) GetApplicationproblemJSON422

func (r ListEnvironmentsResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListEnvironmentsResp) GetApplicationproblemJSON429

func (r ListEnvironmentsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListEnvironmentsResp) GetApplicationproblemJSON500

func (r ListEnvironmentsResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (ListEnvironmentsResp) GetApplicationvndApiJSON200

func (r ListEnvironmentsResp) GetApplicationvndApiJSON200() *EnvironmentListResponse

GetApplicationvndApiJSON200 returns the response for an HTTP 200 `application/vnd.api+json` response

func (ListEnvironmentsResp) GetApplicationvndApiJSON401

func (r ListEnvironmentsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListEnvironmentsResp) GetApplicationvndApiJSON403

func (r ListEnvironmentsResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListEnvironmentsResp) GetApplicationvndApiJSON404

func (r ListEnvironmentsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListEnvironmentsResp) GetApplicationvndApiJSON422

func (r ListEnvironmentsResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (ListEnvironmentsResp) GetApplicationvndApiJSON429

func (r ListEnvironmentsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListEnvironmentsResp) GetApplicationvndApiJSON500

func (r ListEnvironmentsResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (ListEnvironmentsResp) GetBody

func (r ListEnvironmentsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListEnvironmentsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListEnvironmentsResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListEnvironmentsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListEnvironmentsResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListEnvironmentsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListEnvironmentsResp) Status

func (r ListEnvironmentsResp) Status() string

Status returns HTTPResponse.Status

func (ListEnvironmentsResp) StatusCode

func (r ListEnvironmentsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnvironmentsResp200Headers

type ListEnvironmentsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListEnvironmentsResp200Headers the declared response headers of an HTTP 200 response for ListEnvironments

type ListEnvironmentsResp404Headers

type ListEnvironmentsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListEnvironmentsResp404Headers the declared response headers of an HTTP 404 response for ListEnvironments

type ListEnvironmentsResp422Headers

type ListEnvironmentsResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListEnvironmentsResp422Headers the declared response headers of an HTTP 422 response for ListEnvironments

type ListEnvironmentsResp429Headers

type ListEnvironmentsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListEnvironmentsResp429Headers the declared response headers of an HTTP 429 response for ListEnvironments

type ListMarkerSettingsResp

type ListMarkerSettingsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]MarkerSetting
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListMarkerSettingsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListMarkerSettingsResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListMarkerSettingsResp429Headers
}

func ParseListMarkerSettingsResp

func ParseListMarkerSettingsResp(rsp *http.Response) (*ListMarkerSettingsResp, error)

ParseListMarkerSettingsResp parses an HTTP response from a ListMarkerSettingsWithResponse call

func (ListMarkerSettingsResp) ContentType

func (r ListMarkerSettingsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListMarkerSettingsResp) GetApplicationproblemJSON404

func (r ListMarkerSettingsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListMarkerSettingsResp) GetApplicationproblemJSON429

func (r ListMarkerSettingsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListMarkerSettingsResp) GetApplicationvndApiJSON404

func (r ListMarkerSettingsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListMarkerSettingsResp) GetApplicationvndApiJSON429

func (r ListMarkerSettingsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListMarkerSettingsResp) GetBody

func (r ListMarkerSettingsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListMarkerSettingsResp) GetJSON200

func (r ListMarkerSettingsResp) GetJSON200() *[]MarkerSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListMarkerSettingsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListMarkerSettingsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListMarkerSettingsResp) Status

func (r ListMarkerSettingsResp) Status() string

Status returns HTTPResponse.Status

func (ListMarkerSettingsResp) StatusCode

func (r ListMarkerSettingsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMarkerSettingsResp200Headers

type ListMarkerSettingsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListMarkerSettingsResp200Headers the declared response headers of an HTTP 200 response for ListMarkerSettings

type ListMarkerSettingsResp404Headers

type ListMarkerSettingsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListMarkerSettingsResp404Headers the declared response headers of an HTTP 404 response for ListMarkerSettings

type ListMarkerSettingsResp429Headers

type ListMarkerSettingsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListMarkerSettingsResp429Headers the declared response headers of an HTTP 429 response for ListMarkerSettings

type ListQueryAnnotationsParams

type ListQueryAnnotationsParams struct {
	// IncludeBoardAnnotations Whether to include Query Annotations that were created from boards. By default, only Query Annotations created directly from queries are returned.
	IncludeBoardAnnotations *bool `form:"include_board_annotations,omitempty" json:"include_board_annotations,omitempty"`
}

ListQueryAnnotationsParams defines parameters for ListQueryAnnotations.

type ListQueryAnnotationsResp

type ListQueryAnnotationsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]QueryAnnotation
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListQueryAnnotationsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListQueryAnnotationsResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListQueryAnnotationsResp429Headers
}

func ParseListQueryAnnotationsResp

func ParseListQueryAnnotationsResp(rsp *http.Response) (*ListQueryAnnotationsResp, error)

ParseListQueryAnnotationsResp parses an HTTP response from a ListQueryAnnotationsWithResponse call

func (ListQueryAnnotationsResp) ContentType

func (r ListQueryAnnotationsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListQueryAnnotationsResp) GetApplicationproblemJSON404

func (r ListQueryAnnotationsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListQueryAnnotationsResp) GetApplicationproblemJSON429

func (r ListQueryAnnotationsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListQueryAnnotationsResp) GetApplicationvndApiJSON404

func (r ListQueryAnnotationsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListQueryAnnotationsResp) GetApplicationvndApiJSON429

func (r ListQueryAnnotationsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListQueryAnnotationsResp) GetBody

func (r ListQueryAnnotationsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListQueryAnnotationsResp) GetJSON200

func (r ListQueryAnnotationsResp) GetJSON200() *[]QueryAnnotation

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListQueryAnnotationsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListQueryAnnotationsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListQueryAnnotationsResp) GetJSONDefault

func (r ListQueryAnnotationsResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListQueryAnnotationsResp) Status

func (r ListQueryAnnotationsResp) Status() string

Status returns HTTPResponse.Status

func (ListQueryAnnotationsResp) StatusCode

func (r ListQueryAnnotationsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListQueryAnnotationsResp200Headers

type ListQueryAnnotationsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListQueryAnnotationsResp200Headers the declared response headers of an HTTP 200 response for ListQueryAnnotations

type ListQueryAnnotationsResp404Headers

type ListQueryAnnotationsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListQueryAnnotationsResp404Headers the declared response headers of an HTTP 404 response for ListQueryAnnotations

type ListQueryAnnotationsResp429Headers

type ListQueryAnnotationsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListQueryAnnotationsResp429Headers the declared response headers of an HTTP 429 response for ListQueryAnnotations

type ListRecipientsResp

type ListRecipientsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Recipient
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *Error
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListRecipientsResp200Headers
}

func ParseListRecipientsResp

func ParseListRecipientsResp(rsp *http.Response) (*ListRecipientsResp, error)

ParseListRecipientsResp parses an HTTP response from a ListRecipientsWithResponse call

func (ListRecipientsResp) ContentType

func (r ListRecipientsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListRecipientsResp) GetBody

func (r ListRecipientsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListRecipientsResp) GetJSON200

func (r ListRecipientsResp) GetJSON200() *[]Recipient

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListRecipientsResp) GetJSON401

func (r ListRecipientsResp) GetJSON401() *Error

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListRecipientsResp) Status

func (r ListRecipientsResp) Status() string

Status returns HTTPResponse.Status

func (ListRecipientsResp) StatusCode

func (r ListRecipientsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRecipientsResp200Headers

type ListRecipientsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListRecipientsResp200Headers the declared response headers of an HTTP 200 response for ListRecipients

type ListSignalHistoricalAnomaliesParams

type ListSignalHistoricalAnomaliesParams struct {
	// StartTime Start of the query window, in seconds since UNIX epoch.
	StartTime int `form:"start_time" json:"start_time"`

	// EndTime End of the query window, in seconds since UNIX epoch. Must be after `start_time` and within 30 days of it.
	EndTime int `form:"end_time" json:"end_time"`

	// PageAfter The string value of the `next` attribute from a previous result page.
	// The cursor value must be empty or omitted for the first request of a cursor-paginated query.
	PageAfter *PaginationCursor `form:"page[after],omitempty" json:"page[after],omitempty"`

	// PageSize The number of entries to include per response. Maximum value is 100.
	PageSize *PaginationSize `form:"page[size],omitempty" json:"page[size],omitempty"`
}

ListSignalHistoricalAnomaliesParams defines parameters for ListSignalHistoricalAnomalies.

type ListSignalHistoricalAnomaliesResp

type ListSignalHistoricalAnomaliesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PaginatedHistoricalAnomaliesResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListSignalHistoricalAnomaliesResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *ListSignalHistoricalAnomaliesResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListSignalHistoricalAnomaliesResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListSignalHistoricalAnomaliesResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListSignalHistoricalAnomaliesResp429Headers
}

func ParseListSignalHistoricalAnomaliesResp

func ParseListSignalHistoricalAnomaliesResp(rsp *http.Response) (*ListSignalHistoricalAnomaliesResp, error)

ParseListSignalHistoricalAnomaliesResp parses an HTTP response from a ListSignalHistoricalAnomaliesWithResponse call

func (ListSignalHistoricalAnomaliesResp) ContentType

func (r ListSignalHistoricalAnomaliesResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSignalHistoricalAnomaliesResp) GetApplicationproblemJSON400

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationproblemJSON403

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationproblemJSON404

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationproblemJSON422

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationproblemJSON429

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationvndApiJSON400

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationvndApiJSON401

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationvndApiJSON403

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationvndApiJSON404

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationvndApiJSON422

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (ListSignalHistoricalAnomaliesResp) GetApplicationvndApiJSON429

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListSignalHistoricalAnomaliesResp) GetBody

GetBody returns the raw response body bytes

func (ListSignalHistoricalAnomaliesResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSignalHistoricalAnomaliesResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ListSignalHistoricalAnomaliesResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListSignalHistoricalAnomaliesResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListSignalHistoricalAnomaliesResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListSignalHistoricalAnomaliesResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListSignalHistoricalAnomaliesResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListSignalHistoricalAnomaliesResp) GetJSONDefault

func (r ListSignalHistoricalAnomaliesResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListSignalHistoricalAnomaliesResp) Status

Status returns HTTPResponse.Status

func (ListSignalHistoricalAnomaliesResp) StatusCode

func (r ListSignalHistoricalAnomaliesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSignalHistoricalAnomaliesResp200Headers

type ListSignalHistoricalAnomaliesResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSignalHistoricalAnomaliesResp200Headers the declared response headers of an HTTP 200 response for ListSignalHistoricalAnomalies

type ListSignalHistoricalAnomaliesResp400Headers

type ListSignalHistoricalAnomaliesResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSignalHistoricalAnomaliesResp400Headers the declared response headers of an HTTP 400 response for ListSignalHistoricalAnomalies

type ListSignalHistoricalAnomaliesResp404Headers

type ListSignalHistoricalAnomaliesResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSignalHistoricalAnomaliesResp404Headers the declared response headers of an HTTP 404 response for ListSignalHistoricalAnomalies

type ListSignalHistoricalAnomaliesResp422Headers

type ListSignalHistoricalAnomaliesResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSignalHistoricalAnomaliesResp422Headers the declared response headers of an HTTP 422 response for ListSignalHistoricalAnomalies

type ListSignalHistoricalAnomaliesResp429Headers

type ListSignalHistoricalAnomaliesResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListSignalHistoricalAnomaliesResp429Headers the declared response headers of an HTTP 429 response for ListSignalHistoricalAnomalies

type ListSignalsParams

type ListSignalsParams struct {
	// PageAfter The string value of the `next` attribute from a previous result page.
	// The cursor value must be empty or omitted for the first request of a cursor-paginated query.
	PageAfter *PaginationCursor `form:"page[after],omitempty" json:"page[after],omitempty"`

	// PageSize The number of entries to include per response. Maximum value is 100.
	PageSize *PaginationSize `form:"page[size],omitempty" json:"page[size],omitempty"`

	// ServiceName Restrict results to Signals for a single service.
	ServiceName *string `form:"service_name,omitempty" json:"service_name,omitempty"`

	// DatasetSlug Restrict results to Signals in a single dataset.
	DatasetSlug *string `form:"dataset_slug,omitempty" json:"dataset_slug,omitempty"`

	// MeasuredSignal Restrict results to Signals of the given kind.
	MeasuredSignal *AnomalySignal `form:"measured_signal,omitempty" json:"measured_signal,omitempty"`

	// Status Restrict results to Signals in the given status.
	Status *ListSignalsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// CurrentlyAnomalous When `true`, only return Signals that are currently in an anomalous state.
	CurrentlyAnomalous *bool `form:"currently_anomalous,omitempty" json:"currently_anomalous,omitempty"`
}

ListSignalsParams defines parameters for ListSignals.

type ListSignalsParamsStatus

type ListSignalsParamsStatus string

ListSignalsParamsStatus defines parameters for ListSignals.

const (
	ListSignalsParamsStatusActive     ListSignalsParamsStatus = "active"
	ListSignalsParamsStatusIneligible ListSignalsParamsStatus = "ineligible"
	ListSignalsParamsStatusOff        ListSignalsParamsStatus = "off"
	ListSignalsParamsStatusOnboarding ListSignalsParamsStatus = "onboarding"
	ListSignalsParamsStatusTraining   ListSignalsParamsStatus = "training"
)

Defines values for ListSignalsParamsStatus.

func (ListSignalsParamsStatus) Valid

func (e ListSignalsParamsStatus) Valid() bool

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

type ListSignalsResp

type ListSignalsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PaginatedSignalsResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListSignalsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListSignalsResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *ListSignalsResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListSignalsResp429Headers
}

func ParseListSignalsResp

func ParseListSignalsResp(rsp *http.Response) (*ListSignalsResp, error)

ParseListSignalsResp parses an HTTP response from a ListSignalsWithResponse call

func (ListSignalsResp) ContentType

func (r ListSignalsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSignalsResp) GetApplicationproblemJSON403

func (r ListSignalsResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListSignalsResp) GetApplicationproblemJSON404

func (r ListSignalsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListSignalsResp) GetApplicationproblemJSON422

func (r ListSignalsResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (ListSignalsResp) GetApplicationproblemJSON429

func (r ListSignalsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListSignalsResp) GetApplicationvndApiJSON401

func (r ListSignalsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListSignalsResp) GetApplicationvndApiJSON403

func (r ListSignalsResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListSignalsResp) GetApplicationvndApiJSON404

func (r ListSignalsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListSignalsResp) GetApplicationvndApiJSON422

func (r ListSignalsResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (ListSignalsResp) GetApplicationvndApiJSON429

func (r ListSignalsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListSignalsResp) GetBody

func (r ListSignalsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSignalsResp) GetJSON200

func (r ListSignalsResp) GetJSON200() *PaginatedSignalsResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSignalsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListSignalsResp) GetJSON403

func (r ListSignalsResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListSignalsResp) GetJSON404

func (r ListSignalsResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListSignalsResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListSignalsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListSignalsResp) GetJSONDefault

func (r ListSignalsResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListSignalsResp) Status

func (r ListSignalsResp) Status() string

Status returns HTTPResponse.Status

func (ListSignalsResp) StatusCode

func (r ListSignalsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSignalsResp200Headers

type ListSignalsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSignalsResp200Headers the declared response headers of an HTTP 200 response for ListSignals

type ListSignalsResp404Headers

type ListSignalsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSignalsResp404Headers the declared response headers of an HTTP 404 response for ListSignals

type ListSignalsResp422Headers

type ListSignalsResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSignalsResp422Headers the declared response headers of an HTTP 422 response for ListSignals

type ListSignalsResp429Headers

type ListSignalsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListSignalsResp429Headers the declared response headers of an HTTP 429 response for ListSignals

type ListSlosResp

type ListSlosResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]SLO
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListSlosResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListSlosResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListSlosResp429Headers
}

func ParseListSlosResp

func ParseListSlosResp(rsp *http.Response) (*ListSlosResp, error)

ParseListSlosResp parses an HTTP response from a ListSlosWithResponse call

func (ListSlosResp) ContentType

func (r ListSlosResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListSlosResp) GetApplicationproblemJSON403

func (r ListSlosResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListSlosResp) GetApplicationproblemJSON404

func (r ListSlosResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListSlosResp) GetApplicationproblemJSON429

func (r ListSlosResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListSlosResp) GetApplicationvndApiJSON401

func (r ListSlosResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListSlosResp) GetApplicationvndApiJSON403

func (r ListSlosResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListSlosResp) GetApplicationvndApiJSON404

func (r ListSlosResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListSlosResp) GetApplicationvndApiJSON429

func (r ListSlosResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListSlosResp) GetBody

func (r ListSlosResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListSlosResp) GetJSON200

func (r ListSlosResp) GetJSON200() *[]SLO

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListSlosResp) GetJSON401

func (r ListSlosResp) GetJSON401() *UnauthorizedApplicationJSON

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListSlosResp) GetJSON403

func (r ListSlosResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListSlosResp) GetJSON404

func (r ListSlosResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListSlosResp) GetJSON429

func (r ListSlosResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListSlosResp) GetJSONDefault

func (r ListSlosResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListSlosResp) Status

func (r ListSlosResp) Status() string

Status returns HTTPResponse.Status

func (ListSlosResp) StatusCode

func (r ListSlosResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSlosResp200Headers

type ListSlosResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSlosResp200Headers the declared response headers of an HTTP 200 response for ListSlos

type ListSlosResp404Headers

type ListSlosResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListSlosResp404Headers the declared response headers of an HTTP 404 response for ListSlos

type ListSlosResp429Headers

type ListSlosResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListSlosResp429Headers the declared response headers of an HTTP 429 response for ListSlos

type ListTriggersResp

type ListTriggersResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TriggerResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListTriggersResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListTriggersResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListTriggersResp429Headers
}

func ParseListTriggersResp

func ParseListTriggersResp(rsp *http.Response) (*ListTriggersResp, error)

ParseListTriggersResp parses an HTTP response from a ListTriggersWithResponse call

func (ListTriggersResp) ContentType

func (r ListTriggersResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTriggersResp) GetApplicationproblemJSON403

func (r ListTriggersResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (ListTriggersResp) GetApplicationproblemJSON404

func (r ListTriggersResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListTriggersResp) GetApplicationproblemJSON429

func (r ListTriggersResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListTriggersResp) GetApplicationvndApiJSON401

func (r ListTriggersResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListTriggersResp) GetApplicationvndApiJSON403

func (r ListTriggersResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (ListTriggersResp) GetApplicationvndApiJSON404

func (r ListTriggersResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListTriggersResp) GetApplicationvndApiJSON429

func (r ListTriggersResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListTriggersResp) GetBody

func (r ListTriggersResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTriggersResp) GetJSON200

func (r ListTriggersResp) GetJSON200() *[]TriggerResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTriggersResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListTriggersResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ListTriggersResp) GetJSON404

func (r ListTriggersResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListTriggersResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListTriggersResp) GetJSONDefault

func (r ListTriggersResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListTriggersResp) Status

func (r ListTriggersResp) Status() string

Status returns HTTPResponse.Status

func (ListTriggersResp) StatusCode

func (r ListTriggersResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTriggersResp200Headers

type ListTriggersResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListTriggersResp200Headers the declared response headers of an HTTP 200 response for ListTriggers

type ListTriggersResp404Headers

type ListTriggersResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListTriggersResp404Headers the declared response headers of an HTTP 404 response for ListTriggers

type ListTriggersResp429Headers

type ListTriggersResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListTriggersResp429Headers the declared response headers of an HTTP 429 response for ListTriggers

type ListTriggersWithRecipientResp

type ListTriggersWithRecipientResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]TriggerResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *ListTriggersWithRecipientResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *ListTriggersWithRecipientResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *ListTriggersWithRecipientResp429Headers
}

func ParseListTriggersWithRecipientResp

func ParseListTriggersWithRecipientResp(rsp *http.Response) (*ListTriggersWithRecipientResp, error)

ParseListTriggersWithRecipientResp parses an HTTP response from a ListTriggersWithRecipientWithResponse call

func (ListTriggersWithRecipientResp) ContentType

func (r ListTriggersWithRecipientResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListTriggersWithRecipientResp) GetApplicationproblemJSON404

func (r ListTriggersWithRecipientResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (ListTriggersWithRecipientResp) GetApplicationproblemJSON429

func (r ListTriggersWithRecipientResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (ListTriggersWithRecipientResp) GetApplicationvndApiJSON401

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (ListTriggersWithRecipientResp) GetApplicationvndApiJSON404

func (r ListTriggersWithRecipientResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (ListTriggersWithRecipientResp) GetApplicationvndApiJSON429

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (ListTriggersWithRecipientResp) GetBody

func (r ListTriggersWithRecipientResp) GetBody() []byte

GetBody returns the raw response body bytes

func (ListTriggersWithRecipientResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListTriggersWithRecipientResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ListTriggersWithRecipientResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ListTriggersWithRecipientResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (ListTriggersWithRecipientResp) GetJSONDefault

func (r ListTriggersWithRecipientResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ListTriggersWithRecipientResp) Status

Status returns HTTPResponse.Status

func (ListTriggersWithRecipientResp) StatusCode

func (r ListTriggersWithRecipientResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTriggersWithRecipientResp200Headers

type ListTriggersWithRecipientResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListTriggersWithRecipientResp200Headers the declared response headers of an HTTP 200 response for ListTriggersWithRecipient

type ListTriggersWithRecipientResp404Headers

type ListTriggersWithRecipientResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

ListTriggersWithRecipientResp404Headers the declared response headers of an HTTP 404 response for ListTriggersWithRecipient

type ListTriggersWithRecipientResp429Headers

type ListTriggersWithRecipientResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

ListTriggersWithRecipientResp429Headers the declared response headers of an HTTP 429 response for ListTriggersWithRecipient

type MSTeamsRecipient

type MSTeamsRecipient struct {
	// CreatedAt ISO8601 formatted time the Recipient was created.
	//
	// Example: 2022-07-26T22:38:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Details Specific schema for the MS Teams Recipient Type. Now deprecated, please use the `msteams_workflow` type instead.
	Details *struct {
		// WebhookName A name for this recipient.
		//
		// Example: My Teams Channel
		WebhookName string `json:"webhook_name"`

		// WebhookUrl Incoming webhook URL of an Teams instance.
		//
		// Example: https://yourco.webhook.office.com/webhook/xxxx
		WebhookUrl string `json:"webhook_url"`
	} `json:"details,omitempty"`

	// Id Example: yUheCUmgZ8p
	Id   *string               `json:"id,omitempty"`
	Type *MSTeamsRecipientType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the Recipient was updated.
	//
	// Example: 2022-07-26T22:38:04Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

MSTeamsRecipient defines model for MSTeamsRecipient.

type MSTeamsRecipientType

type MSTeamsRecipientType string

MSTeamsRecipientType defines model for MSTeamsRecipient.Type.

const (
	MSTeamsRecipientTypeMsteams MSTeamsRecipientType = "msteams"
)

Defines values for MSTeamsRecipientType.

func (MSTeamsRecipientType) Valid

func (e MSTeamsRecipientType) Valid() bool

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

type MSTeamsWorkflowRecipient

type MSTeamsWorkflowRecipient struct {
	// CreatedAt ISO8601 formatted time the Recipient was created.
	//
	// Example: 2022-07-26T22:38:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Details Specific schema for the MS Teams Workflow Recipient Type.
	Details *struct {
		// WebhookName A name for this recipient.
		//
		// Example: My Teams Channel
		WebhookName string `json:"webhook_name"`

		// WebhookUrl Incoming webhook URL of an Teams instance.
		//
		// Example: https://test-123.westus.logic.azure.com:443/workflows/54321/triggers/manual/paths/invoke
		WebhookUrl string `json:"webhook_url"`
	} `json:"details,omitempty"`

	// Id Example: yUheCUmgZ8p
	Id   *string                       `json:"id,omitempty"`
	Type *MSTeamsWorkflowRecipientType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the Recipient was updated.
	//
	// Example: 2022-07-26T22:38:04Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

MSTeamsWorkflowRecipient defines model for MSTeamsWorkflowRecipient.

type MSTeamsWorkflowRecipientType

type MSTeamsWorkflowRecipientType string

MSTeamsWorkflowRecipientType defines model for MSTeamsWorkflowRecipient.Type.

const (
	MSTeamsWorkflowRecipientTypeMsteamsWorkflow MSTeamsWorkflowRecipientType = "msteams_workflow"
)

Defines values for MSTeamsWorkflowRecipientType.

func (MSTeamsWorkflowRecipientType) Valid

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

type MapDependency

type MapDependency struct {
	// CallCount Number of calls between the parent and child services.
	//
	//
	// Example: 142
	CallCount *int `json:"call_count,omitempty"`

	// ChildNode A node in the service map (typically a service).
	ChildNode *MapNode `json:"child_node,omitempty"`

	// ParentNode A node in the service map (typically a service).
	ParentNode *MapNode `json:"parent_node,omitempty"`
}

MapDependency A dependency relationship between two services.

type MapNode

type MapNode struct {
	// Name Name of the service or node.
	//
	//
	// Example: user-service
	Name string `json:"name"`

	// Type Type of the node. Currently only "service" is supported. Defaults to "service" if not specified.
	//
	//
	// Example: service
	Type *MapNodeType `json:"type,omitempty"`
}

MapNode A node in the service map (typically a service).

type MapNodeType

type MapNodeType string

MapNodeType Type of the node. Currently only "service" is supported. Defaults to "service" if not specified.

Example: service

const (
	Service MapNodeType = "service"
)

Defines values for MapNodeType.

func (MapNodeType) Valid

func (e MapNodeType) Valid() bool

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

type Marker

type Marker struct {
	// Color Color can be assigned to Markers using the Marker Settings endpoint. This field will be populated when List All Markers is called.
	Color *string `json:"color,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Marker was created.
	CreatedAt *string `json:"created_at,omitempty"`

	// EndTime Specifies end time, and allows a Marker to be recorded as representing a time range, such as a 5 minute deploy. Expressed in Unix Time.
	//
	// Example: 1668453920
	EndTime *int `json:"end_time,omitempty"`

	// Id A 6 character hexadecimal string assigned on Marker creation.
	Id *string `json:"id,omitempty"`

	// Message A message to describe this specific Marker.
	//
	// Example: backend deploy #123
	Message *string `json:"message,omitempty"`

	// StartTime Indicates the time the Marker should be placed. If missing, defaults to the time the request arrives. Expressed in Unix Time.
	//
	// Example: 1471040808
	StartTime *int `json:"start_time,omitempty"`

	// Type Groups similar Markers. For example, `deploys`. All Markers of the same type appear with the same color on the graph. Refer to the [Marker Settings](/api/marker-settings/) API for altering the color of each type.
	//
	// Example: deploy
	Type *string `json:"type,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Marker was updated.
	UpdatedAt *string `json:"updated_at,omitempty"`

	// Url A target for the marker. Clicking the marker text will take you to this URL.
	//
	// Example: http://link-to-build.here
	Url *string `json:"url,omitempty"`
}

Marker defines model for Marker.

type MarkerSetting

type MarkerSetting struct {
	// Color Color to use for display of this marker type. Specified as hexadecimal RGB. For example, "#F96E11".
	//
	//
	// Example: #7b1fa2
	Color string `json:"color"`

	// CreatedAt The ISO8601-formatted time when the Marker Setting was created.
	//
	// Example: 2022-09-15T05:39:42Z
	CreatedAt *string `json:"created_at,omitempty"`

	// Id The unique identifier (ID) for the Marker Setting.
	//
	// Example: gwAHiE5TS4j
	Id *string `json:"id,omitempty"`

	// Type Groups similar Markers. For example, 'deploys'. All Markers of the same type appears with the same color on the graph.
	//
	//
	// Example: deploy
	Type string `json:"type"`

	// UpdatedAt The ISO8601-formatted time when the Marker Setting was updated.
	//
	// Example: 2022-12-15T04:25:14Z
	UpdatedAt nullable.Nullable[string] `json:"updated_at,omitempty"`
}

MarkerSetting defines model for MarkerSetting.

type NotFoundApplicationJSON

type NotFoundApplicationJSON = Error

NotFoundApplicationJSON A legacy error, containing only a textual description.

type NotFoundApplicationProblemPlusJSON

type NotFoundApplicationProblemPlusJSON = DetailedError

NotFoundApplicationProblemPlusJSON An RFC7807 'Problem Detail' formatted error message.

type NotFoundApplicationVndAPIPlusJSON

type NotFoundApplicationVndAPIPlusJSON = JSONAPIError

NotFoundApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type NotificationRecipient

type NotificationRecipient struct {
	Details *NotificationRecipientDetails `json:"details,omitempty"`
	Id      *string                       `json:"id,omitempty"`

	// Target The target of the notification. For example, the specific Slack channel or email address.
	// For Recipients of `type = "webhook"` or `type = "msteams_workflow"`,
	// this will be the Name in the UI and `webhook_name` in the Recipients API.
	// Deprecated: Use the Recipients API first, then pass the Recipient ID.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Target *string `json:"target,omitempty"`

	// Type One of the allowed Recipient types.
	// Deprecated: Use the Recipients API first, then pass the Recipient ID.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Type *RecipientType `json:"type,omitempty"`
}

NotificationRecipient defines model for NotificationRecipient.

type NotificationRecipientDetails

type NotificationRecipientDetails struct {
	// Muted When `true`, the Recipient is muted for this alert and will not receive notifications.
	// Only applies to Recipients assigned to a Signal via the Anomaly Detection API.
	Muted *bool `json:"muted,omitempty"`

	// PagerdutySeverity When using a Recipient of `type = "pagerduty"`, the severity of the alert can be specified.
	PagerdutySeverity *NotificationRecipientDetailsPagerdutySeverity `json:"pagerduty_severity,omitempty"`

	// Variables When using a Recipient of `type = "webhook"`, the alert-level variables can be specified.
	Variables *[]struct {
		// Name Example: severity
		Name string `json:"name"`

		// Value Example: warning
		Value *string `json:"value,omitempty"`
	} `json:"variables,omitempty"`
}

NotificationRecipientDetails defines model for NotificationRecipientDetails.

type NotificationRecipientDetailsPagerdutySeverity

type NotificationRecipientDetailsPagerdutySeverity string

NotificationRecipientDetailsPagerdutySeverity When using a Recipient of `type = "pagerduty"`, the severity of the alert can be specified.

const (
	NotificationRecipientDetailsPagerdutySeverityCritical NotificationRecipientDetailsPagerdutySeverity = "critical"
	NotificationRecipientDetailsPagerdutySeverityError    NotificationRecipientDetailsPagerdutySeverity = "error"
	NotificationRecipientDetailsPagerdutySeverityInfo     NotificationRecipientDetailsPagerdutySeverity = "info"
	NotificationRecipientDetailsPagerdutySeverityWarning  NotificationRecipientDetailsPagerdutySeverity = "warning"
)

Defines values for NotificationRecipientDetailsPagerdutySeverity.

func (NotificationRecipientDetailsPagerdutySeverity) Valid

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

type PagerDutyRecipient

type PagerDutyRecipient struct {
	// CreatedAt ISO8601 formatted time the Recipient was created.
	//
	// Example: 2022-07-26T22:38:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Details Specific schema for the Pagerduty Recipient Type
	Details *struct {
		// PagerdutyIntegrationKey Pagerduty Integration Key.
		//
		// Example: 7zOwh1edS8xHGcwfb2bA4sqY8E6PJzSK
		PagerdutyIntegrationKey string `json:"pagerduty_integration_key"`

		// PagerdutyIntegrationName A name for this Integration.
		//
		// Example: Example PagerDuty Service
		PagerdutyIntegrationName string `json:"pagerduty_integration_name"`
	} `json:"details,omitempty"`

	// Id Example: yUheCUmgZ8p
	Id   *string                 `json:"id,omitempty"`
	Type *PagerDutyRecipientType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the Recipient was updated.
	//
	// Example: 2022-07-26T22:38:04Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

PagerDutyRecipient defines model for PagerDutyRecipient.

type PagerDutyRecipientType

type PagerDutyRecipientType string

PagerDutyRecipientType defines model for PagerDutyRecipient.Type.

const (
	PagerDutyRecipientTypePagerduty PagerDutyRecipientType = "pagerduty"
)

Defines values for PagerDutyRecipientType.

func (PagerDutyRecipientType) Valid

func (e PagerDutyRecipientType) Valid() bool

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

type PaginatedHistoricalAnomaliesResponse

type PaginatedHistoricalAnomaliesResponse struct {
	// HistoricalAnomalies The anomalies in this page, most recent first.
	HistoricalAnomalies []HistoricalAnomaly `json:"historical_anomalies"`

	// Links Links to iterate through the pages of results.
	Links *PaginationLinks `json:"links,omitempty"`
}

PaginatedHistoricalAnomaliesResponse A page of resolved historical anomalies for a Signal.

type PaginatedSignalsResponse

type PaginatedSignalsResponse struct {
	// Links Links to iterate through the pages of results.
	Links *PaginationLinks `json:"links,omitempty"`

	// Signals The Signals in this page.
	Signals []Signal `json:"signals"`
}

PaginatedSignalsResponse A page of Signals.

type PaginationCursor

type PaginationCursor = string

PaginationCursor defines model for PaginationCursor.

type PaginationLinks struct {
	// Next The URL for the next page of results.
	//
	// Example: /2/teams/my-team/api-keys?page[after]=3025fa645ad1100d&page[size]=10
	Next nullable.Nullable[string] `json:"next,omitempty"`
}

PaginationLinks Links to iterate through the pages of results.

type PaginationSize

type PaginationSize = float32

PaginationSize defines model for PaginationSize.

type PatchDatasetDefinitionsJSONRequestBody

type PatchDatasetDefinitionsJSONRequestBody = DatasetDefinitions

PatchDatasetDefinitionsJSONRequestBody defines body for PatchDatasetDefinitions for application/json ContentType.

type PatchDatasetDefinitionsResp

type PatchDatasetDefinitionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetDefinitions
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *DetailedError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *Error
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *PatchDatasetDefinitionsResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *PatchDatasetDefinitionsResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *PatchDatasetDefinitionsResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *PatchDatasetDefinitionsResp422Headers
}

func ParsePatchDatasetDefinitionsResp

func ParsePatchDatasetDefinitionsResp(rsp *http.Response) (*PatchDatasetDefinitionsResp, error)

ParsePatchDatasetDefinitionsResp parses an HTTP response from a PatchDatasetDefinitionsWithResponse call

func (PatchDatasetDefinitionsResp) ContentType

func (r PatchDatasetDefinitionsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PatchDatasetDefinitionsResp) GetApplicationproblemJSON404

func (r PatchDatasetDefinitionsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (PatchDatasetDefinitionsResp) GetApplicationvndApiJSON401

func (r PatchDatasetDefinitionsResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (PatchDatasetDefinitionsResp) GetApplicationvndApiJSON404

func (r PatchDatasetDefinitionsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (PatchDatasetDefinitionsResp) GetBody

func (r PatchDatasetDefinitionsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (PatchDatasetDefinitionsResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PatchDatasetDefinitionsResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PatchDatasetDefinitionsResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PatchDatasetDefinitionsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PatchDatasetDefinitionsResp) GetJSON422

func (r PatchDatasetDefinitionsResp) GetJSON422() *Error

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PatchDatasetDefinitionsResp) Status

Status returns HTTPResponse.Status

func (PatchDatasetDefinitionsResp) StatusCode

func (r PatchDatasetDefinitionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchDatasetDefinitionsResp200Headers

type PatchDatasetDefinitionsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

PatchDatasetDefinitionsResp200Headers the declared response headers of an HTTP 200 response for PatchDatasetDefinitions

type PatchDatasetDefinitionsResp400Headers

type PatchDatasetDefinitionsResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

PatchDatasetDefinitionsResp400Headers the declared response headers of an HTTP 400 response for PatchDatasetDefinitions

type PatchDatasetDefinitionsResp404Headers

type PatchDatasetDefinitionsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

PatchDatasetDefinitionsResp404Headers the declared response headers of an HTTP 404 response for PatchDatasetDefinitions

type PatchDatasetDefinitionsResp422Headers

type PatchDatasetDefinitionsResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

PatchDatasetDefinitionsResp422Headers the declared response headers of an HTTP 422 response for PatchDatasetDefinitions

type PayloadTemplate

type PayloadTemplate struct {
	// Body Example: { \"alert\": \"{{.Alert.Description}}\" }
	Body *string `json:"body,omitempty"`
}

PayloadTemplate defines model for PayloadTemplate.

type PayloadTooLarge

type PayloadTooLarge = DetailedError

PayloadTooLarge An RFC7807 'Problem Detail' formatted error message.

type PresetFilter

type PresetFilter struct {
	// Alias The alias of the preset filter. Maximum length is 50 characters.
	Alias string `json:"alias"`

	// Column Original name of the column to alias.
	Column string `json:"column"`
}

PresetFilter defines model for PresetFilter.

type Query

type Query struct {
	// Breakdowns the columns by which to break events down into groups
	Breakdowns *[]string `json:"breakdowns,omitempty"`

	// CalculatedFields Computed properties that are calculated by a formula.
	CalculatedFields *[]struct {
		// Expression The formula for your Calculated Field. To learn more about syntax and available functions, and to explore some example formulas, visit [Calculated Field Formula Reference](https://docs.honeycomb.io/reference/derived-column-formula/).
		Expression string `json:"expression"`

		// Name The field name
		Name string `json:"name"`
	} `json:"calculated_fields,omitempty"`

	// Calculations the calculations to return as a time series and summary table
	Calculations *[]struct {
		// Column The name of the column
		Column nullable.Nullable[string] `json:"column,omitempty"`

		// FilterCombination Set to "OR" to match ANY filter in the filter list
		FilterCombination *FilterCombination `json:"filter_combination,omitempty"`

		// Filters The filters with which to restrict the results of this particular calculation. Does not support relational fields. Only available in Metrics Beta.
		Filters *[]struct {
			Column nullable.Nullable[FilterColumn] `json:"column"`
			Op     FilterOp                        `json:"op"`
			Value  *FilterValue                    `json:"value,omitempty"`
		} `json:"filters,omitempty"`

		// Name The name of the calculation. This is required if using calculation filters. Only available in Metrics Beta.
		Name nullable.Nullable[string] `json:"name,omitempty"`
		Op   QueryOp                   `json:"op"`
	} `json:"calculations,omitempty"`

	// CompareTimeOffsetSeconds When set, offsets the query's time range by this number of seconds into the past, allowing comparison with historical data from an earlier time period. For example, setting this to 86400 (24 hours) will compare current results against data from 24 hours ago.
	// ##### Note
	//   - The offset must be greater than or equal to the query's time range duration.
	//
	// ##### Allowed values
	// - same time range as query time range
	// - `1800` - 30 minutes
	// - `3600` - 1 hour
	// - `7200` - 2 hours
	// - `28800` - 8 hours
	// - `86400` - 24 hours
	// - `604800` - 7 days
	// - `2419200` - 28 days
	// - `15724800` - 6 months
	CompareTimeOffsetSeconds *QueryCompareTimeOffsetSeconds `json:"compare_time_offset_seconds,omitempty"`

	// EndTime Absolute end time of query, in seconds since UNIX epoch.
	EndTime *int `json:"end_time,omitempty"`

	// FilterCombination Set to "OR" to match ANY filter in the filter list
	FilterCombination *FilterCombination `json:"filter_combination,omitempty"`

	// Filters The filters with which to restrict the considered events
	Filters *[]struct {
		Column nullable.Nullable[FilterColumn] `json:"column"`
		Op     FilterOp                        `json:"op"`
		Value  *FilterValue                    `json:"value,omitempty"`
	} `json:"filters,omitempty"`

	// Formulas Mathematical formulas to be returned as a time series and summary table. Formulas operate on the results of calculations and are returned in query results instead of calculations. Only available in Metrics Beta.
	Formulas *[]struct {
		// Expression An expression that follows the same syntax as calculated field expressions, but uses the names of items in the calculations list in place of column names.
		Expression string `json:"expression"`

		// Name The name of the formula
		Name string `json:"name"`
	} `json:"formulas,omitempty"`

	// Granularity The time resolution of the query's graph, in seconds. Given a query time range T, valid values (T/1000...T/1). If left blank, granularity may be set to a sub-second value for queries with short time ranges.
	Granularity *int `json:"granularity,omitempty"`

	// Havings The Having clause allows you to filter on the results table. This operation is distinct from the Where clause, which filters the underlying events. Order By allows you to order the results, and Having filters them. Formulas and calculations with name properties can be referenced by putting the name in the column property.
	Havings *[]struct {
		CalculateOp HavingCalculateOp `json:"calculate_op"`

		// Column The name of the column to filter against. This can also be a calculation or formula name.
		Column nullable.Nullable[string] `json:"column,omitempty"`
		Op     *HavingOp                 `json:"op,omitempty"`
		Value  *float32                  `json:"value,omitempty"`
	} `json:"havings,omitempty"`
	Id *string `json:"id,omitempty"`

	// Limit The maximum number of unique groups returned in 'results'. Aggregating many unique groups across a large time range is computationally expensive, and too high a limit with too many unique groups may cause queries to fail completely. Limiting the results to only the needed values can significantly speed up queries.
	// The normal allowed maximum value when creating a query is 1_000. When running 'disable_series' queries, this can be overridden to be up to 10_000, so the maximum value returned from the API when fetching a query may be up to 10_000.
	Limit *int `json:"limit,omitempty"`

	// Orders The terms on which to order the query results. Each term must appear in the `breakdowns` field, the `calculations` field, or the `formulas` field. Formulas and calculations with name properties can be referenced by putting the name in the column property.
	Orders *[]struct {
		Column *string           `json:"column,omitempty"`
		Op     *QueryOp          `json:"op,omitempty"`
		Order  *QueryOrdersOrder `json:"order,omitempty"`
	} `json:"orders,omitempty"`

	// StartTime Absolute start time of query, in seconds since UNIX epoch. Must be <= `end_time`.
	StartTime *int `json:"start_time,omitempty"`

	// TimeRange Time range of query in seconds. Can be used with either `start_time` (seconds after `start_time`), `end_time` (seconds before `end_time`), or without either (seconds before now).
	TimeRange *int `json:"time_range,omitempty"`

	// UsageMode If `true`, query results will return aggregates without correcting for sample rates. This is useful for understanding the actual volume of data stored rather than the estimated original event counts. By default, aggregates are adjusted to reflect the estimated original event volume based on sample rates. Note: This field is not supported for triggers.
	UsageMode *bool `json:"usage_mode,omitempty"`
}

Query defines model for Query.

type QueryAnnotation

type QueryAnnotation struct {
	// CreatedAt ISO8601 formatted time when the Query Annotation was created.
	//
	// Example: 2022-10-26T21:36:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Query.
	//
	// Example: A nice description of My Named Query
	Description *string `json:"description,omitempty"`

	// Id The unique identifier (ID) of a Query Annotation.
	//
	// Example: sGUnkBHgRFN
	Id *string `json:"id,omitempty"`

	// Name A name for the Query.
	//
	// Example: My Named Query
	Name string `json:"name"`

	// QueryId The ID of the Query that the annotation describes. **Note**: Once created, it is NOT possible to change the query ID associated with an annotation. It is possible to have multiple annotations associated with a Query.
	//
	//
	// Example: mabAMpSPDjH
	QueryId string `json:"query_id"`

	// Source The source of the Query Annotation.
	//
	// Example: query
	Source *QueryAnnotationSource `json:"source,omitempty"`

	// UpdatedAt ISO8601 formatted time when the Query Annotation was updated.
	//
	// Example: 2022-12-04T08:14:26Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

QueryAnnotation A Query Annotation consists of a name and description associated with a query to add context when collaborating.

type QueryAnnotationSource

type QueryAnnotationSource string

QueryAnnotationSource The source of the Query Annotation.

Example: query

const (
	QueryAnnotationSourceBoard QueryAnnotationSource = "board"
	QueryAnnotationSourceQuery QueryAnnotationSource = "query"
)

Defines values for QueryAnnotationSource.

func (QueryAnnotationSource) Valid

func (e QueryAnnotationSource) Valid() bool

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

type QueryCompareTimeOffsetSeconds

type QueryCompareTimeOffsetSeconds int

QueryCompareTimeOffsetSeconds When set, offsets the query's time range by this number of seconds into the past, allowing comparison with historical data from an earlier time period. For example, setting this to 86400 (24 hours) will compare current results against data from 24 hours ago. ##### Note

  • The offset must be greater than or equal to the query's time range duration.

##### Allowed values - same time range as query time range - `1800` - 30 minutes - `3600` - 1 hour - `7200` - 2 hours - `28800` - 8 hours - `86400` - 24 hours - `604800` - 7 days - `2419200` - 28 days - `15724800` - 6 months

Defines values for QueryCompareTimeOffsetSeconds.

func (QueryCompareTimeOffsetSeconds) Valid

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

type QueryOp

type QueryOp string

QueryOp defines model for QueryOp.

const (
	QueryOpAVG           QueryOp = "AVG"
	QueryOpCONCURRENCY   QueryOp = "CONCURRENCY"
	QueryOpCOUNT         QueryOp = "COUNT"
	QueryOpCOUNTDISTINCT QueryOp = "COUNT_DISTINCT"
	QueryOpHEATMAP       QueryOp = "HEATMAP"
	QueryOpMAX           QueryOp = "MAX"
	QueryOpMIN           QueryOp = "MIN"
	QueryOpP001          QueryOp = "P001"
	QueryOpP01           QueryOp = "P01"
	QueryOpP05           QueryOp = "P05"
	QueryOpP10           QueryOp = "P10"
	QueryOpP20           QueryOp = "P20"
	QueryOpP25           QueryOp = "P25"
	QueryOpP50           QueryOp = "P50"
	QueryOpP75           QueryOp = "P75"
	QueryOpP80           QueryOp = "P80"
	QueryOpP90           QueryOp = "P90"
	QueryOpP95           QueryOp = "P95"
	QueryOpP99           QueryOp = "P99"
	QueryOpP999          QueryOp = "P999"
	QueryOpRATEAVG       QueryOp = "RATE_AVG"
	QueryOpRATEMAX       QueryOp = "RATE_MAX"
	QueryOpRATESUM       QueryOp = "RATE_SUM"
	QueryOpSUM           QueryOp = "SUM"
)

Defines values for QueryOp.

func (QueryOp) Valid

func (e QueryOp) Valid() bool

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

type QueryOrdersOrder

type QueryOrdersOrder string

QueryOrdersOrder defines model for Query.Orders.Order.

const (
	Ascending  QueryOrdersOrder = "ascending"
	Descending QueryOrdersOrder = "descending"
)

Defines values for QueryOrdersOrder.

func (QueryOrdersOrder) Valid

func (e QueryOrdersOrder) Valid() bool

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

type QueryPanel

type QueryPanel struct {
	// Position The position of the panel within the layout. When X and Y coordinates are not specified for any of the panels, the layout will be generated automatically.
	Position   *BoardPanelPosition `json:"position,omitempty"`
	QueryPanel struct {
		// Dataset The dataset name to which the query is scoped. Empty for environment-wide queries.
		//
		//
		// Example: My Dataset
		Dataset *string `json:"dataset,omitempty"`

		// QueryAnnotationId The ID of a Query Annotation that provides a name and description for the Query. The Query Annotation must apply to the `query_id` or `query` specified.
		//
		//
		// Example: e4c24a35
		QueryAnnotationId string `json:"query_annotation_id"`

		// QueryId The ID of the Query to display on the board. The Query must be in the same environment as the board.
		//
		//
		// Example: abc1234e
		QueryId string `json:"query_id"`

		// QueryStyle How the query should be displayed on the board.
		QueryStyle *QueryPanelQueryPanelQueryStyle `json:"query_style,omitempty"`

		// VisualizationSettings A map of values to control the display settings for the Query on the Board. Unspecified boolean values are assumed to be `false`. Unspecified integers are assumed to be `0`, unspecified arrays are assumed to be null and unspecified strings are assumed to be empty. This is incompatible with the `graph_settings` field.
		VisualizationSettings *BoardQueryVisualizationSettings `json:"visualization_settings,omitempty"`
	} `json:"query_panel"`

	// Type The type of the board panel.
	Type interface{} `json:"type"`
}

QueryPanel defines model for QueryPanel.

type QueryPanelQueryPanelQueryStyle

type QueryPanelQueryPanelQueryStyle string

QueryPanelQueryPanelQueryStyle How the query should be displayed on the board.

const (
	Combo QueryPanelQueryPanelQueryStyle = "combo"
	Graph QueryPanelQueryPanelQueryStyle = "graph"
	Table QueryPanelQueryPanelQueryStyle = "table"
)

Defines values for QueryPanelQueryPanelQueryStyle.

func (QueryPanelQueryPanelQueryStyle) Valid

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

type QueryResult

type QueryResult struct {
	// Complete Indicates if the query results are available yet or not. For example, is the query still being processed or complete?
	//
	// Example: false
	Complete *bool `json:"complete,omitempty"`

	// Id The unique identifier (ID) of a Query Result.
	//
	// Example: sGUnkBHgRFN
	Id *string `json:"id,omitempty"`

	// Links An object containing UI links to the query result and query result graph
	Links *struct {
		// GraphImageUrl Example: https://ui.honeycomb.io/myteam/datasets/test-via-curl/result/HprJhV1fYy/snapshot
		GraphImageUrl *string `json:"graph_image_url,omitempty"`

		// QueryUrl Example: https://ui.honeycomb.io/myteam/datasets/test-via-curl/result/HprJhV1fYy
		QueryUrl *string `json:"query_url,omitempty"`
	} `json:"links,omitempty"`
	Query *Query `json:"query,omitempty"`
}

QueryResult A Query Result is created with the Query ID.

type QueryResultDetails

type QueryResultDetails struct {
	// Complete Indicates if the query results are available yet or not. For example, is the query still being processed or complete?
	//
	// Example: true
	Complete *bool `json:"complete,omitempty"`

	// Data An object containing the query result data
	Data *struct {
		// OtherByAggregate Query result details
		OtherByAggregate *QueryResultsData `json:"other_by_aggregate,omitempty"`

		// Results Query results data (equivalent to the Overview in the Honeycomb UI below the graph)
		Results *[]QueryResultsData `json:"results,omitempty"`

		// Series Timeseries data from the query result (equivalent to the graph data in the Honeycomb UI)
		Series *[]QueryResultsSeries `json:"series,omitempty"`

		// TotalByAggregate Query result details
		TotalByAggregate *QueryResultsData `json:"total_by_aggregate,omitempty"`

		// TotalByAggregateSeries Timeseries data showing the total value of each aggregate returned in `total_by_aggregate` across the time range. Aggregate values returned do not respect any Having clauses included in a query. Only available if both `disable_total_by_aggregate` and `disable_series` are set to `false`.
		TotalByAggregateSeries *[]QueryResultsSeries `json:"total_by_aggregate_series,omitempty"`
	} `json:"data,omitempty"`

	// Error Only present if the query failed to run. Contains a human-readable message describing the failure. When set, the "data" field is omitted.
	//
	//
	// Example: we had trouble fetching your results! try again?
	Error *string `json:"error,omitempty"`

	// Id The unique identifier (ID) of a Query Result
	//
	// Example: sGUnkBHgRFN
	Id *string `json:"id,omitempty"`

	// Links An object containing UI links to the query result and query result graph
	Links *struct {
		// GraphImageUrl A direct link to the graph image from the query result
		//
		// Example: https://ui.honeycomb.io/myteam/datasets/test-via-curl/result/HprJhV1fYy/snapshot
		GraphImageUrl *string `json:"graph_image_url,omitempty"`

		// QueryUrl A link to the query result in the Honeycomb UI
		//
		// Example: https://ui.honeycomb.io/myteam/datasets/test-via-curl/result/HprJhV1fYy
		QueryUrl *string `json:"query_url,omitempty"`
	} `json:"links,omitempty"`
	Query *Query `json:"query,omitempty"`
}

QueryResultDetails Query Results for the Query ID. The response body will be a JSON object with "complete": true and the results populated once the query is complete. If the query fails to run, the response will still return HTTP 200 with "complete": true, but the "data" field will be replaced by an "error" field describing the failure. The response body will contain caching headers to indicate that once complete, and the Query Result may be cached, as it will not change.

type QueryResultsData

type QueryResultsData struct {
	Data *map[string]interface{} `json:"data,omitempty"`
}

QueryResultsData Query result details

type QueryResultsSeries

type QueryResultsSeries struct {
	Data *map[string]interface{} `json:"data,omitempty"`

	// Time Example: 2021-04-09T14:16:00Z
	Time *string `json:"time,omitempty"`
}

QueryResultsSeries defines model for QueryResultsSeries.

type RateLimitedApplicationJSON

type RateLimitedApplicationJSON = Error

RateLimitedApplicationJSON A legacy error, containing only a textual description.

type RateLimitedApplicationProblemPlusJSON

type RateLimitedApplicationProblemPlusJSON = DetailedError

RateLimitedApplicationProblemPlusJSON An RFC7807 'Problem Detail' formatted error message.

type RateLimitedApplicationVndAPIPlusJSON

type RateLimitedApplicationVndAPIPlusJSON = JSONAPIError

RateLimitedApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type Recipient

type Recipient struct {
	Type string `json:"type"`
	// contains filtered or unexported fields
}

Recipient defines model for Recipient.

func (Recipient) AsEmailRecipient

func (t Recipient) AsEmailRecipient() (EmailRecipient, error)

AsEmailRecipient returns the union data inside the Recipient as a EmailRecipient

func (Recipient) AsMSTeamsRecipient

func (t Recipient) AsMSTeamsRecipient() (MSTeamsRecipient, error)

AsMSTeamsRecipient returns the union data inside the Recipient as a MSTeamsRecipient

func (Recipient) AsMSTeamsWorkflowRecipient

func (t Recipient) AsMSTeamsWorkflowRecipient() (MSTeamsWorkflowRecipient, error)

AsMSTeamsWorkflowRecipient returns the union data inside the Recipient as a MSTeamsWorkflowRecipient

func (Recipient) AsPagerDutyRecipient

func (t Recipient) AsPagerDutyRecipient() (PagerDutyRecipient, error)

AsPagerDutyRecipient returns the union data inside the Recipient as a PagerDutyRecipient

func (Recipient) AsSlackRecipient

func (t Recipient) AsSlackRecipient() (SlackRecipient, error)

AsSlackRecipient returns the union data inside the Recipient as a SlackRecipient

func (Recipient) AsWebhookRecipient

func (t Recipient) AsWebhookRecipient() (WebhookRecipient, error)

AsWebhookRecipient returns the union data inside the Recipient as a WebhookRecipient

func (Recipient) Discriminator

func (t Recipient) Discriminator() (string, error)

func (*Recipient) FromEmailRecipient

func (t *Recipient) FromEmailRecipient(v EmailRecipient) error

FromEmailRecipient overwrites any union data inside the Recipient as the provided EmailRecipient

func (*Recipient) FromMSTeamsRecipient

func (t *Recipient) FromMSTeamsRecipient(v MSTeamsRecipient) error

FromMSTeamsRecipient overwrites any union data inside the Recipient as the provided MSTeamsRecipient

func (*Recipient) FromMSTeamsWorkflowRecipient

func (t *Recipient) FromMSTeamsWorkflowRecipient(v MSTeamsWorkflowRecipient) error

FromMSTeamsWorkflowRecipient overwrites any union data inside the Recipient as the provided MSTeamsWorkflowRecipient

func (*Recipient) FromPagerDutyRecipient

func (t *Recipient) FromPagerDutyRecipient(v PagerDutyRecipient) error

FromPagerDutyRecipient overwrites any union data inside the Recipient as the provided PagerDutyRecipient

func (*Recipient) FromSlackRecipient

func (t *Recipient) FromSlackRecipient(v SlackRecipient) error

FromSlackRecipient overwrites any union data inside the Recipient as the provided SlackRecipient

func (*Recipient) FromWebhookRecipient

func (t *Recipient) FromWebhookRecipient(v WebhookRecipient) error

FromWebhookRecipient overwrites any union data inside the Recipient as the provided WebhookRecipient

func (Recipient) MarshalJSON

func (t Recipient) MarshalJSON() ([]byte, error)

func (*Recipient) MergeEmailRecipient

func (t *Recipient) MergeEmailRecipient(v EmailRecipient) error

MergeEmailRecipient performs a merge with any union data inside the Recipient, using the provided EmailRecipient

func (*Recipient) MergeMSTeamsRecipient

func (t *Recipient) MergeMSTeamsRecipient(v MSTeamsRecipient) error

MergeMSTeamsRecipient performs a merge with any union data inside the Recipient, using the provided MSTeamsRecipient

func (*Recipient) MergeMSTeamsWorkflowRecipient

func (t *Recipient) MergeMSTeamsWorkflowRecipient(v MSTeamsWorkflowRecipient) error

MergeMSTeamsWorkflowRecipient performs a merge with any union data inside the Recipient, using the provided MSTeamsWorkflowRecipient

func (*Recipient) MergePagerDutyRecipient

func (t *Recipient) MergePagerDutyRecipient(v PagerDutyRecipient) error

MergePagerDutyRecipient performs a merge with any union data inside the Recipient, using the provided PagerDutyRecipient

func (*Recipient) MergeSlackRecipient

func (t *Recipient) MergeSlackRecipient(v SlackRecipient) error

MergeSlackRecipient performs a merge with any union data inside the Recipient, using the provided SlackRecipient

func (*Recipient) MergeWebhookRecipient

func (t *Recipient) MergeWebhookRecipient(v WebhookRecipient) error

MergeWebhookRecipient performs a merge with any union data inside the Recipient, using the provided WebhookRecipient

func (*Recipient) UnmarshalJSON

func (t *Recipient) UnmarshalJSON(b []byte) error

func (Recipient) ValueByDiscriminator

func (t Recipient) ValueByDiscriminator() (interface{}, error)

type RecipientId

type RecipientId = string

RecipientId defines model for recipientId.

type RecipientProperties

type RecipientProperties struct {
	// CreatedAt ISO8601 formatted time the Recipient was created.
	//
	// Example: 2022-07-26T22:38:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Id Example: yUheCUmgZ8p
	Id *string `json:"id,omitempty"`

	// Type One of the supported Recipient Types
	Type *RecipientType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the Recipient was updated.
	//
	// Example: 2022-07-26T22:38:04Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

RecipientProperties defines model for RecipientProperties.

type RecipientType

type RecipientType string

RecipientType One of the supported Recipient Types

const (
	RecipientTypeEmail           RecipientType = "email"
	RecipientTypeMsteams         RecipientType = "msteams"
	RecipientTypeMsteamsWorkflow RecipientType = "msteams_workflow"
	RecipientTypePagerduty       RecipientType = "pagerduty"
	RecipientTypeSlack           RecipientType = "slack"
	RecipientTypeWebhook         RecipientType = "webhook"
)

Defines values for RecipientType.

func (RecipientType) Valid

func (e RecipientType) Valid() bool

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

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type SLO

type SLO struct {
	// CreatedAt The ISO8601-formatted time when the SLO was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DatasetSlugs The dataset(s) the SLO will be evaluated against. Required if using `__all__` in the path.
	//
	// Example: ["mydataset1","mydataset2"]
	DatasetSlugs *[]interface{} `json:"dataset_slugs,omitempty"`

	// Description A nice description of the SLO's intent and context.
	//
	// Example: SLO to ensure requests succeed and are fast
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`

	// Name The name of the SLO.
	//
	// Example: My SLO
	Name string `json:"name"`

	// ResetAt The ISO8601-formatted time the SLO was last reset. The value will be `null` if the SLO has not yet been reset.
	//
	// Example: 2022-011-11T09:53:04Z
	ResetAt nullable.Nullable[time.Time] `json:"reset_at,omitempty"`

	// Sli Reference to the [Calculated Field](/api/calculated-fields/) used as the indicator of event success.
	//
	// Example: {"alias":"error_sli"}
	Sli struct {
		// Alias The alias of the Calculated Field (also called Derived Column).
		Alias string `json:"alias"`
	} `json:"sli"`

	// Tags A list of key-value pairs to help identify the SLO.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// TargetPerMillion The number of events out of one million (1,000,000) that you expected qualified events to succeed.
	//
	// Example: 990000
	TargetPerMillion int `json:"target_per_million"`

	// TimePeriodDays The time period, in days, over which the SLO will be evaluated.
	//
	// Example: 30
	TimePeriodDays int `json:"time_period_days"`

	// UpdatedAt The ISO8601-formatted time when the SLO was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SLO defines model for SLO.

type SLOCountWindow

type SLOCountWindow struct {
	// ErrorCount Number of failed (bad) events in this window.
	//
	// Example: 3
	ErrorCount *int `json:"error_count,omitempty"`

	// IsPartial When `true`, the data for this window may be incomplete. This occurs in three cases:
	// 1. **No prior anchor**: The first window has no preceding snapshot
	//    to delta from, so the value is a raw cumulative total rather
	//    than a true per-minute delta.
	//
	// 2. **Settlement window**: The window started within the last 10
	//    minutes. Late-arriving events from client buffering or
	//    ingestion lag may still appear in a subsequent snapshot.
	//
	// 3. **Hour boundary reset**: Cumulative totals reset to zero at
	//    each hour boundary. A request spanning a boundary will see
	//    the new hour's counts start near zero while the anchor came
	//    from the prior hour's larger total. Both `total_count` and
	//    `error_count` are zeroed for this window. Use `period_start`
	//    to detect this and avoid requesting ranges that cross a
	//    boundary.
	//
	// Clients building alerting on top of this data should treat `is_partial: true` windows as provisional.
	//
	//
	// Example: false
	IsPartial *bool `json:"is_partial,omitempty"`

	// TotalCount Total number of events (good + bad) in this window.
	//
	// Example: 1243
	TotalCount *int `json:"total_count,omitempty"`

	// WindowEnd End of the window as a Unix timestamp (seconds). Always `window_start + 60`.
	//
	//
	// Example: 1745254260
	WindowEnd *int `json:"window_end,omitempty"`

	// WindowStart Start of the window as a Unix timestamp (seconds).
	//
	// Example: 1745251200
	WindowStart *int `json:"window_start,omitempty"`
}

SLOCountWindow defines model for SLOCountWindow.

type SLOCountsResponse

type SLOCountsResponse struct {
	// Epoch A hash of the SLO's SLI expression and dataset configuration. This value changes whenever the SLO definition changes in a way that affects count computation (e.g. a derived column expression update). Clients should compare this value across responses: a change means counts have reset under a new key and any client-side cache should be invalidated.
	//
	//
	// Example: a3f9c2d1e8b74056
	Epoch *string `json:"epoch,omitempty"`

	// PeriodStart Unix timestamp of the start of the current accumulation period (the most recent hour boundary). The cumulative totals used to compute deltas reset to zero at this point. Clients should re-baseline their delta computations whenever this value changes between responses.
	//
	//
	// Example: 1745251200
	PeriodStart *int64 `json:"period_start,omitempty"`

	// ResolutionSeconds The width of each window in seconds. Always `60`.
	//
	// Example: 60
	ResolutionSeconds *int `json:"resolution_seconds,omitempty"`

	// SloId The unique identifier of the SLO.
	//
	// Example: bZ1aRHAUsjG
	SloId *string `json:"slo_id,omitempty"`

	// Windows Ordered list of per-minute count windows within the requested time range. Gaps between windows indicate minutes with no recorded snapshot. An empty array means no data exists for the requested range.
	Windows *[]SLOCountWindow `json:"windows,omitempty"`
}

SLOCountsResponse defines model for SLOCountsResponse.

type SLOCreate

type SLOCreate struct {
	// CreatedAt The ISO8601-formatted time when the SLO was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DatasetSlugs The dataset(s) the SLO will be evaluated against. Required if using `__all__` in the path.
	//
	// Example: ["mydataset1","mydataset2"]
	DatasetSlugs *[]interface{} `json:"dataset_slugs,omitempty"`

	// Description A nice description of the SLO's intent and context.
	//
	// Example: SLO to ensure requests succeed and are fast
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`

	// Name The name of the SLO.
	//
	// Example: My SLO
	Name string `json:"name"`

	// ResetAt The ISO8601-formatted time the SLO was last reset. The value will be `null` if the SLO has not yet been reset.
	//
	// Example: 2022-011-11T09:53:04Z
	ResetAt nullable.Nullable[time.Time] `json:"reset_at,omitempty"`

	// Sli Reference to the [Calculated Field (also called Derived Column)](/api/calculated-fields/) used as the indicator of event success.
	//
	// Example: {"alias":"error_sli"}
	Sli struct {
		// Alias The alias of the Calculated Field (also called Derived Column).
		Alias string `json:"alias"`
	} `json:"sli"`

	// Tags A list of key-value pairs to help identify the SLO.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// TargetPerMillion The number of events out of one million (1,000,000) that you expected qualified events to succeed.
	//
	// Example: 990000
	TargetPerMillion int `json:"target_per_million"`

	// TimePeriodDays The time period, in days, over which the SLO will be evaluated.
	//
	// Example: 30
	TimePeriodDays int `json:"time_period_days"`

	// UpdatedAt The ISO8601-formatted time when the SLO was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SLOCreate defines model for SLOCreate.

type SLODetailedResponse

type SLODetailedResponse struct {
	// BudgetRemaining Reporting data to express how much error budget remains for the time period of the SLO. Only included when the `?detailed` query param is passed.
	//
	//
	// Example: 7.73
	BudgetRemaining *float64 `json:"budget_remaining,omitempty"`

	// BurnRate Reporting data to express the ratio of actual failures in the SLO
	// to expected failures in the given time window.
	//
	// The time window defaults to 4 hours for the API response.
	//
	// Only included when the `?detailed` query param is passed.
	//
	//
	// Example: 5.39
	BurnRate *float64 `json:"burn_rate,omitempty"`

	// Compliance Reporting data to express historical compliance of the SLO. Only included when the `?detailed` query param is passed.
	//
	//
	// Example: 95.39
	Compliance *float64 `json:"compliance,omitempty"`

	// CreatedAt The ISO8601-formatted time when the SLO was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DatasetSlugs The dataset(s) the SLO will be evaluated against. Required if using `__all__` in the path.
	//
	// Example: ["mydataset1","mydataset2"]
	DatasetSlugs *[]interface{} `json:"dataset_slugs,omitempty"`

	// Description A nice description of the SLO's intent and context.
	//
	// Example: SLO to ensure requests succeed and are fast
	Description *string `json:"description,omitempty"`
	Id          *string `json:"id,omitempty"`

	// Name The name of the SLO.
	//
	// Example: My SLO
	Name string `json:"name"`

	// ResetAt The ISO8601-formatted time the SLO was last reset. The value will be `null` if the SLO has not yet been reset.
	//
	// Example: 2022-011-11T09:53:04Z
	ResetAt nullable.Nullable[time.Time] `json:"reset_at,omitempty"`

	// Sli Reference to the [Calculated Field](/api/calculated-fields/) used as the indicator of event success.
	//
	// Example: {"alias":"error_sli"}
	Sli struct {
		// Alias The alias of the Calculated Field (also called Derived Column).
		Alias string `json:"alias"`
	} `json:"sli"`

	// Status Reporting data to express the status of the SLO.
	//
	// Status can be one of the following:
	// - `normal`   : The SLO has no burn alerts triggered.
	// - `triggered`: The SLO has at least one burn alert triggered.
	// - `no_alerts`: The SLO has no burn alerts associated with it.
	// - `no_events`: The SLO has no events streaming in.
	//
	// Only included when the `?detailed` query param is passed.
	//
	//
	// Example: normal
	Status *SLODetailedResponseStatus `json:"status,omitempty"`

	// Tags A list of key-value pairs to help identify the SLO.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// TargetPerMillion The number of events out of one million (1,000,000) that you expected qualified events to succeed.
	//
	// Example: 990000
	TargetPerMillion int `json:"target_per_million"`

	// TimePeriodDays The time period, in days, over which the SLO will be evaluated.
	//
	// Example: 30
	TimePeriodDays int `json:"time_period_days"`

	// UpdatedAt The ISO8601-formatted time when the SLO was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SLODetailedResponse defines model for SLODetailedResponse.

type SLODetailedResponseStatus

type SLODetailedResponseStatus string

SLODetailedResponseStatus Reporting data to express the status of the SLO.

Status can be one of the following: - `normal` : The SLO has no burn alerts triggered. - `triggered`: The SLO has at least one burn alert triggered. - `no_alerts`: The SLO has no burn alerts associated with it. - `no_events`: The SLO has no events streaming in.

Only included when the `?detailed` query param is passed.

Example: normal

const (
	NoAlerts  SLODetailedResponseStatus = "no_alerts"
	NoEvents  SLODetailedResponseStatus = "no_events"
	Normal    SLODetailedResponseStatus = "normal"
	Triggered SLODetailedResponseStatus = "triggered"
)

Defines values for SLODetailedResponseStatus.

func (SLODetailedResponseStatus) Valid

func (e SLODetailedResponseStatus) Valid() bool

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

type SLOHistory

type SLOHistory struct {
	// BudgetRemaining How much error budget remains for the SLO in this interval.
	//
	//
	// Example: 14.48516579406632
	BudgetRemaining *float64 `json:"budget_remaining,omitempty"`

	// Compliance Historical compliance of the SLO in this interval.
	//
	//
	// Example: 91.44851657940663
	Compliance *float64 `json:"compliance,omitempty"`

	// Timestamp The starting Unix timestamp, in seconds since the epoch, for the interval.
	//
	// Example: 1744650000
	Timestamp *int `json:"timestamp,omitempty"`
}

SLOHistory defines model for SLOHistory.

type SLOHistoryRequest

type SLOHistoryRequest struct {
	// EndTime The ending Unix timestamp, in seconds since the epoch, to retrieve historical data for. Must be greater than `start_time`. Cannot be a future timestamp.
	//
	// Example: 1745254800
	EndTime int `json:"end_time"`

	// Ids A list of SLO IDs to retrieve history for. Cannot be an empty array or more than 24 in length.
	//
	//
	// Example: ["2LBq9LckbcA","CzcpPs7cJ4d"]
	Ids []interface{} `json:"ids"`

	// StartTime The starting Unix timestamp, in seconds since the epoch, to retrieve historical data for. Cannot be more than a year in the past.
	//
	// Example: 1742230800
	StartTime int `json:"start_time"`
}

SLOHistoryRequest defines model for SLOHistoryRequest.

type SLOHistoryResponse

type SLOHistoryResponse map[string][]SLOHistory

SLOHistoryResponse A mapping from SLO IDs (e.g., "2LBq9LckbcA") to their historical data. Each SLO ID maps to an array of compliance and budget intervals.

Example: {"2LBq9LckbcA":[{"budget_remaining":14.48516579406632,"compliance":91.44851657940663,"timestamp":1744650000},{"budget_remaining":88.13453467953423,"compliance":97.98746514671242,"timestamp":1744653600}],"CzcpPs7cJ4d":[{"budget_remaining":-71.02966841186735,"compliance":93.53414567784128,"timestamp":1744650000}]}

type SLOHourBucket

type SLOHourBucket struct {
	// EndTime End of the hour as a Unix timestamp (seconds). Always `start_time + 3600`.
	//
	//
	// Example: 1745172000
	EndTime *int64 `json:"end_time,omitempty"`

	// ErrorCount Number of failed (bad) events in this hour.
	//
	// Example: 182
	ErrorCount *int `json:"error_count,omitempty"`

	// IsPartial When `true`, this bucket covers the current in-progress hour and its counts will increase until the hour completes. Clients should treat `is_partial: true` buckets as provisional.
	//
	//
	// Example: false
	IsPartial *bool `json:"is_partial,omitempty"`

	// StartTime Start of the hour as a Unix timestamp (seconds).
	//
	// Example: 1745168400
	StartTime *int64 `json:"start_time,omitempty"`

	// TotalCount Total number of events (good + bad) in this hour.
	//
	// Example: 74520
	TotalCount *int `json:"total_count,omitempty"`
}

SLOHourBucket defines model for SLOHourBucket.

type SLOHourlyCountsResponse

type SLOHourlyCountsResponse struct {
	// Buckets Ordered list of hourly count buckets within the requested time range. Gaps indicate hours with no recorded data. An empty array means no data exists for the requested range.
	Buckets *[]SLOHourBucket `json:"buckets,omitempty"`

	// ResolutionSeconds The width of each bucket in seconds. Always `3600`.
	//
	// Example: 3600
	ResolutionSeconds *int `json:"resolution_seconds,omitempty"`

	// SloId The unique identifier of the SLO.
	//
	// Example: bZ1aRHAUsjG
	SloId *string `json:"slo_id,omitempty"`
}

SLOHourlyCountsResponse defines model for SLOHourlyCountsResponse.

type SLOPanel

type SLOPanel struct {
	// Position The position of the panel within the layout. When X and Y coordinates are not specified for any of the panels, the layout will be generated automatically.
	Position *BoardPanelPosition `json:"position,omitempty"`
	SloPanel struct {
		// SloId The ID of the SLO to display on the board. The SLO must be in the same environment as the board.
		//
		//
		// Example: BGfyxhFto
		SloId *string `json:"slo_id,omitempty"`
	} `json:"slo_panel"`

	// Type The type of the board panel.
	Type interface{} `json:"type"`
}

SLOPanel defines model for SLOPanel.

type Signal

type Signal struct {
	// AutoInvestigate When `true`, Honeycomb will automatically start an investigation when this Signal fires.
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Signal was created.
	//
	// Example: 2025-02-14T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// CurrentlyAnomalous Whether the Signal is currently in an anomalous state.
	//
	// Example: false
	CurrentlyAnomalous *bool `json:"currently_anomalous,omitempty"`

	// DatasetSlug The slug of the dataset the Signal's service reports to.
	//
	// Example: checkout-api
	DatasetSlug *string `json:"dataset_slug,omitempty"`

	// Enabled Whether the Signal is currently enabled. Disabled Signals do not fire.
	//
	// Example: true
	Enabled bool `json:"enabled"`

	// EnvironmentSlug The slug of the environment the Signal belongs to.
	//
	// Example: production
	EnvironmentSlug *string `json:"environment_slug,omitempty"`

	// Id Unique identifier (ID) of the Signal.
	//
	// Example: hcasp_01j9x1yq0k2t8m9n3v4b5r6c7d
	Id *string `json:"id,omitempty"`

	// LastAnomalyEndedAt The end time of the most recent anomaly, in seconds since UNIX epoch. `null` when no anomaly has ended yet, or the Signal is currently anomalous.
	//
	// Example: 1741093200
	LastAnomalyEndedAt nullable.Nullable[int] `json:"last_anomaly_ended_at,omitempty"`

	// LastAnomalyStartedAt The start time of the most recent anomaly, in seconds since UNIX epoch. `null` when the Signal has never been anomalous.
	//
	// Example: 1741089600
	LastAnomalyStartedAt nullable.Nullable[int] `json:"last_anomaly_started_at,omitempty"`

	// MeasuredSignal The kind of measurement the Signal is trained on.
	MeasuredSignal *AnomalySignal `json:"measured_signal,omitempty"`

	// Sensitivity How far a measurement must deviate from the trained normal band before the Signal fires.
	//
	// Higher sensitivity narrows the normal band and catches smaller deviations.
	// `sensitivity` is always `null` for `presence` Signals.
	//
	//
	// Example: medium
	Sensitivity AnomalySignalSensitivity `json:"sensitivity"`

	// ServiceName The name of the service the Signal monitors.
	//
	// Example: checkout-api
	ServiceName *string `json:"service_name,omitempty"`

	// Status The lifecycle status of the Signal.
	Status *AnomalySignalStatus `json:"status,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Signal was last updated.
	//
	// Example: 2025-03-01T10:04:22Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

Signal A Honeycomb Anomaly Detection Signal.

type SignalDetailResponse

type SignalDetailResponse struct {
	// AutoInvestigate When `true`, Honeycomb will automatically start an investigation when this Signal fires.
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Signal was created.
	//
	// Example: 2025-02-14T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// CurrentlyAnomalous Whether the Signal is currently in an anomalous state.
	//
	// Example: false
	CurrentlyAnomalous *bool `json:"currently_anomalous,omitempty"`

	// DatasetSlug The slug of the dataset the Signal's service reports to.
	//
	// Example: checkout-api
	DatasetSlug *string `json:"dataset_slug,omitempty"`

	// Enabled Whether the Signal is currently enabled. Disabled Signals do not fire.
	//
	// Example: true
	Enabled bool `json:"enabled"`

	// EnvironmentSlug The slug of the environment the Signal belongs to.
	//
	// Example: production
	EnvironmentSlug *string `json:"environment_slug,omitempty"`

	// Id Unique identifier (ID) of the Signal.
	//
	// Example: hcasp_01j9x1yq0k2t8m9n3v4b5r6c7d
	Id *string `json:"id,omitempty"`

	// LastAnomalyEndedAt The end time of the most recent anomaly, in seconds since UNIX epoch. `null` when no anomaly has ended yet, or the Signal is currently anomalous.
	//
	// Example: 1741093200
	LastAnomalyEndedAt nullable.Nullable[int] `json:"last_anomaly_ended_at,omitempty"`

	// LastAnomalyStartedAt The start time of the most recent anomaly, in seconds since UNIX epoch. `null` when the Signal has never been anomalous.
	//
	// Example: 1741089600
	LastAnomalyStartedAt nullable.Nullable[int] `json:"last_anomaly_started_at,omitempty"`

	// MeasuredSignal The kind of measurement the Signal is trained on.
	MeasuredSignal *AnomalySignal `json:"measured_signal,omitempty"`

	// Recipients The Recipients notified when this Signal fires.
	//
	// Example: [{"details":{"muted":false,"pagerduty_severity":"critical"},"id":"hcar_01jak3ymk8s5cpc2xz3q7d8v9r","type":"pagerduty"}]
	Recipients []NotificationRecipient `json:"recipients"`

	// Sensitivity How far a measurement must deviate from the trained normal band before the Signal fires.
	//
	// Higher sensitivity narrows the normal band and catches smaller deviations.
	// `sensitivity` is always `null` for `presence` Signals.
	//
	//
	// Example: medium
	Sensitivity AnomalySignalSensitivity `json:"sensitivity"`

	// ServiceName The name of the service the Signal monitors.
	//
	// Example: checkout-api
	ServiceName *string `json:"service_name,omitempty"`

	// Status The lifecycle status of the Signal.
	Status *AnomalySignalStatus `json:"status,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Signal was last updated.
	//
	// Example: 2025-03-01T10:04:22Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SignalDetailResponse A Signal with its assigned Recipients.

type SignalRecipient

type SignalRecipient struct {
	// Details Per-assignment settings for how this Recipient receives notifications for this Signal.
	Details *struct {
		// Muted When `true`, the Recipient is muted for this Signal and will not receive notifications.
		Muted *bool `json:"muted,omitempty"`

		// PagerdutySeverity Severity to use when the assigned Recipient is a PagerDuty Recipient. Rejected for non-PagerDuty Recipients.
		//
		// Example: critical
		PagerdutySeverity *SignalRecipientDetailsPagerdutySeverity `json:"pagerduty_severity,omitempty"`
	} `json:"details,omitempty"`

	// Id The unique identifier of an existing Recipient. Create Recipients via the [Recipients API](/api/recipients/).
	//
	// Example: hcar_01jak3ymk8s5cpc2xz3q7d8v9r
	Id string `json:"id"`
}

SignalRecipient A Recipient assigned to a Signal.

type SignalRecipientDetailsPagerdutySeverity

type SignalRecipientDetailsPagerdutySeverity string

SignalRecipientDetailsPagerdutySeverity Severity to use when the assigned Recipient is a PagerDuty Recipient. Rejected for non-PagerDuty Recipients.

Example: critical

const (
	SignalRecipientDetailsPagerdutySeverityCritical SignalRecipientDetailsPagerdutySeverity = "critical"
	SignalRecipientDetailsPagerdutySeverityError    SignalRecipientDetailsPagerdutySeverity = "error"
	SignalRecipientDetailsPagerdutySeverityInfo     SignalRecipientDetailsPagerdutySeverity = "info"
	SignalRecipientDetailsPagerdutySeverityWarning  SignalRecipientDetailsPagerdutySeverity = "warning"
)

Defines values for SignalRecipientDetailsPagerdutySeverity.

func (SignalRecipientDetailsPagerdutySeverity) Valid

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

type SlackRecipient

type SlackRecipient struct {
	// CreatedAt ISO8601 formatted time the Recipient was created.
	//
	// Example: 2022-07-26T22:38:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Details Specific schema for the Slack Recipient Type.
	Details *struct {
		// SlackChannel Slack channel to notify.
		//
		// Example: #alerts-channel
		SlackChannel string `json:"slack_channel"`
	} `json:"details,omitempty"`

	// Id Example: yUheCUmgZ8p
	Id   *string             `json:"id,omitempty"`
	Type *SlackRecipientType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the Recipient was updated.
	//
	// Example: 2022-07-26T22:38:04Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SlackRecipient defines model for SlackRecipient.

type SlackRecipientType

type SlackRecipientType string

SlackRecipientType defines model for SlackRecipient.Type.

const (
	SlackRecipientTypeSlack SlackRecipientType = "slack"
)

Defines values for SlackRecipientType.

func (SlackRecipientType) Valid

func (e SlackRecipientType) Valid() bool

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

type Tag

type Tag struct {
	// Key A key to identify the tag, lowercase letters only.
	Key string `json:"key"`

	// Value A value for the tag, must begin with a lowercase letter, contain only alphanumeric characters (all letters lowercase) and special characters of `/` and `-` allowed.
	Value string `json:"value"`
}

Tag defines model for Tag.

type TeamRelationship

type TeamRelationship struct {
	Team struct {
		Data struct {
			// Id The ID of the Team this object is associated with
			//
			// Example: hxctm_12345678901234567890123456
			Id   string                       `json:"id"`
			Type TeamRelationshipTeamDataType `json:"type"`
		} `json:"data"`
	} `json:"team"`
}

TeamRelationship defines model for TeamRelationship.

type TeamRelationshipTeamDataType

type TeamRelationshipTeamDataType string

TeamRelationshipTeamDataType defines model for TeamRelationship.Team.Data.Type.

const (
	Teams TeamRelationshipTeamDataType = "teams"
)

Defines values for TeamRelationshipTeamDataType.

func (TeamRelationshipTeamDataType) Valid

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

type TeamSlug

type TeamSlug = string

TeamSlug defines model for teamSlug.

type TemplateVariableDefinition

type TemplateVariableDefinition struct {
	// DefaultValue Example: CRITICAL
	DefaultValue *string `json:"default_value,omitempty"`

	// Name Example: severity
	Name string `json:"name"`
}

TemplateVariableDefinition defines model for TemplateVariableDefinition.

type TextPanel

type TextPanel struct {
	// Position The position of the panel within the layout. When X and Y coordinates are not specified for any of the panels, the layout will be generated automatically.
	Position  *BoardPanelPosition `json:"position,omitempty"`
	TextPanel struct {
		// Content The text content to display on the board panel. This field supports Markdown formatting.
		//
		//
		// Example: # This is a text panel with some content
		Content string `json:"content"`
	} `json:"text_panel"`

	// Type The type of the board panel.
	Type interface{} `json:"type"`
}

TextPanel defines model for TextPanel.

type Threshold

type Threshold struct {
	// Color Color for the threshold line
	//
	// Example: red
	Color ThresholdColor `json:"color"`

	// Label Optional label to display for the threshold (max 35 characters)
	//
	// Example: Critical
	Label *string `json:"label,omitempty"`

	// LineStyle Line style for the threshold: "filled-solid" for filled area with solid line, "filled-dotted" for filled area with dotted line, "solid" for solid line only, "dotted" for dotted line only
	//
	//
	// Example: filled-solid
	LineStyle ThresholdLineStyle `json:"line_style"`

	// Operation Threshold operation type: "gt" for greater than, "lt" for less than
	//
	//
	// Example: gt
	Operation ThresholdOperation `json:"operation"`

	// Value The numeric value where the threshold line should be displayed
	//
	// Example: 100
	Value float64 `json:"value"`
}

Threshold A threshold line to display on a chart, with optional label and styling. Thresholds allow you to visualize important values or boundaries on your charts.

type ThresholdColor

type ThresholdColor string

ThresholdColor Color for the threshold line

Example: red

const (
	ThresholdColorBlue   ThresholdColor = "blue"
	ThresholdColorGreen  ThresholdColor = "green"
	ThresholdColorPurple ThresholdColor = "purple"
	ThresholdColorRed    ThresholdColor = "red"
	ThresholdColorYellow ThresholdColor = "yellow"
)

Defines values for ThresholdColor.

func (ThresholdColor) Valid

func (e ThresholdColor) Valid() bool

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

type ThresholdLineStyle

type ThresholdLineStyle string

ThresholdLineStyle Line style for the threshold: "filled-solid" for filled area with solid line, "filled-dotted" for filled area with dotted line, "solid" for solid line only, "dotted" for dotted line only

Example: filled-solid

const (
	Dotted       ThresholdLineStyle = "dotted"
	FilledDotted ThresholdLineStyle = "filled-dotted"
	FilledSolid  ThresholdLineStyle = "filled-solid"
	Solid        ThresholdLineStyle = "solid"
)

Defines values for ThresholdLineStyle.

func (ThresholdLineStyle) Valid

func (e ThresholdLineStyle) Valid() bool

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

type ThresholdOperation

type ThresholdOperation string

ThresholdOperation Threshold operation type: "gt" for greater than, "lt" for less than

Example: gt

const (
	Gt ThresholdOperation = "gt"
	Lt ThresholdOperation = "lt"
)

Defines values for ThresholdOperation.

func (ThresholdOperation) Valid

func (e ThresholdOperation) Valid() bool

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

type TriggerResponse

type TriggerResponse struct {
	// AlertType How often to fire an alert when a trigger threshold is crossed.
	// - `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold.
	//   The trigger resolves only when the result of the query no longer satisfies the threshold condition.
	// - `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met.
	//   (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
	AlertType *TriggerResponseAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Trigger fires.
	//
	//
	// Example: false
	AutoInvestigate *bool                            `json:"auto_investigate,omitempty"`
	BaselineDetails *TriggerResponse_BaselineDetails `json:"baseline_details,omitempty"`
	CreatedAt       *time.Time                       `json:"created_at,omitempty"`

	// DatasetSlug The slug of the dataset this trigger belongs to. For environment-wide triggers, this will be "__all__".
	DatasetSlug *string `json:"dataset_slug,omitempty"`

	// Description A longer description, displayed on the Trigger's detail page.
	Description *string `json:"description,omitempty"`

	// Disabled If true, the trigger will not be evaluated and alerts will not be sent.
	Disabled *bool `json:"disabled,omitempty"`

	// EvaluationSchedule A schedule that determines when the trigger is run. When the time is within the scheduled
	// window, the trigger will be run at the specified frequency. Outside of the window, the trigger
	// will not be run.
	EvaluationSchedule *struct {
		// Window Window start/end times and days of the week are calculated in UTC. If the end time is the same as or earlier than the start time, the end time is treated as being in the following day.
		Window struct {
			DaysOfWeek []TriggerResponseEvaluationScheduleWindowDaysOfWeek `json:"days_of_week"`

			// EndTime A UTC time in HH:mm format (13:00)
			//
			// Example: 1260
			EndTime string `json:"end_time"`

			// StartTime A UTC time in HH:mm format (13:00)
			//
			// Example: 840
			StartTime string `json:"start_time"`
		} `json:"window"`
	} `json:"evaluation_schedule,omitempty"`

	// EvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the
	// specified frequency. The window type means that the trigger will run at the specified frequency,
	// but only in the time window specified in the evaluation_schedule field.
	EvaluationScheduleType *TriggerResponseEvaluationScheduleType `json:"evaluation_schedule_type,omitempty"`

	// Frequency The interval in seconds in which to check the results of the query’s calculation against the threshold. Cannot be more than 4 times the query's duration (i.e. `duration <= frequency*4`). See [A Caveat on Time](https://docs.honeycomb.io/investigate/collaborate/share-query/define-query-json/#how-to-specify-an-absolute-time-range) for more information on specifying a query's duration. minimum: 60 maximum: 86400 multipleOf: 60 default: 900
	Frequency *int `json:"frequency,omitempty"`

	// Id The unique identifier (ID) for this Trigger.
	Id *string `json:"id,omitempty"`

	// Name A short, human-readable name for this Trigger, which will be displayed in the UI and when the trigger fires.
	Name *string `json:"name,omitempty"`

	// Query An inline query specification that is a strict subset of the standard Query Specification.
	//
	// **Required Fields:**
	// - `calculations`: At least one aggregate calculation (e.g., COUNT, AVG, SUM). Cannot use HEATMAP or CONCURRENCY.
	// - `time_range`: Query duration in seconds. Must be between the trigger `frequency` and the lesser of (4 × `frequency`) or 86400 (24 hours).
	//
	// **Prohibited Fields:**
	// - `orders`: Not supported. Trigger queries automatically order results based on the threshold operator.
	// - `limit`: Not supported. All matching result groups are evaluated.
	// - `start_time` and `end_time`: Not supported. Use `time_range` instead for relative time windows.
	// - `usage_mode`: Not supported for triggers.
	//
	// **Calculation Restrictions:**
	// - Without formulas: Maximum 1 non-having aggregate allowed.
	// - With formulas: Maximum 1 formula allowed, with up to 100 aggregates.
	// - Maximum 1 HAVING clause allowed, which must correspond to an existing calculation.
	// - Named aggregates cannot be combined with global `filters`.
	//
	// **Metrics Dataset Specific:**
	// - `granularity` field is supported and must be within calculated min/max bounds based on time range.
	// - Nil aggregate values are skipped during trigger evaluation (no error, group is simply not evaluated).
	// - Requires a non-legacy environment.
	//
	// **Standard Datasets:**
	// - `granularity` field is not supported.
	//
	// Learn more about [Triggers](https://docs.honeycomb.io/notify/alert/triggers/).
	Query *map[string]interface{} `json:"query,omitempty"`

	// QueryId The ID of an existing saved Query that meets the trigger query requirements.
	//
	// The referenced query must satisfy the same restrictions as inline trigger queries:
	// - Must have at least one aggregate calculation (not HEATMAP or CONCURRENCY)
	// - Cannot have `orders`, `limit`, `start_time`, `end_time`, or `usage_mode` fields set
	// - Must have appropriate `time_range` relative to trigger frequency
	// - Must respect calculation restrictions (max 1 non-having aggregate without formulas, or max 1 formula with up to 100 aggregates)
	// - Maximum 1 having clause allowed
	// - Named aggregates cannot be combined with global filters
	// - For metrics datasets: may include `granularity` field (within calculated bounds)
	// - For standard datasets: must not include `granularity` field
	//
	// The API will validate the referenced query meets these criteria when creating or updating the trigger.
	//
	// See the inline `query` field documentation above for complete trigger query requirements and learn more about [Triggers](https://docs.honeycomb.io/notify/alert/triggers/).
	QueryId *string `json:"query_id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when the Trigger fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	Recipients *[]NotificationRecipient `json:"recipients,omitempty"`

	// Tags A list of key-value pairs to help identify the Trigger.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// Threshold The threshold over which the trigger will fire, specified as both an operator and a value.
	Threshold *struct {
		// ExceededLimit The number of times the threshold must be met before an alert is sent.
		ExceededLimit *int                       `json:"exceeded_limit,omitempty"`
		Op            TriggerResponseThresholdOp `json:"op"`
		Value         float32                    `json:"value"`
	} `json:"threshold,omitempty"`

	// Triggered If true, the trigger has crossed its specified threshold without resolving.
	Triggered *bool      `json:"triggered,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

TriggerResponse defines model for TriggerResponse.

type TriggerResponseAlertType

type TriggerResponseAlertType string

TriggerResponseAlertType How often to fire an alert when a trigger threshold is crossed.

  • `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold. The trigger resolves only when the result of the query no longer satisfies the threshold condition.
  • `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met. (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
const (
	TriggerResponseAlertTypeOnChange TriggerResponseAlertType = "on_change"
	TriggerResponseAlertTypeOnTrue   TriggerResponseAlertType = "on_true"
)

Defines values for TriggerResponseAlertType.

func (TriggerResponseAlertType) Valid

func (e TriggerResponseAlertType) Valid() bool

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

type TriggerResponseBaselineDetails0

type TriggerResponseBaselineDetails0 struct {
	// OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.
	OffsetMinutes TriggerResponseBaselineDetails0OffsetMinutes `json:"offset_minutes"`

	// Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.
	Type TriggerResponseBaselineDetails0Type `json:"type"`
}

TriggerResponseBaselineDetails0 Additional properties needed to configure this trigger with a dynamic baseline threshold.

Example: {"offset_minutes":60,"type":"percentage"}

type TriggerResponseBaselineDetails0OffsetMinutes

type TriggerResponseBaselineDetails0OffsetMinutes int

TriggerResponseBaselineDetails0OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.

const (
	TriggerResponseBaselineDetails0OffsetMinutesN10080 TriggerResponseBaselineDetails0OffsetMinutes = 10080
	TriggerResponseBaselineDetails0OffsetMinutesN1440  TriggerResponseBaselineDetails0OffsetMinutes = 1440
	TriggerResponseBaselineDetails0OffsetMinutesN40320 TriggerResponseBaselineDetails0OffsetMinutes = 40320
	TriggerResponseBaselineDetails0OffsetMinutesN60    TriggerResponseBaselineDetails0OffsetMinutes = 60
)

Defines values for TriggerResponseBaselineDetails0OffsetMinutes.

func (TriggerResponseBaselineDetails0OffsetMinutes) Valid

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

type TriggerResponseBaselineDetails0Type

type TriggerResponseBaselineDetails0Type string

TriggerResponseBaselineDetails0Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.

const (
	TriggerResponseBaselineDetails0TypePercentage TriggerResponseBaselineDetails0Type = "percentage"
	TriggerResponseBaselineDetails0TypeValue      TriggerResponseBaselineDetails0Type = "value"
)

Defines values for TriggerResponseBaselineDetails0Type.

func (TriggerResponseBaselineDetails0Type) Valid

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

type TriggerResponseBaselineDetails1

type TriggerResponseBaselineDetails1 = interface{}

TriggerResponseBaselineDetails1 Set to an empty object to clear the baseline threshold.

Example: {}

type TriggerResponseEvaluationScheduleType

type TriggerResponseEvaluationScheduleType string

TriggerResponseEvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the specified frequency. The window type means that the trigger will run at the specified frequency, but only in the time window specified in the evaluation_schedule field.

const (
	TriggerResponseEvaluationScheduleTypeFrequency TriggerResponseEvaluationScheduleType = "frequency"
	TriggerResponseEvaluationScheduleTypeWindow    TriggerResponseEvaluationScheduleType = "window"
)

Defines values for TriggerResponseEvaluationScheduleType.

func (TriggerResponseEvaluationScheduleType) Valid

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

type TriggerResponseEvaluationScheduleWindowDaysOfWeek

type TriggerResponseEvaluationScheduleWindowDaysOfWeek string

TriggerResponseEvaluationScheduleWindowDaysOfWeek defines model for TriggerResponse.EvaluationSchedule.Window.DaysOfWeek.

const (
	TriggerResponseEvaluationScheduleWindowDaysOfWeekFriday    TriggerResponseEvaluationScheduleWindowDaysOfWeek = "friday"
	TriggerResponseEvaluationScheduleWindowDaysOfWeekMonday    TriggerResponseEvaluationScheduleWindowDaysOfWeek = "monday"
	TriggerResponseEvaluationScheduleWindowDaysOfWeekSaturday  TriggerResponseEvaluationScheduleWindowDaysOfWeek = "saturday"
	TriggerResponseEvaluationScheduleWindowDaysOfWeekSunday    TriggerResponseEvaluationScheduleWindowDaysOfWeek = "sunday"
	TriggerResponseEvaluationScheduleWindowDaysOfWeekThursday  TriggerResponseEvaluationScheduleWindowDaysOfWeek = "thursday"
	TriggerResponseEvaluationScheduleWindowDaysOfWeekTuesday   TriggerResponseEvaluationScheduleWindowDaysOfWeek = "tuesday"
	TriggerResponseEvaluationScheduleWindowDaysOfWeekWednesday TriggerResponseEvaluationScheduleWindowDaysOfWeek = "wednesday"
)

Defines values for TriggerResponseEvaluationScheduleWindowDaysOfWeek.

func (TriggerResponseEvaluationScheduleWindowDaysOfWeek) Valid

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

type TriggerResponseThresholdOp

type TriggerResponseThresholdOp string

TriggerResponseThresholdOp defines model for TriggerResponse.Threshold.Op.

const (
	TriggerResponseThresholdOpGreaterThan      TriggerResponseThresholdOp = ">"
	TriggerResponseThresholdOpGreaterThanEqual TriggerResponseThresholdOp = ">="
	TriggerResponseThresholdOpLessThan         TriggerResponseThresholdOp = "<"
	TriggerResponseThresholdOpLessThanEqual    TriggerResponseThresholdOp = "<="
)

Defines values for TriggerResponseThresholdOp.

func (TriggerResponseThresholdOp) Valid

func (e TriggerResponseThresholdOp) Valid() bool

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

type TriggerResponse_BaselineDetails

type TriggerResponse_BaselineDetails struct {
	// contains filtered or unexported fields
}

TriggerResponse_BaselineDetails defines model for TriggerResponse.BaselineDetails.

func (TriggerResponse_BaselineDetails) AsTriggerResponseBaselineDetails0

func (t TriggerResponse_BaselineDetails) AsTriggerResponseBaselineDetails0() (TriggerResponseBaselineDetails0, error)

AsTriggerResponseBaselineDetails0 returns the union data inside the TriggerResponse_BaselineDetails as a TriggerResponseBaselineDetails0

func (TriggerResponse_BaselineDetails) AsTriggerResponseBaselineDetails1

func (t TriggerResponse_BaselineDetails) AsTriggerResponseBaselineDetails1() (TriggerResponseBaselineDetails1, error)

AsTriggerResponseBaselineDetails1 returns the union data inside the TriggerResponse_BaselineDetails as a TriggerResponseBaselineDetails1

func (*TriggerResponse_BaselineDetails) FromTriggerResponseBaselineDetails0

func (t *TriggerResponse_BaselineDetails) FromTriggerResponseBaselineDetails0(v TriggerResponseBaselineDetails0) error

FromTriggerResponseBaselineDetails0 overwrites any union data inside the TriggerResponse_BaselineDetails as the provided TriggerResponseBaselineDetails0

func (*TriggerResponse_BaselineDetails) FromTriggerResponseBaselineDetails1

func (t *TriggerResponse_BaselineDetails) FromTriggerResponseBaselineDetails1(v TriggerResponseBaselineDetails1) error

FromTriggerResponseBaselineDetails1 overwrites any union data inside the TriggerResponse_BaselineDetails as the provided TriggerResponseBaselineDetails1

func (TriggerResponse_BaselineDetails) MarshalJSON

func (t TriggerResponse_BaselineDetails) MarshalJSON() ([]byte, error)

func (*TriggerResponse_BaselineDetails) MergeTriggerResponseBaselineDetails0

func (t *TriggerResponse_BaselineDetails) MergeTriggerResponseBaselineDetails0(v TriggerResponseBaselineDetails0) error

MergeTriggerResponseBaselineDetails0 performs a merge with any union data inside the TriggerResponse_BaselineDetails, using the provided TriggerResponseBaselineDetails0

func (*TriggerResponse_BaselineDetails) MergeTriggerResponseBaselineDetails1

func (t *TriggerResponse_BaselineDetails) MergeTriggerResponseBaselineDetails1(v TriggerResponseBaselineDetails1) error

MergeTriggerResponseBaselineDetails1 performs a merge with any union data inside the TriggerResponse_BaselineDetails, using the provided TriggerResponseBaselineDetails1

func (*TriggerResponse_BaselineDetails) UnmarshalJSON

func (t *TriggerResponse_BaselineDetails) UnmarshalJSON(b []byte) error

type TriggerWithInlineQuery

type TriggerWithInlineQuery struct {
	// AlertType How often to fire an alert when a trigger threshold is crossed.
	// - `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold.
	//   The trigger resolves only when the result of the query no longer satisfies the threshold condition.
	// - `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met.
	//   (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
	AlertType *TriggerWithInlineQueryAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Trigger fires.
	//
	//
	// Example: false
	AutoInvestigate *bool                                   `json:"auto_investigate,omitempty"`
	BaselineDetails *TriggerWithInlineQuery_BaselineDetails `json:"baseline_details,omitempty"`
	CreatedAt       *time.Time                              `json:"created_at,omitempty"`

	// DatasetSlug The slug of the dataset this trigger belongs to. For environment-wide triggers, this will be "__all__".
	DatasetSlug *string `json:"dataset_slug,omitempty"`

	// Description A longer description, displayed on the Trigger's detail page.
	Description *string `json:"description,omitempty"`

	// Disabled If true, the trigger will not be evaluated and alerts will not be sent.
	Disabled *bool `json:"disabled,omitempty"`

	// EvaluationSchedule A schedule that determines when the trigger is run. When the time is within the scheduled
	// window, the trigger will be run at the specified frequency. Outside of the window, the trigger
	// will not be run.
	EvaluationSchedule *struct {
		// Window Window start/end times and days of the week are calculated in UTC. If the end time is the same as or earlier than the start time, the end time is treated as being in the following day.
		Window struct {
			DaysOfWeek []TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek `json:"days_of_week"`

			// EndTime A UTC time in HH:mm format (13:00)
			//
			// Example: 1260
			EndTime string `json:"end_time"`

			// StartTime A UTC time in HH:mm format (13:00)
			//
			// Example: 840
			StartTime string `json:"start_time"`
		} `json:"window"`
	} `json:"evaluation_schedule,omitempty"`

	// EvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the
	// specified frequency. The window type means that the trigger will run at the specified frequency,
	// but only in the time window specified in the evaluation_schedule field.
	EvaluationScheduleType *TriggerWithInlineQueryEvaluationScheduleType `json:"evaluation_schedule_type,omitempty"`

	// Frequency The interval in seconds in which to check the results of the query’s calculation against the threshold. Cannot be more than 4 times the query's duration (i.e. `duration <= frequency*4`). See [A Caveat on Time](https://docs.honeycomb.io/investigate/collaborate/share-query/define-query-json/#how-to-specify-an-absolute-time-range) for more information on specifying a query's duration. minimum: 60 maximum: 86400 multipleOf: 60 default: 900
	Frequency *int `json:"frequency,omitempty"`

	// Id The unique identifier (ID) for this Trigger.
	Id *string `json:"id,omitempty"`

	// Name A short, human-readable name for this Trigger, which will be displayed in the UI and when the trigger fires.
	Name *string `json:"name,omitempty"`

	// Query An inline query specification that is a strict subset of the standard Query Specification.
	//
	// **Required Fields:**
	// - `calculations`: At least one aggregate calculation (e.g., COUNT, AVG, SUM). Cannot use HEATMAP or CONCURRENCY.
	// - `time_range`: Query duration in seconds. Must be between the trigger `frequency` and the lesser of (4 × `frequency`) or 86400 (24 hours).
	//
	// **Prohibited Fields:**
	// - `orders`: Not supported. Trigger queries automatically order results based on the threshold operator.
	// - `limit`: Not supported. All matching result groups are evaluated.
	// - `start_time` and `end_time`: Not supported. Use `time_range` instead for relative time windows.
	// - `usage_mode`: Not supported for triggers.
	//
	// **Calculation Restrictions:**
	// - Without formulas: Maximum 1 non-having aggregate allowed.
	// - With formulas: Maximum 1 formula allowed, with up to 100 aggregates.
	// - Maximum 1 HAVING clause allowed, which must correspond to an existing calculation.
	// - Named aggregates cannot be combined with global `filters`.
	//
	// **Metrics Dataset Specific:**
	// - `granularity` field is supported and must be within calculated min/max bounds based on time range.
	// - Nil aggregate values are skipped during trigger evaluation (no error, group is simply not evaluated).
	// - Requires a non-legacy environment.
	//
	// **Standard Datasets:**
	// - `granularity` field is not supported.
	//
	// Learn more about [Triggers](https://docs.honeycomb.io/notify/alert/triggers/).
	Query *map[string]interface{} `json:"query,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when the Trigger fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	Recipients *[]NotificationRecipient `json:"recipients,omitempty"`

	// Tags A list of key-value pairs to help identify the Trigger.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// Threshold The threshold over which the trigger will fire, specified as both an operator and a value.
	Threshold *struct {
		// ExceededLimit The number of times the threshold must be met before an alert is sent.
		ExceededLimit *int                              `json:"exceeded_limit,omitempty"`
		Op            TriggerWithInlineQueryThresholdOp `json:"op"`
		Value         float32                           `json:"value"`
	} `json:"threshold,omitempty"`

	// Triggered If true, the trigger has crossed its specified threshold without resolving.
	Triggered *bool      `json:"triggered,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

TriggerWithInlineQuery defines model for TriggerWithInlineQuery.

type TriggerWithInlineQueryAlertType

type TriggerWithInlineQueryAlertType string

TriggerWithInlineQueryAlertType How often to fire an alert when a trigger threshold is crossed.

  • `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold. The trigger resolves only when the result of the query no longer satisfies the threshold condition.
  • `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met. (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
const (
	TriggerWithInlineQueryAlertTypeOnChange TriggerWithInlineQueryAlertType = "on_change"
	TriggerWithInlineQueryAlertTypeOnTrue   TriggerWithInlineQueryAlertType = "on_true"
)

Defines values for TriggerWithInlineQueryAlertType.

func (TriggerWithInlineQueryAlertType) Valid

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

type TriggerWithInlineQueryBaselineDetails0

type TriggerWithInlineQueryBaselineDetails0 struct {
	// OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.
	OffsetMinutes TriggerWithInlineQueryBaselineDetails0OffsetMinutes `json:"offset_minutes"`

	// Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.
	Type TriggerWithInlineQueryBaselineDetails0Type `json:"type"`
}

TriggerWithInlineQueryBaselineDetails0 Additional properties needed to configure this trigger with a dynamic baseline threshold.

Example: {"offset_minutes":60,"type":"percentage"}

type TriggerWithInlineQueryBaselineDetails0OffsetMinutes

type TriggerWithInlineQueryBaselineDetails0OffsetMinutes int

TriggerWithInlineQueryBaselineDetails0OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.

const (
	TriggerWithInlineQueryBaselineDetails0OffsetMinutesN10080 TriggerWithInlineQueryBaselineDetails0OffsetMinutes = 10080
	TriggerWithInlineQueryBaselineDetails0OffsetMinutesN1440  TriggerWithInlineQueryBaselineDetails0OffsetMinutes = 1440
	TriggerWithInlineQueryBaselineDetails0OffsetMinutesN40320 TriggerWithInlineQueryBaselineDetails0OffsetMinutes = 40320
	TriggerWithInlineQueryBaselineDetails0OffsetMinutesN60    TriggerWithInlineQueryBaselineDetails0OffsetMinutes = 60
)

Defines values for TriggerWithInlineQueryBaselineDetails0OffsetMinutes.

func (TriggerWithInlineQueryBaselineDetails0OffsetMinutes) Valid

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

type TriggerWithInlineQueryBaselineDetails0Type

type TriggerWithInlineQueryBaselineDetails0Type string

TriggerWithInlineQueryBaselineDetails0Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.

const (
	TriggerWithInlineQueryBaselineDetails0TypePercentage TriggerWithInlineQueryBaselineDetails0Type = "percentage"
	TriggerWithInlineQueryBaselineDetails0TypeValue      TriggerWithInlineQueryBaselineDetails0Type = "value"
)

Defines values for TriggerWithInlineQueryBaselineDetails0Type.

func (TriggerWithInlineQueryBaselineDetails0Type) Valid

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

type TriggerWithInlineQueryBaselineDetails1

type TriggerWithInlineQueryBaselineDetails1 = interface{}

TriggerWithInlineQueryBaselineDetails1 Set to an empty object to clear the baseline threshold.

Example: {}

type TriggerWithInlineQueryEvaluationScheduleType

type TriggerWithInlineQueryEvaluationScheduleType string

TriggerWithInlineQueryEvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the specified frequency. The window type means that the trigger will run at the specified frequency, but only in the time window specified in the evaluation_schedule field.

const (
	TriggerWithInlineQueryEvaluationScheduleTypeFrequency TriggerWithInlineQueryEvaluationScheduleType = "frequency"
	TriggerWithInlineQueryEvaluationScheduleTypeWindow    TriggerWithInlineQueryEvaluationScheduleType = "window"
)

Defines values for TriggerWithInlineQueryEvaluationScheduleType.

func (TriggerWithInlineQueryEvaluationScheduleType) Valid

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

type TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek

type TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek string

TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek defines model for TriggerWithInlineQuery.EvaluationSchedule.Window.DaysOfWeek.

const (
	TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeekFriday    TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek = "friday"
	TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeekMonday    TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek = "monday"
	TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeekSaturday  TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek = "saturday"
	TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeekSunday    TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek = "sunday"
	TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeekThursday  TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek = "thursday"
	TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeekTuesday   TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek = "tuesday"
	TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeekWednesday TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek = "wednesday"
)

Defines values for TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek.

func (TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek) Valid

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

type TriggerWithInlineQueryThresholdOp

type TriggerWithInlineQueryThresholdOp string

TriggerWithInlineQueryThresholdOp defines model for TriggerWithInlineQuery.Threshold.Op.

const (
	TriggerWithInlineQueryThresholdOpGreaterThan      TriggerWithInlineQueryThresholdOp = ">"
	TriggerWithInlineQueryThresholdOpGreaterThanEqual TriggerWithInlineQueryThresholdOp = ">="
	TriggerWithInlineQueryThresholdOpLessThan         TriggerWithInlineQueryThresholdOp = "<"
	TriggerWithInlineQueryThresholdOpLessThanEqual    TriggerWithInlineQueryThresholdOp = "<="
)

Defines values for TriggerWithInlineQueryThresholdOp.

func (TriggerWithInlineQueryThresholdOp) Valid

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

type TriggerWithInlineQuery_BaselineDetails

type TriggerWithInlineQuery_BaselineDetails struct {
	// contains filtered or unexported fields
}

TriggerWithInlineQuery_BaselineDetails defines model for TriggerWithInlineQuery.BaselineDetails.

func (TriggerWithInlineQuery_BaselineDetails) AsTriggerWithInlineQueryBaselineDetails0

func (t TriggerWithInlineQuery_BaselineDetails) AsTriggerWithInlineQueryBaselineDetails0() (TriggerWithInlineQueryBaselineDetails0, error)

AsTriggerWithInlineQueryBaselineDetails0 returns the union data inside the TriggerWithInlineQuery_BaselineDetails as a TriggerWithInlineQueryBaselineDetails0

func (TriggerWithInlineQuery_BaselineDetails) AsTriggerWithInlineQueryBaselineDetails1

func (t TriggerWithInlineQuery_BaselineDetails) AsTriggerWithInlineQueryBaselineDetails1() (TriggerWithInlineQueryBaselineDetails1, error)

AsTriggerWithInlineQueryBaselineDetails1 returns the union data inside the TriggerWithInlineQuery_BaselineDetails as a TriggerWithInlineQueryBaselineDetails1

func (*TriggerWithInlineQuery_BaselineDetails) FromTriggerWithInlineQueryBaselineDetails0

func (t *TriggerWithInlineQuery_BaselineDetails) FromTriggerWithInlineQueryBaselineDetails0(v TriggerWithInlineQueryBaselineDetails0) error

FromTriggerWithInlineQueryBaselineDetails0 overwrites any union data inside the TriggerWithInlineQuery_BaselineDetails as the provided TriggerWithInlineQueryBaselineDetails0

func (*TriggerWithInlineQuery_BaselineDetails) FromTriggerWithInlineQueryBaselineDetails1

func (t *TriggerWithInlineQuery_BaselineDetails) FromTriggerWithInlineQueryBaselineDetails1(v TriggerWithInlineQueryBaselineDetails1) error

FromTriggerWithInlineQueryBaselineDetails1 overwrites any union data inside the TriggerWithInlineQuery_BaselineDetails as the provided TriggerWithInlineQueryBaselineDetails1

func (TriggerWithInlineQuery_BaselineDetails) MarshalJSON

func (t TriggerWithInlineQuery_BaselineDetails) MarshalJSON() ([]byte, error)

func (*TriggerWithInlineQuery_BaselineDetails) MergeTriggerWithInlineQueryBaselineDetails0

func (t *TriggerWithInlineQuery_BaselineDetails) MergeTriggerWithInlineQueryBaselineDetails0(v TriggerWithInlineQueryBaselineDetails0) error

MergeTriggerWithInlineQueryBaselineDetails0 performs a merge with any union data inside the TriggerWithInlineQuery_BaselineDetails, using the provided TriggerWithInlineQueryBaselineDetails0

func (*TriggerWithInlineQuery_BaselineDetails) MergeTriggerWithInlineQueryBaselineDetails1

func (t *TriggerWithInlineQuery_BaselineDetails) MergeTriggerWithInlineQueryBaselineDetails1(v TriggerWithInlineQueryBaselineDetails1) error

MergeTriggerWithInlineQueryBaselineDetails1 performs a merge with any union data inside the TriggerWithInlineQuery_BaselineDetails, using the provided TriggerWithInlineQueryBaselineDetails1

func (*TriggerWithInlineQuery_BaselineDetails) UnmarshalJSON

func (t *TriggerWithInlineQuery_BaselineDetails) UnmarshalJSON(b []byte) error

type TriggerWithQueryReference

type TriggerWithQueryReference struct {
	// AlertType How often to fire an alert when a trigger threshold is crossed.
	// - `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold.
	//   The trigger resolves only when the result of the query no longer satisfies the threshold condition.
	// - `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met.
	//   (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
	AlertType *TriggerWithQueryReferenceAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Trigger fires.
	//
	//
	// Example: false
	AutoInvestigate *bool                                      `json:"auto_investigate,omitempty"`
	BaselineDetails *TriggerWithQueryReference_BaselineDetails `json:"baseline_details,omitempty"`
	CreatedAt       *time.Time                                 `json:"created_at,omitempty"`

	// DatasetSlug The slug of the dataset this trigger belongs to. For environment-wide triggers, this will be "__all__".
	DatasetSlug *string `json:"dataset_slug,omitempty"`

	// Description A longer description, displayed on the Trigger's detail page.
	Description *string `json:"description,omitempty"`

	// Disabled If true, the trigger will not be evaluated and alerts will not be sent.
	Disabled *bool `json:"disabled,omitempty"`

	// EvaluationSchedule A schedule that determines when the trigger is run. When the time is within the scheduled
	// window, the trigger will be run at the specified frequency. Outside of the window, the trigger
	// will not be run.
	EvaluationSchedule *struct {
		// Window Window start/end times and days of the week are calculated in UTC. If the end time is the same as or earlier than the start time, the end time is treated as being in the following day.
		Window struct {
			DaysOfWeek []TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek `json:"days_of_week"`

			// EndTime A UTC time in HH:mm format (13:00)
			//
			// Example: 1260
			EndTime string `json:"end_time"`

			// StartTime A UTC time in HH:mm format (13:00)
			//
			// Example: 840
			StartTime string `json:"start_time"`
		} `json:"window"`
	} `json:"evaluation_schedule,omitempty"`

	// EvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the
	// specified frequency. The window type means that the trigger will run at the specified frequency,
	// but only in the time window specified in the evaluation_schedule field.
	EvaluationScheduleType *TriggerWithQueryReferenceEvaluationScheduleType `json:"evaluation_schedule_type,omitempty"`

	// Frequency The interval in seconds in which to check the results of the query’s calculation against the threshold. Cannot be more than 4 times the query's duration (i.e. `duration <= frequency*4`). See [A Caveat on Time](https://docs.honeycomb.io/investigate/collaborate/share-query/define-query-json/#how-to-specify-an-absolute-time-range) for more information on specifying a query's duration. minimum: 60 maximum: 86400 multipleOf: 60 default: 900
	Frequency *int `json:"frequency,omitempty"`

	// Id The unique identifier (ID) for this Trigger.
	Id *string `json:"id,omitempty"`

	// Name A short, human-readable name for this Trigger, which will be displayed in the UI and when the trigger fires.
	Name *string `json:"name,omitempty"`

	// QueryId The ID of an existing saved Query that meets the trigger query requirements.
	//
	// The referenced query must satisfy the same restrictions as inline trigger queries:
	// - Must have at least one aggregate calculation (not HEATMAP or CONCURRENCY)
	// - Cannot have `orders`, `limit`, `start_time`, `end_time`, or `usage_mode` fields set
	// - Must have appropriate `time_range` relative to trigger frequency
	// - Must respect calculation restrictions (max 1 non-having aggregate without formulas, or max 1 formula with up to 100 aggregates)
	// - Maximum 1 having clause allowed
	// - Named aggregates cannot be combined with global filters
	// - For metrics datasets: may include `granularity` field (within calculated bounds)
	// - For standard datasets: must not include `granularity` field
	//
	// The API will validate the referenced query meets these criteria when creating or updating the trigger.
	//
	// See the inline `query` field documentation above for complete trigger query requirements and learn more about [Triggers](https://docs.honeycomb.io/notify/alert/triggers/).
	QueryId *string `json:"query_id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when the Trigger fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	Recipients *[]NotificationRecipient `json:"recipients,omitempty"`

	// Tags A list of key-value pairs to help identify the Trigger.
	//
	// Example: [{"key":"team","value":"blue"}]
	Tags *[]Tag `json:"tags,omitempty"`

	// Threshold The threshold over which the trigger will fire, specified as both an operator and a value.
	Threshold *struct {
		// ExceededLimit The number of times the threshold must be met before an alert is sent.
		ExceededLimit *int                                 `json:"exceeded_limit,omitempty"`
		Op            TriggerWithQueryReferenceThresholdOp `json:"op"`
		Value         float32                              `json:"value"`
	} `json:"threshold,omitempty"`

	// Triggered If true, the trigger has crossed its specified threshold without resolving.
	Triggered *bool      `json:"triggered,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

TriggerWithQueryReference defines model for TriggerWithQueryReference.

type TriggerWithQueryReferenceAlertType

type TriggerWithQueryReferenceAlertType string

TriggerWithQueryReferenceAlertType How often to fire an alert when a trigger threshold is crossed.

  • `on_change` sends a trigger notification when the result of the specified calculation crosses the threshold. The trigger resolves only when the result of the query no longer satisfies the threshold condition.
  • `on_true` keeps sending a trigger notification at current frequency when and while the threshold is met. (This reflects the same behavior as the "Send an alert every time a threshold is met" checkbox in the Honeycomb UI.)
const (
	TriggerWithQueryReferenceAlertTypeOnChange TriggerWithQueryReferenceAlertType = "on_change"
	TriggerWithQueryReferenceAlertTypeOnTrue   TriggerWithQueryReferenceAlertType = "on_true"
)

Defines values for TriggerWithQueryReferenceAlertType.

func (TriggerWithQueryReferenceAlertType) Valid

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

type TriggerWithQueryReferenceBaselineDetails0

type TriggerWithQueryReferenceBaselineDetails0 struct {
	// OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.
	OffsetMinutes TriggerWithQueryReferenceBaselineDetails0OffsetMinutes `json:"offset_minutes"`

	// Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.
	Type TriggerWithQueryReferenceBaselineDetails0Type `json:"type"`
}

TriggerWithQueryReferenceBaselineDetails0 Additional properties needed to configure this trigger with a dynamic baseline threshold.

Example: {"offset_minutes":60,"type":"percentage"}

type TriggerWithQueryReferenceBaselineDetails0OffsetMinutes

type TriggerWithQueryReferenceBaselineDetails0OffsetMinutes int

TriggerWithQueryReferenceBaselineDetails0OffsetMinutes For a given trigger run, how far back we should look to compare results. Currently only support comparison 1 hour, 24 hours, 7 days, or 28 days in the past.

const (
	TriggerWithQueryReferenceBaselineDetails0OffsetMinutesN10080 TriggerWithQueryReferenceBaselineDetails0OffsetMinutes = 10080
	TriggerWithQueryReferenceBaselineDetails0OffsetMinutesN1440  TriggerWithQueryReferenceBaselineDetails0OffsetMinutes = 1440
	TriggerWithQueryReferenceBaselineDetails0OffsetMinutesN40320 TriggerWithQueryReferenceBaselineDetails0OffsetMinutes = 40320
	TriggerWithQueryReferenceBaselineDetails0OffsetMinutesN60    TriggerWithQueryReferenceBaselineDetails0OffsetMinutes = 60
)

Defines values for TriggerWithQueryReferenceBaselineDetails0OffsetMinutes.

func (TriggerWithQueryReferenceBaselineDetails0OffsetMinutes) Valid

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

type TriggerWithQueryReferenceBaselineDetails0Type

type TriggerWithQueryReferenceBaselineDetails0Type string

TriggerWithQueryReferenceBaselineDetails0Type How to compare the change in the two time periods. Currently supports the difference in values (b-a) or the percentage difference in values (b-a)/b.

const (
	TriggerWithQueryReferenceBaselineDetails0TypePercentage TriggerWithQueryReferenceBaselineDetails0Type = "percentage"
	TriggerWithQueryReferenceBaselineDetails0TypeValue      TriggerWithQueryReferenceBaselineDetails0Type = "value"
)

Defines values for TriggerWithQueryReferenceBaselineDetails0Type.

func (TriggerWithQueryReferenceBaselineDetails0Type) Valid

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

type TriggerWithQueryReferenceBaselineDetails1

type TriggerWithQueryReferenceBaselineDetails1 = interface{}

TriggerWithQueryReferenceBaselineDetails1 Set to an empty object to clear the baseline threshold.

Example: {}

type TriggerWithQueryReferenceEvaluationScheduleType

type TriggerWithQueryReferenceEvaluationScheduleType string

TriggerWithQueryReferenceEvaluationScheduleType The schedule type used by the trigger. The default is frequency, where the trigger runs at the specified frequency. The window type means that the trigger will run at the specified frequency, but only in the time window specified in the evaluation_schedule field.

const (
	TriggerWithQueryReferenceEvaluationScheduleTypeFrequency TriggerWithQueryReferenceEvaluationScheduleType = "frequency"
	TriggerWithQueryReferenceEvaluationScheduleTypeWindow    TriggerWithQueryReferenceEvaluationScheduleType = "window"
)

Defines values for TriggerWithQueryReferenceEvaluationScheduleType.

func (TriggerWithQueryReferenceEvaluationScheduleType) Valid

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

type TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek

type TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek string

TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek defines model for TriggerWithQueryReference.EvaluationSchedule.Window.DaysOfWeek.

const (
	TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeekFriday    TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek = "friday"
	TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeekMonday    TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek = "monday"
	TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeekSaturday  TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek = "saturday"
	TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeekSunday    TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek = "sunday"
	TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeekThursday  TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek = "thursday"
	TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeekTuesday   TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek = "tuesday"
	TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeekWednesday TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek = "wednesday"
)

Defines values for TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek.

func (TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek) Valid

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

type TriggerWithQueryReferenceThresholdOp

type TriggerWithQueryReferenceThresholdOp string

TriggerWithQueryReferenceThresholdOp defines model for TriggerWithQueryReference.Threshold.Op.

const (
	TriggerWithQueryReferenceThresholdOpGreaterThan      TriggerWithQueryReferenceThresholdOp = ">"
	TriggerWithQueryReferenceThresholdOpGreaterThanEqual TriggerWithQueryReferenceThresholdOp = ">="
	TriggerWithQueryReferenceThresholdOpLessThan         TriggerWithQueryReferenceThresholdOp = "<"
	TriggerWithQueryReferenceThresholdOpLessThanEqual    TriggerWithQueryReferenceThresholdOp = "<="
)

Defines values for TriggerWithQueryReferenceThresholdOp.

func (TriggerWithQueryReferenceThresholdOp) Valid

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

type TriggerWithQueryReference_BaselineDetails

type TriggerWithQueryReference_BaselineDetails struct {
	// contains filtered or unexported fields
}

TriggerWithQueryReference_BaselineDetails defines model for TriggerWithQueryReference.BaselineDetails.

func (TriggerWithQueryReference_BaselineDetails) AsTriggerWithQueryReferenceBaselineDetails0

func (t TriggerWithQueryReference_BaselineDetails) AsTriggerWithQueryReferenceBaselineDetails0() (TriggerWithQueryReferenceBaselineDetails0, error)

AsTriggerWithQueryReferenceBaselineDetails0 returns the union data inside the TriggerWithQueryReference_BaselineDetails as a TriggerWithQueryReferenceBaselineDetails0

func (TriggerWithQueryReference_BaselineDetails) AsTriggerWithQueryReferenceBaselineDetails1

func (t TriggerWithQueryReference_BaselineDetails) AsTriggerWithQueryReferenceBaselineDetails1() (TriggerWithQueryReferenceBaselineDetails1, error)

AsTriggerWithQueryReferenceBaselineDetails1 returns the union data inside the TriggerWithQueryReference_BaselineDetails as a TriggerWithQueryReferenceBaselineDetails1

func (*TriggerWithQueryReference_BaselineDetails) FromTriggerWithQueryReferenceBaselineDetails0

func (t *TriggerWithQueryReference_BaselineDetails) FromTriggerWithQueryReferenceBaselineDetails0(v TriggerWithQueryReferenceBaselineDetails0) error

FromTriggerWithQueryReferenceBaselineDetails0 overwrites any union data inside the TriggerWithQueryReference_BaselineDetails as the provided TriggerWithQueryReferenceBaselineDetails0

func (*TriggerWithQueryReference_BaselineDetails) FromTriggerWithQueryReferenceBaselineDetails1

func (t *TriggerWithQueryReference_BaselineDetails) FromTriggerWithQueryReferenceBaselineDetails1(v TriggerWithQueryReferenceBaselineDetails1) error

FromTriggerWithQueryReferenceBaselineDetails1 overwrites any union data inside the TriggerWithQueryReference_BaselineDetails as the provided TriggerWithQueryReferenceBaselineDetails1

func (TriggerWithQueryReference_BaselineDetails) MarshalJSON

func (*TriggerWithQueryReference_BaselineDetails) MergeTriggerWithQueryReferenceBaselineDetails0

func (t *TriggerWithQueryReference_BaselineDetails) MergeTriggerWithQueryReferenceBaselineDetails0(v TriggerWithQueryReferenceBaselineDetails0) error

MergeTriggerWithQueryReferenceBaselineDetails0 performs a merge with any union data inside the TriggerWithQueryReference_BaselineDetails, using the provided TriggerWithQueryReferenceBaselineDetails0

func (*TriggerWithQueryReference_BaselineDetails) MergeTriggerWithQueryReferenceBaselineDetails1

func (t *TriggerWithQueryReference_BaselineDetails) MergeTriggerWithQueryReferenceBaselineDetails1(v TriggerWithQueryReferenceBaselineDetails1) error

MergeTriggerWithQueryReferenceBaselineDetails1 performs a merge with any union data inside the TriggerWithQueryReference_BaselineDetails, using the provided TriggerWithQueryReferenceBaselineDetails1

func (*TriggerWithQueryReference_BaselineDetails) UnmarshalJSON

type UnauthorizedApplicationJSON

type UnauthorizedApplicationJSON = Error

UnauthorizedApplicationJSON A legacy error, containing only a textual description.

type UnauthorizedApplicationVndAPIPlusJSON

type UnauthorizedApplicationVndAPIPlusJSON = JSONAPIError

UnauthorizedApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type UnprocessableEntityApplicationJSON

type UnprocessableEntityApplicationJSON = Error

UnprocessableEntityApplicationJSON A legacy error, containing only a textual description.

type UnprocessableEntityApplicationProblemPlusJSON

type UnprocessableEntityApplicationProblemPlusJSON = ValidationError

UnprocessableEntityApplicationProblemPlusJSON defines model for UnprocessableEntity.

type UnsupportedMediaType

type UnsupportedMediaType = JSONAPIError

UnsupportedMediaType A JSONAPI-formatted error message.

type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody

type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody = ApiKeyUpdateRequest

UpdateApiKeyApplicationVndAPIPlusJSONRequestBody defines body for UpdateApiKey for application/vnd.api+json ContentType.

type UpdateApiKeyResp

type UpdateApiKeyResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON200 the response for an HTTP 200 `application/vnd.api+json` response
	ApplicationvndApiJSON200 *ApiKeyResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *PayloadTooLarge
	// ApplicationvndApiJSON415 the response for an HTTP 415 `application/vnd.api+json` response
	ApplicationvndApiJSON415 *UnsupportedMediaType
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateApiKeyResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateApiKeyResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateApiKeyResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateApiKeyResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateApiKeyResp429Headers
}

func ParseUpdateApiKeyResp

func ParseUpdateApiKeyResp(rsp *http.Response) (*UpdateApiKeyResp, error)

ParseUpdateApiKeyResp parses an HTTP response from a UpdateApiKeyWithResponse call

func (UpdateApiKeyResp) ContentType

func (r UpdateApiKeyResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateApiKeyResp) GetApplicationproblemJSON400

func (r UpdateApiKeyResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateApiKeyResp) GetApplicationproblemJSON403

func (r UpdateApiKeyResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateApiKeyResp) GetApplicationproblemJSON404

func (r UpdateApiKeyResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateApiKeyResp) GetApplicationproblemJSON422

func (r UpdateApiKeyResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateApiKeyResp) GetApplicationproblemJSON429

func (r UpdateApiKeyResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateApiKeyResp) GetApplicationproblemJSON500

func (r UpdateApiKeyResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON200

func (r UpdateApiKeyResp) GetApplicationvndApiJSON200() *ApiKeyResponse

GetApplicationvndApiJSON200 returns the response for an HTTP 200 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON400

func (r UpdateApiKeyResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON401

func (r UpdateApiKeyResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON403

func (r UpdateApiKeyResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON404

func (r UpdateApiKeyResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON415

func (r UpdateApiKeyResp) GetApplicationvndApiJSON415() *UnsupportedMediaType

GetApplicationvndApiJSON415 returns the response for an HTTP 415 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON422

func (r UpdateApiKeyResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON429

func (r UpdateApiKeyResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetApplicationvndApiJSON500

func (r UpdateApiKeyResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (UpdateApiKeyResp) GetBody

func (r UpdateApiKeyResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateApiKeyResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateApiKeyResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateApiKeyResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateApiKeyResp) GetJSON404

func (r UpdateApiKeyResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateApiKeyResp) GetJSON413

func (r UpdateApiKeyResp) GetJSON413() *PayloadTooLarge

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (UpdateApiKeyResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateApiKeyResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateApiKeyResp) Status

func (r UpdateApiKeyResp) Status() string

Status returns HTTPResponse.Status

func (UpdateApiKeyResp) StatusCode

func (r UpdateApiKeyResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateApiKeyResp200Headers

type UpdateApiKeyResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateApiKeyResp200Headers the declared response headers of an HTTP 200 response for UpdateApiKey

type UpdateApiKeyResp400Headers

type UpdateApiKeyResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateApiKeyResp400Headers the declared response headers of an HTTP 400 response for UpdateApiKey

type UpdateApiKeyResp404Headers

type UpdateApiKeyResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateApiKeyResp404Headers the declared response headers of an HTTP 404 response for UpdateApiKey

type UpdateApiKeyResp422Headers

type UpdateApiKeyResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateApiKeyResp422Headers the declared response headers of an HTTP 422 response for UpdateApiKey

type UpdateApiKeyResp429Headers

type UpdateApiKeyResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateApiKeyResp429Headers the declared response headers of an HTTP 429 response for UpdateApiKey

type UpdateBoardJSONRequestBody

type UpdateBoardJSONRequestBody = Board

UpdateBoardJSONRequestBody defines body for UpdateBoard for application/json ContentType.

type UpdateBoardResp

type UpdateBoardResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Board
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateBoardResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateBoardResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateBoardResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateBoardResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateBoardResp429Headers
}

func ParseUpdateBoardResp

func ParseUpdateBoardResp(rsp *http.Response) (*UpdateBoardResp, error)

ParseUpdateBoardResp parses an HTTP response from a UpdateBoardWithResponse call

func (UpdateBoardResp) ContentType

func (r UpdateBoardResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateBoardResp) GetApplicationproblemJSON400

func (r UpdateBoardResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateBoardResp) GetApplicationproblemJSON404

func (r UpdateBoardResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateBoardResp) GetApplicationproblemJSON422

func (r UpdateBoardResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateBoardResp) GetApplicationproblemJSON429

func (r UpdateBoardResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateBoardResp) GetApplicationvndApiJSON400

func (r UpdateBoardResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (UpdateBoardResp) GetApplicationvndApiJSON401

func (r UpdateBoardResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateBoardResp) GetApplicationvndApiJSON404

func (r UpdateBoardResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateBoardResp) GetApplicationvndApiJSON422

func (r UpdateBoardResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateBoardResp) GetApplicationvndApiJSON429

func (r UpdateBoardResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateBoardResp) GetBody

func (r UpdateBoardResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateBoardResp) GetJSON200

func (r UpdateBoardResp) GetJSON200() *Board

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateBoardResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateBoardResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateBoardResp) GetJSON404

func (r UpdateBoardResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateBoardResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateBoardResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateBoardResp) GetJSONDefault

func (r UpdateBoardResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateBoardResp) Status

func (r UpdateBoardResp) Status() string

Status returns HTTPResponse.Status

func (UpdateBoardResp) StatusCode

func (r UpdateBoardResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateBoardResp200Headers

type UpdateBoardResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardResp200Headers the declared response headers of an HTTP 200 response for UpdateBoard

type UpdateBoardResp400Headers

type UpdateBoardResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardResp400Headers the declared response headers of an HTTP 400 response for UpdateBoard

type UpdateBoardResp404Headers

type UpdateBoardResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardResp404Headers the declared response headers of an HTTP 404 response for UpdateBoard

type UpdateBoardResp422Headers

type UpdateBoardResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardResp422Headers the declared response headers of an HTTP 422 response for UpdateBoard

type UpdateBoardResp429Headers

type UpdateBoardResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateBoardResp429Headers the declared response headers of an HTTP 429 response for UpdateBoard

type UpdateBoardViewJSONRequestBody

type UpdateBoardViewJSONRequestBody = UpdateBoardViewRequest

UpdateBoardViewJSONRequestBody defines body for UpdateBoardView for application/json ContentType.

type UpdateBoardViewRequest

type UpdateBoardViewRequest struct {
	// Filters The filters to apply to this view.
	Filters []BoardViewFilter `json:"filters"`

	// Id Unique identifier for the board view.
	//
	// Example: eC_abc123
	Id *string `json:"id,omitempty"`

	// Name The name of the view.
	//
	// Example: My View
	Name string `json:"name"`
}

UpdateBoardViewRequest defines model for UpdateBoardViewRequest.

type UpdateBoardViewResp

type UpdateBoardViewResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BoardViewResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateBoardViewResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateBoardViewResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateBoardViewResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *UpdateBoardViewResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateBoardViewResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateBoardViewResp429Headers
}

func ParseUpdateBoardViewResp

func ParseUpdateBoardViewResp(rsp *http.Response) (*UpdateBoardViewResp, error)

ParseUpdateBoardViewResp parses an HTTP response from a UpdateBoardViewWithResponse call

func (UpdateBoardViewResp) ContentType

func (r UpdateBoardViewResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateBoardViewResp) GetApplicationproblemJSON400

func (r UpdateBoardViewResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateBoardViewResp) GetApplicationproblemJSON404

func (r UpdateBoardViewResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateBoardViewResp) GetApplicationproblemJSON409

func (r UpdateBoardViewResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateBoardViewResp) GetApplicationproblemJSON422

func (r UpdateBoardViewResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateBoardViewResp) GetApplicationproblemJSON429

func (r UpdateBoardViewResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateBoardViewResp) GetApplicationvndApiJSON400

func (r UpdateBoardViewResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (UpdateBoardViewResp) GetApplicationvndApiJSON401

func (r UpdateBoardViewResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateBoardViewResp) GetApplicationvndApiJSON404

func (r UpdateBoardViewResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateBoardViewResp) GetApplicationvndApiJSON409

func (r UpdateBoardViewResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (UpdateBoardViewResp) GetApplicationvndApiJSON422

func (r UpdateBoardViewResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateBoardViewResp) GetApplicationvndApiJSON429

func (r UpdateBoardViewResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateBoardViewResp) GetBody

func (r UpdateBoardViewResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateBoardViewResp) GetJSON200

func (r UpdateBoardViewResp) GetJSON200() *BoardViewResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateBoardViewResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateBoardViewResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateBoardViewResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateBoardViewResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateBoardViewResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateBoardViewResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateBoardViewResp) GetJSONDefault

func (r UpdateBoardViewResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateBoardViewResp) Status

func (r UpdateBoardViewResp) Status() string

Status returns HTTPResponse.Status

func (UpdateBoardViewResp) StatusCode

func (r UpdateBoardViewResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateBoardViewResp200Headers

type UpdateBoardViewResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardViewResp200Headers the declared response headers of an HTTP 200 response for UpdateBoardView

type UpdateBoardViewResp400Headers

type UpdateBoardViewResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardViewResp400Headers the declared response headers of an HTTP 400 response for UpdateBoardView

type UpdateBoardViewResp404Headers

type UpdateBoardViewResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardViewResp404Headers the declared response headers of an HTTP 404 response for UpdateBoardView

type UpdateBoardViewResp409Headers

type UpdateBoardViewResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardViewResp409Headers the declared response headers of an HTTP 409 response for UpdateBoardView

type UpdateBoardViewResp422Headers

type UpdateBoardViewResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBoardViewResp422Headers the declared response headers of an HTTP 422 response for UpdateBoardView

type UpdateBoardViewResp429Headers

type UpdateBoardViewResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateBoardViewResp429Headers the declared response headers of an HTTP 429 response for UpdateBoardView

type UpdateBudgetRateBurnAlertRequest

type UpdateBudgetRateBurnAlertRequest struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: budget_rate
	AlertType UpdateBudgetRateBurnAlertRequestAlertType `json:"alert_type"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// BudgetRateDecreaseThresholdPerMillion Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// The percent the budget has decreased over the budget rate window, represented as a value out of one million.
	// The alert will fire when this budget decrease threshold is reached.
	//
	// See the table below for some example conversions from desired budget decrease percent to the representation as a value out of one million
	// | Desired percent | Value per million |
	// |-----------------|-------------------|
	// | 0.001%          | 1                 |
	// | 1%              | 10,000            |
	// | 5%              | 50,000            |
	// | 99.99%          | 999,900           |
	//
	//
	// Example: 1000
	BudgetRateDecreaseThresholdPerMillion int `json:"budget_rate_decrease_threshold_per_million"`

	// BudgetRateWindowMinutes Required when `alert_type` is `budget_rate`.
	//
	// Must not be specified when `alert_type` is `exhaustion_time`.
	//
	// Time period (in minutes) over which a budget rate will be calculated.
	//
	// Must be no greater than the associated SLO's time period.
	//
	//
	// Example: 120
	BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when an alert fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	//
	//
	// Example: [{"id":"abcd123","target":"alerts@example.com","type":"email"}]
	Recipients []NotificationRecipient `json:"recipients"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

UpdateBudgetRateBurnAlertRequest defines model for UpdateBudgetRateBurnAlertRequest.

type UpdateBudgetRateBurnAlertRequestAlertType

type UpdateBudgetRateBurnAlertRequestAlertType string

UpdateBudgetRateBurnAlertRequestAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: budget_rate

const (
	UpdateBudgetRateBurnAlertRequestAlertTypeBudgetRate     UpdateBudgetRateBurnAlertRequestAlertType = "budget_rate"
	UpdateBudgetRateBurnAlertRequestAlertTypeExhaustionTime UpdateBudgetRateBurnAlertRequestAlertType = "exhaustion_time"
)

Defines values for UpdateBudgetRateBurnAlertRequestAlertType.

func (UpdateBudgetRateBurnAlertRequestAlertType) Valid

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

type UpdateBurnAlertJSONRequestBody

type UpdateBurnAlertJSONRequestBody = UpdateBurnAlertRequest

UpdateBurnAlertJSONRequestBody defines body for UpdateBurnAlert for application/json ContentType.

type UpdateBurnAlertRequest

type UpdateBurnAlertRequest struct {
	AlertType string `json:"alert_type"`
	// contains filtered or unexported fields
}

UpdateBurnAlertRequest defines model for UpdateBurnAlertRequest.

func (UpdateBurnAlertRequest) AsUpdateBudgetRateBurnAlertRequest

func (t UpdateBurnAlertRequest) AsUpdateBudgetRateBurnAlertRequest() (UpdateBudgetRateBurnAlertRequest, error)

AsUpdateBudgetRateBurnAlertRequest returns the union data inside the UpdateBurnAlertRequest as a UpdateBudgetRateBurnAlertRequest

func (UpdateBurnAlertRequest) AsUpdateExhaustionTimeBurnAlertRequest

func (t UpdateBurnAlertRequest) AsUpdateExhaustionTimeBurnAlertRequest() (UpdateExhaustionTimeBurnAlertRequest, error)

AsUpdateExhaustionTimeBurnAlertRequest returns the union data inside the UpdateBurnAlertRequest as a UpdateExhaustionTimeBurnAlertRequest

func (UpdateBurnAlertRequest) Discriminator

func (t UpdateBurnAlertRequest) Discriminator() (string, error)

func (*UpdateBurnAlertRequest) FromUpdateBudgetRateBurnAlertRequest

func (t *UpdateBurnAlertRequest) FromUpdateBudgetRateBurnAlertRequest(v UpdateBudgetRateBurnAlertRequest) error

FromUpdateBudgetRateBurnAlertRequest overwrites any union data inside the UpdateBurnAlertRequest as the provided UpdateBudgetRateBurnAlertRequest

func (*UpdateBurnAlertRequest) FromUpdateExhaustionTimeBurnAlertRequest

func (t *UpdateBurnAlertRequest) FromUpdateExhaustionTimeBurnAlertRequest(v UpdateExhaustionTimeBurnAlertRequest) error

FromUpdateExhaustionTimeBurnAlertRequest overwrites any union data inside the UpdateBurnAlertRequest as the provided UpdateExhaustionTimeBurnAlertRequest

func (UpdateBurnAlertRequest) MarshalJSON

func (t UpdateBurnAlertRequest) MarshalJSON() ([]byte, error)

func (*UpdateBurnAlertRequest) MergeUpdateBudgetRateBurnAlertRequest

func (t *UpdateBurnAlertRequest) MergeUpdateBudgetRateBurnAlertRequest(v UpdateBudgetRateBurnAlertRequest) error

MergeUpdateBudgetRateBurnAlertRequest performs a merge with any union data inside the UpdateBurnAlertRequest, using the provided UpdateBudgetRateBurnAlertRequest

func (*UpdateBurnAlertRequest) MergeUpdateExhaustionTimeBurnAlertRequest

func (t *UpdateBurnAlertRequest) MergeUpdateExhaustionTimeBurnAlertRequest(v UpdateExhaustionTimeBurnAlertRequest) error

MergeUpdateExhaustionTimeBurnAlertRequest performs a merge with any union data inside the UpdateBurnAlertRequest, using the provided UpdateExhaustionTimeBurnAlertRequest

func (*UpdateBurnAlertRequest) UnmarshalJSON

func (t *UpdateBurnAlertRequest) UnmarshalJSON(b []byte) error

func (UpdateBurnAlertRequest) ValueByDiscriminator

func (t UpdateBurnAlertRequest) ValueByDiscriminator() (interface{}, error)

type UpdateBurnAlertResp

type UpdateBurnAlertResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BurnAlertDetailResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateBurnAlertResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateBurnAlertResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateBurnAlertResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateBurnAlertResp429Headers
}

func ParseUpdateBurnAlertResp

func ParseUpdateBurnAlertResp(rsp *http.Response) (*UpdateBurnAlertResp, error)

ParseUpdateBurnAlertResp parses an HTTP response from a UpdateBurnAlertWithResponse call

func (UpdateBurnAlertResp) ContentType

func (r UpdateBurnAlertResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateBurnAlertResp) GetApplicationproblemJSON403

func (r UpdateBurnAlertResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateBurnAlertResp) GetApplicationproblemJSON404

func (r UpdateBurnAlertResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateBurnAlertResp) GetApplicationproblemJSON422

func (r UpdateBurnAlertResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateBurnAlertResp) GetApplicationproblemJSON429

func (r UpdateBurnAlertResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateBurnAlertResp) GetApplicationvndApiJSON403

func (r UpdateBurnAlertResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (UpdateBurnAlertResp) GetApplicationvndApiJSON404

func (r UpdateBurnAlertResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateBurnAlertResp) GetApplicationvndApiJSON422

func (r UpdateBurnAlertResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateBurnAlertResp) GetApplicationvndApiJSON429

func (r UpdateBurnAlertResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateBurnAlertResp) GetBody

func (r UpdateBurnAlertResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateBurnAlertResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateBurnAlertResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateBurnAlertResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateBurnAlertResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateBurnAlertResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateBurnAlertResp) GetJSONDefault

func (r UpdateBurnAlertResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateBurnAlertResp) Status

func (r UpdateBurnAlertResp) Status() string

Status returns HTTPResponse.Status

func (UpdateBurnAlertResp) StatusCode

func (r UpdateBurnAlertResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateBurnAlertResp200Headers

type UpdateBurnAlertResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBurnAlertResp200Headers the declared response headers of an HTTP 200 response for UpdateBurnAlert

type UpdateBurnAlertResp404Headers

type UpdateBurnAlertResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBurnAlertResp404Headers the declared response headers of an HTTP 404 response for UpdateBurnAlert

type UpdateBurnAlertResp422Headers

type UpdateBurnAlertResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateBurnAlertResp422Headers the declared response headers of an HTTP 422 response for UpdateBurnAlert

type UpdateBurnAlertResp429Headers

type UpdateBurnAlertResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateBurnAlertResp429Headers the declared response headers of an HTTP 429 response for UpdateBurnAlert

type UpdateCalculatedFieldJSONRequestBody

type UpdateCalculatedFieldJSONRequestBody = CalculatedField

UpdateCalculatedFieldJSONRequestBody defines body for UpdateCalculatedField for application/json ContentType.

type UpdateCalculatedFieldResp

type UpdateCalculatedFieldResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CalculatedField
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateCalculatedFieldResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateCalculatedFieldResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateCalculatedFieldResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *UpdateCalculatedFieldResp409Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateCalculatedFieldResp429Headers
}

func ParseUpdateCalculatedFieldResp

func ParseUpdateCalculatedFieldResp(rsp *http.Response) (*UpdateCalculatedFieldResp, error)

ParseUpdateCalculatedFieldResp parses an HTTP response from a UpdateCalculatedFieldWithResponse call

func (UpdateCalculatedFieldResp) ContentType

func (r UpdateCalculatedFieldResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateCalculatedFieldResp) GetApplicationproblemJSON400

func (r UpdateCalculatedFieldResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateCalculatedFieldResp) GetApplicationproblemJSON404

func (r UpdateCalculatedFieldResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateCalculatedFieldResp) GetApplicationproblemJSON409

func (r UpdateCalculatedFieldResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateCalculatedFieldResp) GetApplicationproblemJSON429

func (r UpdateCalculatedFieldResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateCalculatedFieldResp) GetApplicationvndApiJSON400

func (r UpdateCalculatedFieldResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (UpdateCalculatedFieldResp) GetApplicationvndApiJSON401

func (r UpdateCalculatedFieldResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateCalculatedFieldResp) GetApplicationvndApiJSON404

func (r UpdateCalculatedFieldResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateCalculatedFieldResp) GetApplicationvndApiJSON409

func (r UpdateCalculatedFieldResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (UpdateCalculatedFieldResp) GetApplicationvndApiJSON429

func (r UpdateCalculatedFieldResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateCalculatedFieldResp) GetBody

func (r UpdateCalculatedFieldResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateCalculatedFieldResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateCalculatedFieldResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateCalculatedFieldResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateCalculatedFieldResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateCalculatedFieldResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateCalculatedFieldResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateCalculatedFieldResp) Status

func (r UpdateCalculatedFieldResp) Status() string

Status returns HTTPResponse.Status

func (UpdateCalculatedFieldResp) StatusCode

func (r UpdateCalculatedFieldResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateCalculatedFieldResp200Headers

type UpdateCalculatedFieldResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateCalculatedFieldResp200Headers the declared response headers of an HTTP 200 response for UpdateCalculatedField

type UpdateCalculatedFieldResp400Headers

type UpdateCalculatedFieldResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateCalculatedFieldResp400Headers the declared response headers of an HTTP 400 response for UpdateCalculatedField

type UpdateCalculatedFieldResp404Headers

type UpdateCalculatedFieldResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateCalculatedFieldResp404Headers the declared response headers of an HTTP 404 response for UpdateCalculatedField

type UpdateCalculatedFieldResp409Headers

type UpdateCalculatedFieldResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateCalculatedFieldResp409Headers the declared response headers of an HTTP 409 response for UpdateCalculatedField

type UpdateCalculatedFieldResp429Headers

type UpdateCalculatedFieldResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateCalculatedFieldResp429Headers the declared response headers of an HTTP 429 response for UpdateCalculatedField

type UpdateColumnJSONRequestBody

type UpdateColumnJSONRequestBody = Column

UpdateColumnJSONRequestBody defines body for UpdateColumn for application/json ContentType.

type UpdateColumnResp

type UpdateColumnResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Column
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateColumnResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateColumnResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateColumnResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateColumnResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateColumnResp429Headers
}

func ParseUpdateColumnResp

func ParseUpdateColumnResp(rsp *http.Response) (*UpdateColumnResp, error)

ParseUpdateColumnResp parses an HTTP response from a UpdateColumnWithResponse call

func (UpdateColumnResp) ContentType

func (r UpdateColumnResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateColumnResp) GetApplicationproblemJSON404

func (r UpdateColumnResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateColumnResp) GetApplicationproblemJSON422

func (r UpdateColumnResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateColumnResp) GetApplicationproblemJSON429

func (r UpdateColumnResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateColumnResp) GetApplicationvndApiJSON401

func (r UpdateColumnResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateColumnResp) GetApplicationvndApiJSON404

func (r UpdateColumnResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateColumnResp) GetApplicationvndApiJSON422

func (r UpdateColumnResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateColumnResp) GetApplicationvndApiJSON429

func (r UpdateColumnResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateColumnResp) GetBody

func (r UpdateColumnResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateColumnResp) GetJSON200

func (r UpdateColumnResp) GetJSON200() *Column

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateColumnResp) GetJSON400

func (r UpdateColumnResp) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateColumnResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateColumnResp) GetJSON404

func (r UpdateColumnResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateColumnResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateColumnResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateColumnResp) Status

func (r UpdateColumnResp) Status() string

Status returns HTTPResponse.Status

func (UpdateColumnResp) StatusCode

func (r UpdateColumnResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateColumnResp200Headers

type UpdateColumnResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateColumnResp200Headers the declared response headers of an HTTP 200 response for UpdateColumn

type UpdateColumnResp400Headers

type UpdateColumnResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateColumnResp400Headers the declared response headers of an HTTP 400 response for UpdateColumn

type UpdateColumnResp404Headers

type UpdateColumnResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateColumnResp404Headers the declared response headers of an HTTP 404 response for UpdateColumn

type UpdateColumnResp422Headers

type UpdateColumnResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateColumnResp422Headers the declared response headers of an HTTP 422 response for UpdateColumn

type UpdateColumnResp429Headers

type UpdateColumnResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateColumnResp429Headers the declared response headers of an HTTP 429 response for UpdateColumn

type UpdateDatasetJSONRequestBody

type UpdateDatasetJSONRequestBody = DatasetUpdatePayload

UpdateDatasetJSONRequestBody defines body for UpdateDataset for application/json ContentType.

type UpdateDatasetResp

type UpdateDatasetResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Dataset
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateDatasetResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateDatasetResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateDatasetResp429Headers
}

func ParseUpdateDatasetResp

func ParseUpdateDatasetResp(rsp *http.Response) (*UpdateDatasetResp, error)

ParseUpdateDatasetResp parses an HTTP response from a UpdateDatasetWithResponse call

func (UpdateDatasetResp) ContentType

func (r UpdateDatasetResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDatasetResp) GetApplicationproblemJSON404

func (r UpdateDatasetResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateDatasetResp) GetApplicationproblemJSON429

func (r UpdateDatasetResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateDatasetResp) GetApplicationvndApiJSON401

func (r UpdateDatasetResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateDatasetResp) GetApplicationvndApiJSON404

func (r UpdateDatasetResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateDatasetResp) GetApplicationvndApiJSON429

func (r UpdateDatasetResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateDatasetResp) GetBody

func (r UpdateDatasetResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateDatasetResp) GetJSON200

func (r UpdateDatasetResp) GetJSON200() *Dataset

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateDatasetResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateDatasetResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateDatasetResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateDatasetResp) Status

func (r UpdateDatasetResp) Status() string

Status returns HTTPResponse.Status

func (UpdateDatasetResp) StatusCode

func (r UpdateDatasetResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDatasetResp200Headers

type UpdateDatasetResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateDatasetResp200Headers the declared response headers of an HTTP 200 response for UpdateDataset

type UpdateDatasetResp404Headers

type UpdateDatasetResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateDatasetResp404Headers the declared response headers of an HTTP 404 response for UpdateDataset

type UpdateDatasetResp429Headers

type UpdateDatasetResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateDatasetResp429Headers the declared response headers of an HTTP 429 response for UpdateDataset

type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody

type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody = UpdateEnvironmentRequest

UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody defines body for UpdateEnvironment for application/vnd.api+json ContentType.

type UpdateEnvironmentRequest

type UpdateEnvironmentRequest struct {
	Data struct {
		Attributes struct {
			Color       *EnvironmentColor `json:"color,omitempty"`
			Description *string           `json:"description,omitempty"`
			Settings    *struct {
				// DeleteProtected If true, the environment cannot be deleted.
				DeleteProtected *bool `json:"delete_protected,omitempty"`
			} `json:"settings,omitempty"`
		} `json:"attributes"`
		Id   string                           `json:"id"`
		Type UpdateEnvironmentRequestDataType `json:"type"`
	} `json:"data"`
}

UpdateEnvironmentRequest defines model for UpdateEnvironmentRequest.

type UpdateEnvironmentRequestDataType

type UpdateEnvironmentRequestDataType string

UpdateEnvironmentRequestDataType defines model for UpdateEnvironmentRequest.Data.Type.

const (
	UpdateEnvironmentRequestDataTypeEnvironments UpdateEnvironmentRequestDataType = "environments"
)

Defines values for UpdateEnvironmentRequestDataType.

func (UpdateEnvironmentRequestDataType) Valid

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

type UpdateEnvironmentResp

type UpdateEnvironmentResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// ApplicationvndApiJSON200 the response for an HTTP 200 `application/vnd.api+json` response
	ApplicationvndApiJSON200 *EnvironmentResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON413 the response for an HTTP 413 `application/json` response
	JSON413 *PayloadTooLarge
	// ApplicationvndApiJSON415 the response for an HTTP 415 `application/vnd.api+json` response
	ApplicationvndApiJSON415 *UnsupportedMediaType
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// ApplicationproblemJSON500 the response for an HTTP 500 `application/problem+json` response
	ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
	// ApplicationvndApiJSON500 the response for an HTTP 500 `application/vnd.api+json` response
	ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateEnvironmentResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateEnvironmentResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateEnvironmentResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateEnvironmentResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateEnvironmentResp429Headers
}

func ParseUpdateEnvironmentResp

func ParseUpdateEnvironmentResp(rsp *http.Response) (*UpdateEnvironmentResp, error)

ParseUpdateEnvironmentResp parses an HTTP response from a UpdateEnvironmentWithResponse call

func (UpdateEnvironmentResp) ContentType

func (r UpdateEnvironmentResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateEnvironmentResp) GetApplicationproblemJSON400

func (r UpdateEnvironmentResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateEnvironmentResp) GetApplicationproblemJSON403

func (r UpdateEnvironmentResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateEnvironmentResp) GetApplicationproblemJSON404

func (r UpdateEnvironmentResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateEnvironmentResp) GetApplicationproblemJSON422

func (r UpdateEnvironmentResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateEnvironmentResp) GetApplicationproblemJSON429

func (r UpdateEnvironmentResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateEnvironmentResp) GetApplicationproblemJSON500

func (r UpdateEnvironmentResp) GetApplicationproblemJSON500() *InternalErrorApplicationProblemPlusJSON

GetApplicationproblemJSON500 returns the response for an HTTP 500 `application/problem+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON200

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON200() *EnvironmentResponse

GetApplicationvndApiJSON200 returns the response for an HTTP 200 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON400

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON401

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON403

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON404

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON415

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON415() *UnsupportedMediaType

GetApplicationvndApiJSON415 returns the response for an HTTP 415 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON422

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON429

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetApplicationvndApiJSON500

func (r UpdateEnvironmentResp) GetApplicationvndApiJSON500() *InternalErrorApplicationVndAPIPlusJSON

GetApplicationvndApiJSON500 returns the response for an HTTP 500 `application/vnd.api+json` response

func (UpdateEnvironmentResp) GetBody

func (r UpdateEnvironmentResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateEnvironmentResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateEnvironmentResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateEnvironmentResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateEnvironmentResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateEnvironmentResp) GetJSON413

func (r UpdateEnvironmentResp) GetJSON413() *PayloadTooLarge

GetJSON413 returns the response for an HTTP 413 `application/json` response

func (UpdateEnvironmentResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateEnvironmentResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateEnvironmentResp) Status

func (r UpdateEnvironmentResp) Status() string

Status returns HTTPResponse.Status

func (UpdateEnvironmentResp) StatusCode

func (r UpdateEnvironmentResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEnvironmentResp200Headers

type UpdateEnvironmentResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateEnvironmentResp200Headers the declared response headers of an HTTP 200 response for UpdateEnvironment

type UpdateEnvironmentResp400Headers

type UpdateEnvironmentResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateEnvironmentResp400Headers the declared response headers of an HTTP 400 response for UpdateEnvironment

type UpdateEnvironmentResp404Headers

type UpdateEnvironmentResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateEnvironmentResp404Headers the declared response headers of an HTTP 404 response for UpdateEnvironment

type UpdateEnvironmentResp422Headers

type UpdateEnvironmentResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateEnvironmentResp422Headers the declared response headers of an HTTP 422 response for UpdateEnvironment

type UpdateEnvironmentResp429Headers

type UpdateEnvironmentResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateEnvironmentResp429Headers the declared response headers of an HTTP 429 response for UpdateEnvironment

type UpdateExhaustionTimeBurnAlertRequest

type UpdateExhaustionTimeBurnAlertRequest struct {
	// AlertType One of the supported alert types:
	// 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours.
	// 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.
	//
	//
	// Example: exhaustion_time
	AlertType *UpdateExhaustionTimeBurnAlertRequestAlertType `json:"alert_type,omitempty"`

	// AutoInvestigate When true, Honeycomb will automatically start an investigation when this Burn Alert fires.
	//
	//
	// Example: false
	AutoInvestigate *bool `json:"auto_investigate,omitempty"`

	// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
	//
	// Example: 2022-09-22T17:32:11Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Description A description of the Burn Alert.
	//
	// Example: Use this runbook if this alert fires.
	Description *string `json:"description,omitempty"`

	// ExhaustionMinutes Required when `alert_type` is `exhaustion_time`.
	//
	// Must not be specified when `alert_type` is `budget_rate`.
	//
	// Amount of time (in minutes) left until your projected SLO budget is exhausted.
	// The alert will fire when this exhaustion threshold is reached.
	//
	//
	// Example: 120
	ExhaustionMinutes int `json:"exhaustion_minutes"`

	// Id Unique identifier (ID) of a Burn alert.
	//
	// Example: fS7vfB81Wcy
	Id *string `json:"id,omitempty"`

	// Recipients A list of [Recipients](/api/recipients/) to notify when an alert fires. Using `type`+`target` is deprecated. First, create the Recipient via the Recipients API, and then specify the ID.
	//
	//
	// Example: [{"id":"abcd123","target":"alerts@example.com","type":"email"}]
	Recipients []NotificationRecipient `json:"recipients"`

	// Triggered Indicates if the Burn Alert has been triggered. This field is read-only and is set to `true` when the alert is triggered.
	//
	//
	// Example: false
	Triggered *bool `json:"triggered,omitempty"`

	// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
	//
	// Example: 2022-10-31T15:08:11Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

UpdateExhaustionTimeBurnAlertRequest defines model for UpdateExhaustionTimeBurnAlertRequest.

type UpdateExhaustionTimeBurnAlertRequestAlertType

type UpdateExhaustionTimeBurnAlertRequestAlertType string

UpdateExhaustionTimeBurnAlertRequestAlertType One of the supported alert types: 1. `exhaustion_time`: Notifies when you are about to run out of SLO budget within a specified number of hours. 1. `budget_rate`: Notifies when budget drops by at least a specified percentage within a defined time window.

Example: exhaustion_time

const (
	UpdateExhaustionTimeBurnAlertRequestAlertTypeBudgetRate     UpdateExhaustionTimeBurnAlertRequestAlertType = "budget_rate"
	UpdateExhaustionTimeBurnAlertRequestAlertTypeExhaustionTime UpdateExhaustionTimeBurnAlertRequestAlertType = "exhaustion_time"
)

Defines values for UpdateExhaustionTimeBurnAlertRequestAlertType.

func (UpdateExhaustionTimeBurnAlertRequestAlertType) Valid

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

type UpdateMarkerJSONRequestBody

type UpdateMarkerJSONRequestBody = Marker

UpdateMarkerJSONRequestBody defines body for UpdateMarker for application/json ContentType.

type UpdateMarkerResp

type UpdateMarkerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Marker
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateMarkerResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateMarkerResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateMarkerResp429Headers
}

func ParseUpdateMarkerResp

func ParseUpdateMarkerResp(rsp *http.Response) (*UpdateMarkerResp, error)

ParseUpdateMarkerResp parses an HTTP response from a UpdateMarkerWithResponse call

func (UpdateMarkerResp) ContentType

func (r UpdateMarkerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateMarkerResp) GetApplicationproblemJSON404

func (r UpdateMarkerResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateMarkerResp) GetApplicationproblemJSON429

func (r UpdateMarkerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateMarkerResp) GetApplicationvndApiJSON401

func (r UpdateMarkerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateMarkerResp) GetApplicationvndApiJSON404

func (r UpdateMarkerResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateMarkerResp) GetApplicationvndApiJSON429

func (r UpdateMarkerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateMarkerResp) GetBody

func (r UpdateMarkerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateMarkerResp) GetJSON200

func (r UpdateMarkerResp) GetJSON200() *Marker

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateMarkerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateMarkerResp) GetJSON404

func (r UpdateMarkerResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateMarkerResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateMarkerResp) GetJSONDefault

func (r UpdateMarkerResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateMarkerResp) Status

func (r UpdateMarkerResp) Status() string

Status returns HTTPResponse.Status

func (UpdateMarkerResp) StatusCode

func (r UpdateMarkerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateMarkerResp200Headers

type UpdateMarkerResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateMarkerResp200Headers the declared response headers of an HTTP 200 response for UpdateMarker

type UpdateMarkerResp404Headers

type UpdateMarkerResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateMarkerResp404Headers the declared response headers of an HTTP 404 response for UpdateMarker

type UpdateMarkerResp429Headers

type UpdateMarkerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateMarkerResp429Headers the declared response headers of an HTTP 429 response for UpdateMarker

type UpdateMarkerSettingsJSONRequestBody

type UpdateMarkerSettingsJSONRequestBody = MarkerSetting

UpdateMarkerSettingsJSONRequestBody defines body for UpdateMarkerSettings for application/json ContentType.

type UpdateMarkerSettingsResp

type UpdateMarkerSettingsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MarkerSetting
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateMarkerSettingsResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateMarkerSettingsResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateMarkerSettingsResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateMarkerSettingsResp429Headers
}

func ParseUpdateMarkerSettingsResp

func ParseUpdateMarkerSettingsResp(rsp *http.Response) (*UpdateMarkerSettingsResp, error)

ParseUpdateMarkerSettingsResp parses an HTTP response from a UpdateMarkerSettingsWithResponse call

func (UpdateMarkerSettingsResp) ContentType

func (r UpdateMarkerSettingsResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateMarkerSettingsResp) GetApplicationproblemJSON404

func (r UpdateMarkerSettingsResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateMarkerSettingsResp) GetApplicationproblemJSON422

func (r UpdateMarkerSettingsResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateMarkerSettingsResp) GetApplicationproblemJSON429

func (r UpdateMarkerSettingsResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateMarkerSettingsResp) GetApplicationvndApiJSON404

func (r UpdateMarkerSettingsResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateMarkerSettingsResp) GetApplicationvndApiJSON422

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateMarkerSettingsResp) GetApplicationvndApiJSON429

func (r UpdateMarkerSettingsResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateMarkerSettingsResp) GetBody

func (r UpdateMarkerSettingsResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateMarkerSettingsResp) GetJSON200

func (r UpdateMarkerSettingsResp) GetJSON200() *MarkerSetting

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateMarkerSettingsResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateMarkerSettingsResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateMarkerSettingsResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateMarkerSettingsResp) Status

func (r UpdateMarkerSettingsResp) Status() string

Status returns HTTPResponse.Status

func (UpdateMarkerSettingsResp) StatusCode

func (r UpdateMarkerSettingsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateMarkerSettingsResp200Headers

type UpdateMarkerSettingsResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateMarkerSettingsResp200Headers the declared response headers of an HTTP 200 response for UpdateMarkerSettings

type UpdateMarkerSettingsResp404Headers

type UpdateMarkerSettingsResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateMarkerSettingsResp404Headers the declared response headers of an HTTP 404 response for UpdateMarkerSettings

type UpdateMarkerSettingsResp422Headers

type UpdateMarkerSettingsResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateMarkerSettingsResp422Headers the declared response headers of an HTTP 422 response for UpdateMarkerSettings

type UpdateMarkerSettingsResp429Headers

type UpdateMarkerSettingsResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateMarkerSettingsResp429Headers the declared response headers of an HTTP 429 response for UpdateMarkerSettings

type UpdateQueryAnnotationJSONRequestBody

type UpdateQueryAnnotationJSONRequestBody = QueryAnnotation

UpdateQueryAnnotationJSONRequestBody defines body for UpdateQueryAnnotation for application/json ContentType.

type UpdateQueryAnnotationResp

type UpdateQueryAnnotationResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryAnnotation
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *Error
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateQueryAnnotationResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateQueryAnnotationResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateQueryAnnotationResp404Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateQueryAnnotationResp429Headers
}

func ParseUpdateQueryAnnotationResp

func ParseUpdateQueryAnnotationResp(rsp *http.Response) (*UpdateQueryAnnotationResp, error)

ParseUpdateQueryAnnotationResp parses an HTTP response from a UpdateQueryAnnotationWithResponse call

func (UpdateQueryAnnotationResp) ContentType

func (r UpdateQueryAnnotationResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateQueryAnnotationResp) GetApplicationproblemJSON404

func (r UpdateQueryAnnotationResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateQueryAnnotationResp) GetApplicationproblemJSON429

func (r UpdateQueryAnnotationResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateQueryAnnotationResp) GetApplicationvndApiJSON404

func (r UpdateQueryAnnotationResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateQueryAnnotationResp) GetApplicationvndApiJSON429

func (r UpdateQueryAnnotationResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateQueryAnnotationResp) GetBody

func (r UpdateQueryAnnotationResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateQueryAnnotationResp) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateQueryAnnotationResp) GetJSON400

func (r UpdateQueryAnnotationResp) GetJSON400() *Error

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateQueryAnnotationResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateQueryAnnotationResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateQueryAnnotationResp) GetJSONDefault

func (r UpdateQueryAnnotationResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateQueryAnnotationResp) Status

func (r UpdateQueryAnnotationResp) Status() string

Status returns HTTPResponse.Status

func (UpdateQueryAnnotationResp) StatusCode

func (r UpdateQueryAnnotationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateQueryAnnotationResp200Headers

type UpdateQueryAnnotationResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateQueryAnnotationResp200Headers the declared response headers of an HTTP 200 response for UpdateQueryAnnotation

type UpdateQueryAnnotationResp400Headers

type UpdateQueryAnnotationResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateQueryAnnotationResp400Headers the declared response headers of an HTTP 400 response for UpdateQueryAnnotation

type UpdateQueryAnnotationResp404Headers

type UpdateQueryAnnotationResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateQueryAnnotationResp404Headers the declared response headers of an HTTP 404 response for UpdateQueryAnnotation

type UpdateQueryAnnotationResp429Headers

type UpdateQueryAnnotationResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateQueryAnnotationResp429Headers the declared response headers of an HTTP 429 response for UpdateQueryAnnotation

type UpdateRecipientJSONRequestBody

type UpdateRecipientJSONRequestBody = Recipient

UpdateRecipientJSONRequestBody defines body for UpdateRecipient for application/json ContentType.

type UpdateRecipientResp

type UpdateRecipientResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Recipient
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateRecipientResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateRecipientResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *UpdateRecipientResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateRecipientResp422Headers
}

func ParseUpdateRecipientResp

func ParseUpdateRecipientResp(rsp *http.Response) (*UpdateRecipientResp, error)

ParseUpdateRecipientResp parses an HTTP response from a UpdateRecipientWithResponse call

func (UpdateRecipientResp) ContentType

func (r UpdateRecipientResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateRecipientResp) GetApplicationproblemJSON404

func (r UpdateRecipientResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateRecipientResp) GetApplicationproblemJSON409

func (r UpdateRecipientResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateRecipientResp) GetApplicationproblemJSON422

func (r UpdateRecipientResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateRecipientResp) GetApplicationvndApiJSON401

func (r UpdateRecipientResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateRecipientResp) GetApplicationvndApiJSON404

func (r UpdateRecipientResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateRecipientResp) GetApplicationvndApiJSON409

func (r UpdateRecipientResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (UpdateRecipientResp) GetApplicationvndApiJSON422

func (r UpdateRecipientResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateRecipientResp) GetBody

func (r UpdateRecipientResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateRecipientResp) GetJSON200

func (r UpdateRecipientResp) GetJSON200() *Recipient

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateRecipientResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateRecipientResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateRecipientResp) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateRecipientResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateRecipientResp) Status

func (r UpdateRecipientResp) Status() string

Status returns HTTPResponse.Status

func (UpdateRecipientResp) StatusCode

func (r UpdateRecipientResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateRecipientResp200Headers

type UpdateRecipientResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateRecipientResp200Headers the declared response headers of an HTTP 200 response for UpdateRecipient

type UpdateRecipientResp404Headers

type UpdateRecipientResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateRecipientResp404Headers the declared response headers of an HTTP 404 response for UpdateRecipient

type UpdateRecipientResp409Headers

type UpdateRecipientResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateRecipientResp409Headers the declared response headers of an HTTP 409 response for UpdateRecipient

type UpdateRecipientResp422Headers

type UpdateRecipientResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateRecipientResp422Headers the declared response headers of an HTTP 422 response for UpdateRecipient

type UpdateSignalJSONRequestBody

type UpdateSignalJSONRequestBody = UpdateSignalRequest

UpdateSignalJSONRequestBody defines body for UpdateSignal for application/json ContentType.

type UpdateSignalRequest

type UpdateSignalRequest struct {
	// Enabled Turn the Signal on (`true`) or off (`false`).
	//
	// Example: true
	Enabled *bool `json:"enabled,omitempty"`

	// Recipients Replace the Signal's Recipient set with the given list. An empty array clears all Recipients. Each Recipient must be referenced by its `id` from the [Recipients API](/api/recipients/). Requires the **Manage Recipients** permission in addition to **Manage Signals**.
	Recipients *[]SignalRecipient `json:"recipients,omitempty"`

	// Sensitivity Set the sensitivity bucket for `error_rate` Signals. Cannot be set on `presence` Signals or on Signals that have not yet trained.
	Sensitivity *AnomalySignalSensitivity `json:"sensitivity,omitempty"`
}

UpdateSignalRequest Fields to update on a Signal. All fields are optional and only supplied fields are applied.

type UpdateSignalResp

type UpdateSignalResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SignalDetailResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *BadRequestApplicationJSON
	// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
	ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
	// ApplicationvndApiJSON400 the response for an HTTP 400 `application/vnd.api+json` response
	ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ConflictApplicationJSON
	// ApplicationproblemJSON409 the response for an HTTP 409 `application/problem+json` response
	ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
	// ApplicationvndApiJSON409 the response for an HTTP 409 `application/vnd.api+json` response
	ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateSignalResp200Headers
	// Headers400 the parsed response headers for an HTTP 400 response
	Headers400 *UpdateSignalResp400Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateSignalResp404Headers
	// Headers409 the parsed response headers for an HTTP 409 response
	Headers409 *UpdateSignalResp409Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateSignalResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateSignalResp429Headers
}

func ParseUpdateSignalResp

func ParseUpdateSignalResp(rsp *http.Response) (*UpdateSignalResp, error)

ParseUpdateSignalResp parses an HTTP response from a UpdateSignalWithResponse call

func (UpdateSignalResp) ContentType

func (r UpdateSignalResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSignalResp) GetApplicationproblemJSON400

func (r UpdateSignalResp) GetApplicationproblemJSON400() *BadRequestApplicationProblemPlusJSON

GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response

func (UpdateSignalResp) GetApplicationproblemJSON403

func (r UpdateSignalResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateSignalResp) GetApplicationproblemJSON404

func (r UpdateSignalResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateSignalResp) GetApplicationproblemJSON409

func (r UpdateSignalResp) GetApplicationproblemJSON409() *ConflictApplicationProblemPlusJSON

GetApplicationproblemJSON409 returns the response for an HTTP 409 `application/problem+json` response

func (UpdateSignalResp) GetApplicationproblemJSON422

func (r UpdateSignalResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateSignalResp) GetApplicationproblemJSON429

func (r UpdateSignalResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateSignalResp) GetApplicationvndApiJSON400

func (r UpdateSignalResp) GetApplicationvndApiJSON400() *BadRequestApplicationVndAPIPlusJSON

GetApplicationvndApiJSON400 returns the response for an HTTP 400 `application/vnd.api+json` response

func (UpdateSignalResp) GetApplicationvndApiJSON401

func (r UpdateSignalResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateSignalResp) GetApplicationvndApiJSON403

func (r UpdateSignalResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (UpdateSignalResp) GetApplicationvndApiJSON404

func (r UpdateSignalResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateSignalResp) GetApplicationvndApiJSON409

func (r UpdateSignalResp) GetApplicationvndApiJSON409() *ConflictApplicationVndAPIPlusJSON

GetApplicationvndApiJSON409 returns the response for an HTTP 409 `application/vnd.api+json` response

func (UpdateSignalResp) GetApplicationvndApiJSON422

func (r UpdateSignalResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateSignalResp) GetApplicationvndApiJSON429

func (r UpdateSignalResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateSignalResp) GetBody

func (r UpdateSignalResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSignalResp) GetJSON200

func (r UpdateSignalResp) GetJSON200() *SignalDetailResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateSignalResp) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateSignalResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateSignalResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateSignalResp) GetJSON404

func (r UpdateSignalResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateSignalResp) GetJSON409

func (r UpdateSignalResp) GetJSON409() *ConflictApplicationJSON

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateSignalResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateSignalResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateSignalResp) GetJSONDefault

func (r UpdateSignalResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateSignalResp) Status

func (r UpdateSignalResp) Status() string

Status returns HTTPResponse.Status

func (UpdateSignalResp) StatusCode

func (r UpdateSignalResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSignalResp200Headers

type UpdateSignalResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSignalResp200Headers the declared response headers of an HTTP 200 response for UpdateSignal

type UpdateSignalResp400Headers

type UpdateSignalResp400Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSignalResp400Headers the declared response headers of an HTTP 400 response for UpdateSignal

type UpdateSignalResp404Headers

type UpdateSignalResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSignalResp404Headers the declared response headers of an HTTP 404 response for UpdateSignal

type UpdateSignalResp409Headers

type UpdateSignalResp409Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSignalResp409Headers the declared response headers of an HTTP 409 response for UpdateSignal

type UpdateSignalResp422Headers

type UpdateSignalResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSignalResp422Headers the declared response headers of an HTTP 422 response for UpdateSignal

type UpdateSignalResp429Headers

type UpdateSignalResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateSignalResp429Headers the declared response headers of an HTTP 429 response for UpdateSignal

type UpdateSloJSONRequestBody

type UpdateSloJSONRequestBody = SLO

UpdateSloJSONRequestBody defines body for UpdateSlo for application/json ContentType.

type UpdateSloResp

type UpdateSloResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SLO
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ValidationFailedApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
	// ApplicationvndApiJSON422 the response for an HTTP 422 `application/vnd.api+json` response
	ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GenericError
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateSloResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateSloResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateSloResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateSloResp429Headers
}

func ParseUpdateSloResp

func ParseUpdateSloResp(rsp *http.Response) (*UpdateSloResp, error)

ParseUpdateSloResp parses an HTTP response from a UpdateSloWithResponse call

func (UpdateSloResp) ContentType

func (r UpdateSloResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateSloResp) GetApplicationproblemJSON403

func (r UpdateSloResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateSloResp) GetApplicationproblemJSON404

func (r UpdateSloResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateSloResp) GetApplicationproblemJSON422

func (r UpdateSloResp) GetApplicationproblemJSON422() *ValidationFailedApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateSloResp) GetApplicationproblemJSON429

func (r UpdateSloResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateSloResp) GetApplicationvndApiJSON401

func (r UpdateSloResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateSloResp) GetApplicationvndApiJSON403

func (r UpdateSloResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (UpdateSloResp) GetApplicationvndApiJSON404

func (r UpdateSloResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateSloResp) GetApplicationvndApiJSON422

func (r UpdateSloResp) GetApplicationvndApiJSON422() *ValidationFailedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON422 returns the response for an HTTP 422 `application/vnd.api+json` response

func (UpdateSloResp) GetApplicationvndApiJSON429

func (r UpdateSloResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateSloResp) GetBody

func (r UpdateSloResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateSloResp) GetJSON200

func (r UpdateSloResp) GetJSON200() *SLO

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateSloResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateSloResp) GetJSON403

func (r UpdateSloResp) GetJSON403() *ForbiddenApplicationJSON

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateSloResp) GetJSON404

func (r UpdateSloResp) GetJSON404() *NotFoundApplicationJSON

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateSloResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateSloResp) GetJSON429

func (r UpdateSloResp) GetJSON429() *RateLimitedApplicationJSON

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateSloResp) GetJSONDefault

func (r UpdateSloResp) GetJSONDefault() *GenericError

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UpdateSloResp) Status

func (r UpdateSloResp) Status() string

Status returns HTTPResponse.Status

func (UpdateSloResp) StatusCode

func (r UpdateSloResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSloResp200Headers

type UpdateSloResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSloResp200Headers the declared response headers of an HTTP 200 response for UpdateSlo

type UpdateSloResp404Headers

type UpdateSloResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSloResp404Headers the declared response headers of an HTTP 404 response for UpdateSlo

type UpdateSloResp422Headers

type UpdateSloResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateSloResp422Headers the declared response headers of an HTTP 422 response for UpdateSlo

type UpdateSloResp429Headers

type UpdateSloResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateSloResp429Headers the declared response headers of an HTTP 429 response for UpdateSlo

type UpdateTriggerJSONRequestBody

type UpdateTriggerJSONRequestBody = TriggerResponse

UpdateTriggerJSONRequestBody defines body for UpdateTrigger for application/json ContentType.

type UpdateTriggerResp

type UpdateTriggerResp struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TriggerResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *GenericError
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *UnauthorizedApplicationJSON
	// ApplicationvndApiJSON401 the response for an HTTP 401 `application/vnd.api+json` response
	ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ForbiddenApplicationJSON
	// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
	ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
	// ApplicationvndApiJSON403 the response for an HTTP 403 `application/vnd.api+json` response
	ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *NotFoundApplicationJSON
	// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
	ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
	// ApplicationvndApiJSON404 the response for an HTTP 404 `application/vnd.api+json` response
	ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *UnprocessableEntityApplicationJSON
	// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
	ApplicationproblemJSON422 *UnprocessableEntityApplicationProblemPlusJSON
	// JSON429 the response for an HTTP 429 `application/json` response
	JSON429 *RateLimitedApplicationJSON
	// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
	ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
	// ApplicationvndApiJSON429 the response for an HTTP 429 `application/vnd.api+json` response
	ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
	// Headers200 the parsed response headers for an HTTP 200 response
	Headers200 *UpdateTriggerResp200Headers
	// Headers404 the parsed response headers for an HTTP 404 response
	Headers404 *UpdateTriggerResp404Headers
	// Headers422 the parsed response headers for an HTTP 422 response
	Headers422 *UpdateTriggerResp422Headers
	// Headers429 the parsed response headers for an HTTP 429 response
	Headers429 *UpdateTriggerResp429Headers
}

func ParseUpdateTriggerResp

func ParseUpdateTriggerResp(rsp *http.Response) (*UpdateTriggerResp, error)

ParseUpdateTriggerResp parses an HTTP response from a UpdateTriggerWithResponse call

func (UpdateTriggerResp) ContentType

func (r UpdateTriggerResp) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateTriggerResp) GetApplicationproblemJSON403

func (r UpdateTriggerResp) GetApplicationproblemJSON403() *ForbiddenApplicationProblemPlusJSON

GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response

func (UpdateTriggerResp) GetApplicationproblemJSON404

func (r UpdateTriggerResp) GetApplicationproblemJSON404() *NotFoundApplicationProblemPlusJSON

GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response

func (UpdateTriggerResp) GetApplicationproblemJSON422

func (r UpdateTriggerResp) GetApplicationproblemJSON422() *UnprocessableEntityApplicationProblemPlusJSON

GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response

func (UpdateTriggerResp) GetApplicationproblemJSON429

func (r UpdateTriggerResp) GetApplicationproblemJSON429() *RateLimitedApplicationProblemPlusJSON

GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response

func (UpdateTriggerResp) GetApplicationvndApiJSON401

func (r UpdateTriggerResp) GetApplicationvndApiJSON401() *UnauthorizedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON401 returns the response for an HTTP 401 `application/vnd.api+json` response

func (UpdateTriggerResp) GetApplicationvndApiJSON403

func (r UpdateTriggerResp) GetApplicationvndApiJSON403() *ForbiddenApplicationVndAPIPlusJSON

GetApplicationvndApiJSON403 returns the response for an HTTP 403 `application/vnd.api+json` response

func (UpdateTriggerResp) GetApplicationvndApiJSON404

func (r UpdateTriggerResp) GetApplicationvndApiJSON404() *NotFoundApplicationVndAPIPlusJSON

GetApplicationvndApiJSON404 returns the response for an HTTP 404 `application/vnd.api+json` response

func (UpdateTriggerResp) GetApplicationvndApiJSON429

func (r UpdateTriggerResp) GetApplicationvndApiJSON429() *RateLimitedApplicationVndAPIPlusJSON

GetApplicationvndApiJSON429 returns the response for an HTTP 429 `application/vnd.api+json` response

func (UpdateTriggerResp) GetBody

func (r UpdateTriggerResp) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateTriggerResp) GetJSON200

func (r UpdateTriggerResp) GetJSON200() *TriggerResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateTriggerResp) GetJSON400

func (r UpdateTriggerResp) GetJSON400() *GenericError

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateTriggerResp) GetJSON401

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (UpdateTriggerResp) GetJSON403

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateTriggerResp) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateTriggerResp) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateTriggerResp) GetJSON429

GetJSON429 returns the response for an HTTP 429 `application/json` response

func (UpdateTriggerResp) Status

func (r UpdateTriggerResp) Status() string

Status returns HTTPResponse.Status

func (UpdateTriggerResp) StatusCode

func (r UpdateTriggerResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTriggerResp200Headers

type UpdateTriggerResp200Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateTriggerResp200Headers the declared response headers of an HTTP 200 response for UpdateTrigger

type UpdateTriggerResp404Headers

type UpdateTriggerResp404Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateTriggerResp404Headers the declared response headers of an HTTP 404 response for UpdateTrigger

type UpdateTriggerResp422Headers

type UpdateTriggerResp422Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
}

UpdateTriggerResp422Headers the declared response headers of an HTTP 422 response for UpdateTrigger

type UpdateTriggerResp429Headers

type UpdateTriggerResp429Headers struct {
	RateLimitPolicy *string
	Ratelimit       *string
	RetryAfter      *string
}

UpdateTriggerResp429Headers the declared response headers of an HTTP 429 response for UpdateTrigger

type UserRelationship

type UserRelationship struct {
	Data struct {
		// Id The ID of this user.
		Id   string                   `json:"id"`
		Type UserRelationshipDataType `json:"type"`
	} `json:"data"`
}

UserRelationship defines model for UserRelationship.

type UserRelationshipDataType

type UserRelationshipDataType string

UserRelationshipDataType defines model for UserRelationship.Data.Type.

const (
	Users UserRelationshipDataType = "users"
)

Defines values for UserRelationshipDataType.

func (UserRelationshipDataType) Valid

func (e UserRelationshipDataType) Valid() bool

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

type ValidationError

type ValidationError struct {
	// Detail The general, human-readable error message.
	Detail *string `json:"detail,omitempty"`
	Error  *string `json:"error,omitempty"`

	// Instance The unique identifier (ID) for this specific error.
	Instance   *string  `json:"instance,omitempty"`
	Status     *float32 `json:"status,omitempty"`
	Title      *string  `json:"title,omitempty"`
	Type       *string  `json:"type,omitempty"`
	TypeDetail *[]struct {
		Code        *ValidationErrorTypeDetailCode `json:"code,omitempty"`
		Description *string                        `json:"description,omitempty"`
		Field       *string                        `json:"field,omitempty"`
	} `json:"type_detail,omitempty"`
}

ValidationError defines model for ValidationError.

type ValidationErrorTypeDetailCode

type ValidationErrorTypeDetailCode string

ValidationErrorTypeDetailCode defines model for ValidationError.TypeDetail.Code.

const (
	AlreadyExists ValidationErrorTypeDetailCode = "already_exists"
	IncorrectType ValidationErrorTypeDetailCode = "incorrect_type"
	Invalid       ValidationErrorTypeDetailCode = "invalid"
	Missing       ValidationErrorTypeDetailCode = "missing"
)

Defines values for ValidationErrorTypeDetailCode.

func (ValidationErrorTypeDetailCode) Valid

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

type ValidationFailedApplicationJSON

type ValidationFailedApplicationJSON = Error

ValidationFailedApplicationJSON A legacy error, containing only a textual description.

type ValidationFailedApplicationProblemPlusJSON

type ValidationFailedApplicationProblemPlusJSON = ValidationError

ValidationFailedApplicationProblemPlusJSON defines model for ValidationFailed.

type ValidationFailedApplicationVndAPIPlusJSON

type ValidationFailedApplicationVndAPIPlusJSON = JSONAPIError

ValidationFailedApplicationVndAPIPlusJSON A JSONAPI-formatted error message.

type WebhookHeader

type WebhookHeader struct {
	Header string  `json:"header"`
	Value  *string `json:"value,omitempty"`
}

WebhookHeader defines model for WebhookHeader.

type WebhookRecipient

type WebhookRecipient struct {
	// CreatedAt ISO8601 formatted time the Recipient was created.
	//
	// Example: 2022-07-26T22:38:04Z
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Details Specific schema for the Webhook Recipient Type
	Details *struct {
		// WebhookHeaders Custom headers for this webhook
		//
		// Example: [{"header":"Authorization","value":"Bearer xyz123"}]
		WebhookHeaders *[]WebhookHeader `json:"webhook_headers,omitempty"`

		// WebhookName A name for this Integration.
		//
		// Example: Example webhook
		WebhookName string `json:"webhook_name"`

		// WebhookPayloads Specify a custom webhook payload.
		WebhookPayloads *struct {
			PayloadTemplates *struct {
				BudgetRate     *PayloadTemplate `json:"budget_rate,omitempty"`
				ExhaustionTime *PayloadTemplate `json:"exhaustion_time,omitempty"`
				Trigger        *PayloadTemplate `json:"trigger,omitempty"`
			} `json:"payload_templates,omitempty"`

			// TemplateVariables Custom variable definitions for this webhook
			//
			// Example: [{"default_value":"CRITICAL","name":"severity"}]
			TemplateVariables *[]TemplateVariableDefinition `json:"template_variables,omitempty"`
		} `json:"webhook_payloads,omitempty"`

		// WebhookSecret Webhook secret.
		//
		// Example: secret
		WebhookSecret *string `json:"webhook_secret,omitempty"`

		// WebhookUrl Webhook URL.
		//
		// Example: https://webhook.example.com
		WebhookUrl string `json:"webhook_url"`
	} `json:"details,omitempty"`

	// Id Example: yUheCUmgZ8p
	Id   *string               `json:"id,omitempty"`
	Type *WebhookRecipientType `json:"type,omitempty"`

	// UpdatedAt ISO8601 formatted time the Recipient was updated.
	//
	// Example: 2022-07-26T22:38:04Z
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

WebhookRecipient defines model for WebhookRecipient.

type WebhookRecipientType

type WebhookRecipientType string

WebhookRecipientType defines model for WebhookRecipient.Type.

const (
	WebhookRecipientTypeWebhook WebhookRecipientType = "webhook"
)

Defines values for WebhookRecipientType.

func (WebhookRecipientType) Valid

func (e WebhookRecipientType) Valid() bool

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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