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.5.1 DO NOT EDIT.
Code generated by genreadonly; DO NOT EDIT.
Index ¶
- Constants
- func CheckResponse(statusCode int, body []byte) error
- func MarshalStrippingReadOnly(v any, schema string) ([]byte, error)
- func NewCreateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, ...) (*http.Request, error)
- func NewCreateApiKeyRequestWithBody(server string, teamSlug TeamSlug, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBoardRequest(server string, body CreateBoardJSONRequestBody) (*http.Request, error)
- func NewCreateBoardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBoardViewRequest(server string, boardId string, body CreateBoardViewJSONRequestBody) (*http.Request, error)
- func NewCreateBoardViewRequestWithBody(server string, boardId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, ...) (*http.Request, error)
- func NewCreateBurnAlertRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, ...) (*http.Request, error)
- func NewCreateCalculatedFieldRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateColumnRequest(server string, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody) (*http.Request, error)
- func NewCreateColumnRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateDatasetRequest(server string, body CreateDatasetJSONRequestBody) (*http.Request, error)
- func NewCreateDatasetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, ...) (*http.Request, error)
- func NewCreateEnvironmentRequestWithBody(server string, teamSlug TeamSlug, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEventRequest(server string, datasetSlug DatasetSlug, params *CreateEventParams, ...) (*http.Request, error)
- func NewCreateEventRequestWithBody(server string, datasetSlug DatasetSlug, params *CreateEventParams, ...) (*http.Request, error)
- func NewCreateEventsRequest(server string, datasetSlug DatasetSlug, params *CreateEventsParams, ...) (*http.Request, error)
- func NewCreateEventsRequestWithBody(server string, datasetSlug DatasetSlug, params *CreateEventsParams, ...) (*http.Request, error)
- func NewCreateKinesisEventsRequest(server string, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, ...) (*http.Request, error)
- func NewCreateKinesisEventsRequestWithBody(server string, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, ...) (*http.Request, error)
- func NewCreateMapDependencyRequestRequest(server string, params *CreateMapDependencyRequestParams, ...) (*http.Request, error)
- func NewCreateMapDependencyRequestRequestWithBody(server string, params *CreateMapDependencyRequestParams, contentType string, ...) (*http.Request, error)
- func NewCreateMarkerRequest(server string, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody) (*http.Request, error)
- func NewCreateMarkerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateMarkerSettingRequest(server string, datasetSlug DatasetSlugOrAll, ...) (*http.Request, error)
- func NewCreateMarkerSettingRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, ...) (*http.Request, error)
- func NewCreateQueryAnnotationRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateQueryRequest(server string, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody) (*http.Request, error)
- func NewCreateQueryRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateQueryResultRequest(server string, datasetSlug DatasetSlugOrAll, ...) (*http.Request, error)
- func NewCreateQueryResultRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateRecipientRequest(server string, body CreateRecipientJSONRequestBody) (*http.Request, error)
- func NewCreateRecipientRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSloRequest(server string, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody) (*http.Request, error)
- func NewCreateSloRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewCreateTriggerRequest(server string, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody) (*http.Request, error)
- func NewCreateTriggerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Request, error)
- func NewDeleteApiKeyRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)
- func NewDeleteBoardRequest(server string, boardId string) (*http.Request, error)
- func NewDeleteBoardViewRequest(server string, boardId string, viewId string) (*http.Request, error)
- func NewDeleteBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string) (*http.Request, error)
- func NewDeleteCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string) (*http.Request, error)
- func NewDeleteColumnRequest(server string, datasetSlug DatasetSlug, columnId string) (*http.Request, error)
- func NewDeleteDatasetRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)
- func NewDeleteEnvironmentRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)
- func NewDeleteMarkerRequest(server string, datasetSlug DatasetSlugOrAll, markerId string) (*http.Request, error)
- func NewDeleteMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll, markerSettingId string) (*http.Request, error)
- func NewDeleteQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string) (*http.Request, error)
- func NewDeleteRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)
- func NewDeleteSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string) (*http.Request, error)
- func NewDeleteTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string) (*http.Request, error)
- func NewGetApiKeyRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)
- func NewGetAuthRequest(server string) (*http.Request, error)
- func NewGetBoardRequest(server string, boardId string) (*http.Request, error)
- func NewGetBoardViewRequest(server string, boardId string, viewId string) (*http.Request, error)
- func NewGetBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string) (*http.Request, error)
- func NewGetCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string) (*http.Request, error)
- func NewGetColumnRequest(server string, datasetSlug DatasetSlug, columnId string) (*http.Request, error)
- func NewGetDatasetRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)
- func NewGetEnvironmentRequest(server string, teamSlug TeamSlug, id ID) (*http.Request, error)
- func NewGetMapDependenciesRequest(server string, requestId string, params *GetMapDependenciesParams) (*http.Request, error)
- func NewGetMarkerRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
- func NewGetQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string) (*http.Request, error)
- func NewGetQueryRequest(server string, datasetSlug DatasetSlugOrAll, queryId string) (*http.Request, error)
- func NewGetQueryResultRequest(server string, datasetSlug DatasetSlugOrAll, queryResultId string) (*http.Request, error)
- func NewGetRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)
- func NewGetSloHistoryRequest(server string, body GetSloHistoryJSONRequestBody) (*http.Request, error)
- func NewGetSloHistoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string, ...) (*http.Request, error)
- func NewGetTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string) (*http.Request, error)
- func NewGetV2AuthRequest(server string) (*http.Request, error)
- func NewListApiKeysRequest(server string, teamSlug TeamSlug, params *ListApiKeysParams) (*http.Request, error)
- func NewListBoardViewsRequest(server string, boardId string) (*http.Request, error)
- func NewListBoardsRequest(server string) (*http.Request, error)
- func NewListBurnAlertsBySloRequest(server string, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams) (*http.Request, error)
- func NewListCalculatedFieldsRequest(server string, datasetSlug DatasetSlugOrAll, ...) (*http.Request, error)
- func NewListColumnsRequest(server string, datasetSlug DatasetSlugOrAll, params *ListColumnsParams) (*http.Request, error)
- func NewListDatasetDefinitionsRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)
- func NewListDatasetsRequest(server string) (*http.Request, error)
- func NewListEnvironmentsRequest(server string, teamSlug TeamSlug, params *ListEnvironmentsParams) (*http.Request, error)
- func NewListMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
- func NewListQueryAnnotationsRequest(server string, datasetSlug DatasetSlugOrAll, ...) (*http.Request, error)
- func NewListRecipientsRequest(server string) (*http.Request, error)
- func NewListSlosRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
- func NewListTriggersRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
- func NewListTriggersWithRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)
- func NewPatchDatasetDefinitionsRequest(server string, datasetSlug DatasetSlug, ...) (*http.Request, error)
- func NewPatchDatasetDefinitionsRequestWithBody(server string, datasetSlug DatasetSlug, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateApiKeyRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, id ID, ...) (*http.Request, error)
- func NewUpdateApiKeyRequestWithBody(server string, teamSlug TeamSlug, id ID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateBoardRequest(server string, boardId string, body UpdateBoardJSONRequestBody) (*http.Request, error)
- func NewUpdateBoardRequestWithBody(server string, boardId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateBoardViewRequest(server string, boardId string, viewId string, ...) (*http.Request, error)
- func NewUpdateBoardViewRequestWithBody(server string, boardId string, viewId string, contentType string, ...) (*http.Request, error)
- func NewUpdateBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*http.Request, error)
- func NewUpdateBurnAlertRequestWithBody(server string, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*http.Request, error)
- func NewUpdateCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*http.Request, error)
- func NewUpdateCalculatedFieldRequestWithBody(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*http.Request, error)
- func NewUpdateColumnRequest(server string, datasetSlug DatasetSlug, columnId string, ...) (*http.Request, error)
- func NewUpdateColumnRequestWithBody(server string, datasetSlug DatasetSlug, columnId string, contentType string, ...) (*http.Request, error)
- func NewUpdateDatasetRequest(server string, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody) (*http.Request, error)
- func NewUpdateDatasetRequestWithBody(server string, datasetSlug DatasetSlug, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEnvironmentRequestWithApplicationVndAPIPlusJSONBody(server string, teamSlug TeamSlug, id ID, ...) (*http.Request, error)
- func NewUpdateEnvironmentRequestWithBody(server string, teamSlug TeamSlug, id ID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMarkerRequest(server string, datasetSlug DatasetSlugOrAll, markerId string, ...) (*http.Request, error)
- func NewUpdateMarkerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, markerId string, ...) (*http.Request, error)
- func NewUpdateMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*http.Request, error)
- func NewUpdateMarkerSettingsRequestWithBody(server string, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*http.Request, error)
- func NewUpdateQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*http.Request, error)
- func NewUpdateQueryAnnotationRequestWithBody(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*http.Request, error)
- func NewUpdateRecipientRequest(server string, recipientId RecipientId, body UpdateRecipientJSONRequestBody) (*http.Request, error)
- func NewUpdateRecipientRequestWithBody(server string, recipientId RecipientId, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string, ...) (*http.Request, error)
- func NewUpdateSloRequestWithBody(server string, datasetSlug DatasetSlugOrAll, sloId string, contentType string, ...) (*http.Request, error)
- func NewUpdateTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*http.Request, error)
- func NewUpdateTriggerRequestWithBody(server string, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*http.Request, error)
- func StripReadOnly(data []byte, schema string) ([]byte, error)
- type APIError
- type ApiKeyAttributes
- func (t ApiKeyAttributes) AsConfigurationKeyAttributes() (ConfigurationKeyAttributes, error)
- func (t ApiKeyAttributes) AsIngestKeyAttributes() (IngestKeyAttributes, error)
- func (t ApiKeyAttributes) Discriminator() (string, error)
- func (t *ApiKeyAttributes) FromConfigurationKeyAttributes(v ConfigurationKeyAttributes) error
- func (t *ApiKeyAttributes) FromIngestKeyAttributes(v IngestKeyAttributes) error
- func (t ApiKeyAttributes) MarshalJSON() ([]byte, error)
- func (t *ApiKeyAttributes) MergeConfigurationKeyAttributes(v ConfigurationKeyAttributes) error
- func (t *ApiKeyAttributes) MergeIngestKeyAttributes(v IngestKeyAttributes) error
- func (t *ApiKeyAttributes) UnmarshalJSON(b []byte) error
- func (t ApiKeyAttributes) ValueByDiscriminator() (interface{}, error)
- type ApiKeyCreateRequest
- type ApiKeyCreateRequestDataType
- type ApiKeyCreateResponse
- type ApiKeyCreateResponseDataType
- type ApiKeyCreateResponse_Data_Attributes
- func (t ApiKeyCreateResponse_Data_Attributes) AsConfigurationKeyAttributes() (ConfigurationKeyAttributes, error)
- func (t ApiKeyCreateResponse_Data_Attributes) AsIngestKeyAttributes() (IngestKeyAttributes, error)
- func (t *ApiKeyCreateResponse_Data_Attributes) FromConfigurationKeyAttributes(v ConfigurationKeyAttributes) error
- func (t *ApiKeyCreateResponse_Data_Attributes) FromIngestKeyAttributes(v IngestKeyAttributes) error
- func (t ApiKeyCreateResponse_Data_Attributes) MarshalJSON() ([]byte, error)
- func (t *ApiKeyCreateResponse_Data_Attributes) MergeConfigurationKeyAttributes(v ConfigurationKeyAttributes) error
- func (t *ApiKeyCreateResponse_Data_Attributes) MergeIngestKeyAttributes(v IngestKeyAttributes) error
- func (t *ApiKeyCreateResponse_Data_Attributes) UnmarshalJSON(b []byte) error
- type ApiKeyListResponse
- type ApiKeyObject
- type ApiKeyObjectType
- type ApiKeyResponse
- type ApiKeyUpdateRequest
- type ApiKeyUpdateRequest_Data
- func (t ApiKeyUpdateRequest_Data) AsConfigurationKeyRequest() (ConfigurationKeyRequest, error)
- func (t ApiKeyUpdateRequest_Data) AsIngestKeyRequest() (IngestKeyRequest, error)
- func (t *ApiKeyUpdateRequest_Data) FromConfigurationKeyRequest(v ConfigurationKeyRequest) error
- func (t *ApiKeyUpdateRequest_Data) FromIngestKeyRequest(v IngestKeyRequest) error
- func (t ApiKeyUpdateRequest_Data) MarshalJSON() ([]byte, error)
- func (t *ApiKeyUpdateRequest_Data) MergeConfigurationKeyRequest(v ConfigurationKeyRequest) error
- func (t *ApiKeyUpdateRequest_Data) MergeIngestKeyRequest(v IngestKeyRequest) error
- func (t *ApiKeyUpdateRequest_Data) UnmarshalJSON(b []byte) error
- type Auth
- type AuthType
- type AuthV2Response
- type AuthV2ResponseDataAttributesKeyType
- type AuthV2ResponseDataType
- type BadRequestApplicationJSON
- type BadRequestApplicationProblemPlusJSON
- type BadRequestApplicationVndAPIPlusJSON
- type BaseTrigger
- type BaseTriggerAlertType
- type BaseTriggerBaselineDetails0
- type BaseTriggerBaselineDetails0OffsetMinutes
- type BaseTriggerBaselineDetails0Type
- type BaseTriggerBaselineDetails1
- type BaseTriggerEvaluationScheduleType
- type BaseTriggerEvaluationScheduleWindowDaysOfWeek
- type BaseTriggerThresholdOp
- type BaseTrigger_BaselineDetails
- func (t BaseTrigger_BaselineDetails) AsBaseTriggerBaselineDetails0() (BaseTriggerBaselineDetails0, error)
- func (t BaseTrigger_BaselineDetails) AsBaseTriggerBaselineDetails1() (BaseTriggerBaselineDetails1, error)
- func (t *BaseTrigger_BaselineDetails) FromBaseTriggerBaselineDetails0(v BaseTriggerBaselineDetails0) error
- func (t *BaseTrigger_BaselineDetails) FromBaseTriggerBaselineDetails1(v BaseTriggerBaselineDetails1) error
- func (t BaseTrigger_BaselineDetails) MarshalJSON() ([]byte, error)
- func (t *BaseTrigger_BaselineDetails) MergeBaseTriggerBaselineDetails0(v BaseTriggerBaselineDetails0) error
- func (t *BaseTrigger_BaselineDetails) MergeBaseTriggerBaselineDetails1(v BaseTriggerBaselineDetails1) error
- func (t *BaseTrigger_BaselineDetails) UnmarshalJSON(b []byte) error
- type BatchEvent
- type Board
- type BoardLayoutGeneration
- type BoardPanel
- func (t BoardPanel) AsQueryPanel() (QueryPanel, error)
- func (t BoardPanel) AsSLOPanel() (SLOPanel, error)
- func (t BoardPanel) AsTextPanel() (TextPanel, error)
- func (t BoardPanel) Discriminator() (string, error)
- func (t *BoardPanel) FromQueryPanel(v QueryPanel) error
- func (t *BoardPanel) FromSLOPanel(v SLOPanel) error
- func (t *BoardPanel) FromTextPanel(v TextPanel) error
- func (t BoardPanel) MarshalJSON() ([]byte, error)
- func (t *BoardPanel) MergeQueryPanel(v QueryPanel) error
- func (t *BoardPanel) MergeSLOPanel(v SLOPanel) error
- func (t *BoardPanel) MergeTextPanel(v TextPanel) error
- func (t *BoardPanel) UnmarshalJSON(b []byte) error
- func (t BoardPanel) ValueByDiscriminator() (interface{}, error)
- type BoardPanelPosition
- type BoardQueryVisualizationSettings
- type BoardQueryVisualizationSettingsChartsChartType
- type BoardType
- type BoardViewFilter
- type BoardViewFilterOperation
- type BoardViewResponse
- type BudgetRateBurnAlert
- type BudgetRateBurnAlertAlertType
- type BudgetRateBurnAlertDetailResponse
- type BudgetRateBurnAlertDetailResponseAlertType
- type BudgetRateBurnAlertListResponse
- type BudgetRateBurnAlertListResponseAlertType
- type BurnAlertDetailResponse
- func (t BurnAlertDetailResponse) AsBudgetRateBurnAlertDetailResponse() (BudgetRateBurnAlertDetailResponse, error)
- func (t BurnAlertDetailResponse) AsExhaustionTimeBurnAlertDetailResponse() (ExhaustionTimeBurnAlertDetailResponse, error)
- func (t BurnAlertDetailResponse) Discriminator() (string, error)
- func (t *BurnAlertDetailResponse) FromBudgetRateBurnAlertDetailResponse(v BudgetRateBurnAlertDetailResponse) error
- func (t *BurnAlertDetailResponse) FromExhaustionTimeBurnAlertDetailResponse(v ExhaustionTimeBurnAlertDetailResponse) error
- func (t BurnAlertDetailResponse) MarshalJSON() ([]byte, error)
- func (t *BurnAlertDetailResponse) MergeBudgetRateBurnAlertDetailResponse(v BudgetRateBurnAlertDetailResponse) error
- func (t *BurnAlertDetailResponse) MergeExhaustionTimeBurnAlertDetailResponse(v ExhaustionTimeBurnAlertDetailResponse) error
- func (t *BurnAlertDetailResponse) UnmarshalJSON(b []byte) error
- func (t BurnAlertDetailResponse) ValueByDiscriminator() (interface{}, error)
- type BurnAlertListResponse
- func (t BurnAlertListResponse) AsBudgetRateBurnAlertListResponse() (BudgetRateBurnAlertListResponse, error)
- func (t BurnAlertListResponse) AsExhaustionTimeBurnAlertListResponse() (ExhaustionTimeBurnAlertListResponse, error)
- func (t BurnAlertListResponse) Discriminator() (string, error)
- func (t *BurnAlertListResponse) FromBudgetRateBurnAlertListResponse(v BudgetRateBurnAlertListResponse) error
- func (t *BurnAlertListResponse) FromExhaustionTimeBurnAlertListResponse(v ExhaustionTimeBurnAlertListResponse) error
- func (t BurnAlertListResponse) MarshalJSON() ([]byte, error)
- func (t *BurnAlertListResponse) MergeBudgetRateBurnAlertListResponse(v BudgetRateBurnAlertListResponse) error
- func (t *BurnAlertListResponse) MergeExhaustionTimeBurnAlertListResponse(v ExhaustionTimeBurnAlertListResponse) error
- func (t *BurnAlertListResponse) UnmarshalJSON(b []byte) error
- func (t BurnAlertListResponse) ValueByDiscriminator() (interface{}, error)
- type BurnAlertSharedParams
- type CalculatedField
- type CalculatedFieldList
- type Client
- func (c *Client) CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyWithBody(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBoard(ctx context.Context, body CreateBoardJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBoardView(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBoardViewWithBody(ctx context.Context, boardId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBoardWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateBurnAlertWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateCalculatedFieldWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateColumn(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateColumnWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateDataset(ctx context.Context, body CreateDatasetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDatasetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentWithBody(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEvent(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, ...) (*http.Response, error)
- func (c *Client) CreateEventWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, ...) (*http.Response, error)
- func (c *Client) CreateEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, ...) (*http.Response, error)
- func (c *Client) CreateEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, ...) (*http.Response, error)
- func (c *Client) CreateKinesisEvents(ctx context.Context, datasetSlug DatasetSlug, ...) (*http.Response, error)
- func (c *Client) CreateKinesisEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, ...) (*http.Response, error)
- func (c *Client) CreateMapDependencyRequest(ctx context.Context, params *CreateMapDependencyRequestParams, ...) (*http.Response, error)
- func (c *Client) CreateMapDependencyRequestWithBody(ctx context.Context, params *CreateMapDependencyRequestParams, ...) (*http.Response, error)
- func (c *Client) CreateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateMarkerSetting(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateMarkerSettingWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateMarkerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateQueryAnnotationWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateQueryResultWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateQueryWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateRecipient(ctx context.Context, body CreateRecipientJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRecipientWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateSloWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) CreateTriggerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*http.Response, error)
- func (c *Client) DeleteApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteBoard(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteBoardView(ctx context.Context, boardId string, viewId string, ...) (*http.Response, error)
- func (c *Client) DeleteBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*http.Response, error)
- func (c *Client) DeleteCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*http.Response, error)
- func (c *Client) DeleteColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*http.Response, error)
- func (c *Client) DeleteDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, ...) (*http.Response, error)
- func (c *Client) DeleteMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*http.Response, error)
- func (c *Client) DeleteQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*http.Response, error)
- func (c *Client) DeleteRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*http.Response, error)
- func (c *Client) DeleteTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*http.Response, error)
- func (c *Client) GetApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBoard(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBoardView(ctx context.Context, boardId string, viewId string, ...) (*http.Response, error)
- func (c *Client) GetBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*http.Response, error)
- func (c *Client) GetCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*http.Response, error)
- func (c *Client) GetColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*http.Response, error)
- func (c *Client) GetDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMapDependencies(ctx context.Context, requestId string, params *GetMapDependenciesParams, ...) (*http.Response, error)
- func (c *Client) GetMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) GetQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, ...) (*http.Response, error)
- func (c *Client) GetQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*http.Response, error)
- func (c *Client) GetQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, ...) (*http.Response, error)
- func (c *Client) GetRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*http.Response, error)
- func (c *Client) GetSloHistory(ctx context.Context, body GetSloHistoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetSloHistoryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*http.Response, error)
- func (c *Client) GetV2Auth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListApiKeys(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, ...) (*http.Response, error)
- func (c *Client) ListBoardViews(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBoards(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBurnAlertsBySlo(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) ListCalculatedFields(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) ListColumns(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, ...) (*http.Response, error)
- func (c *Client) ListDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDatasets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEnvironments(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, ...) (*http.Response, error)
- func (c *Client) ListMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) ListQueryAnnotations(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) ListRecipients(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSlos(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) ListTriggers(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*http.Response, error)
- func (c *Client) ListTriggersWithRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, ...) (*http.Response, error)
- func (c *Client) PatchDatasetDefinitionsWithBody(ctx context.Context, datasetSlug DatasetSlug, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, ...) (*http.Response, error)
- func (c *Client) UpdateApiKeyWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateBoard(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateBoardView(ctx context.Context, boardId string, viewId string, ...) (*http.Response, error)
- func (c *Client) UpdateBoardViewWithBody(ctx context.Context, boardId string, viewId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateBoardWithBody(ctx context.Context, boardId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*http.Response, error)
- func (c *Client) UpdateBurnAlertWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*http.Response, error)
- func (c *Client) UpdateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*http.Response, error)
- func (c *Client) UpdateCalculatedFieldWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*http.Response, error)
- func (c *Client) UpdateColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*http.Response, error)
- func (c *Client) UpdateColumnWithBody(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*http.Response, error)
- func (c *Client) UpdateDataset(ctx context.Context, datasetSlug DatasetSlug, ...) (*http.Response, error)
- func (c *Client) UpdateDatasetWithBody(ctx context.Context, datasetSlug DatasetSlug, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, ...) (*http.Response, error)
- func (c *Client) UpdateMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*http.Response, error)
- func (c *Client) UpdateMarkerSettingsWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*http.Response, error)
- func (c *Client) UpdateMarkerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, ...) (*http.Response, error)
- func (c *Client) UpdateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*http.Response, error)
- func (c *Client) UpdateQueryAnnotationWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*http.Response, error)
- func (c *Client) UpdateRecipient(ctx context.Context, recipientId RecipientId, ...) (*http.Response, error)
- func (c *Client) UpdateRecipientWithBody(ctx context.Context, recipientId RecipientId, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*http.Response, error)
- func (c *Client) UpdateSloWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*http.Response, error)
- func (c *Client) UpdateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*http.Response, error)
- func (c *Client) UpdateTriggerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, ...) (*CreateApiKeyResp, error)
- func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, ...) (*CreateApiKeyResp, error)
- func (c *ClientWithResponses) CreateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, ...) (*CreateBoardViewResp, error)
- func (c *ClientWithResponses) CreateBoardViewWithResponse(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, ...) (*CreateBoardViewResp, error)
- func (c *ClientWithResponses) CreateBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateBoardResp, error)
- func (c *ClientWithResponses) CreateBoardWithResponse(ctx context.Context, body CreateBoardJSONRequestBody, ...) (*CreateBoardResp, error)
- func (c *ClientWithResponses) CreateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateBurnAlertResp, error)
- func (c *ClientWithResponses) CreateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateBurnAlertResp, error)
- func (c *ClientWithResponses) CreateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateCalculatedFieldResp, error)
- func (c *ClientWithResponses) CreateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateCalculatedFieldResp, error)
- func (c *ClientWithResponses) CreateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateColumnResp, error)
- func (c *ClientWithResponses) CreateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateColumnResp, error)
- func (c *ClientWithResponses) CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDatasetResp, error)
- func (c *ClientWithResponses) CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, ...) (*CreateDatasetResp, error)
- func (c *ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, ...) (*CreateEnvironmentResp, error)
- func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, ...) (*CreateEnvironmentResp, error)
- func (c *ClientWithResponses) CreateEventWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, ...) (*CreateEventResp, error)
- func (c *ClientWithResponses) CreateEventWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, ...) (*CreateEventResp, error)
- func (c *ClientWithResponses) CreateEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, ...) (*CreateEventsResp, error)
- func (c *ClientWithResponses) CreateEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, ...) (*CreateEventsResp, error)
- func (c *ClientWithResponses) CreateKinesisEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, ...) (*CreateKinesisEventsResp, error)
- func (c *ClientWithResponses) CreateKinesisEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, ...) (*CreateKinesisEventsResp, error)
- func (c *ClientWithResponses) CreateMapDependencyRequestWithBodyWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, ...) (*CreateMapDependencyRequestResp, error)
- func (c *ClientWithResponses) CreateMapDependencyRequestWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, ...) (*CreateMapDependencyRequestResp, error)
- func (c *ClientWithResponses) CreateMarkerSettingWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateMarkerSettingResp, error)
- func (c *ClientWithResponses) CreateMarkerSettingWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateMarkerSettingResp, error)
- func (c *ClientWithResponses) CreateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateMarkerResp, error)
- func (c *ClientWithResponses) CreateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateMarkerResp, error)
- func (c *ClientWithResponses) CreateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateQueryAnnotationResp, error)
- func (c *ClientWithResponses) CreateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateQueryAnnotationResp, error)
- func (c *ClientWithResponses) CreateQueryResultWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateQueryResultResp, error)
- func (c *ClientWithResponses) CreateQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateQueryResultResp, error)
- func (c *ClientWithResponses) CreateQueryWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateQueryResp, error)
- func (c *ClientWithResponses) CreateQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateQueryResp, error)
- func (c *ClientWithResponses) CreateRecipientWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRecipientResp, error)
- func (c *ClientWithResponses) CreateRecipientWithResponse(ctx context.Context, body CreateRecipientJSONRequestBody, ...) (*CreateRecipientResp, error)
- func (c *ClientWithResponses) CreateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateSloResp, error)
- func (c *ClientWithResponses) CreateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateSloResp, error)
- func (c *ClientWithResponses) CreateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, ...) (*CreateTriggerResp, error)
- func (c *ClientWithResponses) CreateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*CreateTriggerResp, error)
- func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResp, error)
- func (c *ClientWithResponses) DeleteBoardViewWithResponse(ctx context.Context, boardId string, viewId string, ...) (*DeleteBoardViewResp, error)
- func (c *ClientWithResponses) DeleteBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*DeleteBoardResp, error)
- func (c *ClientWithResponses) DeleteBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*DeleteBurnAlertResp, error)
- func (c *ClientWithResponses) DeleteCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*DeleteCalculatedFieldResp, error)
- func (c *ClientWithResponses) DeleteColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*DeleteColumnResp, error)
- func (c *ClientWithResponses) DeleteDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*DeleteDatasetResp, error)
- func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResp, error)
- func (c *ClientWithResponses) DeleteMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*DeleteMarkerSettingsResp, error)
- func (c *ClientWithResponses) DeleteMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, ...) (*DeleteMarkerResp, error)
- func (c *ClientWithResponses) DeleteQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*DeleteQueryAnnotationResp, error)
- func (c *ClientWithResponses) DeleteRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*DeleteRecipientResp, error)
- func (c *ClientWithResponses) DeleteSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*DeleteSloResp, error)
- func (c *ClientWithResponses) DeleteTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*DeleteTriggerResp, error)
- func (c *ClientWithResponses) GetApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetApiKeyResp, error)
- func (c *ClientWithResponses) GetAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthResp, error)
- func (c *ClientWithResponses) GetBoardViewWithResponse(ctx context.Context, boardId string, viewId string, ...) (*GetBoardViewResp, error)
- func (c *ClientWithResponses) GetBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*GetBoardResp, error)
- func (c *ClientWithResponses) GetBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*GetBurnAlertResp, error)
- func (c *ClientWithResponses) GetCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*GetCalculatedFieldResp, error)
- func (c *ClientWithResponses) GetColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*GetColumnResp, error)
- func (c *ClientWithResponses) GetDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*GetDatasetResp, error)
- func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetEnvironmentResp, error)
- func (c *ClientWithResponses) GetMapDependenciesWithResponse(ctx context.Context, requestId string, params *GetMapDependenciesParams, ...) (*GetMapDependenciesResp, error)
- func (c *ClientWithResponses) GetMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*GetMarkerResp, error)
- func (c *ClientWithResponses) GetQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*GetQueryAnnotationResp, error)
- func (c *ClientWithResponses) GetQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, ...) (*GetQueryResultResp, error)
- func (c *ClientWithResponses) GetQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, ...) (*GetQueryResp, error)
- func (c *ClientWithResponses) GetRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*GetRecipientResp, error)
- func (c *ClientWithResponses) GetSloHistoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetSloHistoryResp, error)
- func (c *ClientWithResponses) GetSloHistoryWithResponse(ctx context.Context, body GetSloHistoryJSONRequestBody, ...) (*GetSloHistoryResp, error)
- func (c *ClientWithResponses) GetSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*GetSloResp, error)
- func (c *ClientWithResponses) GetTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*GetTriggerResp, error)
- func (c *ClientWithResponses) GetV2AuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2AuthResp, error)
- func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, ...) (*ListApiKeysResp, error)
- func (c *ClientWithResponses) ListBoardViewsWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*ListBoardViewsResp, error)
- func (c *ClientWithResponses) ListBoardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoardsResp, error)
- func (c *ClientWithResponses) ListBurnAlertsBySloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*ListBurnAlertsBySloResp, error)
- func (c *ClientWithResponses) ListCalculatedFieldsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*ListCalculatedFieldsResp, error)
- func (c *ClientWithResponses) ListColumnsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, ...) (*ListColumnsResp, error)
- func (c *ClientWithResponses) ListDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*ListDatasetDefinitionsResp, error)
- func (c *ClientWithResponses) ListDatasetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatasetsResp, error)
- func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, ...) (*ListEnvironmentsResp, error)
- func (c *ClientWithResponses) ListMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*ListMarkerSettingsResp, error)
- func (c *ClientWithResponses) ListQueryAnnotationsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*ListQueryAnnotationsResp, error)
- func (c *ClientWithResponses) ListRecipientsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecipientsResp, error)
- func (c *ClientWithResponses) ListSlosWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*ListSlosResp, error)
- func (c *ClientWithResponses) ListTriggersWithRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*ListTriggersWithRecipientResp, error)
- func (c *ClientWithResponses) ListTriggersWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, ...) (*ListTriggersResp, error)
- func (c *ClientWithResponses) PatchDatasetDefinitionsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, ...) (*PatchDatasetDefinitionsResp, error)
- func (c *ClientWithResponses) PatchDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, ...) (*PatchDatasetDefinitionsResp, error)
- func (c *ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, ...) (*UpdateApiKeyResp, error)
- func (c *ClientWithResponses) UpdateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, ...) (*UpdateApiKeyResp, error)
- func (c *ClientWithResponses) UpdateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, viewId string, contentType string, ...) (*UpdateBoardViewResp, error)
- func (c *ClientWithResponses) UpdateBoardViewWithResponse(ctx context.Context, boardId string, viewId string, ...) (*UpdateBoardViewResp, error)
- func (c *ClientWithResponses) UpdateBoardWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, ...) (*UpdateBoardResp, error)
- func (c *ClientWithResponses) UpdateBoardWithResponse(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, ...) (*UpdateBoardResp, error)
- func (c *ClientWithResponses) UpdateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*UpdateBurnAlertResp, error)
- func (c *ClientWithResponses) UpdateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, ...) (*UpdateBurnAlertResp, error)
- func (c *ClientWithResponses) UpdateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*UpdateCalculatedFieldResp, error)
- func (c *ClientWithResponses) UpdateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, ...) (*UpdateCalculatedFieldResp, error)
- func (c *ClientWithResponses) UpdateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*UpdateColumnResp, error)
- func (c *ClientWithResponses) UpdateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, ...) (*UpdateColumnResp, error)
- func (c *ClientWithResponses) UpdateDatasetWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, ...) (*UpdateDatasetResp, error)
- func (c *ClientWithResponses) UpdateDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, ...) (*UpdateDatasetResp, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, ...) (*UpdateEnvironmentResp, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, ...) (*UpdateEnvironmentResp, error)
- func (c *ClientWithResponses) UpdateMarkerSettingsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*UpdateMarkerSettingsResp, error)
- func (c *ClientWithResponses) UpdateMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, ...) (*UpdateMarkerSettingsResp, error)
- func (c *ClientWithResponses) UpdateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, ...) (*UpdateMarkerResp, error)
- func (c *ClientWithResponses) UpdateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, ...) (*UpdateMarkerResp, error)
- func (c *ClientWithResponses) UpdateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*UpdateQueryAnnotationResp, error)
- func (c *ClientWithResponses) UpdateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, ...) (*UpdateQueryAnnotationResp, error)
- func (c *ClientWithResponses) UpdateRecipientWithBodyWithResponse(ctx context.Context, recipientId RecipientId, contentType string, ...) (*UpdateRecipientResp, error)
- func (c *ClientWithResponses) UpdateRecipientWithResponse(ctx context.Context, recipientId RecipientId, ...) (*UpdateRecipientResp, error)
- func (c *ClientWithResponses) UpdateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*UpdateSloResp, error)
- func (c *ClientWithResponses) UpdateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, ...) (*UpdateSloResp, error)
- func (c *ClientWithResponses) UpdateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*UpdateTriggerResp, error)
- func (c *ClientWithResponses) UpdateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, ...) (*UpdateTriggerResp, error)
- type ClientWithResponsesInterface
- type Column
- type ColumnList
- type ConfigurationKeyAttributes
- type ConfigurationKeyAttributesKeyType
- type ConfigurationKeyRequest
- type ConfigurationKeyRequestType
- type ConflictApplicationJSON
- type ConflictApplicationProblemPlusJSON
- type ConflictApplicationVndAPIPlusJSON
- type CreateApiKeyApplicationVndAPIPlusJSONRequestBody
- type CreateApiKeyResp
- type CreateBoardJSONRequestBody
- type CreateBoardResp
- type CreateBoardViewJSONRequestBody
- type CreateBoardViewRequest
- type CreateBoardViewResp
- type CreateBudgetRateBurnAlertRequest
- type CreateBudgetRateBurnAlertRequestAlertType
- type CreateBurnAlertJSONRequestBody
- type CreateBurnAlertRequest
- func (t CreateBurnAlertRequest) AsCreateBudgetRateBurnAlertRequest() (CreateBudgetRateBurnAlertRequest, error)
- func (t CreateBurnAlertRequest) AsCreateExhaustionTimeBurnAlertRequest() (CreateExhaustionTimeBurnAlertRequest, error)
- func (t CreateBurnAlertRequest) Discriminator() (string, error)
- func (t *CreateBurnAlertRequest) FromCreateBudgetRateBurnAlertRequest(v CreateBudgetRateBurnAlertRequest) error
- func (t *CreateBurnAlertRequest) FromCreateExhaustionTimeBurnAlertRequest(v CreateExhaustionTimeBurnAlertRequest) error
- func (t CreateBurnAlertRequest) MarshalJSON() ([]byte, error)
- func (t *CreateBurnAlertRequest) MergeCreateBudgetRateBurnAlertRequest(v CreateBudgetRateBurnAlertRequest) error
- func (t *CreateBurnAlertRequest) MergeCreateExhaustionTimeBurnAlertRequest(v CreateExhaustionTimeBurnAlertRequest) error
- func (t *CreateBurnAlertRequest) UnmarshalJSON(b []byte) error
- func (t CreateBurnAlertRequest) ValueByDiscriminator() (interface{}, error)
- type CreateBurnAlertResp
- type CreateCalculatedFieldJSONRequestBody
- type CreateCalculatedFieldResp
- type CreateColumn
- type CreateColumnJSONRequestBody
- type CreateColumnResp
- type CreateColumnType
- type CreateDatasetJSONRequestBody
- type CreateDatasetResp
- type CreateEnvironmentApplicationVndAPIPlusJSONRequestBody
- type CreateEnvironmentRequest
- type CreateEnvironmentRequestDataType
- type CreateEnvironmentResp
- type CreateEventJSONRequestBody
- type CreateEventParams
- type CreateEventResp
- type CreateEventsJSONBody
- type CreateEventsJSONRequestBody
- type CreateEventsParams
- type CreateEventsParamsContentEncoding
- type CreateEventsResp
- type CreateExhaustionTimeBurnAlertRequest
- type CreateExhaustionTimeBurnAlertRequestAlertType
- type CreateKinesisEventsJSONRequestBody
- type CreateKinesisEventsParams
- type CreateKinesisEventsResp
- type CreateMapDependenciesRequest
- type CreateMapDependenciesResponse
- type CreateMapDependenciesResponseStatus
- type CreateMapDependencyRequestJSONRequestBody
- type CreateMapDependencyRequestParams
- type CreateMapDependencyRequestResp
- type CreateMarkerJSONRequestBody
- type CreateMarkerResp
- type CreateMarkerSettingJSONRequestBody
- type CreateMarkerSettingResp
- type CreateQueryAnnotationJSONRequestBody
- type CreateQueryAnnotationResp
- type CreateQueryJSONRequestBody
- type CreateQueryResp
- type CreateQueryResultJSONRequestBody
- type CreateQueryResultRequest
- type CreateQueryResultResp
- type CreateRecipientJSONRequestBody
- type CreateRecipientResp
- type CreateSloJSONRequestBody
- type CreateSloResp
- type CreateTriggerJSONRequestBody
- type CreateTriggerRequest
- func (t CreateTriggerRequest) AsTriggerWithInlineQuery() (TriggerWithInlineQuery, error)
- func (t CreateTriggerRequest) AsTriggerWithQueryReference() (TriggerWithQueryReference, error)
- func (t *CreateTriggerRequest) FromTriggerWithInlineQuery(v TriggerWithInlineQuery) error
- func (t *CreateTriggerRequest) FromTriggerWithQueryReference(v TriggerWithQueryReference) error
- func (t CreateTriggerRequest) MarshalJSON() ([]byte, error)
- func (t *CreateTriggerRequest) MergeTriggerWithInlineQuery(v TriggerWithInlineQuery) error
- func (t *CreateTriggerRequest) MergeTriggerWithQueryReference(v TriggerWithQueryReference) error
- func (t *CreateTriggerRequest) UnmarshalJSON(b []byte) error
- type CreateTriggerResp
- type CreatorRelationship
- type Dataset
- type DatasetCreationPayload
- type DatasetDefinition
- type DatasetDefinitionColumnType
- type DatasetDefinitions
- type DatasetSlug
- type DatasetSlugOrAll
- type DatasetUpdatePayload
- type DeleteApiKeyResp
- type DeleteBoardResp
- type DeleteBoardViewResp
- type DeleteBurnAlertResp
- type DeleteCalculatedFieldResp
- type DeleteColumnResp
- type DeleteDatasetResp
- type DeleteEnvironmentResp
- type DeleteMarkerResp
- type DeleteMarkerSettingsResp
- type DeleteQueryAnnotationResp
- type DeleteRecipientResp
- type DeleteSloResp
- type DeleteTriggerResp
- type DetailedError
- type EditorRelationship
- type EmailRecipient
- type EmailRecipientType
- type Environment
- type EnvironmentAttributesColor1
- type EnvironmentColor
- type EnvironmentListResponse
- type EnvironmentRelationship
- type EnvironmentRelationshipDataType
- type EnvironmentResponse
- type EnvironmentType
- type Environment_Attributes_Color
- func (t Environment_Attributes_Color) AsEnvironmentAttributesColor1() (EnvironmentAttributesColor1, error)
- func (t Environment_Attributes_Color) AsEnvironmentColor() (EnvironmentColor, error)
- func (t *Environment_Attributes_Color) FromEnvironmentAttributesColor1(v EnvironmentAttributesColor1) error
- func (t *Environment_Attributes_Color) FromEnvironmentColor(v EnvironmentColor) error
- func (t Environment_Attributes_Color) MarshalJSON() ([]byte, error)
- func (t *Environment_Attributes_Color) MergeEnvironmentAttributesColor1(v EnvironmentAttributesColor1) error
- func (t *Environment_Attributes_Color) MergeEnvironmentColor(v EnvironmentColor) error
- func (t *Environment_Attributes_Color) UnmarshalJSON(b []byte) error
- type Error
- type Event
- type ExhaustionTimeBurnAlert
- type ExhaustionTimeBurnAlertAlertType
- type ExhaustionTimeBurnAlertDetailResponse
- type ExhaustionTimeBurnAlertDetailResponseAlertType
- type ExhaustionTimeBurnAlertListResponse
- type ExhaustionTimeBurnAlertListResponseAlertType
- type FilterColumn
- type FilterCombination
- type FilterOp
- type FilterValue
- func (t FilterValue) AsFilterValue0() (FilterValue0, error)
- func (t FilterValue) AsFilterValue1() (FilterValue1, error)
- func (t FilterValue) AsFilterValue2() (FilterValue2, error)
- func (t FilterValue) AsFilterValue3() (FilterValue3, error)
- func (t FilterValue) AsFilterValue4() (FilterValue4, error)
- func (t *FilterValue) FromFilterValue0(v FilterValue0) error
- func (t *FilterValue) FromFilterValue1(v FilterValue1) error
- func (t *FilterValue) FromFilterValue2(v FilterValue2) error
- func (t *FilterValue) FromFilterValue3(v FilterValue3) error
- func (t *FilterValue) FromFilterValue4(v FilterValue4) error
- func (t FilterValue) MarshalJSON() ([]byte, error)
- func (t *FilterValue) MergeFilterValue0(v FilterValue0) error
- func (t *FilterValue) MergeFilterValue1(v FilterValue1) error
- func (t *FilterValue) MergeFilterValue2(v FilterValue2) error
- func (t *FilterValue) MergeFilterValue3(v FilterValue3) error
- func (t *FilterValue) MergeFilterValue4(v FilterValue4) error
- func (t *FilterValue) UnmarshalJSON(b []byte) error
- type FilterValue0
- type FilterValue1
- type FilterValue2
- type FilterValue3
- type FilterValue4
- type ForbiddenApplicationJSON
- type ForbiddenApplicationProblemPlusJSON
- type ForbiddenApplicationVndAPIPlusJSON
- type GenericError
- type GetApiKeyResp
- type GetAuthResp
- type GetBoardResp
- type GetBoardViewResp
- type GetBurnAlertResp
- type GetCalculatedFieldResp
- type GetColumnResp
- type GetDatasetResp
- type GetEnvironmentResp
- type GetMapDependenciesParams
- type GetMapDependenciesResp
- type GetMapDependenciesResponse
- type GetMapDependenciesResponseStatus
- type GetMarkerResp
- type GetQueryAnnotationResp
- type GetQueryResp
- type GetQueryResultResp
- type GetRecipientResp
- type GetSloHistoryJSONRequestBody
- type GetSloHistoryResp
- type GetSloParams
- type GetSloResp
- type GetTriggerResp
- type GetV2AuthResp
- type HavingCalculateOp
- type HavingOp
- type HttpRequestDoer
- type ID
- type IncludedResource
- type IngestKeyAttributes
- type IngestKeyAttributesKeyType
- type IngestKeyRequest
- type IngestKeyRequestType
- type IngestKeyType
- type IngestKeyTypeKeyType
- type InternalErrorApplicationProblemPlusJSON
- type InternalErrorApplicationVndAPIPlusJSON
- type JSONAPIError
- type KinesisEvent
- type KinesisEventRecord
- type KinesisResponse
- type ListApiKeysParams
- type ListApiKeysParamsFilterType
- type ListApiKeysResp
- type ListBoardViewsResp
- type ListBoardsResp
- type ListBurnAlertsBySloParams
- type ListBurnAlertsBySloResp
- type ListCalculatedFieldsParams
- type ListCalculatedFieldsResp
- type ListColumnsParams
- type ListColumnsResp
- type ListDatasetDefinitionsResp
- type ListDatasetsResp
- type ListEnvironmentsParams
- type ListEnvironmentsResp
- type ListMarkerSettingsResp
- type ListQueryAnnotationsParams
- type ListQueryAnnotationsResp
- type ListRecipientsResp
- type ListSlosResp
- type ListTriggersResp
- type ListTriggersWithRecipientResp
- type MSTeamsRecipient
- type MSTeamsRecipientType
- type MSTeamsWorkflowRecipient
- type MSTeamsWorkflowRecipientType
- type MapDependency
- type MapNode
- type MapNodeType
- type Marker
- type MarkerSetting
- type NotFoundApplicationJSON
- type NotFoundApplicationProblemPlusJSON
- type NotFoundApplicationVndAPIPlusJSON
- type NotificationRecipient
- type NotificationRecipientDetails
- type NotificationRecipientDetailsPagerdutySeverity
- type PagerDutyRecipient
- type PagerDutyRecipientType
- type PaginationCursor
- type PaginationLinks
- type PaginationSize
- type PatchDatasetDefinitionsJSONRequestBody
- type PatchDatasetDefinitionsResp
- type PayloadTemplate
- type PayloadTooLarge
- type PresetFilter
- type Query
- type QueryAnnotation
- type QueryAnnotationSource
- type QueryCompareTimeOffsetSeconds
- type QueryOp
- type QueryOrdersOrder
- type QueryPanel
- type QueryPanelQueryPanelQueryStyle
- type QueryResult
- type QueryResultDetails
- type QueryResultsData
- type QueryResultsSeries
- type RateLimitedApplicationJSON
- type RateLimitedApplicationProblemPlusJSON
- type RateLimitedApplicationVndAPIPlusJSON
- type Recipient
- func (t Recipient) AsEmailRecipient() (EmailRecipient, error)
- func (t Recipient) AsMSTeamsRecipient() (MSTeamsRecipient, error)
- func (t Recipient) AsMSTeamsWorkflowRecipient() (MSTeamsWorkflowRecipient, error)
- func (t Recipient) AsPagerDutyRecipient() (PagerDutyRecipient, error)
- func (t Recipient) AsSlackRecipient() (SlackRecipient, error)
- func (t Recipient) AsWebhookRecipient() (WebhookRecipient, error)
- func (t Recipient) Discriminator() (string, error)
- func (t *Recipient) FromEmailRecipient(v EmailRecipient) error
- func (t *Recipient) FromMSTeamsRecipient(v MSTeamsRecipient) error
- func (t *Recipient) FromMSTeamsWorkflowRecipient(v MSTeamsWorkflowRecipient) error
- func (t *Recipient) FromPagerDutyRecipient(v PagerDutyRecipient) error
- func (t *Recipient) FromSlackRecipient(v SlackRecipient) error
- func (t *Recipient) FromWebhookRecipient(v WebhookRecipient) error
- func (t Recipient) MarshalJSON() ([]byte, error)
- func (t *Recipient) MergeEmailRecipient(v EmailRecipient) error
- func (t *Recipient) MergeMSTeamsRecipient(v MSTeamsRecipient) error
- func (t *Recipient) MergeMSTeamsWorkflowRecipient(v MSTeamsWorkflowRecipient) error
- func (t *Recipient) MergePagerDutyRecipient(v PagerDutyRecipient) error
- func (t *Recipient) MergeSlackRecipient(v SlackRecipient) error
- func (t *Recipient) MergeWebhookRecipient(v WebhookRecipient) error
- func (t *Recipient) UnmarshalJSON(b []byte) error
- func (t Recipient) ValueByDiscriminator() (interface{}, error)
- type RecipientId
- type RecipientProperties
- type RecipientType
- type RequestEditorFn
- type SLO
- type SLOCreate
- type SLODetailedResponse
- type SLOHistory
- type SLOHistoryRequest
- type SLOHistoryResponse
- type SLOPanel
- type SlackRecipient
- type SlackRecipientType
- type Tag
- type TeamRelationship
- type TeamRelationshipTeamDataType
- type TeamSlug
- type TemplateVariableDefinition
- type TextPanel
- type TriggerResponse
- type TriggerResponseAlertType
- type TriggerResponseBaselineDetails0
- type TriggerResponseBaselineDetails0OffsetMinutes
- type TriggerResponseBaselineDetails0Type
- type TriggerResponseBaselineDetails1
- type TriggerResponseEvaluationScheduleType
- type TriggerResponseEvaluationScheduleWindowDaysOfWeek
- type TriggerResponseThresholdOp
- type TriggerResponse_BaselineDetails
- func (t TriggerResponse_BaselineDetails) AsTriggerResponseBaselineDetails0() (TriggerResponseBaselineDetails0, error)
- func (t TriggerResponse_BaselineDetails) AsTriggerResponseBaselineDetails1() (TriggerResponseBaselineDetails1, error)
- func (t *TriggerResponse_BaselineDetails) FromTriggerResponseBaselineDetails0(v TriggerResponseBaselineDetails0) error
- func (t *TriggerResponse_BaselineDetails) FromTriggerResponseBaselineDetails1(v TriggerResponseBaselineDetails1) error
- func (t TriggerResponse_BaselineDetails) MarshalJSON() ([]byte, error)
- func (t *TriggerResponse_BaselineDetails) MergeTriggerResponseBaselineDetails0(v TriggerResponseBaselineDetails0) error
- func (t *TriggerResponse_BaselineDetails) MergeTriggerResponseBaselineDetails1(v TriggerResponseBaselineDetails1) error
- func (t *TriggerResponse_BaselineDetails) UnmarshalJSON(b []byte) error
- type TriggerWithInlineQuery
- type TriggerWithInlineQueryAlertType
- type TriggerWithInlineQueryBaselineDetails0
- type TriggerWithInlineQueryBaselineDetails0OffsetMinutes
- type TriggerWithInlineQueryBaselineDetails0Type
- type TriggerWithInlineQueryBaselineDetails1
- type TriggerWithInlineQueryEvaluationScheduleType
- type TriggerWithInlineQueryEvaluationScheduleWindowDaysOfWeek
- type TriggerWithInlineQueryThresholdOp
- type TriggerWithInlineQuery_BaselineDetails
- func (t TriggerWithInlineQuery_BaselineDetails) AsTriggerWithInlineQueryBaselineDetails0() (TriggerWithInlineQueryBaselineDetails0, error)
- func (t TriggerWithInlineQuery_BaselineDetails) AsTriggerWithInlineQueryBaselineDetails1() (TriggerWithInlineQueryBaselineDetails1, error)
- func (t *TriggerWithInlineQuery_BaselineDetails) FromTriggerWithInlineQueryBaselineDetails0(v TriggerWithInlineQueryBaselineDetails0) error
- func (t *TriggerWithInlineQuery_BaselineDetails) FromTriggerWithInlineQueryBaselineDetails1(v TriggerWithInlineQueryBaselineDetails1) error
- func (t TriggerWithInlineQuery_BaselineDetails) MarshalJSON() ([]byte, error)
- func (t *TriggerWithInlineQuery_BaselineDetails) MergeTriggerWithInlineQueryBaselineDetails0(v TriggerWithInlineQueryBaselineDetails0) error
- func (t *TriggerWithInlineQuery_BaselineDetails) MergeTriggerWithInlineQueryBaselineDetails1(v TriggerWithInlineQueryBaselineDetails1) error
- func (t *TriggerWithInlineQuery_BaselineDetails) UnmarshalJSON(b []byte) error
- type TriggerWithQueryReference
- type TriggerWithQueryReferenceAlertType
- type TriggerWithQueryReferenceBaselineDetails0
- type TriggerWithQueryReferenceBaselineDetails0OffsetMinutes
- type TriggerWithQueryReferenceBaselineDetails0Type
- type TriggerWithQueryReferenceBaselineDetails1
- type TriggerWithQueryReferenceEvaluationScheduleType
- type TriggerWithQueryReferenceEvaluationScheduleWindowDaysOfWeek
- type TriggerWithQueryReferenceThresholdOp
- type TriggerWithQueryReference_BaselineDetails
- func (t TriggerWithQueryReference_BaselineDetails) AsTriggerWithQueryReferenceBaselineDetails0() (TriggerWithQueryReferenceBaselineDetails0, error)
- func (t TriggerWithQueryReference_BaselineDetails) AsTriggerWithQueryReferenceBaselineDetails1() (TriggerWithQueryReferenceBaselineDetails1, error)
- func (t *TriggerWithQueryReference_BaselineDetails) FromTriggerWithQueryReferenceBaselineDetails0(v TriggerWithQueryReferenceBaselineDetails0) error
- func (t *TriggerWithQueryReference_BaselineDetails) FromTriggerWithQueryReferenceBaselineDetails1(v TriggerWithQueryReferenceBaselineDetails1) error
- func (t TriggerWithQueryReference_BaselineDetails) MarshalJSON() ([]byte, error)
- func (t *TriggerWithQueryReference_BaselineDetails) MergeTriggerWithQueryReferenceBaselineDetails0(v TriggerWithQueryReferenceBaselineDetails0) error
- func (t *TriggerWithQueryReference_BaselineDetails) MergeTriggerWithQueryReferenceBaselineDetails1(v TriggerWithQueryReferenceBaselineDetails1) error
- func (t *TriggerWithQueryReference_BaselineDetails) UnmarshalJSON(b []byte) error
- type UnauthorizedApplicationJSON
- type UnauthorizedApplicationVndAPIPlusJSON
- type UnprocessableEntityApplicationJSON
- type UnprocessableEntityApplicationProblemPlusJSON
- type UnsupportedMediaType
- type UpdateApiKeyApplicationVndAPIPlusJSONRequestBody
- type UpdateApiKeyResp
- type UpdateBoardJSONRequestBody
- type UpdateBoardResp
- type UpdateBoardViewJSONRequestBody
- type UpdateBoardViewRequest
- type UpdateBoardViewResp
- type UpdateBudgetRateBurnAlertRequest
- type UpdateBudgetRateBurnAlertRequestAlertType
- type UpdateBurnAlertJSONRequestBody
- type UpdateBurnAlertRequest
- func (t UpdateBurnAlertRequest) AsUpdateBudgetRateBurnAlertRequest() (UpdateBudgetRateBurnAlertRequest, error)
- func (t UpdateBurnAlertRequest) AsUpdateExhaustionTimeBurnAlertRequest() (UpdateExhaustionTimeBurnAlertRequest, error)
- func (t UpdateBurnAlertRequest) Discriminator() (string, error)
- func (t *UpdateBurnAlertRequest) FromUpdateBudgetRateBurnAlertRequest(v UpdateBudgetRateBurnAlertRequest) error
- func (t *UpdateBurnAlertRequest) FromUpdateExhaustionTimeBurnAlertRequest(v UpdateExhaustionTimeBurnAlertRequest) error
- func (t UpdateBurnAlertRequest) MarshalJSON() ([]byte, error)
- func (t *UpdateBurnAlertRequest) MergeUpdateBudgetRateBurnAlertRequest(v UpdateBudgetRateBurnAlertRequest) error
- func (t *UpdateBurnAlertRequest) MergeUpdateExhaustionTimeBurnAlertRequest(v UpdateExhaustionTimeBurnAlertRequest) error
- func (t *UpdateBurnAlertRequest) UnmarshalJSON(b []byte) error
- func (t UpdateBurnAlertRequest) ValueByDiscriminator() (interface{}, error)
- type UpdateBurnAlertResp
- type UpdateCalculatedFieldJSONRequestBody
- type UpdateCalculatedFieldResp
- type UpdateColumnJSONRequestBody
- type UpdateColumnResp
- type UpdateDatasetJSONRequestBody
- type UpdateDatasetResp
- type UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody
- type UpdateEnvironmentRequest
- type UpdateEnvironmentRequestDataType
- type UpdateEnvironmentResp
- type UpdateExhaustionTimeBurnAlertRequest
- type UpdateExhaustionTimeBurnAlertRequestAlertType
- type UpdateMarkerJSONRequestBody
- type UpdateMarkerResp
- type UpdateMarkerSettingsJSONRequestBody
- type UpdateMarkerSettingsResp
- type UpdateQueryAnnotationJSONRequestBody
- type UpdateQueryAnnotationResp
- type UpdateRecipientJSONRequestBody
- type UpdateRecipientResp
- type UpdateSloJSONRequestBody
- type UpdateSloResp
- type UpdateTriggerJSONRequestBody
- type UpdateTriggerResp
- type UserRelationship
- type UserRelationshipDataType
- type ValidationError
- type ValidationErrorTypeDetailCode
- type ValidationFailedApplicationJSON
- type ValidationFailedApplicationProblemPlusJSON
- type ValidationFailedApplicationVndAPIPlusJSON
- type WebhookHeader
- type WebhookRecipient
- type WebhookRecipientType
Constants ¶
const ( BearerAuthScopes = "bearerAuth.Scopes" Configuration_keyScopes = "configuration_key.Scopes" Firehose_access_keyScopes = "firehose_access_key.Scopes" Ingest_keyScopes = "ingest_key.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func CheckResponse ¶
func MarshalStrippingReadOnly ¶
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 generates requests for CreateApiKey with any type of body
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 generates requests for CreateBoard with any type of body
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 generates requests for CreateBoardView with any type of body
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 generates requests for CreateBurnAlert with any type of body
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 generates requests for CreateCalculatedField with any type of body
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 generates requests for CreateColumn with any type of body
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 generates requests for CreateDataset with any type of body
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 generates requests for CreateEnvironment with any type of body
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 generates requests for CreateEvent with any type of body
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 generates requests for CreateEvents with any type of body
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 generates requests for CreateKinesisEvents with any type of body
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 generates requests for CreateMapDependencyRequest with any type of body
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 generates requests for CreateMarker with any type of body
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 generates requests for CreateMarkerSetting with any type of body
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 generates requests for CreateQueryAnnotation with any type of body
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 generates requests for CreateQuery with any type of body
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 generates requests for CreateQueryResult with any type of body
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 generates requests for CreateRecipient with any type of body
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 generates requests for CreateSlo with any type of body
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 generates requests for CreateTrigger with any type of body
func NewDeleteApiKeyRequest ¶
NewDeleteApiKeyRequest generates requests for DeleteApiKey
func NewDeleteBoardRequest ¶
NewDeleteBoardRequest generates requests for DeleteBoard
func NewDeleteBoardViewRequest ¶
NewDeleteBoardViewRequest generates requests for DeleteBoardView
func NewDeleteBurnAlertRequest ¶
func NewDeleteBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string) (*http.Request, error)
NewDeleteBurnAlertRequest generates requests for DeleteBurnAlert
func NewDeleteCalculatedFieldRequest ¶
func NewDeleteCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string) (*http.Request, error)
NewDeleteCalculatedFieldRequest generates requests for DeleteCalculatedField
func NewDeleteColumnRequest ¶
func NewDeleteColumnRequest(server string, datasetSlug DatasetSlug, columnId string) (*http.Request, error)
NewDeleteColumnRequest generates requests for DeleteColumn
func NewDeleteDatasetRequest ¶
func NewDeleteDatasetRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)
NewDeleteDatasetRequest generates requests for DeleteDataset
func NewDeleteEnvironmentRequest ¶
NewDeleteEnvironmentRequest generates requests for DeleteEnvironment
func NewDeleteMarkerRequest ¶
func NewDeleteMarkerRequest(server string, datasetSlug DatasetSlugOrAll, markerId string) (*http.Request, error)
NewDeleteMarkerRequest generates requests for DeleteMarker
func NewDeleteMarkerSettingsRequest ¶
func NewDeleteMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll, markerSettingId string) (*http.Request, error)
NewDeleteMarkerSettingsRequest generates requests for DeleteMarkerSettings
func NewDeleteQueryAnnotationRequest ¶
func NewDeleteQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string) (*http.Request, error)
NewDeleteQueryAnnotationRequest generates requests for DeleteQueryAnnotation
func NewDeleteRecipientRequest ¶
func NewDeleteRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)
NewDeleteRecipientRequest generates requests for DeleteRecipient
func NewDeleteSloRequest ¶
func NewDeleteSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string) (*http.Request, error)
NewDeleteSloRequest generates requests for DeleteSlo
func NewDeleteTriggerRequest ¶
func NewDeleteTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string) (*http.Request, error)
NewDeleteTriggerRequest generates requests for DeleteTrigger
func NewGetApiKeyRequest ¶
NewGetApiKeyRequest generates requests for GetApiKey
func NewGetAuthRequest ¶
NewGetAuthRequest generates requests for GetAuth
func NewGetBoardRequest ¶
NewGetBoardRequest generates requests for GetBoard
func NewGetBoardViewRequest ¶
NewGetBoardViewRequest generates requests for GetBoardView
func NewGetBurnAlertRequest ¶
func NewGetBurnAlertRequest(server string, datasetSlug DatasetSlugOrAll, burnAlertId string) (*http.Request, error)
NewGetBurnAlertRequest generates requests for GetBurnAlert
func NewGetCalculatedFieldRequest ¶
func NewGetCalculatedFieldRequest(server string, datasetSlug DatasetSlugOrAll, derivedColumnId string) (*http.Request, error)
NewGetCalculatedFieldRequest generates requests for GetCalculatedField
func NewGetColumnRequest ¶
func NewGetColumnRequest(server string, datasetSlug DatasetSlug, columnId string) (*http.Request, error)
NewGetColumnRequest generates requests for GetColumn
func NewGetDatasetRequest ¶
func NewGetDatasetRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)
NewGetDatasetRequest generates requests for GetDataset
func NewGetEnvironmentRequest ¶
NewGetEnvironmentRequest generates requests for GetEnvironment
func NewGetMapDependenciesRequest ¶
func NewGetMapDependenciesRequest(server string, requestId string, params *GetMapDependenciesParams) (*http.Request, error)
NewGetMapDependenciesRequest generates requests for GetMapDependencies
func NewGetMarkerRequest ¶
func NewGetMarkerRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
NewGetMarkerRequest generates requests for GetMarker
func NewGetQueryAnnotationRequest ¶
func NewGetQueryAnnotationRequest(server string, datasetSlug DatasetSlugOrAll, queryAnnotationId string) (*http.Request, error)
NewGetQueryAnnotationRequest generates requests for GetQueryAnnotation
func NewGetQueryRequest ¶
func NewGetQueryRequest(server string, datasetSlug DatasetSlugOrAll, queryId string) (*http.Request, error)
NewGetQueryRequest generates requests for GetQuery
func NewGetQueryResultRequest ¶
func NewGetQueryResultRequest(server string, datasetSlug DatasetSlugOrAll, queryResultId string) (*http.Request, error)
NewGetQueryResultRequest generates requests for GetQueryResult
func NewGetRecipientRequest ¶
func NewGetRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)
NewGetRecipientRequest generates requests for GetRecipient
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 generates requests for GetSloHistory with any type of body
func NewGetSloRequest ¶
func NewGetSloRequest(server string, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams) (*http.Request, error)
NewGetSloRequest generates requests for GetSlo
func NewGetTriggerRequest ¶
func NewGetTriggerRequest(server string, datasetSlug DatasetSlugOrAll, triggerId string) (*http.Request, error)
NewGetTriggerRequest generates requests for GetTrigger
func NewGetV2AuthRequest ¶
NewGetV2AuthRequest generates requests for GetV2Auth
func NewListApiKeysRequest ¶
func NewListApiKeysRequest(server string, teamSlug TeamSlug, params *ListApiKeysParams) (*http.Request, error)
NewListApiKeysRequest generates requests for ListApiKeys
func NewListBoardViewsRequest ¶
NewListBoardViewsRequest generates requests for ListBoardViews
func NewListBoardsRequest ¶
NewListBoardsRequest generates requests for ListBoards
func NewListBurnAlertsBySloRequest ¶
func NewListBurnAlertsBySloRequest(server string, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams) (*http.Request, error)
NewListBurnAlertsBySloRequest generates requests for ListBurnAlertsBySlo
func NewListCalculatedFieldsRequest ¶
func NewListCalculatedFieldsRequest(server string, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams) (*http.Request, error)
NewListCalculatedFieldsRequest generates requests for ListCalculatedFields
func NewListColumnsRequest ¶
func NewListColumnsRequest(server string, datasetSlug DatasetSlugOrAll, params *ListColumnsParams) (*http.Request, error)
NewListColumnsRequest generates requests for ListColumns
func NewListDatasetDefinitionsRequest ¶
func NewListDatasetDefinitionsRequest(server string, datasetSlug DatasetSlug) (*http.Request, error)
NewListDatasetDefinitionsRequest generates requests for ListDatasetDefinitions
func NewListDatasetsRequest ¶
NewListDatasetsRequest generates requests for ListDatasets
func NewListEnvironmentsRequest ¶
func NewListEnvironmentsRequest(server string, teamSlug TeamSlug, params *ListEnvironmentsParams) (*http.Request, error)
NewListEnvironmentsRequest generates requests for ListEnvironments
func NewListMarkerSettingsRequest ¶
func NewListMarkerSettingsRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
NewListMarkerSettingsRequest generates requests for ListMarkerSettings
func NewListQueryAnnotationsRequest ¶
func NewListQueryAnnotationsRequest(server string, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams) (*http.Request, error)
NewListQueryAnnotationsRequest generates requests for ListQueryAnnotations
func NewListRecipientsRequest ¶
NewListRecipientsRequest generates requests for ListRecipients
func NewListSlosRequest ¶
func NewListSlosRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
NewListSlosRequest generates requests for ListSlos
func NewListTriggersRequest ¶
func NewListTriggersRequest(server string, datasetSlug DatasetSlugOrAll) (*http.Request, error)
NewListTriggersRequest generates requests for ListTriggers
func NewListTriggersWithRecipientRequest ¶
func NewListTriggersWithRecipientRequest(server string, recipientId RecipientId) (*http.Request, error)
NewListTriggersWithRecipientRequest generates requests for ListTriggersWithRecipient
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 generates requests for PatchDatasetDefinitions with any type of body
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 generates requests for UpdateApiKey with any type of body
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 generates requests for UpdateBoard with any type of body
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 generates requests for UpdateBoardView with any type of body
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 generates requests for UpdateBurnAlert with any type of body
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 generates requests for UpdateCalculatedField with any type of body
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 generates requests for UpdateColumn with any type of body
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 generates requests for UpdateDataset with any type of body
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 generates requests for UpdateEnvironment with any type of body
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 generates requests for UpdateMarker with any type of body
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 generates requests for UpdateMarkerSettings with any type of body
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 generates requests for UpdateQueryAnnotation with any type of body
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 generates requests for UpdateRecipient with any type of body
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 generates requests for UpdateSlo with any type of body
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
Types ¶
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.
type ApiKeyCreateResponse ¶
type ApiKeyCreateResponse struct {
Data struct {
Attributes ApiKeyCreateResponse_Data_Attributes `json:"attributes"`
// Id The unique identifier of the API Key
Id *string `json:"id,omitempty"`
Links struct {
// Self The URL of this resource
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.
type ApiKeyCreateResponse_Data_Attributes ¶
type ApiKeyCreateResponse_Data_Attributes struct {
// Secret The API Key secret. This is the only time it will be returned.
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) 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
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.
Id *string `json:"id,omitempty"`
Links *struct {
// Self The URL of this resource
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.
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"`
// TimeToLive An optional property of an ingest key that determines the time at which the key becomes unauthorized.
// When the time_to_live passes, the key will no longer be usable. Expressed as a RFC3339-formatted time.
TimeToLive *string `json:"time_to_live,omitempty"`
// Type The type of API Key.
Type AuthType `json:"type"`
}
Auth defines model for Auth.
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
Name *string `json:"name,omitempty"`
// Scopes The scopes assigned to this API Key
Scopes *[]interface{} `json:"scopes,omitempty"`
Timestamps *struct {
// Created The ISO8601-formatted time when the API Key was created.
Created *time.Time `json:"created,omitempty"`
// Updated The ISO8601-formatted time when the API Key was updated.
Updated *time.Time `json:"updated,omitempty"`
} `json:"timestamps,omitempty"`
} `json:"attributes,omitempty"`
// Id The unique identifier of the API Key making the request
Id *string `json:"id,omitempty"`
Relationships *TeamRelationship `json:"relationships,omitempty"`
Type *AuthV2ResponseDataType `json:"type,omitempty"`
} `json:"data"`
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.
type AuthV2ResponseDataType ¶
type AuthV2ResponseDataType string
AuthV2ResponseDataType defines model for AuthV2Response.Data.Type.
const (
AuthV2ResponseDataTypeApiKeys AuthV2ResponseDataType = "api-keys"
)
Defines values for AuthV2ResponseDataType.
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"`
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)
EndTime string `json:"end_time"`
// StartTime A UTC time in HH:mm format (13:00)
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.
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.
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.
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.
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.
type BaseTriggerBaselineDetails1 ¶
type BaseTriggerBaselineDetails1 = interface{}
BaseTriggerBaselineDetails1 Set to an empty object to clear the baseline threshold.
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.
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.
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.
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.
Description *string `json:"description,omitempty"`
// Id Unique identifier (ID), returned in response bodies.
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 *string `json:"board_url,omitempty"`
} `json:"links,omitempty"`
// Name The name of the 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.
PresetFilters *[]PresetFilter `json:"preset_filters,omitempty"`
// Tags A list of key-value pairs to help identify the Trigger.
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.
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"`
LogScale *bool `json:"log_scale,omitempty"`
OmitMissingValues *bool `json:"omit_missing_values,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.
const ( Cbar BoardQueryVisualizationSettingsChartsChartType = "cbar" Cpie BoardQueryVisualizationSettingsChartsChartType = "cpie" Default BoardQueryVisualizationSettingsChartsChartType = "default" Line BoardQueryVisualizationSettingsChartsChartType = "line" Stacked BoardQueryVisualizationSettingsChartsChartType = "stacked" Stat BoardQueryVisualizationSettingsChartsChartType = "stat" Tsbar BoardQueryVisualizationSettingsChartsChartType = "tsbar" )
Defines values for BoardQueryVisualizationSettingsChartsChartType.
type BoardType ¶
type BoardType string
BoardType The type of the board. Only flexible boards are supported.
const (
Flexible BoardType = "flexible"
)
Defines values for BoardType.
type BoardViewFilter ¶
type BoardViewFilter struct {
// Column The column name to filter on.
Column string `json:"column"`
// Operation The filter operation.
Operation BoardViewFilterOperation `json:"operation"`
// Value The value to filter by.
Value interface{} `json:"value,omitempty"`
}
BoardViewFilter defines model for BoardViewFilter.
type BoardViewFilterOperation ¶
type BoardViewFilterOperation string
BoardViewFilterOperation The filter operation.
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.
type BoardViewResponse ¶
type BoardViewResponse struct {
Filters *[]BoardViewFilter `json:"filters,omitempty"`
// Id Unique identifier for the board view.
Id *string `json:"id,omitempty"`
// Name The name of the 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.
AlertType BudgetRateBurnAlertAlertType `json:"alert_type"`
// 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 |
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.
BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
Description *string `json:"description,omitempty"`
// Id Unique identifier (ID) of a Burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( BudgetRateBurnAlertAlertTypeBudgetRate BudgetRateBurnAlertAlertType = "budget_rate" BudgetRateBurnAlertAlertTypeExhaustionTime BudgetRateBurnAlertAlertType = "exhaustion_time" )
Defines values for BudgetRateBurnAlertAlertType.
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.
AlertType BudgetRateBurnAlertDetailResponseAlertType `json:"alert_type"`
// 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 |
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.
BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
Description *string `json:"description,omitempty"`
// Id Unique identifier (ID) of a Burn alert.
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.
Recipients *[]NotificationRecipient `json:"recipients,omitempty"`
// Slo Details about the SLO associated with the burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( BudgetRateBurnAlertDetailResponseAlertTypeBudgetRate BudgetRateBurnAlertDetailResponseAlertType = "budget_rate" BudgetRateBurnAlertDetailResponseAlertTypeExhaustionTime BudgetRateBurnAlertDetailResponseAlertType = "exhaustion_time" )
Defines values for BudgetRateBurnAlertDetailResponseAlertType.
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.
AlertType BudgetRateBurnAlertListResponseAlertType `json:"alert_type"`
// 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 |
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.
BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
Description *string `json:"description,omitempty"`
// Id Unique identifier (ID) of a Burn alert.
Id *string `json:"id,omitempty"`
// Slo Details about the SLO associated with the burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( BudgetRateBurnAlertListResponseAlertTypeBudgetRate BudgetRateBurnAlertListResponseAlertType = "budget_rate" BudgetRateBurnAlertListResponseAlertTypeExhaustionTime BudgetRateBurnAlertListResponseAlertType = "exhaustion_time" )
Defines values for BudgetRateBurnAlertListResponseAlertType.
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 {
CreatedAt *time.Time `json:"created_at,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Triggered *bool `json:"triggered,omitempty"`
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)
func (*Client) CreateApiKeyWithBody ¶
func (*Client) CreateBoard ¶
func (c *Client) CreateBoard(ctx context.Context, body CreateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBoardView ¶
func (c *Client) CreateBoardView(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBoardViewWithBody ¶
func (*Client) CreateBoardWithBody ¶
func (*Client) CreateBurnAlert ¶
func (c *Client) CreateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBurnAlertWithBody ¶
func (*Client) CreateCalculatedField ¶
func (c *Client) CreateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCalculatedFieldWithBody ¶
func (*Client) CreateColumn ¶
func (c *Client) CreateColumn(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateColumnWithBody ¶
func (*Client) CreateDataset ¶
func (c *Client) CreateDataset(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDatasetWithBody ¶
func (*Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEnvironmentWithBody ¶
func (*Client) CreateEvent ¶
func (c *Client) CreateEvent(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEventWithBody ¶
func (c *Client) CreateEventWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEvents ¶
func (c *Client) CreateEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEventsWithBody ¶
func (c *Client) CreateEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateKinesisEvents ¶
func (c *Client) CreateKinesisEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateKinesisEventsWithBody ¶
func (c *Client) CreateKinesisEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMapDependencyRequest ¶
func (c *Client) CreateMapDependencyRequest(ctx context.Context, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMapDependencyRequestWithBody ¶
func (*Client) CreateMarker ¶
func (c *Client) CreateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMarkerSetting ¶
func (c *Client) CreateMarkerSetting(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMarkerSettingWithBody ¶
func (*Client) CreateMarkerWithBody ¶
func (*Client) CreateQuery ¶
func (c *Client) CreateQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateQueryAnnotation ¶
func (c *Client) CreateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateQueryAnnotationWithBody ¶
func (*Client) CreateQueryResult ¶
func (c *Client) CreateQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateQueryResultWithBody ¶
func (*Client) CreateQueryWithBody ¶
func (*Client) CreateRecipient ¶
func (c *Client) CreateRecipient(ctx context.Context, body CreateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateRecipientWithBody ¶
func (*Client) CreateSlo ¶
func (c *Client) CreateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSloWithBody ¶
func (*Client) CreateTrigger ¶
func (c *Client) CreateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTriggerWithBody ¶
func (*Client) DeleteApiKey ¶
func (*Client) DeleteBoard ¶
func (*Client) DeleteBoardView ¶
func (*Client) DeleteBurnAlert ¶
func (c *Client) DeleteBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteCalculatedField ¶
func (c *Client) DeleteCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteColumn ¶
func (c *Client) DeleteColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDataset ¶
func (c *Client) DeleteDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEnvironment ¶
func (*Client) DeleteMarker ¶
func (c *Client) DeleteMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteMarkerSettings ¶
func (c *Client) DeleteMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteQueryAnnotation ¶
func (c *Client) DeleteQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteRecipient ¶
func (c *Client) DeleteRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSlo ¶
func (c *Client) DeleteSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteTrigger ¶
func (c *Client) DeleteTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBoardView ¶
func (*Client) GetBurnAlert ¶
func (c *Client) GetBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetCalculatedField ¶
func (c *Client) GetCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetColumn ¶
func (c *Client) GetColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDataset ¶
func (c *Client) GetDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetEnvironment ¶
func (*Client) GetMapDependencies ¶
func (c *Client) GetMapDependencies(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMarker ¶
func (c *Client) GetMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetQuery ¶
func (c *Client) GetQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetQueryAnnotation ¶
func (c *Client) GetQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetQueryResult ¶
func (c *Client) GetQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRecipient ¶
func (c *Client) GetRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSlo ¶
func (c *Client) GetSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSloHistory ¶
func (c *Client) GetSloHistory(ctx context.Context, body GetSloHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSloHistoryWithBody ¶
func (*Client) GetTrigger ¶
func (c *Client) GetTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListApiKeys ¶
func (c *Client) ListApiKeys(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListBoardViews ¶
func (*Client) ListBoards ¶
func (*Client) ListBurnAlertsBySlo ¶
func (c *Client) ListBurnAlertsBySlo(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCalculatedFields ¶
func (c *Client) ListCalculatedFields(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListColumns ¶
func (c *Client) ListColumns(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatasetDefinitions ¶
func (c *Client) ListDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListDatasets ¶
func (*Client) ListEnvironments ¶
func (c *Client) ListEnvironments(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListMarkerSettings ¶
func (c *Client) ListMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListQueryAnnotations ¶
func (c *Client) ListQueryAnnotations(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRecipients ¶
func (*Client) ListSlos ¶
func (c *Client) ListSlos(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListTriggers ¶
func (c *Client) ListTriggers(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListTriggersWithRecipient ¶
func (c *Client) ListTriggersWithRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchDatasetDefinitions ¶
func (c *Client) PatchDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchDatasetDefinitionsWithBody ¶
func (*Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateApiKeyWithBody ¶
func (*Client) UpdateBoard ¶
func (c *Client) UpdateBoard(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateBoardView ¶
func (c *Client) UpdateBoardView(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateBoardViewWithBody ¶
func (*Client) UpdateBoardWithBody ¶
func (*Client) UpdateBurnAlert ¶
func (c *Client) UpdateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateBurnAlertWithBody ¶
func (*Client) UpdateCalculatedField ¶
func (c *Client) UpdateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCalculatedFieldWithBody ¶
func (*Client) UpdateColumn ¶
func (c *Client) UpdateColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateColumnWithBody ¶
func (*Client) UpdateDataset ¶
func (c *Client) UpdateDataset(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDatasetWithBody ¶
func (*Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody ¶
func (c *Client) UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEnvironmentWithBody ¶
func (*Client) UpdateMarker ¶
func (c *Client) UpdateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMarkerSettings ¶
func (c *Client) UpdateMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMarkerSettingsWithBody ¶
func (*Client) UpdateMarkerWithBody ¶
func (*Client) UpdateQueryAnnotation ¶
func (c *Client) UpdateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateQueryAnnotationWithBody ¶
func (*Client) UpdateRecipient ¶
func (c *Client) UpdateRecipient(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRecipientWithBody ¶
func (*Client) UpdateSlo ¶
func (c *Client) UpdateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSloWithBody ¶
func (*Client) UpdateTrigger ¶
func (c *Client) UpdateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateTriggerWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// GetAuth request
GetAuth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEventsWithBody request with any body
CreateEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBoards request
ListBoards(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBoardWithBody request with any body
CreateBoardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBoard(ctx context.Context, body CreateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBoard request
DeleteBoard(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBoard request
GetBoard(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBoardWithBody request with any body
UpdateBoardWithBody(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBoard(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBoardViews request
ListBoardViews(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBoardViewWithBody request with any body
CreateBoardViewWithBody(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBoardView(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBoardView request
DeleteBoardView(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBoardView request
GetBoardView(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBoardViewWithBody request with any body
UpdateBoardViewWithBody(ctx context.Context, boardId string, viewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBoardView(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBurnAlertsBySlo request
ListBurnAlertsBySlo(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBurnAlertWithBody request with any body
CreateBurnAlertWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBurnAlert request
DeleteBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBurnAlert request
GetBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBurnAlertWithBody request with any body
UpdateBurnAlertWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBurnAlert(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListColumns request
ListColumns(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateColumnWithBody request with any body
CreateColumnWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateColumn(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteColumn request
DeleteColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetColumn request
GetColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateColumnWithBody request with any body
UpdateColumnWithBody(ctx context.Context, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateColumn(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatasetDefinitions request
ListDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchDatasetDefinitionsWithBody request with any body
PatchDatasetDefinitionsWithBody(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchDatasetDefinitions(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDatasets request
ListDatasets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDatasetWithBody request with any body
CreateDatasetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDataset(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDataset request
DeleteDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDataset request
GetDataset(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDatasetWithBody request with any body
UpdateDatasetWithBody(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDataset(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCalculatedFields request
ListCalculatedFields(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCalculatedFieldWithBody request with any body
CreateCalculatedFieldWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCalculatedField request
DeleteCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCalculatedField request
GetCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCalculatedFieldWithBody request with any body
UpdateCalculatedFieldWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCalculatedField(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEventWithBody request with any body
CreateEventWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEvent(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateKinesisEventsWithBody request with any body
CreateKinesisEventsWithBody(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateKinesisEvents(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMapDependencyRequestWithBody request with any body
CreateMapDependencyRequestWithBody(ctx context.Context, params *CreateMapDependencyRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMapDependencyRequest(ctx context.Context, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMapDependencies request
GetMapDependencies(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMarkerSettings request
ListMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMarkerSettingWithBody request with any body
CreateMarkerSettingWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMarkerSetting(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMarkerSettings request
DeleteMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMarkerSettingsWithBody request with any body
UpdateMarkerSettingsWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMarkerSettings(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMarker request
GetMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMarkerWithBody request with any body
CreateMarkerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMarker request
DeleteMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMarkerWithBody request with any body
UpdateMarkerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMarker(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateQueryWithBody request with any body
CreateQueryWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetQuery request
GetQuery(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListQueryAnnotations request
ListQueryAnnotations(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateQueryAnnotationWithBody request with any body
CreateQueryAnnotationWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteQueryAnnotation request
DeleteQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetQueryAnnotation request
GetQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateQueryAnnotationWithBody request with any body
UpdateQueryAnnotationWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateQueryAnnotation(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateQueryResultWithBody request with any body
CreateQueryResultWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetQueryResult request
GetQueryResult(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRecipients request
ListRecipients(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRecipientWithBody request with any body
CreateRecipientWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRecipient(ctx context.Context, body CreateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRecipient request
DeleteRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRecipient request
GetRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRecipientWithBody request with any body
UpdateRecipientWithBody(ctx context.Context, recipientId RecipientId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRecipient(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTriggersWithRecipient request
ListTriggersWithRecipient(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSloHistoryWithBody request with any body
GetSloHistoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSloHistory(ctx context.Context, body GetSloHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSlos request
ListSlos(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSloWithBody request with any body
CreateSloWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSlo request
DeleteSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSlo request
GetSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSloWithBody request with any body
UpdateSloWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSlo(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTriggers request
ListTriggers(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTriggerWithBody request with any body
CreateTriggerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTrigger request
DeleteTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTrigger request
GetTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateTriggerWithBody request with any body
UpdateTriggerWithBody(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateTrigger(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV2Auth request
GetV2Auth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApiKeys request
ListApiKeys(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateApiKeyWithBody request with any body
CreateApiKeyWithBody(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiKey request
DeleteApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetApiKey request
GetApiKey(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateApiKeyWithBody request with any body
UpdateApiKeyWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateApiKeyWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEnvironments request
ListEnvironments(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEnvironmentWithBody request with any body
CreateEnvironmentWithBody(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEnvironment request
DeleteEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEnvironment request
GetEnvironment(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEnvironmentWithBody request with any body
UpdateEnvironmentWithBody(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEnvironmentWithApplicationVndAPIPlusJSONBody(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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)
func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResp, error)
CreateApiKeyWithBodyWithResponse request with arbitrary body returning *CreateApiKeyResp
func (*ClientWithResponses) CreateBoardViewWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)
CreateBoardViewWithBodyWithResponse request with arbitrary body returning *CreateBoardViewResp
func (*ClientWithResponses) CreateBoardViewWithResponse ¶
func (c *ClientWithResponses) CreateBoardViewWithResponse(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)
func (*ClientWithResponses) CreateBoardWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)
CreateBoardWithBodyWithResponse request with arbitrary body returning *CreateBoardResp
func (*ClientWithResponses) CreateBoardWithResponse ¶
func (c *ClientWithResponses) CreateBoardWithResponse(ctx context.Context, body CreateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)
func (*ClientWithResponses) CreateBurnAlertWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)
CreateBurnAlertWithBodyWithResponse request with arbitrary body returning *CreateBurnAlertResp
func (*ClientWithResponses) CreateBurnAlertWithResponse ¶
func (c *ClientWithResponses) CreateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)
func (*ClientWithResponses) CreateCalculatedFieldWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)
CreateCalculatedFieldWithBodyWithResponse request with arbitrary body returning *CreateCalculatedFieldResp
func (*ClientWithResponses) CreateCalculatedFieldWithResponse ¶
func (c *ClientWithResponses) CreateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)
func (*ClientWithResponses) CreateColumnWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)
CreateColumnWithBodyWithResponse request with arbitrary body returning *CreateColumnResp
func (*ClientWithResponses) CreateColumnWithResponse ¶
func (c *ClientWithResponses) CreateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)
func (*ClientWithResponses) CreateDatasetWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)
CreateDatasetWithBodyWithResponse request with arbitrary body returning *CreateDatasetResp
func (*ClientWithResponses) CreateDatasetWithResponse ¶
func (c *ClientWithResponses) CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)
func (*ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)
func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)
CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResp
func (*ClientWithResponses) CreateEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEventWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
CreateEventWithBodyWithResponse request with arbitrary body returning *CreateEventResp
func (*ClientWithResponses) CreateEventWithResponse ¶
func (c *ClientWithResponses) CreateEventWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
func (*ClientWithResponses) CreateEventsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)
CreateEventsWithBodyWithResponse request with arbitrary body returning *CreateEventsResp
func (*ClientWithResponses) CreateEventsWithResponse ¶
func (c *ClientWithResponses) CreateEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)
func (*ClientWithResponses) CreateKinesisEventsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateKinesisEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)
CreateKinesisEventsWithBodyWithResponse request with arbitrary body returning *CreateKinesisEventsResp
func (*ClientWithResponses) CreateKinesisEventsWithResponse ¶
func (c *ClientWithResponses) CreateKinesisEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)
func (*ClientWithResponses) CreateMapDependencyRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMapDependencyRequestWithBodyWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMapDependencyRequestResp, error)
CreateMapDependencyRequestWithBodyWithResponse request with arbitrary body returning *CreateMapDependencyRequestResp
func (*ClientWithResponses) CreateMapDependencyRequestWithResponse ¶
func (c *ClientWithResponses) CreateMapDependencyRequestWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMapDependencyRequestResp, error)
func (*ClientWithResponses) CreateMarkerSettingWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMarkerSettingWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)
CreateMarkerSettingWithBodyWithResponse request with arbitrary body returning *CreateMarkerSettingResp
func (*ClientWithResponses) CreateMarkerSettingWithResponse ¶
func (c *ClientWithResponses) CreateMarkerSettingWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)
func (*ClientWithResponses) CreateMarkerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)
CreateMarkerWithBodyWithResponse request with arbitrary body returning *CreateMarkerResp
func (*ClientWithResponses) CreateMarkerWithResponse ¶
func (c *ClientWithResponses) CreateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)
func (*ClientWithResponses) CreateQueryAnnotationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)
CreateQueryAnnotationWithBodyWithResponse request with arbitrary body returning *CreateQueryAnnotationResp
func (*ClientWithResponses) CreateQueryAnnotationWithResponse ¶
func (c *ClientWithResponses) CreateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)
func (*ClientWithResponses) CreateQueryResultWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateQueryResultWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)
CreateQueryResultWithBodyWithResponse request with arbitrary body returning *CreateQueryResultResp
func (*ClientWithResponses) CreateQueryResultWithResponse ¶
func (c *ClientWithResponses) CreateQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)
func (*ClientWithResponses) CreateQueryWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateQueryWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)
CreateQueryWithBodyWithResponse request with arbitrary body returning *CreateQueryResp
func (*ClientWithResponses) CreateQueryWithResponse ¶
func (c *ClientWithResponses) CreateQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)
func (*ClientWithResponses) CreateRecipientWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRecipientWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)
CreateRecipientWithBodyWithResponse request with arbitrary body returning *CreateRecipientResp
func (*ClientWithResponses) CreateRecipientWithResponse ¶
func (c *ClientWithResponses) CreateRecipientWithResponse(ctx context.Context, body CreateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)
func (*ClientWithResponses) CreateSloWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSloResp, error)
CreateSloWithBodyWithResponse request with arbitrary body returning *CreateSloResp
func (*ClientWithResponses) CreateSloWithResponse ¶
func (c *ClientWithResponses) CreateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSloResp, error)
func (*ClientWithResponses) CreateTriggerWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)
CreateTriggerWithBodyWithResponse request with arbitrary body returning *CreateTriggerResp
func (*ClientWithResponses) CreateTriggerWithResponse ¶
func (c *ClientWithResponses) CreateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)
func (*ClientWithResponses) DeleteApiKeyWithResponse ¶
func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResp, error)
DeleteApiKeyWithResponse request returning *DeleteApiKeyResp
func (*ClientWithResponses) DeleteBoardViewWithResponse ¶
func (c *ClientWithResponses) DeleteBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*DeleteBoardViewResp, error)
DeleteBoardViewWithResponse request returning *DeleteBoardViewResp
func (*ClientWithResponses) DeleteBoardWithResponse ¶
func (c *ClientWithResponses) DeleteBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*DeleteBoardResp, error)
DeleteBoardWithResponse request returning *DeleteBoardResp
func (*ClientWithResponses) DeleteBurnAlertWithResponse ¶
func (c *ClientWithResponses) DeleteBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*DeleteBurnAlertResp, error)
DeleteBurnAlertWithResponse request returning *DeleteBurnAlertResp
func (*ClientWithResponses) DeleteCalculatedFieldWithResponse ¶
func (c *ClientWithResponses) DeleteCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*DeleteCalculatedFieldResp, error)
DeleteCalculatedFieldWithResponse request returning *DeleteCalculatedFieldResp
func (*ClientWithResponses) DeleteColumnWithResponse ¶
func (c *ClientWithResponses) DeleteColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*DeleteColumnResp, error)
DeleteColumnWithResponse request returning *DeleteColumnResp
func (*ClientWithResponses) DeleteDatasetWithResponse ¶
func (c *ClientWithResponses) DeleteDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*DeleteDatasetResp, error)
DeleteDatasetWithResponse request returning *DeleteDatasetResp
func (*ClientWithResponses) DeleteEnvironmentWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResp, error)
DeleteEnvironmentWithResponse request returning *DeleteEnvironmentResp
func (*ClientWithResponses) DeleteMarkerSettingsWithResponse ¶
func (c *ClientWithResponses) DeleteMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*DeleteMarkerSettingsResp, error)
DeleteMarkerSettingsWithResponse request returning *DeleteMarkerSettingsResp
func (*ClientWithResponses) DeleteMarkerWithResponse ¶
func (c *ClientWithResponses) DeleteMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*DeleteMarkerResp, error)
DeleteMarkerWithResponse request returning *DeleteMarkerResp
func (*ClientWithResponses) DeleteQueryAnnotationWithResponse ¶
func (c *ClientWithResponses) DeleteQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*DeleteQueryAnnotationResp, error)
DeleteQueryAnnotationWithResponse request returning *DeleteQueryAnnotationResp
func (*ClientWithResponses) DeleteRecipientWithResponse ¶
func (c *ClientWithResponses) DeleteRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*DeleteRecipientResp, error)
DeleteRecipientWithResponse request returning *DeleteRecipientResp
func (*ClientWithResponses) DeleteSloWithResponse ¶
func (c *ClientWithResponses) DeleteSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*DeleteSloResp, error)
DeleteSloWithResponse request returning *DeleteSloResp
func (*ClientWithResponses) DeleteTriggerWithResponse ¶
func (c *ClientWithResponses) DeleteTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*DeleteTriggerResp, error)
DeleteTriggerWithResponse request returning *DeleteTriggerResp
func (*ClientWithResponses) GetApiKeyWithResponse ¶
func (c *ClientWithResponses) GetApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetApiKeyResp, error)
GetApiKeyWithResponse request returning *GetApiKeyResp
func (*ClientWithResponses) GetAuthWithResponse ¶
func (c *ClientWithResponses) GetAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthResp, error)
GetAuthWithResponse request returning *GetAuthResp
func (*ClientWithResponses) GetBoardViewWithResponse ¶
func (c *ClientWithResponses) GetBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*GetBoardViewResp, error)
GetBoardViewWithResponse request returning *GetBoardViewResp
func (*ClientWithResponses) GetBoardWithResponse ¶
func (c *ClientWithResponses) GetBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*GetBoardResp, error)
GetBoardWithResponse request returning *GetBoardResp
func (*ClientWithResponses) GetBurnAlertWithResponse ¶
func (c *ClientWithResponses) GetBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*GetBurnAlertResp, error)
GetBurnAlertWithResponse request returning *GetBurnAlertResp
func (*ClientWithResponses) GetCalculatedFieldWithResponse ¶
func (c *ClientWithResponses) GetCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*GetCalculatedFieldResp, error)
GetCalculatedFieldWithResponse request returning *GetCalculatedFieldResp
func (*ClientWithResponses) GetColumnWithResponse ¶
func (c *ClientWithResponses) GetColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*GetColumnResp, error)
GetColumnWithResponse request returning *GetColumnResp
func (*ClientWithResponses) GetDatasetWithResponse ¶
func (c *ClientWithResponses) GetDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*GetDatasetResp, error)
GetDatasetWithResponse request returning *GetDatasetResp
func (*ClientWithResponses) GetEnvironmentWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetEnvironmentResp, error)
GetEnvironmentWithResponse request returning *GetEnvironmentResp
func (*ClientWithResponses) GetMapDependenciesWithResponse ¶
func (c *ClientWithResponses) GetMapDependenciesWithResponse(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*GetMapDependenciesResp, error)
GetMapDependenciesWithResponse request returning *GetMapDependenciesResp
func (*ClientWithResponses) GetMarkerWithResponse ¶
func (c *ClientWithResponses) GetMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*GetMarkerResp, error)
GetMarkerWithResponse request returning *GetMarkerResp
func (*ClientWithResponses) GetQueryAnnotationWithResponse ¶
func (c *ClientWithResponses) GetQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*GetQueryAnnotationResp, error)
GetQueryAnnotationWithResponse request returning *GetQueryAnnotationResp
func (*ClientWithResponses) GetQueryResultWithResponse ¶
func (c *ClientWithResponses) GetQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*GetQueryResultResp, error)
GetQueryResultWithResponse request returning *GetQueryResultResp
func (*ClientWithResponses) GetQueryWithResponse ¶
func (c *ClientWithResponses) GetQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*GetQueryResp, error)
GetQueryWithResponse request returning *GetQueryResp
func (*ClientWithResponses) GetRecipientWithResponse ¶
func (c *ClientWithResponses) GetRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*GetRecipientResp, error)
GetRecipientWithResponse request returning *GetRecipientResp
func (*ClientWithResponses) GetSloHistoryWithBodyWithResponse ¶
func (c *ClientWithResponses) GetSloHistoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)
GetSloHistoryWithBodyWithResponse request with arbitrary body returning *GetSloHistoryResp
func (*ClientWithResponses) GetSloHistoryWithResponse ¶
func (c *ClientWithResponses) GetSloHistoryWithResponse(ctx context.Context, body GetSloHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)
func (*ClientWithResponses) GetSloWithResponse ¶
func (c *ClientWithResponses) GetSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*GetSloResp, error)
GetSloWithResponse request returning *GetSloResp
func (*ClientWithResponses) GetTriggerWithResponse ¶
func (c *ClientWithResponses) GetTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*GetTriggerResp, error)
GetTriggerWithResponse request returning *GetTriggerResp
func (*ClientWithResponses) GetV2AuthWithResponse ¶
func (c *ClientWithResponses) GetV2AuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2AuthResp, error)
GetV2AuthWithResponse request returning *GetV2AuthResp
func (*ClientWithResponses) ListApiKeysWithResponse ¶
func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResp, error)
ListApiKeysWithResponse request returning *ListApiKeysResp
func (*ClientWithResponses) ListBoardViewsWithResponse ¶
func (c *ClientWithResponses) ListBoardViewsWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*ListBoardViewsResp, error)
ListBoardViewsWithResponse request returning *ListBoardViewsResp
func (*ClientWithResponses) ListBoardsWithResponse ¶
func (c *ClientWithResponses) ListBoardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoardsResp, error)
ListBoardsWithResponse request returning *ListBoardsResp
func (*ClientWithResponses) ListBurnAlertsBySloWithResponse ¶
func (c *ClientWithResponses) ListBurnAlertsBySloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*ListBurnAlertsBySloResp, error)
ListBurnAlertsBySloWithResponse request returning *ListBurnAlertsBySloResp
func (*ClientWithResponses) ListCalculatedFieldsWithResponse ¶
func (c *ClientWithResponses) ListCalculatedFieldsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*ListCalculatedFieldsResp, error)
ListCalculatedFieldsWithResponse request returning *ListCalculatedFieldsResp
func (*ClientWithResponses) ListColumnsWithResponse ¶
func (c *ClientWithResponses) ListColumnsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*ListColumnsResp, error)
ListColumnsWithResponse request returning *ListColumnsResp
func (*ClientWithResponses) ListDatasetDefinitionsWithResponse ¶
func (c *ClientWithResponses) ListDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*ListDatasetDefinitionsResp, error)
ListDatasetDefinitionsWithResponse request returning *ListDatasetDefinitionsResp
func (*ClientWithResponses) ListDatasetsWithResponse ¶
func (c *ClientWithResponses) ListDatasetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatasetsResp, error)
ListDatasetsWithResponse request returning *ListDatasetsResp
func (*ClientWithResponses) ListEnvironmentsWithResponse ¶
func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResp, error)
ListEnvironmentsWithResponse request returning *ListEnvironmentsResp
func (*ClientWithResponses) ListMarkerSettingsWithResponse ¶
func (c *ClientWithResponses) ListMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListMarkerSettingsResp, error)
ListMarkerSettingsWithResponse request returning *ListMarkerSettingsResp
func (*ClientWithResponses) ListQueryAnnotationsWithResponse ¶
func (c *ClientWithResponses) ListQueryAnnotationsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*ListQueryAnnotationsResp, error)
ListQueryAnnotationsWithResponse request returning *ListQueryAnnotationsResp
func (*ClientWithResponses) ListRecipientsWithResponse ¶
func (c *ClientWithResponses) ListRecipientsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecipientsResp, error)
ListRecipientsWithResponse request returning *ListRecipientsResp
func (*ClientWithResponses) ListSlosWithResponse ¶
func (c *ClientWithResponses) ListSlosWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListSlosResp, error)
ListSlosWithResponse request returning *ListSlosResp
func (*ClientWithResponses) ListTriggersWithRecipientWithResponse ¶
func (c *ClientWithResponses) ListTriggersWithRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*ListTriggersWithRecipientResp, error)
ListTriggersWithRecipientWithResponse request returning *ListTriggersWithRecipientResp
func (*ClientWithResponses) ListTriggersWithResponse ¶
func (c *ClientWithResponses) ListTriggersWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListTriggersResp, error)
ListTriggersWithResponse request returning *ListTriggersResp
func (*ClientWithResponses) PatchDatasetDefinitionsWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchDatasetDefinitionsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)
PatchDatasetDefinitionsWithBodyWithResponse request with arbitrary body returning *PatchDatasetDefinitionsResp
func (*ClientWithResponses) PatchDatasetDefinitionsWithResponse ¶
func (c *ClientWithResponses) PatchDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)
func (*ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)
func (*ClientWithResponses) UpdateApiKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)
UpdateApiKeyWithBodyWithResponse request with arbitrary body returning *UpdateApiKeyResp
func (*ClientWithResponses) UpdateBoardViewWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, viewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)
UpdateBoardViewWithBodyWithResponse request with arbitrary body returning *UpdateBoardViewResp
func (*ClientWithResponses) UpdateBoardViewWithResponse ¶
func (c *ClientWithResponses) UpdateBoardViewWithResponse(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)
func (*ClientWithResponses) UpdateBoardWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBoardWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)
UpdateBoardWithBodyWithResponse request with arbitrary body returning *UpdateBoardResp
func (*ClientWithResponses) UpdateBoardWithResponse ¶
func (c *ClientWithResponses) UpdateBoardWithResponse(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)
func (*ClientWithResponses) UpdateBurnAlertWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)
UpdateBurnAlertWithBodyWithResponse request with arbitrary body returning *UpdateBurnAlertResp
func (*ClientWithResponses) UpdateBurnAlertWithResponse ¶
func (c *ClientWithResponses) UpdateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)
func (*ClientWithResponses) UpdateCalculatedFieldWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)
UpdateCalculatedFieldWithBodyWithResponse request with arbitrary body returning *UpdateCalculatedFieldResp
func (*ClientWithResponses) UpdateCalculatedFieldWithResponse ¶
func (c *ClientWithResponses) UpdateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)
func (*ClientWithResponses) UpdateColumnWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)
UpdateColumnWithBodyWithResponse request with arbitrary body returning *UpdateColumnResp
func (*ClientWithResponses) UpdateColumnWithResponse ¶
func (c *ClientWithResponses) UpdateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)
func (*ClientWithResponses) UpdateDatasetWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)
UpdateDatasetWithBodyWithResponse request with arbitrary body returning *UpdateDatasetResp
func (*ClientWithResponses) UpdateDatasetWithResponse ¶
func (c *ClientWithResponses) UpdateDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)
func (*ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResp, error)
func (*ClientWithResponses) UpdateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResp, error)
UpdateEnvironmentWithBodyWithResponse request with arbitrary body returning *UpdateEnvironmentResp
func (*ClientWithResponses) UpdateMarkerSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMarkerSettingsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)
UpdateMarkerSettingsWithBodyWithResponse request with arbitrary body returning *UpdateMarkerSettingsResp
func (*ClientWithResponses) UpdateMarkerSettingsWithResponse ¶
func (c *ClientWithResponses) UpdateMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)
func (*ClientWithResponses) UpdateMarkerWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)
UpdateMarkerWithBodyWithResponse request with arbitrary body returning *UpdateMarkerResp
func (*ClientWithResponses) UpdateMarkerWithResponse ¶
func (c *ClientWithResponses) UpdateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)
func (*ClientWithResponses) UpdateQueryAnnotationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)
UpdateQueryAnnotationWithBodyWithResponse request with arbitrary body returning *UpdateQueryAnnotationResp
func (*ClientWithResponses) UpdateQueryAnnotationWithResponse ¶
func (c *ClientWithResponses) UpdateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)
func (*ClientWithResponses) UpdateRecipientWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateRecipientWithBodyWithResponse(ctx context.Context, recipientId RecipientId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)
UpdateRecipientWithBodyWithResponse request with arbitrary body returning *UpdateRecipientResp
func (*ClientWithResponses) UpdateRecipientWithResponse ¶
func (c *ClientWithResponses) UpdateRecipientWithResponse(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)
func (*ClientWithResponses) UpdateSloWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)
UpdateSloWithBodyWithResponse request with arbitrary body returning *UpdateSloResp
func (*ClientWithResponses) UpdateSloWithResponse ¶
func (c *ClientWithResponses) UpdateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)
func (*ClientWithResponses) UpdateTriggerWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)
UpdateTriggerWithBodyWithResponse request with arbitrary body returning *UpdateTriggerResp
func (*ClientWithResponses) UpdateTriggerWithResponse ¶
func (c *ClientWithResponses) UpdateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetAuthWithResponse request
GetAuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAuthResp, error)
// CreateEventsWithBodyWithResponse request with any body
CreateEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)
CreateEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventsParams, body CreateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventsResp, error)
// ListBoardsWithResponse request
ListBoardsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListBoardsResp, error)
// CreateBoardWithBodyWithResponse request with any body
CreateBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)
CreateBoardWithResponse(ctx context.Context, body CreateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardResp, error)
// DeleteBoardWithResponse request
DeleteBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*DeleteBoardResp, error)
// GetBoardWithResponse request
GetBoardWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*GetBoardResp, error)
// UpdateBoardWithBodyWithResponse request with any body
UpdateBoardWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)
UpdateBoardWithResponse(ctx context.Context, boardId string, body UpdateBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardResp, error)
// ListBoardViewsWithResponse request
ListBoardViewsWithResponse(ctx context.Context, boardId string, reqEditors ...RequestEditorFn) (*ListBoardViewsResp, error)
// CreateBoardViewWithBodyWithResponse request with any body
CreateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)
CreateBoardViewWithResponse(ctx context.Context, boardId string, body CreateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBoardViewResp, error)
// DeleteBoardViewWithResponse request
DeleteBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*DeleteBoardViewResp, error)
// GetBoardViewWithResponse request
GetBoardViewWithResponse(ctx context.Context, boardId string, viewId string, reqEditors ...RequestEditorFn) (*GetBoardViewResp, error)
// UpdateBoardViewWithBodyWithResponse request with any body
UpdateBoardViewWithBodyWithResponse(ctx context.Context, boardId string, viewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)
UpdateBoardViewWithResponse(ctx context.Context, boardId string, viewId string, body UpdateBoardViewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBoardViewResp, error)
// ListBurnAlertsBySloWithResponse request
ListBurnAlertsBySloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListBurnAlertsBySloParams, reqEditors ...RequestEditorFn) (*ListBurnAlertsBySloResp, error)
// CreateBurnAlertWithBodyWithResponse request with any body
CreateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)
CreateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBurnAlertResp, error)
// DeleteBurnAlertWithResponse request
DeleteBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*DeleteBurnAlertResp, error)
// GetBurnAlertWithResponse request
GetBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, reqEditors ...RequestEditorFn) (*GetBurnAlertResp, error)
// UpdateBurnAlertWithBodyWithResponse request with any body
UpdateBurnAlertWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)
UpdateBurnAlertWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, burnAlertId string, body UpdateBurnAlertJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBurnAlertResp, error)
// ListColumnsWithResponse request
ListColumnsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListColumnsParams, reqEditors ...RequestEditorFn) (*ListColumnsResp, error)
// CreateColumnWithBodyWithResponse request with any body
CreateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)
CreateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateColumnResp, error)
// DeleteColumnWithResponse request
DeleteColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*DeleteColumnResp, error)
// GetColumnWithResponse request
GetColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, reqEditors ...RequestEditorFn) (*GetColumnResp, error)
// UpdateColumnWithBodyWithResponse request with any body
UpdateColumnWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)
UpdateColumnWithResponse(ctx context.Context, datasetSlug DatasetSlug, columnId string, body UpdateColumnJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateColumnResp, error)
// ListDatasetDefinitionsWithResponse request
ListDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*ListDatasetDefinitionsResp, error)
// PatchDatasetDefinitionsWithBodyWithResponse request with any body
PatchDatasetDefinitionsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)
PatchDatasetDefinitionsWithResponse(ctx context.Context, datasetSlug DatasetSlug, body PatchDatasetDefinitionsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDatasetDefinitionsResp, error)
// ListDatasetsWithResponse request
ListDatasetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListDatasetsResp, error)
// CreateDatasetWithBodyWithResponse request with any body
CreateDatasetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)
CreateDatasetWithResponse(ctx context.Context, body CreateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetResp, error)
// DeleteDatasetWithResponse request
DeleteDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*DeleteDatasetResp, error)
// GetDatasetWithResponse request
GetDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, reqEditors ...RequestEditorFn) (*GetDatasetResp, error)
// UpdateDatasetWithBodyWithResponse request with any body
UpdateDatasetWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)
UpdateDatasetWithResponse(ctx context.Context, datasetSlug DatasetSlug, body UpdateDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetResp, error)
// ListCalculatedFieldsWithResponse request
ListCalculatedFieldsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListCalculatedFieldsParams, reqEditors ...RequestEditorFn) (*ListCalculatedFieldsResp, error)
// CreateCalculatedFieldWithBodyWithResponse request with any body
CreateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)
CreateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCalculatedFieldResp, error)
// DeleteCalculatedFieldWithResponse request
DeleteCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*DeleteCalculatedFieldResp, error)
// GetCalculatedFieldWithResponse request
GetCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, reqEditors ...RequestEditorFn) (*GetCalculatedFieldResp, error)
// UpdateCalculatedFieldWithBodyWithResponse request with any body
UpdateCalculatedFieldWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)
UpdateCalculatedFieldWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, derivedColumnId string, body UpdateCalculatedFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCalculatedFieldResp, error)
// CreateEventWithBodyWithResponse request with any body
CreateEventWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
CreateEventWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
// CreateKinesisEventsWithBodyWithResponse request with any body
CreateKinesisEventsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)
CreateKinesisEventsWithResponse(ctx context.Context, datasetSlug DatasetSlug, params *CreateKinesisEventsParams, body CreateKinesisEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKinesisEventsResp, error)
// CreateMapDependencyRequestWithBodyWithResponse request with any body
CreateMapDependencyRequestWithBodyWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMapDependencyRequestResp, error)
CreateMapDependencyRequestWithResponse(ctx context.Context, params *CreateMapDependencyRequestParams, body CreateMapDependencyRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMapDependencyRequestResp, error)
// GetMapDependenciesWithResponse request
GetMapDependenciesWithResponse(ctx context.Context, requestId string, params *GetMapDependenciesParams, reqEditors ...RequestEditorFn) (*GetMapDependenciesResp, error)
// ListMarkerSettingsWithResponse request
ListMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListMarkerSettingsResp, error)
// CreateMarkerSettingWithBodyWithResponse request with any body
CreateMarkerSettingWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)
CreateMarkerSettingWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerSettingJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerSettingResp, error)
// DeleteMarkerSettingsWithResponse request
DeleteMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, reqEditors ...RequestEditorFn) (*DeleteMarkerSettingsResp, error)
// UpdateMarkerSettingsWithBodyWithResponse request with any body
UpdateMarkerSettingsWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)
UpdateMarkerSettingsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerSettingId string, body UpdateMarkerSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerSettingsResp, error)
// GetMarkerWithResponse request
GetMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*GetMarkerResp, error)
// CreateMarkerWithBodyWithResponse request with any body
CreateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)
CreateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMarkerResp, error)
// DeleteMarkerWithResponse request
DeleteMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, reqEditors ...RequestEditorFn) (*DeleteMarkerResp, error)
// UpdateMarkerWithBodyWithResponse request with any body
UpdateMarkerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)
UpdateMarkerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, markerId string, body UpdateMarkerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMarkerResp, error)
// CreateQueryWithBodyWithResponse request with any body
CreateQueryWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)
CreateQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResp, error)
// GetQueryWithResponse request
GetQueryWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryId string, reqEditors ...RequestEditorFn) (*GetQueryResp, error)
// ListQueryAnnotationsWithResponse request
ListQueryAnnotationsWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, params *ListQueryAnnotationsParams, reqEditors ...RequestEditorFn) (*ListQueryAnnotationsResp, error)
// CreateQueryAnnotationWithBodyWithResponse request with any body
CreateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)
CreateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryAnnotationResp, error)
// DeleteQueryAnnotationWithResponse request
DeleteQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*DeleteQueryAnnotationResp, error)
// GetQueryAnnotationWithResponse request
GetQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, reqEditors ...RequestEditorFn) (*GetQueryAnnotationResp, error)
// UpdateQueryAnnotationWithBodyWithResponse request with any body
UpdateQueryAnnotationWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)
UpdateQueryAnnotationWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryAnnotationId string, body UpdateQueryAnnotationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQueryAnnotationResp, error)
// CreateQueryResultWithBodyWithResponse request with any body
CreateQueryResultWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)
CreateQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateQueryResultJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueryResultResp, error)
// GetQueryResultWithResponse request
GetQueryResultWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, queryResultId string, reqEditors ...RequestEditorFn) (*GetQueryResultResp, error)
// ListRecipientsWithResponse request
ListRecipientsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecipientsResp, error)
// CreateRecipientWithBodyWithResponse request with any body
CreateRecipientWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)
CreateRecipientWithResponse(ctx context.Context, body CreateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRecipientResp, error)
// DeleteRecipientWithResponse request
DeleteRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*DeleteRecipientResp, error)
// GetRecipientWithResponse request
GetRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*GetRecipientResp, error)
// UpdateRecipientWithBodyWithResponse request with any body
UpdateRecipientWithBodyWithResponse(ctx context.Context, recipientId RecipientId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)
UpdateRecipientWithResponse(ctx context.Context, recipientId RecipientId, body UpdateRecipientJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRecipientResp, error)
// ListTriggersWithRecipientWithResponse request
ListTriggersWithRecipientWithResponse(ctx context.Context, recipientId RecipientId, reqEditors ...RequestEditorFn) (*ListTriggersWithRecipientResp, error)
// GetSloHistoryWithBodyWithResponse request with any body
GetSloHistoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)
GetSloHistoryWithResponse(ctx context.Context, body GetSloHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*GetSloHistoryResp, error)
// ListSlosWithResponse request
ListSlosWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListSlosResp, error)
// CreateSloWithBodyWithResponse request with any body
CreateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSloResp, error)
CreateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSloResp, error)
// DeleteSloWithResponse request
DeleteSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, reqEditors ...RequestEditorFn) (*DeleteSloResp, error)
// GetSloWithResponse request
GetSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, params *GetSloParams, reqEditors ...RequestEditorFn) (*GetSloResp, error)
// UpdateSloWithBodyWithResponse request with any body
UpdateSloWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)
UpdateSloWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, sloId string, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloResp, error)
// ListTriggersWithResponse request
ListTriggersWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, reqEditors ...RequestEditorFn) (*ListTriggersResp, error)
// CreateTriggerWithBodyWithResponse request with any body
CreateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)
CreateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, body CreateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTriggerResp, error)
// DeleteTriggerWithResponse request
DeleteTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*DeleteTriggerResp, error)
// GetTriggerWithResponse request
GetTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, reqEditors ...RequestEditorFn) (*GetTriggerResp, error)
// UpdateTriggerWithBodyWithResponse request with any body
UpdateTriggerWithBodyWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)
UpdateTriggerWithResponse(ctx context.Context, datasetSlug DatasetSlugOrAll, triggerId string, body UpdateTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTriggerResp, error)
// GetV2AuthWithResponse request
GetV2AuthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV2AuthResp, error)
// ListApiKeysWithResponse request
ListApiKeysWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListApiKeysParams, reqEditors ...RequestEditorFn) (*ListApiKeysResp, error)
// CreateApiKeyWithBodyWithResponse request with any body
CreateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResp, error)
CreateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, body CreateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResp, error)
// DeleteApiKeyWithResponse request
DeleteApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteApiKeyResp, error)
// GetApiKeyWithResponse request
GetApiKeyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetApiKeyResp, error)
// UpdateApiKeyWithBodyWithResponse request with any body
UpdateApiKeyWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)
UpdateApiKeyWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, body UpdateApiKeyApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateApiKeyResp, error)
// ListEnvironmentsWithResponse request
ListEnvironmentsWithResponse(ctx context.Context, teamSlug TeamSlug, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResp, error)
// CreateEnvironmentWithBodyWithResponse request with any body
CreateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)
CreateEnvironmentWithApplicationVndAPIPlusJSONBodyWithResponse(ctx context.Context, teamSlug TeamSlug, body CreateEnvironmentApplicationVndAPIPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResp, error)
// DeleteEnvironmentWithResponse request
DeleteEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResp, error)
// GetEnvironmentWithResponse request
GetEnvironmentWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, reqEditors ...RequestEditorFn) (*GetEnvironmentResp, error)
// UpdateEnvironmentWithBodyWithResponse request with any body
UpdateEnvironmentWithBodyWithResponse(ctx context.Context, teamSlug TeamSlug, id ID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResp, error)
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 ConfigurationKeyAttributes ¶
type ConfigurationKeyAttributes struct {
// Disabled Whether the API Key is disabled
Disabled *bool `json:"disabled,omitempty"`
// KeyType The type of API Key
KeyType ConfigurationKeyAttributesKeyType `json:"key_type"`
// Name A human-readable name for the API 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"`
// 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.
Created *time.Time `json:"created,omitempty"`
// Updated The ISO8601-formatted time when the API Key was updated.
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
const (
ConfigurationKeyAttributesKeyTypeConfiguration ConfigurationKeyAttributesKeyType = "configuration"
)
Defines values for ConfigurationKeyAttributesKeyType.
type ConfigurationKeyRequest ¶
type ConfigurationKeyRequest struct {
Attributes struct {
// Disabled Whether the API Key is enabled
Disabled *bool `json:"disabled,omitempty"`
// Name A human-readable name for the API Key
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
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.
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 *ApiKeyCreateResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON413 *PayloadTooLarge
ApplicationvndApiJSON415 *UnsupportedMediaType
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseCreateApiKeyResp ¶
func ParseCreateApiKeyResp(rsp *http.Response) (*CreateApiKeyResp, error)
ParseCreateApiKeyResp parses an HTTP response from a CreateApiKeyWithResponse call
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 CreateBoardJSONRequestBody ¶
type CreateBoardJSONRequestBody = Board
CreateBoardJSONRequestBody defines body for CreateBoard for application/json ContentType.
type CreateBoardResp ¶
type CreateBoardResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Board
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateBoardResp ¶
func ParseCreateBoardResp(rsp *http.Response) (*CreateBoardResp, error)
ParseCreateBoardResp parses an HTTP response from a CreateBoardWithResponse call
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 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.
Name string `json:"name"`
}
CreateBoardViewRequest defines model for CreateBoardViewRequest.
type CreateBoardViewResp ¶
type CreateBoardViewResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *BoardViewResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateBoardViewResp ¶
func ParseCreateBoardViewResp(rsp *http.Response) (*CreateBoardViewResp, error)
ParseCreateBoardViewResp parses an HTTP response from a CreateBoardViewWithResponse call
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 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.
AlertType CreateBudgetRateBurnAlertRequestAlertType `json:"alert_type"`
// 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 |
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.
BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
Description *string `json:"description,omitempty"`
// Id Unique identifier (ID) of a Burn alert.
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.
Recipients []NotificationRecipient `json:"recipients"`
// Slo Details about the SLO associated with the burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( CreateBudgetRateBurnAlertRequestAlertTypeBudgetRate CreateBudgetRateBurnAlertRequestAlertType = "budget_rate" CreateBudgetRateBurnAlertRequestAlertTypeExhaustionTime CreateBudgetRateBurnAlertRequestAlertType = "exhaustion_time" )
Defines values for CreateBudgetRateBurnAlertRequestAlertType.
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 *BurnAlertDetailResponse
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateBurnAlertResp ¶
func ParseCreateBurnAlertResp(rsp *http.Response) (*CreateBurnAlertResp, error)
ParseCreateBurnAlertResp parses an HTTP response from a CreateBurnAlertWithResponse call
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 CreateCalculatedFieldJSONRequestBody ¶
type CreateCalculatedFieldJSONRequestBody = CalculatedField
CreateCalculatedFieldJSONRequestBody defines body for CreateCalculatedField for application/json ContentType.
type CreateCalculatedFieldResp ¶
type CreateCalculatedFieldResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CalculatedField
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseCreateCalculatedFieldResp ¶
func ParseCreateCalculatedFieldResp(rsp *http.Response) (*CreateCalculatedFieldResp, error)
ParseCreateCalculatedFieldResp parses an HTTP response from a CreateCalculatedFieldWithResponse call
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 CreateColumn ¶
type CreateColumn struct {
// CreatedAt ISO8601 formatted time the column was created.
CreatedAt *string `json:"created_at,omitempty"`
// Description Column description.
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.
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.
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 *Column
JSON400 *Error
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON422 *UnprocessableEntityApplicationJSON
ApplicationproblemJSON422 *UnprocessableEntityApplicationProblemPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseCreateColumnResp ¶
func ParseCreateColumnResp(rsp *http.Response) (*CreateColumnResp, error)
ParseCreateColumnResp parses an HTTP response from a CreateColumnWithResponse call
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 CreateColumnType ¶
type CreateColumnType string
CreateColumnType Type of data that the Column will contain. Histogram is in beta and only works in your Metrics dataset.
const ( Boolean CreateColumnType = "boolean" Float CreateColumnType = "float" Histogram CreateColumnType = "histogram" Integer CreateColumnType = "integer" String CreateColumnType = "string" )
Defines values for CreateColumnType.
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 *Dataset
JSON201 *Dataset
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON409 *Error
ApplicationproblemJSON409 *DetailedError
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateDatasetResp ¶
func ParseCreateDatasetResp(rsp *http.Response) (*CreateDatasetResp, error)
ParseCreateDatasetResp parses an HTTP response from a CreateDatasetWithResponse call
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 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.
type CreateEnvironmentResp ¶
type CreateEnvironmentResp struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON201 *EnvironmentResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON413 *PayloadTooLarge
ApplicationvndApiJSON415 *UnsupportedMediaType
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseCreateEnvironmentResp ¶
func ParseCreateEnvironmentResp(rsp *http.Response) (*CreateEnvironmentResp, error)
ParseCreateEnvironmentResp parses an HTTP response from a CreateEnvironmentWithResponse call
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 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 *Error
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *Error
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *Error
}
func ParseCreateEventResp ¶
func ParseCreateEventResp(rsp *http.Response) (*CreateEventResp, error)
ParseCreateEventResp parses an HTTP response from a CreateEventWithResponse call
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 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.
const ( Gzip CreateEventsParamsContentEncoding = "gzip" Zstd CreateEventsParamsContentEncoding = "zstd" )
Defines values for CreateEventsParamsContentEncoding.
type CreateEventsResp ¶
type CreateEventsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]struct {
Error *string `json:"error,omitempty"`
Status *float32 `json:"status,omitempty"`
}
JSON400 *Error
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *Error
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *Error
}
func ParseCreateEventsResp ¶
func ParseCreateEventsResp(rsp *http.Response) (*CreateEventsResp, error)
ParseCreateEventsResp parses an HTTP response from a CreateEventsWithResponse call
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 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.
AlertType *CreateExhaustionTimeBurnAlertRequestAlertType `json:"alert_type,omitempty"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
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.
ExhaustionMinutes int `json:"exhaustion_minutes"`
// Id Unique identifier (ID) of a Burn alert.
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.
Recipients []NotificationRecipient `json:"recipients"`
// Slo Details about the SLO associated with the burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( CreateExhaustionTimeBurnAlertRequestAlertTypeBudgetRate CreateExhaustionTimeBurnAlertRequestAlertType = "budget_rate" CreateExhaustionTimeBurnAlertRequestAlertTypeExhaustionTime CreateExhaustionTimeBurnAlertRequestAlertType = "exhaustion_time" )
Defines values for CreateExhaustionTimeBurnAlertRequestAlertType.
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 *KinesisResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateKinesisEventsResp ¶
func ParseCreateKinesisEventsResp(rsp *http.Response) (*CreateKinesisEventsResp, error)
ParseCreateKinesisEventsResp parses an HTTP response from a CreateKinesisEventsWithResponse call
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).
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).
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).
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.
RequestId *string `json:"request_id,omitempty"`
// Status Status of the Map Dependency Request.
Status *CreateMapDependenciesResponseStatus `json:"status,omitempty"`
}
CreateMapDependenciesResponse Response for a Map Dependency Request.
type CreateMapDependenciesResponseStatus ¶
type CreateMapDependenciesResponseStatus string
CreateMapDependenciesResponseStatus Status of the Map Dependency Request.
const ( CreateMapDependenciesResponseStatusError CreateMapDependenciesResponseStatus = "error" CreateMapDependenciesResponseStatusPending CreateMapDependenciesResponseStatus = "pending" CreateMapDependenciesResponseStatusReady CreateMapDependenciesResponseStatus = "ready" )
Defines values for CreateMapDependenciesResponseStatus.
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 *CreateMapDependenciesResponse
JSON201 *CreateMapDependenciesResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateMapDependencyRequestResp ¶
func ParseCreateMapDependencyRequestResp(rsp *http.Response) (*CreateMapDependencyRequestResp, error)
ParseCreateMapDependencyRequestResp parses an HTTP response from a CreateMapDependencyRequestWithResponse call
func (CreateMapDependencyRequestResp) Status ¶
func (r CreateMapDependencyRequestResp) Status() string
Status returns HTTPResponse.Status
func (CreateMapDependencyRequestResp) StatusCode ¶
func (r CreateMapDependencyRequestResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 *Marker
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateMarkerResp ¶
func ParseCreateMarkerResp(rsp *http.Response) (*CreateMarkerResp, error)
ParseCreateMarkerResp parses an HTTP response from a CreateMarkerWithResponse call
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 CreateMarkerSettingJSONRequestBody ¶
type CreateMarkerSettingJSONRequestBody = MarkerSetting
CreateMarkerSettingJSONRequestBody defines body for CreateMarkerSetting for application/json ContentType.
type CreateMarkerSettingResp ¶
type CreateMarkerSettingResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *MarkerSetting
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseCreateMarkerSettingResp ¶
func ParseCreateMarkerSettingResp(rsp *http.Response) (*CreateMarkerSettingResp, error)
ParseCreateMarkerSettingResp parses an HTTP response from a CreateMarkerSettingWithResponse call
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 CreateQueryAnnotationJSONRequestBody ¶
type CreateQueryAnnotationJSONRequestBody = QueryAnnotation
CreateQueryAnnotationJSONRequestBody defines body for CreateQueryAnnotation for application/json ContentType.
type CreateQueryAnnotationResp ¶
type CreateQueryAnnotationResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *QueryAnnotation
JSON400 *Error
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateQueryAnnotationResp ¶
func ParseCreateQueryAnnotationResp(rsp *http.Response) (*CreateQueryAnnotationResp, error)
ParseCreateQueryAnnotationResp parses an HTTP response from a CreateQueryAnnotationWithResponse call
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 CreateQueryJSONRequestBody ¶
type CreateQueryJSONRequestBody = Query
CreateQueryJSONRequestBody defines body for CreateQuery for application/json ContentType.
type CreateQueryResp ¶
type CreateQueryResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Query
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseCreateQueryResp ¶
func ParseCreateQueryResp(rsp *http.Response) (*CreateQueryResp, error)
ParseCreateQueryResp parses an HTTP response from a CreateQueryWithResponse call
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 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/).
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 *QueryResult
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
ApplicationproblemJSON429 *DetailedError
JSONDefault *GenericError
}
func ParseCreateQueryResultResp ¶
func ParseCreateQueryResultResp(rsp *http.Response) (*CreateQueryResultResp, error)
ParseCreateQueryResultResp parses an HTTP response from a CreateQueryResultWithResponse call
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 CreateRecipientJSONRequestBody ¶
type CreateRecipientJSONRequestBody = Recipient
CreateRecipientJSONRequestBody defines body for CreateRecipient for application/json ContentType.
type CreateRecipientResp ¶
type CreateRecipientResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Recipient
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
}
func ParseCreateRecipientResp ¶
func ParseCreateRecipientResp(rsp *http.Response) (*CreateRecipientResp, error)
ParseCreateRecipientResp parses an HTTP response from a CreateRecipientWithResponse call
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 CreateSloJSONRequestBody ¶
type CreateSloJSONRequestBody = SLOCreate
CreateSloJSONRequestBody defines body for CreateSlo for application/json ContentType.
type CreateSloResp ¶
type CreateSloResp struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SLOCreate
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseCreateSloResp ¶
func ParseCreateSloResp(rsp *http.Response) (*CreateSloResp, error)
ParseCreateSloResp parses an HTTP response from a CreateSloWithResponse call
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 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 *TriggerResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON413 *PayloadTooLarge
JSON422 *UnprocessableEntityApplicationJSON
ApplicationproblemJSON422 *UnprocessableEntityApplicationProblemPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseCreateTriggerResp ¶
func ParseCreateTriggerResp(rsp *http.Response) (*CreateTriggerResp, error)
ParseCreateTriggerResp parses an HTTP response from a CreateTriggerWithResponse call
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 CreatorRelationship ¶
type CreatorRelationship = UserRelationship
CreatorRelationship defines model for CreatorRelationship.
type Dataset ¶
type Dataset struct {
// CreatedAt The ISO8601-formatted time when the dataset was created.
CreatedAt *string `json:"created_at,omitempty"`
// Description A description for the dataset.
Description *string `json:"description,omitempty"`
// ExpandJsonDepth The maximum unpacking depth of nested JSON fields.
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.
LastWrittenAt nullable.Nullable[string] `json:"last_written_at,omitempty"`
// Name The name of the 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.
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.
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.
Description *string `json:"description,omitempty"`
// ExpandJsonDepth The maximum unpacking depth of nested JSON fields.
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 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.
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 *DatasetDefinition `json:"annotation_type,omitempty"`
// DurationMs Span Duration - How much time the span took, in milliseconds.
DurationMs *DatasetDefinition `json:"duration_ms,omitempty"`
// Error Use a Boolean or String to indicate error.
Error *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 *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 *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 *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 *DatasetDefinition `json:"log_severity,omitempty"`
// Name The name of the function or method where the span was created.
Name *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 *DatasetDefinition `json:"parent_id,omitempty"`
// Route The HTTP URL or equivalent route processed by the request.
Route *DatasetDefinition `json:"route,omitempty"`
// ServiceName The name of the instrumented service.
ServiceName *DatasetDefinition `json:"service_name,omitempty"`
// SpanId The unique identifier (ID) for each span.
SpanId *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 *DatasetDefinition `json:"span_kind,omitempty"`
// Status Indicates the success, failure, or other status of a request.
Status *DatasetDefinition `json:"status,omitempty"`
// TraceId The ID of the trace this span belongs to.
TraceId *DatasetDefinition `json:"trace_id,omitempty"`
// User The user making the request in the system.
User *DatasetDefinition `json:"user,omitempty"`
}
DatasetDefinitions Dataset Definitions describe the fields with special meaning in the Dataset.
type DatasetSlugOrAll ¶
type DatasetSlugOrAll = string
DatasetSlugOrAll defines model for datasetSlugOrAll.
type DatasetUpdatePayload ¶
type DatasetUpdatePayload struct {
// Description A description for the dataset.
Description string `json:"description"`
// ExpandJsonDepth The maximum unpacking depth of nested JSON fields.
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 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseDeleteApiKeyResp ¶
func ParseDeleteApiKeyResp(rsp *http.Response) (*DeleteApiKeyResp, error)
ParseDeleteApiKeyResp parses an HTTP response from a DeleteApiKeyWithResponse call
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 DeleteBoardResp ¶
type DeleteBoardResp struct {
Body []byte
HTTPResponse *http.Response
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseDeleteBoardResp ¶
func ParseDeleteBoardResp(rsp *http.Response) (*DeleteBoardResp, error)
ParseDeleteBoardResp parses an HTTP response from a DeleteBoardWithResponse call
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 DeleteBoardViewResp ¶
type DeleteBoardViewResp struct {
Body []byte
HTTPResponse *http.Response
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseDeleteBoardViewResp ¶
func ParseDeleteBoardViewResp(rsp *http.Response) (*DeleteBoardViewResp, error)
ParseDeleteBoardViewResp parses an HTTP response from a DeleteBoardViewWithResponse call
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 DeleteBurnAlertResp ¶
type DeleteBurnAlertResp struct {
Body []byte
HTTPResponse *http.Response
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseDeleteBurnAlertResp ¶
func ParseDeleteBurnAlertResp(rsp *http.Response) (*DeleteBurnAlertResp, error)
ParseDeleteBurnAlertResp parses an HTTP response from a DeleteBurnAlertWithResponse call
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 DeleteCalculatedFieldResp ¶
type DeleteCalculatedFieldResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseDeleteCalculatedFieldResp ¶
func ParseDeleteCalculatedFieldResp(rsp *http.Response) (*DeleteCalculatedFieldResp, error)
ParseDeleteCalculatedFieldResp parses an HTTP response from a DeleteCalculatedFieldWithResponse call
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 DeleteColumnResp ¶
type DeleteColumnResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseDeleteColumnResp ¶
func ParseDeleteColumnResp(rsp *http.Response) (*DeleteColumnResp, error)
ParseDeleteColumnResp parses an HTTP response from a DeleteColumnWithResponse call
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 DeleteDatasetResp ¶
type DeleteDatasetResp struct {
Body []byte
HTTPResponse *http.Response
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseDeleteDatasetResp ¶
func ParseDeleteDatasetResp(rsp *http.Response) (*DeleteDatasetResp, error)
ParseDeleteDatasetResp parses an HTTP response from a DeleteDatasetWithResponse call
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 DeleteEnvironmentResp ¶
type DeleteEnvironmentResp struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseDeleteEnvironmentResp ¶
func ParseDeleteEnvironmentResp(rsp *http.Response) (*DeleteEnvironmentResp, error)
ParseDeleteEnvironmentResp parses an HTTP response from a DeleteEnvironmentWithResponse call
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 DeleteMarkerResp ¶
type DeleteMarkerResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Marker
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseDeleteMarkerResp ¶
func ParseDeleteMarkerResp(rsp *http.Response) (*DeleteMarkerResp, error)
ParseDeleteMarkerResp parses an HTTP response from a DeleteMarkerWithResponse call
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 DeleteMarkerSettingsResp ¶
type DeleteMarkerSettingsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MarkerSetting
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseDeleteMarkerSettingsResp ¶
func ParseDeleteMarkerSettingsResp(rsp *http.Response) (*DeleteMarkerSettingsResp, error)
ParseDeleteMarkerSettingsResp parses an HTTP response from a DeleteMarkerSettingsWithResponse call
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 DeleteQueryAnnotationResp ¶
type DeleteQueryAnnotationResp struct {
Body []byte
HTTPResponse *http.Response
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseDeleteQueryAnnotationResp ¶
func ParseDeleteQueryAnnotationResp(rsp *http.Response) (*DeleteQueryAnnotationResp, error)
ParseDeleteQueryAnnotationResp parses an HTTP response from a DeleteQueryAnnotationWithResponse call
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 DeleteRecipientResp ¶
type DeleteRecipientResp struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Error
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
}
func ParseDeleteRecipientResp ¶
func ParseDeleteRecipientResp(rsp *http.Response) (*DeleteRecipientResp, error)
ParseDeleteRecipientResp parses an HTTP response from a DeleteRecipientWithResponse call
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 DeleteSloResp ¶
type DeleteSloResp struct {
Body []byte
HTTPResponse *http.Response
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseDeleteSloResp ¶
func ParseDeleteSloResp(rsp *http.Response) (*DeleteSloResp, error)
ParseDeleteSloResp parses an HTTP response from a DeleteSloWithResponse call
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 DeleteTriggerResp ¶
type DeleteTriggerResp struct {
Body []byte
HTTPResponse *http.Response
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseDeleteTriggerResp ¶
func ParseDeleteTriggerResp(rsp *http.Response) (*DeleteTriggerResp, error)
ParseDeleteTriggerResp parses an HTTP response from a DeleteTriggerWithResponse call
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 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.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Details Specific schema for the Email Recipient Type
Details *struct {
// EmailAddress Email address to notify.
EmailAddress string `json:"email_address"`
} `json:"details,omitempty"`
Id *string `json:"id,omitempty"`
Type *EmailRecipientType `json:"type,omitempty"`
// UpdatedAt ISO8601 formatted time the Recipient was updated.
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.
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.
type EnvironmentColor ¶
type EnvironmentColor string
EnvironmentColor defines model for EnvironmentColor.
const ( Blue EnvironmentColor = "blue" Gold EnvironmentColor = "gold" Green EnvironmentColor = "green" LightBlue EnvironmentColor = "lightBlue" LightGold EnvironmentColor = "lightGold" LightGreen EnvironmentColor = "lightGreen" LightPurple EnvironmentColor = "lightPurple" LightRed EnvironmentColor = "lightRed" Purple EnvironmentColor = "purple" Red EnvironmentColor = "red" )
Defines values for EnvironmentColor.
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.
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.
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.
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 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.
AlertType *ExhaustionTimeBurnAlertAlertType `json:"alert_type,omitempty"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
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.
ExhaustionMinutes int `json:"exhaustion_minutes"`
// Id Unique identifier (ID) of a Burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( ExhaustionTimeBurnAlertAlertTypeBudgetRate ExhaustionTimeBurnAlertAlertType = "budget_rate" ExhaustionTimeBurnAlertAlertTypeExhaustionTime ExhaustionTimeBurnAlertAlertType = "exhaustion_time" )
Defines values for ExhaustionTimeBurnAlertAlertType.
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.
AlertType *ExhaustionTimeBurnAlertDetailResponseAlertType `json:"alert_type,omitempty"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
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.
ExhaustionMinutes int `json:"exhaustion_minutes"`
// Id Unique identifier (ID) of a Burn alert.
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.
Recipients *[]NotificationRecipient `json:"recipients,omitempty"`
// Slo Details about the SLO associated with the burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( ExhaustionTimeBurnAlertDetailResponseAlertTypeBudgetRate ExhaustionTimeBurnAlertDetailResponseAlertType = "budget_rate" ExhaustionTimeBurnAlertDetailResponseAlertTypeExhaustionTime ExhaustionTimeBurnAlertDetailResponseAlertType = "exhaustion_time" )
Defines values for ExhaustionTimeBurnAlertDetailResponseAlertType.
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.
AlertType *ExhaustionTimeBurnAlertListResponseAlertType `json:"alert_type,omitempty"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
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.
ExhaustionMinutes int `json:"exhaustion_minutes"`
// Id Unique identifier (ID) of a Burn alert.
Id *string `json:"id,omitempty"`
// Slo Details about the SLO associated with the burn alert.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( ExhaustionTimeBurnAlertListResponseAlertTypeBudgetRate ExhaustionTimeBurnAlertListResponseAlertType = "budget_rate" ExhaustionTimeBurnAlertListResponseAlertTypeExhaustionTime ExhaustionTimeBurnAlertListResponseAlertType = "exhaustion_time" )
Defines values for ExhaustionTimeBurnAlertListResponseAlertType.
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.
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.
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 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 *ApiKeyResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseGetApiKeyResp ¶
func ParseGetApiKeyResp(rsp *http.Response) (*GetApiKeyResp, error)
ParseGetApiKeyResp parses an HTTP response from a GetApiKeyWithResponse call
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 GetAuthResp ¶
type GetAuthResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Auth
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetAuthResp ¶
func ParseGetAuthResp(rsp *http.Response) (*GetAuthResp, error)
ParseGetAuthResp parses an HTTP response from a GetAuthWithResponse call
func (GetAuthResp) StatusCode ¶
func (r GetAuthResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBoardResp ¶
type GetBoardResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Board
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetBoardResp ¶
func ParseGetBoardResp(rsp *http.Response) (*GetBoardResp, error)
ParseGetBoardResp parses an HTTP response from a GetBoardWithResponse call
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 GetBoardViewResp ¶
type GetBoardViewResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BoardViewResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetBoardViewResp ¶
func ParseGetBoardViewResp(rsp *http.Response) (*GetBoardViewResp, error)
ParseGetBoardViewResp parses an HTTP response from a GetBoardViewWithResponse call
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 GetBurnAlertResp ¶
type GetBurnAlertResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BurnAlertDetailResponse
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetBurnAlertResp ¶
func ParseGetBurnAlertResp(rsp *http.Response) (*GetBurnAlertResp, error)
ParseGetBurnAlertResp parses an HTTP response from a GetBurnAlertWithResponse call
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 GetCalculatedFieldResp ¶
type GetCalculatedFieldResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CalculatedField
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseGetCalculatedFieldResp ¶
func ParseGetCalculatedFieldResp(rsp *http.Response) (*GetCalculatedFieldResp, error)
ParseGetCalculatedFieldResp parses an HTTP response from a GetCalculatedFieldWithResponse call
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 GetColumnResp ¶
type GetColumnResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Column
JSON400 *Error
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseGetColumnResp ¶
func ParseGetColumnResp(rsp *http.Response) (*GetColumnResp, error)
ParseGetColumnResp parses an HTTP response from a GetColumnWithResponse call
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 GetDatasetResp ¶
type GetDatasetResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Dataset
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetDatasetResp ¶
func ParseGetDatasetResp(rsp *http.Response) (*GetDatasetResp, error)
ParseGetDatasetResp parses an HTTP response from a GetDatasetWithResponse call
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 GetEnvironmentResp ¶
type GetEnvironmentResp struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *EnvironmentResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseGetEnvironmentResp ¶
func ParseGetEnvironmentResp(rsp *http.Response) (*GetEnvironmentResp, error)
ParseGetEnvironmentResp parses an HTTP response from a GetEnvironmentWithResponse call
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 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 *GetMapDependenciesResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetMapDependenciesResp ¶
func ParseGetMapDependenciesResp(rsp *http.Response) (*GetMapDependenciesResp, error)
ParseGetMapDependenciesResp parses an HTTP response from a GetMapDependenciesWithResponse call
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 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.
RequestId *string `json:"request_id,omitempty"`
// Status Status of the Map Dependency Request.
Status *GetMapDependenciesResponseStatus `json:"status,omitempty"`
}
GetMapDependenciesResponse Response containing map dependencies data.
type GetMapDependenciesResponseStatus ¶
type GetMapDependenciesResponseStatus string
GetMapDependenciesResponseStatus Status of the Map Dependency Request.
const ( GetMapDependenciesResponseStatusError GetMapDependenciesResponseStatus = "error" GetMapDependenciesResponseStatusPending GetMapDependenciesResponseStatus = "pending" GetMapDependenciesResponseStatusReady GetMapDependenciesResponseStatus = "ready" )
Defines values for GetMapDependenciesResponseStatus.
type GetMarkerResp ¶
type GetMarkerResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Marker
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetMarkerResp ¶
func ParseGetMarkerResp(rsp *http.Response) (*GetMarkerResp, error)
ParseGetMarkerResp parses an HTTP response from a GetMarkerWithResponse call
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 GetQueryAnnotationResp ¶
type GetQueryAnnotationResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *QueryAnnotation
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetQueryAnnotationResp ¶
func ParseGetQueryAnnotationResp(rsp *http.Response) (*GetQueryAnnotationResp, error)
ParseGetQueryAnnotationResp parses an HTTP response from a GetQueryAnnotationWithResponse call
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 GetQueryResp ¶
type GetQueryResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Query
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseGetQueryResp ¶
func ParseGetQueryResp(rsp *http.Response) (*GetQueryResp, error)
ParseGetQueryResp parses an HTTP response from a GetQueryWithResponse call
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 GetQueryResultResp ¶
type GetQueryResultResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *QueryResultDetails
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetQueryResultResp ¶
func ParseGetQueryResultResp(rsp *http.Response) (*GetQueryResultResp, error)
ParseGetQueryResultResp parses an HTTP response from a GetQueryResultWithResponse call
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 GetRecipientResp ¶
type GetRecipientResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Recipient
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
}
func ParseGetRecipientResp ¶
func ParseGetRecipientResp(rsp *http.Response) (*GetRecipientResp, error)
ParseGetRecipientResp parses an HTTP response from a GetRecipientWithResponse call
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 GetSloHistoryJSONRequestBody ¶
type GetSloHistoryJSONRequestBody = SLOHistoryRequest
GetSloHistoryJSONRequestBody defines body for GetSloHistory for application/json ContentType.
type GetSloHistoryResp ¶
type GetSloHistoryResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SLOHistoryResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetSloHistoryResp ¶
func ParseGetSloHistoryResp(rsp *http.Response) (*GetSloHistoryResp, error)
ParseGetSloHistoryResp parses an HTTP response from a GetSloHistoryWithResponse call
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 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 GetSloResp ¶
type GetSloResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseGetSloResp ¶
func ParseGetSloResp(rsp *http.Response) (*GetSloResp, error)
ParseGetSloResp parses an HTTP response from a GetSloWithResponse call
func (GetSloResp) StatusCode ¶
func (r GetSloResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTriggerResp ¶
type GetTriggerResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TriggerResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseGetTriggerResp ¶
func ParseGetTriggerResp(rsp *http.Response) (*GetTriggerResp, error)
ParseGetTriggerResp parses an HTTP response from a GetTriggerWithResponse call
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 GetV2AuthResp ¶
type GetV2AuthResp struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *AuthV2Response
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseGetV2AuthResp ¶
func ParseGetV2AuthResp(rsp *http.Response) (*GetV2AuthResp, error)
ParseGetV2AuthResp parses an HTTP response from a GetV2AuthWithResponse call
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 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.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IncludedResource ¶
type IncludedResource struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
// Id The unique identifier of the resource
Id *string `json:"id,omitempty"`
Type *string `json:"type,omitempty"`
}
IncludedResource defines model for IncludedResource.
type IngestKeyAttributes ¶
type IngestKeyAttributes struct {
// Disabled Whether the API Key is disabled
Disabled *bool `json:"disabled,omitempty"`
// KeyType The type of API Key
KeyType IngestKeyAttributesKeyType `json:"key_type"`
// Name A human-readable name for the API 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"`
// TimeToLive An optional property of an ingest key that determines the time at which the key becomes unauthorized.
// When the time_to_live passes, the key will no longer be usable. The time_to_live property can only
// be set when the key is created and cannot be changed.
// Expressed as a RFC3339-formatted time.
TimeToLive *string `json:"time_to_live,omitempty"`
Timestamps *struct {
// Created The ISO8601-formatted time when the API Key was created.
Created *time.Time `json:"created,omitempty"`
// Updated The ISO8601-formatted time when the API Key was updated.
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
const (
IngestKeyAttributesKeyTypeIngest IngestKeyAttributesKeyType = "ingest"
)
Defines values for IngestKeyAttributesKeyType.
type IngestKeyRequest ¶
type IngestKeyRequest struct {
Attributes struct {
// Disabled Whether the Ingest Key is disabled
Disabled *bool `json:"disabled,omitempty"`
// Name A human-readable name for the Ingest Key
Name *string `json:"name,omitempty"`
} `json:"attributes"`
// Id The unique identifier of the Ingest Key ID with hcxik_ prefix
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.
type IngestKeyType ¶
type IngestKeyType struct {
// KeyType The type of API Key
KeyType IngestKeyTypeKeyType `json:"key_type"`
// TimeToLive An optional property of an ingest key that determines the time at which the key becomes unauthorized.
// When the time_to_live passes, the key will no longer be usable. The time_to_live property can only
// be set when the key is created and cannot be changed.
// Expressed as a RFC3339-formatted time.
TimeToLive *string `json:"time_to_live,omitempty"`
}
IngestKeyType defines model for IngestKeyType.
type IngestKeyTypeKeyType ¶
type IngestKeyTypeKeyType string
IngestKeyTypeKeyType The type of API Key
const (
IngestKeyTypeKeyTypeIngest IngestKeyTypeKeyType = "ingest"
)
Defines values for IngestKeyTypeKeyType.
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 ( Configuration ListApiKeysParamsFilterType = "configuration" Ingest ListApiKeysParamsFilterType = "ingest" )
Defines values for ListApiKeysParamsFilterType.
type ListApiKeysResp ¶
type ListApiKeysResp struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *ApiKeyListResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseListApiKeysResp ¶
func ParseListApiKeysResp(rsp *http.Response) (*ListApiKeysResp, error)
ParseListApiKeysResp parses an HTTP response from a ListApiKeysWithResponse call
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 ListBoardViewsResp ¶
type ListBoardViewsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]BoardViewResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListBoardViewsResp ¶
func ParseListBoardViewsResp(rsp *http.Response) (*ListBoardViewsResp, error)
ParseListBoardViewsResp parses an HTTP response from a ListBoardViewsWithResponse call
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 ListBoardsResp ¶
type ListBoardsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Board
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListBoardsResp ¶
func ParseListBoardsResp(rsp *http.Response) (*ListBoardsResp, error)
ParseListBoardsResp parses an HTTP response from a ListBoardsWithResponse call
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 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 *[]BurnAlertListResponse
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListBurnAlertsBySloResp ¶
func ParseListBurnAlertsBySloResp(rsp *http.Response) (*ListBurnAlertsBySloResp, error)
ParseListBurnAlertsBySloResp parses an HTTP response from a ListBurnAlertsBySloWithResponse call
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 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 *struct {
// contains filtered or unexported fields
}
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseListCalculatedFieldsResp ¶
func ParseListCalculatedFieldsResp(rsp *http.Response) (*ListCalculatedFieldsResp, error)
ParseListCalculatedFieldsResp parses an HTTP response from a ListCalculatedFieldsWithResponse call
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 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 *struct {
// contains filtered or unexported fields
}
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseListColumnsResp ¶
func ParseListColumnsResp(rsp *http.Response) (*ListColumnsResp, error)
ParseListColumnsResp parses an HTTP response from a ListColumnsWithResponse call
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 ListDatasetDefinitionsResp ¶
type ListDatasetDefinitionsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DatasetDefinitions
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
}
func ParseListDatasetDefinitionsResp ¶
func ParseListDatasetDefinitionsResp(rsp *http.Response) (*ListDatasetDefinitionsResp, error)
ParseListDatasetDefinitionsResp parses an HTTP response from a ListDatasetDefinitionsWithResponse call
func (ListDatasetDefinitionsResp) Status ¶
func (r ListDatasetDefinitionsResp) Status() string
Status returns HTTPResponse.Status
func (ListDatasetDefinitionsResp) StatusCode ¶
func (r ListDatasetDefinitionsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDatasetsResp ¶
type ListDatasetsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Dataset
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListDatasetsResp ¶
func ParseListDatasetsResp(rsp *http.Response) (*ListDatasetsResp, error)
ParseListDatasetsResp parses an HTTP response from a ListDatasetsWithResponse call
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 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 *EnvironmentListResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseListEnvironmentsResp ¶
func ParseListEnvironmentsResp(rsp *http.Response) (*ListEnvironmentsResp, error)
ParseListEnvironmentsResp parses an HTTP response from a ListEnvironmentsWithResponse call
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 ListMarkerSettingsResp ¶
type ListMarkerSettingsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]MarkerSetting
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseListMarkerSettingsResp ¶
func ParseListMarkerSettingsResp(rsp *http.Response) (*ListMarkerSettingsResp, error)
ParseListMarkerSettingsResp parses an HTTP response from a ListMarkerSettingsWithResponse call
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 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 *[]QueryAnnotation
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListQueryAnnotationsResp ¶
func ParseListQueryAnnotationsResp(rsp *http.Response) (*ListQueryAnnotationsResp, error)
ParseListQueryAnnotationsResp parses an HTTP response from a ListQueryAnnotationsWithResponse call
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 ListRecipientsResp ¶
type ListRecipientsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Recipient
JSON401 *Error
}
func ParseListRecipientsResp ¶
func ParseListRecipientsResp(rsp *http.Response) (*ListRecipientsResp, error)
ParseListRecipientsResp parses an HTTP response from a ListRecipientsWithResponse call
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 ListSlosResp ¶
type ListSlosResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]SLO
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListSlosResp ¶
func ParseListSlosResp(rsp *http.Response) (*ListSlosResp, error)
ParseListSlosResp parses an HTTP response from a ListSlosWithResponse call
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 ListTriggersResp ¶
type ListTriggersResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]TriggerResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListTriggersResp ¶
func ParseListTriggersResp(rsp *http.Response) (*ListTriggersResp, error)
ParseListTriggersResp parses an HTTP response from a ListTriggersWithResponse call
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 ListTriggersWithRecipientResp ¶
type ListTriggersWithRecipientResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]TriggerResponse
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseListTriggersWithRecipientResp ¶
func ParseListTriggersWithRecipientResp(rsp *http.Response) (*ListTriggersWithRecipientResp, error)
ParseListTriggersWithRecipientResp parses an HTTP response from a ListTriggersWithRecipientWithResponse call
func (ListTriggersWithRecipientResp) Status ¶
func (r ListTriggersWithRecipientResp) Status() string
Status returns HTTPResponse.Status
func (ListTriggersWithRecipientResp) StatusCode ¶
func (r ListTriggersWithRecipientResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MSTeamsRecipient ¶
type MSTeamsRecipient struct {
// CreatedAt ISO8601 formatted time the Recipient was created.
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.
WebhookName string `json:"webhook_name"`
// WebhookUrl Incoming webhook URL of an Teams instance.
WebhookUrl string `json:"webhook_url"`
} `json:"details,omitempty"`
Id *string `json:"id,omitempty"`
Type *MSTeamsRecipientType `json:"type,omitempty"`
// UpdatedAt ISO8601 formatted time the Recipient was updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
MSTeamsRecipient defines model for MSTeamsRecipient.
type MSTeamsRecipientType ¶
type MSTeamsRecipientType string
MSTeamsRecipientType defines model for MSTeamsRecipient.Type.
const (
Msteams MSTeamsRecipientType = "msteams"
)
Defines values for MSTeamsRecipientType.
type MSTeamsWorkflowRecipient ¶
type MSTeamsWorkflowRecipient struct {
// CreatedAt ISO8601 formatted time the Recipient was created.
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.
WebhookName string `json:"webhook_name"`
// WebhookUrl Incoming webhook URL of an Teams instance.
WebhookUrl string `json:"webhook_url"`
} `json:"details,omitempty"`
Id *string `json:"id,omitempty"`
Type *MSTeamsWorkflowRecipientType `json:"type,omitempty"`
// UpdatedAt ISO8601 formatted time the Recipient was updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
MSTeamsWorkflowRecipient defines model for MSTeamsWorkflowRecipient.
type MSTeamsWorkflowRecipientType ¶
type MSTeamsWorkflowRecipientType string
MSTeamsWorkflowRecipientType defines model for MSTeamsWorkflowRecipient.Type.
const (
MsteamsWorkflow MSTeamsWorkflowRecipientType = "msteams_workflow"
)
Defines values for MSTeamsWorkflowRecipientType.
type MapDependency ¶
type MapDependency struct {
// CallCount Number of calls between the parent and child services.
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.
Name string `json:"name"`
// Type Type of the node. Currently only "service" is supported. Defaults to "service" if not specified.
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.
const (
Service MapNodeType = "service"
)
Defines values for MapNodeType.
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.
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.
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.
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.
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.
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".
Color string `json:"color"`
// CreatedAt The ISO8601-formatted time when the Marker Setting was created.
CreatedAt *string `json:"created_at,omitempty"`
// Id The unique identifier (ID) for the Marker Setting.
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.
Type string `json:"type"`
// UpdatedAt The ISO8601-formatted time when the Marker Setting was updated.
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 {
// 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 string `json:"name"`
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.
type PagerDutyRecipient ¶
type PagerDutyRecipient struct {
// CreatedAt ISO8601 formatted time the Recipient was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Details Specific schema for the Pagerduty Recipient Type
Details *struct {
// PagerdutyIntegrationKey Pagerduty Integration Key.
PagerdutyIntegrationKey string `json:"pagerduty_integration_key"`
// PagerdutyIntegrationName A name for this Integration.
PagerdutyIntegrationName string `json:"pagerduty_integration_name"`
} `json:"details,omitempty"`
Id *string `json:"id,omitempty"`
Type *PagerDutyRecipientType `json:"type,omitempty"`
// UpdatedAt ISO8601 formatted time the Recipient was updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
PagerDutyRecipient defines model for PagerDutyRecipient.
type PagerDutyRecipientType ¶
type PagerDutyRecipientType string
PagerDutyRecipientType defines model for PagerDutyRecipient.Type.
const (
Pagerduty PagerDutyRecipientType = "pagerduty"
)
Defines values for PagerDutyRecipientType.
type PaginationCursor ¶
type PaginationCursor = string
PaginationCursor defines model for PaginationCursor.
type PaginationLinks ¶
type PaginationLinks struct {
// Next The URL for the next page of results.
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 *DatasetDefinitions
JSON400 *DetailedError
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *Error
}
func ParsePatchDatasetDefinitionsResp ¶
func ParsePatchDatasetDefinitionsResp(rsp *http.Response) (*PatchDatasetDefinitionsResp, error)
ParsePatchDatasetDefinitionsResp parses an HTTP response from a PatchDatasetDefinitionsWithResponse call
func (PatchDatasetDefinitionsResp) Status ¶
func (r PatchDatasetDefinitionsResp) Status() string
Status returns HTTPResponse.Status
func (PatchDatasetDefinitionsResp) StatusCode ¶
func (r PatchDatasetDefinitionsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PayloadTemplate ¶
type PayloadTemplate struct {
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.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Query.
Description *string `json:"description,omitempty"`
// Id The unique identifier (ID) of a Query Annotation.
Id *string `json:"id,omitempty"`
// Name A name for the 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.
QueryId string `json:"query_id"`
// Source The source of the Query Annotation.
Source *QueryAnnotationSource `json:"source,omitempty"`
// UpdatedAt ISO8601 formatted time when the Query Annotation was updated.
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.
const ( QueryAnnotationSourceBoard QueryAnnotationSource = "board" QueryAnnotationSourceQuery QueryAnnotationSource = "query" )
Defines values for QueryAnnotationSource.
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
const ( N157248e07 QueryCompareTimeOffsetSeconds = 1.57248e+07 N1800 QueryCompareTimeOffsetSeconds = 1800 N24192e06 QueryCompareTimeOffsetSeconds = 2.4192e+06 N28800 QueryCompareTimeOffsetSeconds = 28800 N3600 QueryCompareTimeOffsetSeconds = 3600 N604800 QueryCompareTimeOffsetSeconds = 604800 N7200 QueryCompareTimeOffsetSeconds = 7200 N86400 QueryCompareTimeOffsetSeconds = 86400 )
Defines values for QueryCompareTimeOffsetSeconds.
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.
type QueryOrdersOrder ¶
type QueryOrdersOrder string
QueryOrdersOrder defines model for Query.Orders.Order.
const ( Ascending QueryOrdersOrder = "ascending" Descending QueryOrdersOrder = "descending" )
Defines values for QueryOrdersOrder.
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.
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.
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.
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.
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?
Complete *bool `json:"complete,omitempty"`
// Id The unique identifier (ID) of a Query Result.
Id *string `json:"id,omitempty"`
// Links An object containing UI links to the query result and query result graph
Links *struct {
GraphImageUrl *string `json:"graph_image_url,omitempty"`
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?
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"`
// Id The unique identifier (ID) of a Query Result
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
GraphImageUrl *string `json:"graph_image_url,omitempty"`
// QueryUrl A link to the query result in the Honeycomb UI
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. 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 = QueryResultsData
QueryResultsSeries Query result details
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 (*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 (*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 (Recipient) ValueByDiscriminator ¶
type RecipientProperties ¶
type RecipientProperties struct {
// CreatedAt ISO8601 formatted time the Recipient was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
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.
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.
type RequestEditorFn ¶
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.
CreatedAt *time.Time `json:"created_at,omitempty"`
// DatasetSlugs The dataset(s) the SLO will be evaluated against. Required if using `__all__` in the path.
DatasetSlugs *[]interface{} `json:"dataset_slugs,omitempty"`
// Description A nice description of the SLO's intent and context.
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
// Name The name of the 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.
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.
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.
Tags *[]Tag `json:"tags,omitempty"`
// TargetPerMillion The number of events out of one million (1,000,000) that you expected qualified events to succeed.
TargetPerMillion int `json:"target_per_million"`
// TimePeriodDays The time period, in days, over which the SLO will be evaluated.
TimePeriodDays int `json:"time_period_days"`
// UpdatedAt The ISO8601-formatted time when the SLO was updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
SLO defines model for SLO.
type SLOCreate ¶
type SLOCreate struct {
// CreatedAt The ISO8601-formatted time when the SLO was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// DatasetSlugs The dataset(s) the SLO will be evaluated against. Required if using `__all__` in the path.
DatasetSlugs *[]interface{} `json:"dataset_slugs,omitempty"`
// Description A nice description of the SLO's intent and context.
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
// Name The name of the 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.
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.
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.
Tags *[]Tag `json:"tags,omitempty"`
// TargetPerMillion The number of events out of one million (1,000,000) that you expected qualified events to succeed.
TargetPerMillion int `json:"target_per_million"`
// TimePeriodDays The time period, in days, over which the SLO will be evaluated.
TimePeriodDays int `json:"time_period_days"`
// UpdatedAt The ISO8601-formatted time when the SLO was updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
SLOCreate defines model for SLOCreate.
type SLODetailedResponse ¶
type SLODetailedResponse = SLO
SLODetailedResponse defines model for SLODetailedResponse.
type SLOHistory ¶
type SLOHistory struct {
// BudgetRemaining How much error budget remains for the SLO in this interval.
BudgetRemaining *float64 `json:"budget_remaining,omitempty"`
// Compliance Historical compliance of the SLO in this interval.
Compliance *float64 `json:"compliance,omitempty"`
// Timestamp The starting Unix timestamp, in seconds since the epoch, for the interval.
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.
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.
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.
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.
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.
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 SlackRecipient ¶
type SlackRecipient struct {
// CreatedAt ISO8601 formatted time the Recipient was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Details Specific schema for the Slack Recipient Type.
Details *struct {
// SlackChannel Slack channel to notify.
SlackChannel string `json:"slack_channel"`
} `json:"details,omitempty"`
Id *string `json:"id,omitempty"`
Type *SlackRecipientType `json:"type,omitempty"`
// UpdatedAt ISO8601 formatted time the Recipient was updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
SlackRecipient defines model for SlackRecipient.
type SlackRecipientType ¶
type SlackRecipientType string
SlackRecipientType defines model for SlackRecipient.Type.
const (
Slack SlackRecipientType = "slack"
)
Defines values for SlackRecipientType.
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
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.
type TemplateVariableDefinition ¶
type TemplateVariableDefinition struct {
DefaultValue *string `json:"default_value,omitempty"`
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.
Content string `json:"content"`
} `json:"text_panel"`
// Type The type of the board panel.
Type interface{} `json:"type"`
}
TextPanel defines model for TextPanel.
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"`
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)
EndTime string `json:"end_time"`
// StartTime A UTC time in HH:mm format (13:00)
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 A query ID or an inline query that is a strict subset of a Query Specification. Note: `usage_mode` is not supported for triggers.
Query *map[string]interface{} `json:"query,omitempty"`
// QueryId The ID of a Query that meets the criteria for being used as a Trigger, per above.
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.
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.
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.
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.
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.
type TriggerResponseBaselineDetails1 ¶
type TriggerResponseBaselineDetails1 = interface{}
TriggerResponseBaselineDetails1 Set to an empty object to clear the baseline threshold.
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.
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.
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.
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"`
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)
EndTime string `json:"end_time"`
// StartTime A UTC time in HH:mm format (13:00)
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 A query ID or an inline query that is a strict subset of a Query Specification. Note: `usage_mode` is not supported for 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.
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.
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.
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.
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.
type TriggerWithInlineQueryBaselineDetails1 ¶
type TriggerWithInlineQueryBaselineDetails1 = interface{}
TriggerWithInlineQueryBaselineDetails1 Set to an empty object to clear the baseline threshold.
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.
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.
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.
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"`
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)
EndTime string `json:"end_time"`
// StartTime A UTC time in HH:mm format (13:00)
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 a Query that meets the criteria for being used as a Trigger, per above.
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.
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.
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.
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.
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.
type TriggerWithQueryReferenceBaselineDetails1 ¶
type TriggerWithQueryReferenceBaselineDetails1 = interface{}
TriggerWithQueryReferenceBaselineDetails1 Set to an empty object to clear the baseline threshold.
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.
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.
type TriggerWithQueryReferenceThresholdOp ¶
type TriggerWithQueryReferenceThresholdOp string
TriggerWithQueryReferenceThresholdOp defines model for TriggerWithQueryReference.Threshold.Op.
const ( GreaterThan TriggerWithQueryReferenceThresholdOp = ">" GreaterThanEqual TriggerWithQueryReferenceThresholdOp = ">=" LessThan TriggerWithQueryReferenceThresholdOp = "<" LessThanEqual TriggerWithQueryReferenceThresholdOp = "<=" )
Defines values for TriggerWithQueryReferenceThresholdOp.
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 (t TriggerWithQueryReference_BaselineDetails) MarshalJSON() ([]byte, error)
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 ¶
func (t *TriggerWithQueryReference_BaselineDetails) UnmarshalJSON(b []byte) error
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 *ApiKeyResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON413 *PayloadTooLarge
ApplicationvndApiJSON415 *UnsupportedMediaType
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseUpdateApiKeyResp ¶
func ParseUpdateApiKeyResp(rsp *http.Response) (*UpdateApiKeyResp, error)
ParseUpdateApiKeyResp parses an HTTP response from a UpdateApiKeyWithResponse call
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 UpdateBoardJSONRequestBody ¶
type UpdateBoardJSONRequestBody = Board
UpdateBoardJSONRequestBody defines body for UpdateBoard for application/json ContentType.
type UpdateBoardResp ¶
type UpdateBoardResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Board
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseUpdateBoardResp ¶
func ParseUpdateBoardResp(rsp *http.Response) (*UpdateBoardResp, error)
ParseUpdateBoardResp parses an HTTP response from a UpdateBoardWithResponse call
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 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.
Id *string `json:"id,omitempty"`
// Name The name of the view.
Name string `json:"name"`
}
UpdateBoardViewRequest defines model for UpdateBoardViewRequest.
type UpdateBoardViewResp ¶
type UpdateBoardViewResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BoardViewResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseUpdateBoardViewResp ¶
func ParseUpdateBoardViewResp(rsp *http.Response) (*UpdateBoardViewResp, error)
ParseUpdateBoardViewResp parses an HTTP response from a UpdateBoardViewWithResponse call
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 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.
AlertType UpdateBudgetRateBurnAlertRequestAlertType `json:"alert_type"`
// 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 |
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.
BudgetRateWindowMinutes int `json:"budget_rate_window_minutes"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
Description *string `json:"description,omitempty"`
// Id Unique identifier (ID) of a Burn alert.
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.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( UpdateBudgetRateBurnAlertRequestAlertTypeBudgetRate UpdateBudgetRateBurnAlertRequestAlertType = "budget_rate" UpdateBudgetRateBurnAlertRequestAlertTypeExhaustionTime UpdateBudgetRateBurnAlertRequestAlertType = "exhaustion_time" )
Defines values for UpdateBudgetRateBurnAlertRequestAlertType.
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 *BurnAlertDetailResponse
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseUpdateBurnAlertResp ¶
func ParseUpdateBurnAlertResp(rsp *http.Response) (*UpdateBurnAlertResp, error)
ParseUpdateBurnAlertResp parses an HTTP response from a UpdateBurnAlertWithResponse call
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 UpdateCalculatedFieldJSONRequestBody ¶
type UpdateCalculatedFieldJSONRequestBody = CalculatedField
UpdateCalculatedFieldJSONRequestBody defines body for UpdateCalculatedField for application/json ContentType.
type UpdateCalculatedFieldResp ¶
type UpdateCalculatedFieldResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *CalculatedField
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseUpdateCalculatedFieldResp ¶
func ParseUpdateCalculatedFieldResp(rsp *http.Response) (*UpdateCalculatedFieldResp, error)
ParseUpdateCalculatedFieldResp parses an HTTP response from a UpdateCalculatedFieldWithResponse call
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 UpdateColumnJSONRequestBody ¶
type UpdateColumnJSONRequestBody = Column
UpdateColumnJSONRequestBody defines body for UpdateColumn for application/json ContentType.
type UpdateColumnResp ¶
type UpdateColumnResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Column
JSON400 *Error
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseUpdateColumnResp ¶
func ParseUpdateColumnResp(rsp *http.Response) (*UpdateColumnResp, error)
ParseUpdateColumnResp parses an HTTP response from a UpdateColumnWithResponse call
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 UpdateDatasetJSONRequestBody ¶
type UpdateDatasetJSONRequestBody = DatasetUpdatePayload
UpdateDatasetJSONRequestBody defines body for UpdateDataset for application/json ContentType.
type UpdateDatasetResp ¶
type UpdateDatasetResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Dataset
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseUpdateDatasetResp ¶
func ParseUpdateDatasetResp(rsp *http.Response) (*UpdateDatasetResp, error)
ParseUpdateDatasetResp parses an HTTP response from a UpdateDatasetWithResponse call
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 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.
type UpdateEnvironmentResp ¶
type UpdateEnvironmentResp struct {
Body []byte
HTTPResponse *http.Response
ApplicationvndApiJSON200 *EnvironmentResponse
JSON400 *BadRequestApplicationJSON
ApplicationproblemJSON400 *BadRequestApplicationProblemPlusJSON
ApplicationvndApiJSON400 *BadRequestApplicationVndAPIPlusJSON
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON413 *PayloadTooLarge
ApplicationvndApiJSON415 *UnsupportedMediaType
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
ApplicationproblemJSON500 *InternalErrorApplicationProblemPlusJSON
ApplicationvndApiJSON500 *InternalErrorApplicationVndAPIPlusJSON
}
func ParseUpdateEnvironmentResp ¶
func ParseUpdateEnvironmentResp(rsp *http.Response) (*UpdateEnvironmentResp, error)
ParseUpdateEnvironmentResp parses an HTTP response from a UpdateEnvironmentWithResponse call
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 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.
AlertType *UpdateExhaustionTimeBurnAlertRequestAlertType `json:"alert_type,omitempty"`
// CreatedAt The ISO8601-formatted time when the Burn Alert was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Description A description of the Burn Alert.
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.
ExhaustionMinutes int `json:"exhaustion_minutes"`
// Id Unique identifier (ID) of a Burn alert.
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.
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.
Triggered *bool `json:"triggered,omitempty"`
// UpdatedAt The ISO8601-formatted time when the Burn Alert was updated.
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.
const ( UpdateExhaustionTimeBurnAlertRequestAlertTypeBudgetRate UpdateExhaustionTimeBurnAlertRequestAlertType = "budget_rate" UpdateExhaustionTimeBurnAlertRequestAlertTypeExhaustionTime UpdateExhaustionTimeBurnAlertRequestAlertType = "exhaustion_time" )
Defines values for UpdateExhaustionTimeBurnAlertRequestAlertType.
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 *Marker
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseUpdateMarkerResp ¶
func ParseUpdateMarkerResp(rsp *http.Response) (*UpdateMarkerResp, error)
ParseUpdateMarkerResp parses an HTTP response from a UpdateMarkerWithResponse call
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 UpdateMarkerSettingsJSONRequestBody ¶
type UpdateMarkerSettingsJSONRequestBody = MarkerSetting
UpdateMarkerSettingsJSONRequestBody defines body for UpdateMarkerSettings for application/json ContentType.
type UpdateMarkerSettingsResp ¶
type UpdateMarkerSettingsResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MarkerSetting
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseUpdateMarkerSettingsResp ¶
func ParseUpdateMarkerSettingsResp(rsp *http.Response) (*UpdateMarkerSettingsResp, error)
ParseUpdateMarkerSettingsResp parses an HTTP response from a UpdateMarkerSettingsWithResponse call
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 UpdateQueryAnnotationJSONRequestBody ¶
type UpdateQueryAnnotationJSONRequestBody = QueryAnnotation
UpdateQueryAnnotationJSONRequestBody defines body for UpdateQueryAnnotation for application/json ContentType.
type UpdateQueryAnnotationResp ¶
type UpdateQueryAnnotationResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *QueryAnnotation
JSON400 *Error
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseUpdateQueryAnnotationResp ¶
func ParseUpdateQueryAnnotationResp(rsp *http.Response) (*UpdateQueryAnnotationResp, error)
ParseUpdateQueryAnnotationResp parses an HTTP response from a UpdateQueryAnnotationWithResponse call
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 UpdateRecipientJSONRequestBody ¶
type UpdateRecipientJSONRequestBody = Recipient
UpdateRecipientJSONRequestBody defines body for UpdateRecipient for application/json ContentType.
type UpdateRecipientResp ¶
type UpdateRecipientResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Recipient
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON409 *ConflictApplicationJSON
ApplicationproblemJSON409 *ConflictApplicationProblemPlusJSON
ApplicationvndApiJSON409 *ConflictApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
}
func ParseUpdateRecipientResp ¶
func ParseUpdateRecipientResp(rsp *http.Response) (*UpdateRecipientResp, error)
ParseUpdateRecipientResp parses an HTTP response from a UpdateRecipientWithResponse call
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 UpdateSloJSONRequestBody ¶
type UpdateSloJSONRequestBody = SLO
UpdateSloJSONRequestBody defines body for UpdateSlo for application/json ContentType.
type UpdateSloResp ¶
type UpdateSloResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SLO
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *ValidationFailedApplicationJSON
ApplicationproblemJSON422 *ValidationFailedApplicationProblemPlusJSON
ApplicationvndApiJSON422 *ValidationFailedApplicationVndAPIPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
JSONDefault *GenericError
}
func ParseUpdateSloResp ¶
func ParseUpdateSloResp(rsp *http.Response) (*UpdateSloResp, error)
ParseUpdateSloResp parses an HTTP response from a UpdateSloWithResponse call
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 UpdateTriggerJSONRequestBody ¶
type UpdateTriggerJSONRequestBody = TriggerResponse
UpdateTriggerJSONRequestBody defines body for UpdateTrigger for application/json ContentType.
type UpdateTriggerResp ¶
type UpdateTriggerResp struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TriggerResponse
JSON400 *GenericError
JSON401 *UnauthorizedApplicationJSON
ApplicationvndApiJSON401 *UnauthorizedApplicationVndAPIPlusJSON
JSON403 *ForbiddenApplicationJSON
ApplicationproblemJSON403 *ForbiddenApplicationProblemPlusJSON
ApplicationvndApiJSON403 *ForbiddenApplicationVndAPIPlusJSON
JSON404 *NotFoundApplicationJSON
ApplicationproblemJSON404 *NotFoundApplicationProblemPlusJSON
ApplicationvndApiJSON404 *NotFoundApplicationVndAPIPlusJSON
JSON422 *UnprocessableEntityApplicationJSON
ApplicationproblemJSON422 *UnprocessableEntityApplicationProblemPlusJSON
JSON429 *RateLimitedApplicationJSON
ApplicationproblemJSON429 *RateLimitedApplicationProblemPlusJSON
ApplicationvndApiJSON429 *RateLimitedApplicationVndAPIPlusJSON
}
func ParseUpdateTriggerResp ¶
func ParseUpdateTriggerResp(rsp *http.Response) (*UpdateTriggerResp, error)
ParseUpdateTriggerResp parses an HTTP response from a UpdateTriggerWithResponse call
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 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.
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.
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 ¶
WebhookHeader defines model for WebhookHeader.
type WebhookRecipient ¶
type WebhookRecipient struct {
// CreatedAt ISO8601 formatted time the Recipient was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Details Specific schema for the Webhook Recipient Type
Details *struct {
// WebhookHeaders Custom headers for this webhook
WebhookHeaders *[]WebhookHeader `json:"webhook_headers,omitempty"`
// WebhookName A name for this Integration.
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
TemplateVariables *[]TemplateVariableDefinition `json:"template_variables,omitempty"`
} `json:"webhook_payloads,omitempty"`
// WebhookSecret Webhook secret.
WebhookSecret *string `json:"webhook_secret,omitempty"`
// WebhookUrl Webhook URL.
WebhookUrl string `json:"webhook_url"`
} `json:"details,omitempty"`
Id *string `json:"id,omitempty"`
Type *WebhookRecipientType `json:"type,omitempty"`
// UpdatedAt ISO8601 formatted time the Recipient was updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
WebhookRecipient defines model for WebhookRecipient.
type WebhookRecipientType ¶
type WebhookRecipientType string
WebhookRecipientType defines model for WebhookRecipient.Type.
const (
Webhook WebhookRecipientType = "webhook"
)
Defines values for WebhookRecipientType.