Documentation
¶
Overview ¶
Package monitor provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.
Index ¶
- func NewAcknowledgeIncidentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewApplyMonitorBulkActionRequest(server string, body ApplyMonitorBulkActionJSONRequestBody) (*http.Request, error)
- func NewApplyMonitorBulkActionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCancelMaintenanceWindowRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewConfirmAlertChannelVerificationRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewConfirmAlertChannelVerificationRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCountStatusPageSubscribersRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewCreateAlertChannelRequest(server string, body CreateAlertChannelJSONRequestBody) (*http.Request, error)
- func NewCreateAlertChannelRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMaintenanceWindowRequest(server string, body CreateMaintenanceWindowJSONRequestBody) (*http.Request, error)
- func NewCreateMaintenanceWindowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMonitorRequest(server string, body CreateMonitorJSONRequestBody) (*http.Request, error)
- func NewCreateMonitorRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStatusPageIncidentRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateStatusPageIncidentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStatusPageIncidentUpdateRequest(server string, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateStatusPageIncidentUpdateRequestWithBody(server string, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Request, error)
- func NewCreateStatusPagePreviewLinkRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewCreateStatusPageRequest(server string, body CreateStatusPageJSONRequestBody) (*http.Request, error)
- func NewCreateStatusPageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAlertChannelRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteMaintenanceWindowRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteMonitorRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteStatusPageDomainRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteStatusPageLogoRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteStatusPageRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteStatusPageSubscriberRequest(server string, id openapi_types.UUID, subscriberId openapi_types.UUID) (*http.Request, error)
- func NewExportStatusPageSubscribersRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewFinishMaintenanceWindowRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetAlertChannelRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetIncidentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetIncidentSummaryRequest(server string) (*http.Request, error)
- func NewGetMaintenanceTargetsRequest(server string) (*http.Request, error)
- func NewGetMaintenanceWindowRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetMonitorAlertsRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetMonitorAvailabilityRequest(server string, id openapi_types.UUID, params *GetMonitorAvailabilityParams) (*http.Request, error)
- func NewGetMonitorCertificateRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetMonitorRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetMonitorStatsRequest(server string, id openapi_types.UUID, params *GetMonitorStatsParams) (*http.Request, error)
- func NewGetStatusPageDomainRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetStatusPageIncidentRequest(server string, id openapi_types.UUID, incidentId openapi_types.UUID) (*http.Request, error)
- func NewGetStatusPageLayoutRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetStatusPageLogoRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetStatusPageRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewListAlertChannelDeliveriesRequest(server string, id openapi_types.UUID, params *ListAlertChannelDeliveriesParams) (*http.Request, error)
- func NewListAlertChannelsRequest(server string, params *ListAlertChannelsParams) (*http.Request, error)
- func NewListIncidentsRequest(server string, params *ListIncidentsParams) (*http.Request, error)
- func NewListMaintenanceWindowsRequest(server string, params *ListMaintenanceWindowsParams) (*http.Request, error)
- func NewListMonitorResultsRequest(server string, id openapi_types.UUID, params *ListMonitorResultsParams) (*http.Request, error)
- func NewListMonitorStatusChangesRequest(server string, id openapi_types.UUID, params *ListMonitorStatusChangesParams) (*http.Request, error)
- func NewListMonitorsRequest(server string, params *ListMonitorsParams) (*http.Request, error)
- func NewListStatusPageIncidentsRequest(server string, id openapi_types.UUID, params *ListStatusPageIncidentsParams) (*http.Request, error)
- func NewListStatusPageSubscribersRequest(server string, id openapi_types.UUID, params *ListStatusPageSubscribersParams) (*http.Request, error)
- func NewListStatusPagesRequest(server string, params *ListStatusPagesParams) (*http.Request, error)
- func NewPauseMonitorRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewPreviewStatusPageRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewPublishStatusPageRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewResumeMonitorRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewRunMonitorCheckRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewSendAlertChannelVerificationRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewSetMonitorAlertsRequest(server string, id openapi_types.UUID, body SetMonitorAlertsJSONRequestBody) (*http.Request, error)
- func NewSetMonitorAlertsRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetStatusPageDomainRequest(server string, id openapi_types.UUID, body SetStatusPageDomainJSONRequestBody) (*http.Request, error)
- func NewSetStatusPageDomainRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetStatusPageLayoutRequest(server string, id openapi_types.UUID, body SetStatusPageLayoutJSONRequestBody) (*http.Request, error)
- func NewSetStatusPageLayoutRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewSetStatusPageLogoRequest(server string, id openapi_types.UUID, body SetStatusPageLogoJSONRequestBody) (*http.Request, error)
- func NewSetStatusPageLogoRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewTestAlertChannelRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewUnpublishStatusPageRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewUpdateAlertChannelRequest(server string, id openapi_types.UUID, body UpdateAlertChannelJSONRequestBody) (*http.Request, error)
- func NewUpdateAlertChannelRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMaintenanceWindowRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateMaintenanceWindowRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMonitorRequest(server string, id openapi_types.UUID, body UpdateMonitorJSONRequestBody) (*http.Request, error)
- func NewUpdateMonitorRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateStatusPageIncidentRequest(server string, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateStatusPageIncidentRequestWithBody(server string, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateStatusPageRequest(server string, id openapi_types.UUID, body UpdateStatusPageJSONRequestBody) (*http.Request, error)
- func NewUpdateStatusPageRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- type AcknowledgeIncidentResponse
- type ApplyMonitorBulkActionJSONRequestBody
- type ApplyMonitorBulkActionResponse
- type CancelMaintenanceWindowResponse
- type Client
- func (c *Client) AcknowledgeIncident(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplyMonitorBulkAction(ctx context.Context, body ApplyMonitorBulkActionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApplyMonitorBulkActionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CancelMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ConfirmAlertChannelVerification(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ConfirmAlertChannelVerificationWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CountStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateAlertChannel(ctx context.Context, body CreateAlertChannelJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAlertChannelWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMaintenanceWindow(ctx context.Context, body CreateMaintenanceWindowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMaintenanceWindowWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMonitor(ctx context.Context, body CreateMonitorJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMonitorWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStatusPage(ctx context.Context, body CreateStatusPageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncident(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncidentUpdate(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncidentUpdateWithBody(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncidentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStatusPagePreviewLink(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateStatusPageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStatusPageDomain(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStatusPageLogo(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteStatusPageSubscriber(ctx context.Context, id openapi_types.UUID, subscriberId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ExportStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FinishMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncident(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncidentSummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMaintenanceTargets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMonitorAlerts(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMonitorAvailability(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetMonitorCertificate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMonitorStats(ctx context.Context, id openapi_types.UUID, params *GetMonitorStatsParams, ...) (*http.Response, error)
- func (c *Client) GetStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStatusPageDomain(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStatusPageIncident(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetStatusPageLayout(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStatusPageLogo(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAlertChannelDeliveries(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListAlertChannels(ctx context.Context, params *ListAlertChannelsParams, ...) (*http.Response, error)
- func (c *Client) ListIncidents(ctx context.Context, params *ListIncidentsParams, ...) (*http.Response, error)
- func (c *Client) ListMaintenanceWindows(ctx context.Context, params *ListMaintenanceWindowsParams, ...) (*http.Response, error)
- func (c *Client) ListMonitorResults(ctx context.Context, id openapi_types.UUID, params *ListMonitorResultsParams, ...) (*http.Response, error)
- func (c *Client) ListMonitorStatusChanges(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListMonitors(ctx context.Context, params *ListMonitorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListStatusPageIncidents(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListStatusPages(ctx context.Context, params *ListStatusPagesParams, ...) (*http.Response, error)
- func (c *Client) PauseMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PreviewStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PublishStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResumeMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RunMonitorCheck(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SendAlertChannelVerification(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SetMonitorAlerts(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetMonitorAlertsWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetStatusPageDomain(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetStatusPageDomainWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetStatusPageLayout(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetStatusPageLayoutWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetStatusPageLogo(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) SetStatusPageLogoWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TestAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UnpublishStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateAlertChannel(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateAlertChannelWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMaintenanceWindow(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateMaintenanceWindowWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMonitor(ctx context.Context, id openapi_types.UUID, body UpdateMonitorJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateMonitorWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPage(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageIncident(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageIncidentWithBody(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcknowledgeIncidentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*AcknowledgeIncidentResponse, error)
- func (c *ClientWithResponses) ApplyMonitorBulkActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ApplyMonitorBulkActionResponse, error)
- func (c *ClientWithResponses) ApplyMonitorBulkActionWithResponse(ctx context.Context, body ApplyMonitorBulkActionJSONRequestBody, ...) (*ApplyMonitorBulkActionResponse, error)
- func (c *ClientWithResponses) CancelMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) ConfirmAlertChannelVerificationWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*ConfirmAlertChannelVerificationResponse, error)
- func (c *ClientWithResponses) ConfirmAlertChannelVerificationWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*ConfirmAlertChannelVerificationResponse, error)
- func (c *ClientWithResponses) CountStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CountStatusPageSubscribersResponse, error)
- func (c *ClientWithResponses) CreateAlertChannelWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAlertChannelResponse, error)
- func (c *ClientWithResponses) CreateAlertChannelWithResponse(ctx context.Context, body CreateAlertChannelJSONRequestBody, ...) (*CreateAlertChannelResponse, error)
- func (c *ClientWithResponses) CreateMaintenanceWindowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) CreateMaintenanceWindowWithResponse(ctx context.Context, body CreateMaintenanceWindowJSONRequestBody, ...) (*CreateMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) CreateMonitorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateMonitorResponse, error)
- func (c *ClientWithResponses) CreateMonitorWithResponse(ctx context.Context, body CreateMonitorJSONRequestBody, ...) (*CreateMonitorResponse, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*CreateStatusPageIncidentUpdateResponse, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*CreateStatusPageIncidentUpdateResponse, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*CreateStatusPageIncidentResponse, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CreateStatusPageIncidentResponse, error)
- func (c *ClientWithResponses) CreateStatusPagePreviewLinkWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateStatusPagePreviewLinkResponse, error)
- func (c *ClientWithResponses) CreateStatusPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateStatusPageResponse, error)
- func (c *ClientWithResponses) CreateStatusPageWithResponse(ctx context.Context, body CreateStatusPageJSONRequestBody, ...) (*CreateStatusPageResponse, error)
- func (c *ClientWithResponses) DeleteAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAlertChannelResponse, error)
- func (c *ClientWithResponses) DeleteMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) DeleteMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMonitorResponse, error)
- func (c *ClientWithResponses) DeleteStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageDomainResponse, error)
- func (c *ClientWithResponses) DeleteStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageLogoResponse, error)
- func (c *ClientWithResponses) DeleteStatusPageSubscriberWithResponse(ctx context.Context, id openapi_types.UUID, subscriberId openapi_types.UUID, ...) (*DeleteStatusPageSubscriberResponse, error)
- func (c *ClientWithResponses) DeleteStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageResponse, error)
- func (c *ClientWithResponses) ExportStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExportStatusPageSubscribersResponse, error)
- func (c *ClientWithResponses) FinishMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*FinishMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) GetAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAlertChannelResponse, error)
- func (c *ClientWithResponses) GetIncidentSummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIncidentSummaryResponse, error)
- func (c *ClientWithResponses) GetIncidentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetIncidentResponse, error)
- func (c *ClientWithResponses) GetMaintenanceTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMaintenanceTargetsResponse, error)
- func (c *ClientWithResponses) GetMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) GetMonitorAlertsWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorAlertsResponse, error)
- func (c *ClientWithResponses) GetMonitorAvailabilityWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*GetMonitorAvailabilityResponse, error)
- func (c *ClientWithResponses) GetMonitorCertificateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorCertificateResponse, error)
- func (c *ClientWithResponses) GetMonitorStatsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetMonitorStatsParams, ...) (*GetMonitorStatsResponse, error)
- func (c *ClientWithResponses) GetMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorResponse, error)
- func (c *ClientWithResponses) GetStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageDomainResponse, error)
- func (c *ClientWithResponses) GetStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*GetStatusPageIncidentResponse, error)
- func (c *ClientWithResponses) GetStatusPageLayoutWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageLayoutResponse, error)
- func (c *ClientWithResponses) GetStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageLogoResponse, error)
- func (c *ClientWithResponses) GetStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageResponse, error)
- func (c *ClientWithResponses) ListAlertChannelDeliveriesWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*ListAlertChannelDeliveriesResponse, error)
- func (c *ClientWithResponses) ListAlertChannelsWithResponse(ctx context.Context, params *ListAlertChannelsParams, ...) (*ListAlertChannelsResponse, error)
- func (c *ClientWithResponses) ListIncidentsWithResponse(ctx context.Context, params *ListIncidentsParams, ...) (*ListIncidentsResponse, error)
- func (c *ClientWithResponses) ListMaintenanceWindowsWithResponse(ctx context.Context, params *ListMaintenanceWindowsParams, ...) (*ListMaintenanceWindowsResponse, error)
- func (c *ClientWithResponses) ListMonitorResultsWithResponse(ctx context.Context, id openapi_types.UUID, params *ListMonitorResultsParams, ...) (*ListMonitorResultsResponse, error)
- func (c *ClientWithResponses) ListMonitorStatusChangesWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*ListMonitorStatusChangesResponse, error)
- func (c *ClientWithResponses) ListMonitorsWithResponse(ctx context.Context, params *ListMonitorsParams, reqEditors ...RequestEditorFn) (*ListMonitorsResponse, error)
- func (c *ClientWithResponses) ListStatusPageIncidentsWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*ListStatusPageIncidentsResponse, error)
- func (c *ClientWithResponses) ListStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*ListStatusPageSubscribersResponse, error)
- func (c *ClientWithResponses) ListStatusPagesWithResponse(ctx context.Context, params *ListStatusPagesParams, ...) (*ListStatusPagesResponse, error)
- func (c *ClientWithResponses) PauseMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PauseMonitorResponse, error)
- func (c *ClientWithResponses) PreviewStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PreviewStatusPageResponse, error)
- func (c *ClientWithResponses) PublishStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PublishStatusPageResponse, error)
- func (c *ClientWithResponses) ResumeMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResumeMonitorResponse, error)
- func (c *ClientWithResponses) RunMonitorCheckWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RunMonitorCheckResponse, error)
- func (c *ClientWithResponses) SendAlertChannelVerificationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*SendAlertChannelVerificationResponse, error)
- func (c *ClientWithResponses) SetMonitorAlertsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*SetMonitorAlertsResponse, error)
- func (c *ClientWithResponses) SetMonitorAlertsWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SetMonitorAlertsResponse, error)
- func (c *ClientWithResponses) SetStatusPageDomainWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*SetStatusPageDomainResponse, error)
- func (c *ClientWithResponses) SetStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SetStatusPageDomainResponse, error)
- func (c *ClientWithResponses) SetStatusPageLayoutWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*SetStatusPageLayoutResponse, error)
- func (c *ClientWithResponses) SetStatusPageLayoutWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SetStatusPageLayoutResponse, error)
- func (c *ClientWithResponses) SetStatusPageLogoWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*SetStatusPageLogoResponse, error)
- func (c *ClientWithResponses) SetStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*SetStatusPageLogoResponse, error)
- func (c *ClientWithResponses) TestAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TestAlertChannelResponse, error)
- func (c *ClientWithResponses) UnpublishStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UnpublishStatusPageResponse, error)
- func (c *ClientWithResponses) UpdateAlertChannelWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateAlertChannelResponse, error)
- func (c *ClientWithResponses) UpdateAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateAlertChannelResponse, error)
- func (c *ClientWithResponses) UpdateMaintenanceWindowWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) UpdateMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateMaintenanceWindowResponse, error)
- func (c *ClientWithResponses) UpdateMonitorWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateMonitorResponse, error)
- func (c *ClientWithResponses) UpdateMonitorWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMonitorJSONRequestBody, ...) (*UpdateMonitorResponse, error)
- func (c *ClientWithResponses) UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*UpdateStatusPageIncidentResponse, error)
- func (c *ClientWithResponses) UpdateStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, ...) (*UpdateStatusPageIncidentResponse, error)
- func (c *ClientWithResponses) UpdateStatusPageWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateStatusPageResponse, error)
- func (c *ClientWithResponses) UpdateStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateStatusPageResponse, error)
- type ClientWithResponsesInterface
- type ConfirmAlertChannelVerificationJSONRequestBody
- type ConfirmAlertChannelVerificationResponse
- type ConstantsErrorCode
- type ConstantsErrorReason
- type CountStatusPageSubscribersResponse
- type CreateAlertChannelJSONRequestBody
- type CreateAlertChannelResponse
- type CreateMaintenanceWindowJSONRequestBody
- type CreateMaintenanceWindowResponse
- type CreateMonitorJSONRequestBody
- type CreateMonitorResponse
- type CreateStatusPageIncidentJSONRequestBody
- type CreateStatusPageIncidentResponse
- type CreateStatusPageIncidentUpdateJSONRequestBody
- type CreateStatusPageIncidentUpdateResponse
- type CreateStatusPageJSONRequestBody
- type CreateStatusPagePreviewLinkResponse
- type CreateStatusPageResponse
- type DeleteAlertChannelResponse
- type DeleteMaintenanceWindowResponse
- type DeleteMonitorResponse
- type DeleteStatusPageDomainResponse
- type DeleteStatusPageLogoResponse
- type DeleteStatusPageResponse
- type DeleteStatusPageSubscriberResponse
- type DtoAlertChannel
- type DtoAlertChannelCreate
- type DtoAlertChannelCreateKind
- type DtoAlertChannelKind
- type DtoAlertChannelSettings
- type DtoAlertChannelSettingsInput
- type DtoAlertChannelTestResult
- type DtoAlertChannelUpdate
- type DtoAlertChannelVerifyConfirm
- type DtoAlertChannelWithSecret
- type DtoAlertChannelWithSecretKind
- type DtoAvailability
- type DtoCertificate
- type DtoCertificateRenewal
- type DtoChainCertificate
- type DtoChannelDelivery
- type DtoChannelDeliveryEvent
- type DtoChannelDeliveryStatus
- type DtoCheckRegion
- type DtoCheckResult
- type DtoCheckResultSeverity
- type DtoCheckTimings
- type DtoConditionFacts
- type DtoDayAvailability
- type DtoDomainRegistration
- type DtoDomainRegistrationDnssec
- type DtoDomainRegistrationSource
- type DtoDomainSettings
- type DtoDomainSettingsInput
- type DtoExpiryWatch
- type DtoExpiryWatchInput
- type DtoHTTPHeader
- type DtoHTTPHeaderInput
- type DtoHTTPSettings
- type DtoHTTPSettingsInput
- type DtoHTTPSettingsInputKeywordMode
- type DtoHTTPSettingsInputMethod
- type DtoHistoryBeat
- type DtoHistoryBeatSeverity
- type DtoIncident
- type DtoIncidentAspect
- type DtoIncidentDelivery
- type DtoIncidentDeliveryEvent
- type DtoIncidentDeliveryStatus
- type DtoIncidentDetail
- type DtoIncidentDetailAspect
- type DtoIncidentDetailMonitorType
- type DtoIncidentDetailMonitorVariant
- type DtoIncidentDetailPeakSeverity
- type DtoIncidentDetailSeverity
- type DtoIncidentDetailStatus
- type DtoIncidentEvent
- type DtoIncidentEventType
- type DtoIncidentMonitorType
- type DtoIncidentMonitorVariant
- type DtoIncidentOpenCounts
- type DtoIncidentPeakSeverity
- type DtoIncidentSeverity
- type DtoIncidentStatus
- type DtoIncidentSummary
- type DtoLastCheck
- type DtoLastCheckSeverity
- type DtoMaintenanceTargetComponent
- type DtoMaintenanceTargetMonitor
- type DtoMaintenanceTargetMonitorType
- type DtoMaintenanceTargetStatusPage
- type DtoMaintenanceTargets
- type DtoMaintenanceWindow
- type DtoMaintenanceWindowCreate
- type DtoMaintenanceWindowResponseTargets
- type DtoMaintenanceWindowState
- type DtoMaintenanceWindowStatusPage
- type DtoMaintenanceWindowTargets
- type DtoMaintenanceWindowUpdate
- type DtoMonitor
- type DtoMonitorAlertRoute
- type DtoMonitorAlertRouteEvents
- type DtoMonitorAlerts
- type DtoMonitorAlertsApplicableEvents
- type DtoMonitorAlertsUpdate
- type DtoMonitorAspect
- type DtoMonitorAspectAspect
- type DtoMonitorAspectStatus
- type DtoMonitorBulkItem
- type DtoMonitorBulkRequest
- type DtoMonitorBulkRequestAction
- type DtoMonitorBulkResult
- type DtoMonitorBulkResultAction
- type DtoMonitorCertificate
- type DtoMonitorCertificateSeverity
- type DtoMonitorCondition
- type DtoMonitorCreate
- type DtoMonitorCreateType
- type DtoMonitorEvent
- type DtoMonitorEventAspect
- type DtoMonitorEventType
- type DtoMonitorMaintenance
- type DtoMonitorOverallStatus
- type DtoMonitorStats
- type DtoMonitorStatsGranularity
- type DtoMonitorStatus
- type DtoMonitorType
- type DtoMonitorUpdate
- type DtoMonitorVariant
- type DtoPublicStatusAffected
- type DtoPublicStatusAffectedStatus
- type DtoPublicStatusComponent
- type DtoPublicStatusComponentStatus
- type DtoPublicStatusDay
- type DtoPublicStatusDayGrade
- type DtoPublicStatusGroup
- type DtoPublicStatusGroupStatus
- type DtoPublicStatusHistory
- type DtoPublicStatusIncident
- type DtoPublicStatusIncidentFixedTitle
- type DtoPublicStatusIncidentImpact
- type DtoPublicStatusIncidentStatus
- type DtoPublicStatusMaintenance
- type DtoPublicStatusMaintenanceComponent
- type DtoPublicStatusMaintenanceStatus
- type DtoPublicStatusPage
- type DtoPublicStatusPageIndicator
- type DtoPublicStatusPreview
- type DtoPublicStatusUpdate
- type DtoPublicStatusUpdateFixedText
- type DtoPublicStatusUpdateStatus
- type DtoRenewedCertificate
- type DtoSSLSettings
- type DtoSSLSettingsInput
- type DtoStatsBucket
- type DtoStatusChange
- type DtoStatusChangeFrom
- type DtoStatusChangeTo
- type DtoStatusPage
- type DtoStatusPageAffected
- type DtoStatusPageAffectedStatus
- type DtoStatusPageComponent
- type DtoStatusPageComponentAspects
- type DtoStatusPageComponentKind
- type DtoStatusPageComponentManualStatus
- type DtoStatusPageCreate
- type DtoStatusPageDomain
- type DtoStatusPageDomainErrorCode
- type DtoStatusPageDomainRecord
- type DtoStatusPageDomainRecordType
- type DtoStatusPageDomainSet
- type DtoStatusPageDomainStatus
- type DtoStatusPageGlance
- type DtoStatusPageGlanceComponent
- type DtoStatusPageGlanceComponentStatus
- type DtoStatusPageGlanceDomain
- type DtoStatusPageGlanceDomainErrorCode
- type DtoStatusPageGlanceDomainStatus
- type DtoStatusPageGlanceIncident
- type DtoStatusPageGlanceIncidentImpact
- type DtoStatusPageGlanceIncidentStatus
- type DtoStatusPageGlanceIndicator
- type DtoStatusPageGlanceMaintenance
- type DtoStatusPageGlanceMaintenanceStatus
- type DtoStatusPageGroup
- type DtoStatusPageIncident
- type DtoStatusPageIncidentCreate
- type DtoStatusPageIncidentCreateImpact
- type DtoStatusPageIncidentCreateStatus
- type DtoStatusPageIncidentEntry
- type DtoStatusPageIncidentEntryStatus
- type DtoStatusPageIncidentImpact
- type DtoStatusPageIncidentPost
- type DtoStatusPageIncidentPostStatus
- type DtoStatusPageIncidentStatus
- type DtoStatusPageIncidentUpdate
- type DtoStatusPageIncidentUpdateImpact
- type DtoStatusPageLayout
- type DtoStatusPageLogo
- type DtoStatusPageLogoSet
- type DtoStatusPagePreviewLink
- type DtoStatusPageSettings
- type DtoStatusPageSettingsUpdate
- type DtoStatusPageSettingsUpdateUptimeDays
- type DtoStatusPageSettingsUptimeDays
- type DtoStatusPageSubscriber
- type DtoStatusPageSubscriberCount
- type DtoStatusPageSubscriberLocale
- type DtoStatusPageSubscriberStatus
- type DtoStatusPageUpdate
- type DtoThresholdAlert
- type DtoWindowSummary
- type ExportStatusPageSubscribersResponse
- type FinishMaintenanceWindowResponse
- type GetAlertChannelResponse
- type GetIncidentResponse
- type GetIncidentSummaryResponse
- type GetMaintenanceTargetsResponse
- type GetMaintenanceWindowResponse
- type GetMonitorAlertsResponse
- type GetMonitorAvailabilityParams
- type GetMonitorAvailabilityResponse
- type GetMonitorCertificateResponse
- type GetMonitorResponse
- type GetMonitorStatsParams
- type GetMonitorStatsParamsRange
- type GetMonitorStatsResponse
- type GetStatusPageDomainResponse
- type GetStatusPageIncidentResponse
- type GetStatusPageLayoutResponse
- type GetStatusPageLogoResponse
- type GetStatusPageResponse
- type HttpRequestDoer
- type ListAlertChannelDeliveriesParams
- type ListAlertChannelDeliveriesParamsStatus
- type ListAlertChannelDeliveriesResponse
- type ListAlertChannelsParams
- type ListAlertChannelsResponse
- type ListIncidentsParams
- type ListIncidentsParamsAcknowledged
- type ListIncidentsParamsAspect
- type ListIncidentsParamsSeverity
- type ListIncidentsParamsStatus
- type ListIncidentsResponse
- type ListMaintenanceWindowsParams
- type ListMaintenanceWindowsParamsStatus
- type ListMaintenanceWindowsResponse
- type ListMonitorResultsParams
- type ListMonitorResultsResponse
- type ListMonitorStatusChangesParams
- type ListMonitorStatusChangesResponse
- type ListMonitorsParams
- type ListMonitorsParamsInclude
- type ListMonitorsParamsSort
- type ListMonitorsParamsStatus
- type ListMonitorsParamsType
- type ListMonitorsResponse
- type ListStatusPageIncidentsParams
- type ListStatusPageIncidentsParamsStatus
- type ListStatusPageIncidentsResponse
- type ListStatusPageSubscribersParams
- type ListStatusPageSubscribersResponse
- type ListStatusPagesParams
- type ListStatusPagesResponse
- type PauseMonitorResponse
- type PreviewStatusPageResponse
- type PublishStatusPageResponse
- type RequestEditorFn
- type ResponseAPIResponsePaginationCursors
- type ResponseAPIResponsePaginationMeta
- type ResponseAPIResponseWithPagination
- type ResponseProblem
- type ResumeMonitorResponse
- type RunMonitorCheckResponse
- type SendAlertChannelVerificationResponse
- type SetMonitorAlertsJSONRequestBody
- type SetMonitorAlertsResponse
- type SetStatusPageDomainJSONRequestBody
- type SetStatusPageDomainResponse
- type SetStatusPageLayoutJSONRequestBody
- type SetStatusPageLayoutResponse
- type SetStatusPageLogoJSONRequestBody
- type SetStatusPageLogoResponse
- type TestAlertChannelResponse
- type UnpublishStatusPageResponse
- type UpdateAlertChannelJSONRequestBody
- type UpdateAlertChannelResponse
- type UpdateMaintenanceWindowJSONRequestBody
- type UpdateMaintenanceWindowResponse
- type UpdateMonitorJSONRequestBody
- type UpdateMonitorResponse
- type UpdateStatusPageIncidentJSONRequestBody
- type UpdateStatusPageIncidentResponse
- type UpdateStatusPageJSONRequestBody
- type UpdateStatusPageResponse
- type ValidationParams
- type ValidationRule
- type ValidationUnit
- type ValidationViolation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAcknowledgeIncidentRequest ¶
NewAcknowledgeIncidentRequest generates requests for AcknowledgeIncident
func NewApplyMonitorBulkActionRequest ¶
func NewApplyMonitorBulkActionRequest(server string, body ApplyMonitorBulkActionJSONRequestBody) (*http.Request, error)
NewApplyMonitorBulkActionRequest calls the generic ApplyMonitorBulkAction builder with application/json body
func NewApplyMonitorBulkActionRequestWithBody ¶
func NewApplyMonitorBulkActionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewApplyMonitorBulkActionRequestWithBody generates requests for ApplyMonitorBulkAction with any type of body
func NewCancelMaintenanceWindowRequest ¶ added in v0.25.0
NewCancelMaintenanceWindowRequest generates requests for CancelMaintenanceWindow
func NewConfirmAlertChannelVerificationRequest ¶
func NewConfirmAlertChannelVerificationRequest(server string, id openapi_types.UUID, body ConfirmAlertChannelVerificationJSONRequestBody) (*http.Request, error)
NewConfirmAlertChannelVerificationRequest calls the generic ConfirmAlertChannelVerification builder with application/json body
func NewConfirmAlertChannelVerificationRequestWithBody ¶
func NewConfirmAlertChannelVerificationRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewConfirmAlertChannelVerificationRequestWithBody generates requests for ConfirmAlertChannelVerification with any type of body
func NewCountStatusPageSubscribersRequest ¶ added in v0.24.0
func NewCountStatusPageSubscribersRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewCountStatusPageSubscribersRequest generates requests for CountStatusPageSubscribers
func NewCreateAlertChannelRequest ¶
func NewCreateAlertChannelRequest(server string, body CreateAlertChannelJSONRequestBody) (*http.Request, error)
NewCreateAlertChannelRequest calls the generic CreateAlertChannel builder with application/json body
func NewCreateAlertChannelRequestWithBody ¶
func NewCreateAlertChannelRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAlertChannelRequestWithBody generates requests for CreateAlertChannel with any type of body
func NewCreateMaintenanceWindowRequest ¶ added in v0.25.0
func NewCreateMaintenanceWindowRequest(server string, body CreateMaintenanceWindowJSONRequestBody) (*http.Request, error)
NewCreateMaintenanceWindowRequest calls the generic CreateMaintenanceWindow builder with application/json body
func NewCreateMaintenanceWindowRequestWithBody ¶ added in v0.25.0
func NewCreateMaintenanceWindowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMaintenanceWindowRequestWithBody generates requests for CreateMaintenanceWindow with any type of body
func NewCreateMonitorRequest ¶
func NewCreateMonitorRequest(server string, body CreateMonitorJSONRequestBody) (*http.Request, error)
NewCreateMonitorRequest calls the generic CreateMonitor builder with application/json body
func NewCreateMonitorRequestWithBody ¶
func NewCreateMonitorRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMonitorRequestWithBody generates requests for CreateMonitor with any type of body
func NewCreateStatusPageIncidentRequest ¶ added in v0.23.0
func NewCreateStatusPageIncidentRequest(server string, id openapi_types.UUID, body CreateStatusPageIncidentJSONRequestBody) (*http.Request, error)
NewCreateStatusPageIncidentRequest calls the generic CreateStatusPageIncident builder with application/json body
func NewCreateStatusPageIncidentRequestWithBody ¶ added in v0.23.0
func NewCreateStatusPageIncidentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageIncidentRequestWithBody generates requests for CreateStatusPageIncident with any type of body
func NewCreateStatusPageIncidentUpdateRequest ¶ added in v0.23.0
func NewCreateStatusPageIncidentUpdateRequest(server string, id openapi_types.UUID, incidentId openapi_types.UUID, body CreateStatusPageIncidentUpdateJSONRequestBody) (*http.Request, error)
NewCreateStatusPageIncidentUpdateRequest calls the generic CreateStatusPageIncidentUpdate builder with application/json body
func NewCreateStatusPageIncidentUpdateRequestWithBody ¶ added in v0.23.0
func NewCreateStatusPageIncidentUpdateRequestWithBody(server string, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageIncidentUpdateRequestWithBody generates requests for CreateStatusPageIncidentUpdate with any type of body
func NewCreateStatusPagePreviewLinkRequest ¶ added in v0.23.0
func NewCreateStatusPagePreviewLinkRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewCreateStatusPagePreviewLinkRequest generates requests for CreateStatusPagePreviewLink
func NewCreateStatusPageRequest ¶ added in v0.23.0
func NewCreateStatusPageRequest(server string, body CreateStatusPageJSONRequestBody) (*http.Request, error)
NewCreateStatusPageRequest calls the generic CreateStatusPage builder with application/json body
func NewCreateStatusPageRequestWithBody ¶ added in v0.23.0
func NewCreateStatusPageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageRequestWithBody generates requests for CreateStatusPage with any type of body
func NewDeleteAlertChannelRequest ¶
NewDeleteAlertChannelRequest generates requests for DeleteAlertChannel
func NewDeleteMaintenanceWindowRequest ¶ added in v0.25.0
NewDeleteMaintenanceWindowRequest generates requests for DeleteMaintenanceWindow
func NewDeleteMonitorRequest ¶
NewDeleteMonitorRequest generates requests for DeleteMonitor
func NewDeleteStatusPageDomainRequest ¶ added in v0.24.0
NewDeleteStatusPageDomainRequest generates requests for DeleteStatusPageDomain
func NewDeleteStatusPageLogoRequest ¶ added in v0.24.0
NewDeleteStatusPageLogoRequest generates requests for DeleteStatusPageLogo
func NewDeleteStatusPageRequest ¶ added in v0.23.0
NewDeleteStatusPageRequest generates requests for DeleteStatusPage
func NewDeleteStatusPageSubscriberRequest ¶ added in v0.24.0
func NewDeleteStatusPageSubscriberRequest(server string, id openapi_types.UUID, subscriberId openapi_types.UUID) (*http.Request, error)
NewDeleteStatusPageSubscriberRequest generates requests for DeleteStatusPageSubscriber
func NewExportStatusPageSubscribersRequest ¶ added in v0.24.0
func NewExportStatusPageSubscribersRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewExportStatusPageSubscribersRequest generates requests for ExportStatusPageSubscribers
func NewFinishMaintenanceWindowRequest ¶ added in v0.25.0
NewFinishMaintenanceWindowRequest generates requests for FinishMaintenanceWindow
func NewGetAlertChannelRequest ¶
NewGetAlertChannelRequest generates requests for GetAlertChannel
func NewGetIncidentRequest ¶
NewGetIncidentRequest generates requests for GetIncident
func NewGetIncidentSummaryRequest ¶
NewGetIncidentSummaryRequest generates requests for GetIncidentSummary
func NewGetMaintenanceTargetsRequest ¶ added in v0.25.0
NewGetMaintenanceTargetsRequest generates requests for GetMaintenanceTargets
func NewGetMaintenanceWindowRequest ¶ added in v0.25.0
NewGetMaintenanceWindowRequest generates requests for GetMaintenanceWindow
func NewGetMonitorAlertsRequest ¶
NewGetMonitorAlertsRequest generates requests for GetMonitorAlerts
func NewGetMonitorAvailabilityRequest ¶
func NewGetMonitorAvailabilityRequest(server string, id openapi_types.UUID, params *GetMonitorAvailabilityParams) (*http.Request, error)
NewGetMonitorAvailabilityRequest generates requests for GetMonitorAvailability
func NewGetMonitorCertificateRequest ¶
NewGetMonitorCertificateRequest generates requests for GetMonitorCertificate
func NewGetMonitorRequest ¶
NewGetMonitorRequest generates requests for GetMonitor
func NewGetMonitorStatsRequest ¶
func NewGetMonitorStatsRequest(server string, id openapi_types.UUID, params *GetMonitorStatsParams) (*http.Request, error)
NewGetMonitorStatsRequest generates requests for GetMonitorStats
func NewGetStatusPageDomainRequest ¶ added in v0.24.0
NewGetStatusPageDomainRequest generates requests for GetStatusPageDomain
func NewGetStatusPageIncidentRequest ¶ added in v0.23.0
func NewGetStatusPageIncidentRequest(server string, id openapi_types.UUID, incidentId openapi_types.UUID) (*http.Request, error)
NewGetStatusPageIncidentRequest generates requests for GetStatusPageIncident
func NewGetStatusPageLayoutRequest ¶ added in v0.23.0
NewGetStatusPageLayoutRequest generates requests for GetStatusPageLayout
func NewGetStatusPageLogoRequest ¶ added in v0.24.0
NewGetStatusPageLogoRequest generates requests for GetStatusPageLogo
func NewGetStatusPageRequest ¶ added in v0.23.0
NewGetStatusPageRequest generates requests for GetStatusPage
func NewListAlertChannelDeliveriesRequest ¶
func NewListAlertChannelDeliveriesRequest(server string, id openapi_types.UUID, params *ListAlertChannelDeliveriesParams) (*http.Request, error)
NewListAlertChannelDeliveriesRequest generates requests for ListAlertChannelDeliveries
func NewListAlertChannelsRequest ¶
func NewListAlertChannelsRequest(server string, params *ListAlertChannelsParams) (*http.Request, error)
NewListAlertChannelsRequest generates requests for ListAlertChannels
func NewListIncidentsRequest ¶
func NewListIncidentsRequest(server string, params *ListIncidentsParams) (*http.Request, error)
NewListIncidentsRequest generates requests for ListIncidents
func NewListMaintenanceWindowsRequest ¶ added in v0.25.0
func NewListMaintenanceWindowsRequest(server string, params *ListMaintenanceWindowsParams) (*http.Request, error)
NewListMaintenanceWindowsRequest generates requests for ListMaintenanceWindows
func NewListMonitorResultsRequest ¶
func NewListMonitorResultsRequest(server string, id openapi_types.UUID, params *ListMonitorResultsParams) (*http.Request, error)
NewListMonitorResultsRequest generates requests for ListMonitorResults
func NewListMonitorStatusChangesRequest ¶
func NewListMonitorStatusChangesRequest(server string, id openapi_types.UUID, params *ListMonitorStatusChangesParams) (*http.Request, error)
NewListMonitorStatusChangesRequest generates requests for ListMonitorStatusChanges
func NewListMonitorsRequest ¶
func NewListMonitorsRequest(server string, params *ListMonitorsParams) (*http.Request, error)
NewListMonitorsRequest generates requests for ListMonitors
func NewListStatusPageIncidentsRequest ¶ added in v0.23.0
func NewListStatusPageIncidentsRequest(server string, id openapi_types.UUID, params *ListStatusPageIncidentsParams) (*http.Request, error)
NewListStatusPageIncidentsRequest generates requests for ListStatusPageIncidents
func NewListStatusPageSubscribersRequest ¶ added in v0.24.0
func NewListStatusPageSubscribersRequest(server string, id openapi_types.UUID, params *ListStatusPageSubscribersParams) (*http.Request, error)
NewListStatusPageSubscribersRequest generates requests for ListStatusPageSubscribers
func NewListStatusPagesRequest ¶ added in v0.23.0
func NewListStatusPagesRequest(server string, params *ListStatusPagesParams) (*http.Request, error)
NewListStatusPagesRequest generates requests for ListStatusPages
func NewPauseMonitorRequest ¶
NewPauseMonitorRequest generates requests for PauseMonitor
func NewPreviewStatusPageRequest ¶ added in v0.23.0
NewPreviewStatusPageRequest generates requests for PreviewStatusPage
func NewPublishStatusPageRequest ¶ added in v0.23.0
NewPublishStatusPageRequest generates requests for PublishStatusPage
func NewResumeMonitorRequest ¶
NewResumeMonitorRequest generates requests for ResumeMonitor
func NewRunMonitorCheckRequest ¶
NewRunMonitorCheckRequest generates requests for RunMonitorCheck
func NewSendAlertChannelVerificationRequest ¶
func NewSendAlertChannelVerificationRequest(server string, id openapi_types.UUID) (*http.Request, error)
NewSendAlertChannelVerificationRequest generates requests for SendAlertChannelVerification
func NewSetMonitorAlertsRequest ¶
func NewSetMonitorAlertsRequest(server string, id openapi_types.UUID, body SetMonitorAlertsJSONRequestBody) (*http.Request, error)
NewSetMonitorAlertsRequest calls the generic SetMonitorAlerts builder with application/json body
func NewSetMonitorAlertsRequestWithBody ¶
func NewSetMonitorAlertsRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetMonitorAlertsRequestWithBody generates requests for SetMonitorAlerts with any type of body
func NewSetStatusPageDomainRequest ¶ added in v0.24.0
func NewSetStatusPageDomainRequest(server string, id openapi_types.UUID, body SetStatusPageDomainJSONRequestBody) (*http.Request, error)
NewSetStatusPageDomainRequest calls the generic SetStatusPageDomain builder with application/json body
func NewSetStatusPageDomainRequestWithBody ¶ added in v0.24.0
func NewSetStatusPageDomainRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetStatusPageDomainRequestWithBody generates requests for SetStatusPageDomain with any type of body
func NewSetStatusPageLayoutRequest ¶ added in v0.23.0
func NewSetStatusPageLayoutRequest(server string, id openapi_types.UUID, body SetStatusPageLayoutJSONRequestBody) (*http.Request, error)
NewSetStatusPageLayoutRequest calls the generic SetStatusPageLayout builder with application/json body
func NewSetStatusPageLayoutRequestWithBody ¶ added in v0.23.0
func NewSetStatusPageLayoutRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetStatusPageLayoutRequestWithBody generates requests for SetStatusPageLayout with any type of body
func NewSetStatusPageLogoRequest ¶ added in v0.24.0
func NewSetStatusPageLogoRequest(server string, id openapi_types.UUID, body SetStatusPageLogoJSONRequestBody) (*http.Request, error)
NewSetStatusPageLogoRequest calls the generic SetStatusPageLogo builder with application/json body
func NewSetStatusPageLogoRequestWithBody ¶ added in v0.24.0
func NewSetStatusPageLogoRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewSetStatusPageLogoRequestWithBody generates requests for SetStatusPageLogo with any type of body
func NewTestAlertChannelRequest ¶
NewTestAlertChannelRequest generates requests for TestAlertChannel
func NewUnpublishStatusPageRequest ¶ added in v0.23.0
NewUnpublishStatusPageRequest generates requests for UnpublishStatusPage
func NewUpdateAlertChannelRequest ¶
func NewUpdateAlertChannelRequest(server string, id openapi_types.UUID, body UpdateAlertChannelJSONRequestBody) (*http.Request, error)
NewUpdateAlertChannelRequest calls the generic UpdateAlertChannel builder with application/json body
func NewUpdateAlertChannelRequestWithBody ¶
func NewUpdateAlertChannelRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAlertChannelRequestWithBody generates requests for UpdateAlertChannel with any type of body
func NewUpdateMaintenanceWindowRequest ¶ added in v0.25.0
func NewUpdateMaintenanceWindowRequest(server string, id openapi_types.UUID, body UpdateMaintenanceWindowJSONRequestBody) (*http.Request, error)
NewUpdateMaintenanceWindowRequest calls the generic UpdateMaintenanceWindow builder with application/json body
func NewUpdateMaintenanceWindowRequestWithBody ¶ added in v0.25.0
func NewUpdateMaintenanceWindowRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMaintenanceWindowRequestWithBody generates requests for UpdateMaintenanceWindow with any type of body
func NewUpdateMonitorRequest ¶
func NewUpdateMonitorRequest(server string, id openapi_types.UUID, body UpdateMonitorJSONRequestBody) (*http.Request, error)
NewUpdateMonitorRequest calls the generic UpdateMonitor builder with application/json body
func NewUpdateMonitorRequestWithBody ¶
func NewUpdateMonitorRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMonitorRequestWithBody generates requests for UpdateMonitor with any type of body
func NewUpdateStatusPageIncidentRequest ¶ added in v0.23.0
func NewUpdateStatusPageIncidentRequest(server string, id openapi_types.UUID, incidentId openapi_types.UUID, body UpdateStatusPageIncidentJSONRequestBody) (*http.Request, error)
NewUpdateStatusPageIncidentRequest calls the generic UpdateStatusPageIncident builder with application/json body
func NewUpdateStatusPageIncidentRequestWithBody ¶ added in v0.23.0
func NewUpdateStatusPageIncidentRequestWithBody(server string, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusPageIncidentRequestWithBody generates requests for UpdateStatusPageIncident with any type of body
func NewUpdateStatusPageRequest ¶ added in v0.23.0
func NewUpdateStatusPageRequest(server string, id openapi_types.UUID, body UpdateStatusPageJSONRequestBody) (*http.Request, error)
NewUpdateStatusPageRequest calls the generic UpdateStatusPage builder with application/json body
Types ¶
type AcknowledgeIncidentResponse ¶
type AcknowledgeIncidentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoIncidentDetail
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseAcknowledgeIncidentResponse ¶
func ParseAcknowledgeIncidentResponse(rsp *http.Response) (*AcknowledgeIncidentResponse, error)
ParseAcknowledgeIncidentResponse parses an HTTP response from a AcknowledgeIncidentWithResponse call
func (AcknowledgeIncidentResponse) ContentType ¶
func (r AcknowledgeIncidentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcknowledgeIncidentResponse) Status ¶
func (r AcknowledgeIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (AcknowledgeIncidentResponse) StatusCode ¶
func (r AcknowledgeIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplyMonitorBulkActionJSONRequestBody ¶
type ApplyMonitorBulkActionJSONRequestBody = DtoMonitorBulkRequest
ApplyMonitorBulkActionJSONRequestBody defines body for ApplyMonitorBulkAction for application/json ContentType.
type ApplyMonitorBulkActionResponse ¶
type ApplyMonitorBulkActionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitorBulkResult
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON429 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseApplyMonitorBulkActionResponse ¶
func ParseApplyMonitorBulkActionResponse(rsp *http.Response) (*ApplyMonitorBulkActionResponse, error)
ParseApplyMonitorBulkActionResponse parses an HTTP response from a ApplyMonitorBulkActionWithResponse call
func (ApplyMonitorBulkActionResponse) ContentType ¶
func (r ApplyMonitorBulkActionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApplyMonitorBulkActionResponse) Status ¶
func (r ApplyMonitorBulkActionResponse) Status() string
Status returns HTTPResponse.Status
func (ApplyMonitorBulkActionResponse) StatusCode ¶
func (r ApplyMonitorBulkActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelMaintenanceWindowResponse ¶ added in v0.25.0
type CancelMaintenanceWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMaintenanceWindow
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseCancelMaintenanceWindowResponse ¶ added in v0.25.0
func ParseCancelMaintenanceWindowResponse(rsp *http.Response) (*CancelMaintenanceWindowResponse, error)
ParseCancelMaintenanceWindowResponse parses an HTTP response from a CancelMaintenanceWindowWithResponse call
func (CancelMaintenanceWindowResponse) ContentType ¶ added in v0.25.0
func (r CancelMaintenanceWindowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelMaintenanceWindowResponse) Status ¶ added in v0.25.0
func (r CancelMaintenanceWindowResponse) Status() string
Status returns HTTPResponse.Status
func (CancelMaintenanceWindowResponse) StatusCode ¶ added in v0.25.0
func (r CancelMaintenanceWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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) AcknowledgeIncident ¶
func (c *Client) AcknowledgeIncident(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplyMonitorBulkAction ¶
func (c *Client) ApplyMonitorBulkAction(ctx context.Context, body ApplyMonitorBulkActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplyMonitorBulkActionWithBody ¶
func (*Client) CancelMaintenanceWindow ¶ added in v0.25.0
func (c *Client) CancelMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConfirmAlertChannelVerification ¶
func (c *Client) ConfirmAlertChannelVerification(ctx context.Context, id openapi_types.UUID, body ConfirmAlertChannelVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConfirmAlertChannelVerificationWithBody ¶
func (*Client) CountStatusPageSubscribers ¶ added in v0.24.0
func (c *Client) CountStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAlertChannel ¶
func (c *Client) CreateAlertChannel(ctx context.Context, body CreateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAlertChannelWithBody ¶
func (*Client) CreateMaintenanceWindow ¶ added in v0.25.0
func (c *Client) CreateMaintenanceWindow(ctx context.Context, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMaintenanceWindowWithBody ¶ added in v0.25.0
func (*Client) CreateMonitor ¶
func (c *Client) CreateMonitor(ctx context.Context, body CreateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMonitorWithBody ¶
func (*Client) CreateStatusPage ¶ added in v0.23.0
func (c *Client) CreateStatusPage(ctx context.Context, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateStatusPageIncident ¶ added in v0.23.0
func (c *Client) CreateStatusPageIncident(ctx context.Context, id openapi_types.UUID, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateStatusPageIncidentUpdate ¶ added in v0.23.0
func (c *Client) CreateStatusPageIncidentUpdate(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateStatusPageIncidentUpdateWithBody ¶ added in v0.23.0
func (c *Client) CreateStatusPageIncidentUpdateWithBody(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateStatusPageIncidentWithBody ¶ added in v0.23.0
func (*Client) CreateStatusPagePreviewLink ¶ added in v0.23.0
func (c *Client) CreateStatusPagePreviewLink(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateStatusPageWithBody ¶ added in v0.23.0
func (*Client) DeleteAlertChannel ¶
func (c *Client) DeleteAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteMaintenanceWindow ¶ added in v0.25.0
func (c *Client) DeleteMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteMonitor ¶
func (c *Client) DeleteMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteStatusPage ¶ added in v0.23.0
func (c *Client) DeleteStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteStatusPageDomain ¶ added in v0.24.0
func (c *Client) DeleteStatusPageDomain(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteStatusPageLogo ¶ added in v0.24.0
func (c *Client) DeleteStatusPageLogo(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteStatusPageSubscriber ¶ added in v0.24.0
func (c *Client) DeleteStatusPageSubscriber(ctx context.Context, id openapi_types.UUID, subscriberId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExportStatusPageSubscribers ¶ added in v0.24.0
func (c *Client) ExportStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FinishMaintenanceWindow ¶ added in v0.25.0
func (c *Client) FinishMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAlertChannel ¶
func (c *Client) GetAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIncident ¶
func (c *Client) GetIncident(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIncidentSummary ¶
func (*Client) GetMaintenanceTargets ¶ added in v0.25.0
func (*Client) GetMaintenanceWindow ¶ added in v0.25.0
func (c *Client) GetMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMonitor ¶
func (c *Client) GetMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMonitorAlerts ¶
func (c *Client) GetMonitorAlerts(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMonitorAvailability ¶
func (c *Client) GetMonitorAvailability(ctx context.Context, id openapi_types.UUID, params *GetMonitorAvailabilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMonitorCertificate ¶
func (c *Client) GetMonitorCertificate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMonitorStats ¶
func (c *Client) GetMonitorStats(ctx context.Context, id openapi_types.UUID, params *GetMonitorStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStatusPage ¶ added in v0.23.0
func (c *Client) GetStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStatusPageDomain ¶ added in v0.24.0
func (c *Client) GetStatusPageDomain(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStatusPageIncident ¶ added in v0.23.0
func (c *Client) GetStatusPageIncident(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStatusPageLayout ¶ added in v0.23.0
func (c *Client) GetStatusPageLayout(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetStatusPageLogo ¶ added in v0.24.0
func (c *Client) GetStatusPageLogo(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAlertChannelDeliveries ¶
func (c *Client) ListAlertChannelDeliveries(ctx context.Context, id openapi_types.UUID, params *ListAlertChannelDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAlertChannels ¶
func (c *Client) ListAlertChannels(ctx context.Context, params *ListAlertChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIncidents ¶
func (c *Client) ListIncidents(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListMaintenanceWindows ¶ added in v0.25.0
func (c *Client) ListMaintenanceWindows(ctx context.Context, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListMonitorResults ¶
func (c *Client) ListMonitorResults(ctx context.Context, id openapi_types.UUID, params *ListMonitorResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListMonitorStatusChanges ¶
func (c *Client) ListMonitorStatusChanges(ctx context.Context, id openapi_types.UUID, params *ListMonitorStatusChangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListMonitors ¶
func (c *Client) ListMonitors(ctx context.Context, params *ListMonitorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListStatusPageIncidents ¶ added in v0.23.0
func (c *Client) ListStatusPageIncidents(ctx context.Context, id openapi_types.UUID, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListStatusPageSubscribers ¶ added in v0.24.0
func (c *Client) ListStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, params *ListStatusPageSubscribersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListStatusPages ¶ added in v0.23.0
func (c *Client) ListStatusPages(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PauseMonitor ¶
func (c *Client) PauseMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PreviewStatusPage ¶ added in v0.23.0
func (c *Client) PreviewStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PublishStatusPage ¶ added in v0.23.0
func (c *Client) PublishStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResumeMonitor ¶
func (c *Client) ResumeMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RunMonitorCheck ¶
func (c *Client) RunMonitorCheck(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendAlertChannelVerification ¶
func (c *Client) SendAlertChannelVerification(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetMonitorAlerts ¶
func (c *Client) SetMonitorAlerts(ctx context.Context, id openapi_types.UUID, body SetMonitorAlertsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetMonitorAlertsWithBody ¶
func (*Client) SetStatusPageDomain ¶ added in v0.24.0
func (c *Client) SetStatusPageDomain(ctx context.Context, id openapi_types.UUID, body SetStatusPageDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetStatusPageDomainWithBody ¶ added in v0.24.0
func (*Client) SetStatusPageLayout ¶ added in v0.23.0
func (c *Client) SetStatusPageLayout(ctx context.Context, id openapi_types.UUID, body SetStatusPageLayoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetStatusPageLayoutWithBody ¶ added in v0.23.0
func (*Client) SetStatusPageLogo ¶ added in v0.24.0
func (c *Client) SetStatusPageLogo(ctx context.Context, id openapi_types.UUID, body SetStatusPageLogoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetStatusPageLogoWithBody ¶ added in v0.24.0
func (*Client) TestAlertChannel ¶
func (c *Client) TestAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnpublishStatusPage ¶ added in v0.23.0
func (c *Client) UnpublishStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAlertChannel ¶
func (c *Client) UpdateAlertChannel(ctx context.Context, id openapi_types.UUID, body UpdateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAlertChannelWithBody ¶
func (*Client) UpdateMaintenanceWindow ¶ added in v0.25.0
func (c *Client) UpdateMaintenanceWindow(ctx context.Context, id openapi_types.UUID, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMaintenanceWindowWithBody ¶ added in v0.25.0
func (*Client) UpdateMonitor ¶
func (c *Client) UpdateMonitor(ctx context.Context, id openapi_types.UUID, body UpdateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateMonitorWithBody ¶
func (*Client) UpdateStatusPage ¶ added in v0.23.0
func (c *Client) UpdateStatusPage(ctx context.Context, id openapi_types.UUID, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateStatusPageIncident ¶ added in v0.23.0
func (c *Client) UpdateStatusPageIncident(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateStatusPageIncidentWithBody ¶ added in v0.23.0
func (c *Client) UpdateStatusPageIncidentWithBody(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateStatusPageWithBody ¶ added in v0.23.0
type ClientInterface ¶
type ClientInterface interface {
// ListAlertChannels request
ListAlertChannels(ctx context.Context, params *ListAlertChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAlertChannelWithBody request with any body
CreateAlertChannelWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAlertChannel(ctx context.Context, body CreateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAlertChannel request
DeleteAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAlertChannel request
GetAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAlertChannelWithBody request with any body
UpdateAlertChannelWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAlertChannel(ctx context.Context, id openapi_types.UUID, body UpdateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAlertChannelDeliveries request
ListAlertChannelDeliveries(ctx context.Context, id openapi_types.UUID, params *ListAlertChannelDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestAlertChannel request
TestAlertChannel(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendAlertChannelVerification request
SendAlertChannelVerification(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfirmAlertChannelVerificationWithBody request with any body
ConfirmAlertChannelVerificationWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfirmAlertChannelVerification(ctx context.Context, id openapi_types.UUID, body ConfirmAlertChannelVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidents request
ListIncidents(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentSummary request
GetIncidentSummary(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncident request
GetIncident(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcknowledgeIncident request
AcknowledgeIncident(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMaintenanceWindows request
ListMaintenanceWindows(ctx context.Context, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMaintenanceWindowWithBody request with any body
CreateMaintenanceWindowWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMaintenanceWindow(ctx context.Context, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMaintenanceTargets request
GetMaintenanceTargets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMaintenanceWindow request
DeleteMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMaintenanceWindow request
GetMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMaintenanceWindowWithBody request with any body
UpdateMaintenanceWindowWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMaintenanceWindow(ctx context.Context, id openapi_types.UUID, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelMaintenanceWindow request
CancelMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// FinishMaintenanceWindow request
FinishMaintenanceWindow(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMonitors request
ListMonitors(ctx context.Context, params *ListMonitorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMonitorWithBody request with any body
CreateMonitorWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMonitor(ctx context.Context, body CreateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyMonitorBulkActionWithBody request with any body
ApplyMonitorBulkActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyMonitorBulkAction(ctx context.Context, body ApplyMonitorBulkActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMonitor request
DeleteMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMonitor request
GetMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMonitorWithBody request with any body
UpdateMonitorWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMonitor(ctx context.Context, id openapi_types.UUID, body UpdateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMonitorAlerts request
GetMonitorAlerts(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMonitorAlertsWithBody request with any body
SetMonitorAlertsWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMonitorAlerts(ctx context.Context, id openapi_types.UUID, body SetMonitorAlertsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMonitorAvailability request
GetMonitorAvailability(ctx context.Context, id openapi_types.UUID, params *GetMonitorAvailabilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMonitorCertificate request
GetMonitorCertificate(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// RunMonitorCheck request
RunMonitorCheck(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PauseMonitor request
PauseMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMonitorResults request
ListMonitorResults(ctx context.Context, id openapi_types.UUID, params *ListMonitorResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResumeMonitor request
ResumeMonitor(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMonitorStats request
GetMonitorStats(ctx context.Context, id openapi_types.UUID, params *GetMonitorStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMonitorStatusChanges request
ListMonitorStatusChanges(ctx context.Context, id openapi_types.UUID, params *ListMonitorStatusChangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPages request
ListStatusPages(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageWithBody request with any body
CreateStatusPageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPage(ctx context.Context, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPage request
DeleteStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPage request
GetStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageWithBody request with any body
UpdateStatusPageWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPage(ctx context.Context, id openapi_types.UUID, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPageDomain request
DeleteStatusPageDomain(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageDomain request
GetStatusPageDomain(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetStatusPageDomainWithBody request with any body
SetStatusPageDomainWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetStatusPageDomain(ctx context.Context, id openapi_types.UUID, body SetStatusPageDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPageIncidents request
ListStatusPageIncidents(ctx context.Context, id openapi_types.UUID, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageIncidentWithBody request with any body
CreateStatusPageIncidentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageIncident(ctx context.Context, id openapi_types.UUID, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageIncident request
GetStatusPageIncident(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageIncidentWithBody request with any body
UpdateStatusPageIncidentWithBody(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageIncident(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageIncidentUpdateWithBody request with any body
CreateStatusPageIncidentUpdateWithBody(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageIncidentUpdate(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageLayout request
GetStatusPageLayout(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetStatusPageLayoutWithBody request with any body
SetStatusPageLayoutWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetStatusPageLayout(ctx context.Context, id openapi_types.UUID, body SetStatusPageLayoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPageLogo request
DeleteStatusPageLogo(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageLogo request
GetStatusPageLogo(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetStatusPageLogoWithBody request with any body
SetStatusPageLogoWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetStatusPageLogo(ctx context.Context, id openapi_types.UUID, body SetStatusPageLogoJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewStatusPage request
PreviewStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPagePreviewLink request
CreateStatusPagePreviewLink(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PublishStatusPage request
PublishStatusPage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPageSubscribers request
ListStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, params *ListStatusPageSubscribersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CountStatusPageSubscribers request
CountStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportStatusPageSubscribers request
ExportStatusPageSubscribers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPageSubscriber request
DeleteStatusPageSubscriber(ctx context.Context, id openapi_types.UUID, subscriberId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnpublishStatusPage request
UnpublishStatusPage(ctx context.Context, id openapi_types.UUID, 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) AcknowledgeIncidentWithResponse ¶
func (c *ClientWithResponses) AcknowledgeIncidentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*AcknowledgeIncidentResponse, error)
AcknowledgeIncidentWithResponse request returning *AcknowledgeIncidentResponse
func (*ClientWithResponses) ApplyMonitorBulkActionWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplyMonitorBulkActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyMonitorBulkActionResponse, error)
ApplyMonitorBulkActionWithBodyWithResponse request with arbitrary body returning *ApplyMonitorBulkActionResponse
func (*ClientWithResponses) ApplyMonitorBulkActionWithResponse ¶
func (c *ClientWithResponses) ApplyMonitorBulkActionWithResponse(ctx context.Context, body ApplyMonitorBulkActionJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyMonitorBulkActionResponse, error)
func (*ClientWithResponses) CancelMaintenanceWindowWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) CancelMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelMaintenanceWindowResponse, error)
CancelMaintenanceWindowWithResponse request returning *CancelMaintenanceWindowResponse
func (*ClientWithResponses) ConfirmAlertChannelVerificationWithBodyWithResponse ¶
func (c *ClientWithResponses) ConfirmAlertChannelVerificationWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmAlertChannelVerificationResponse, error)
ConfirmAlertChannelVerificationWithBodyWithResponse request with arbitrary body returning *ConfirmAlertChannelVerificationResponse
func (*ClientWithResponses) ConfirmAlertChannelVerificationWithResponse ¶
func (c *ClientWithResponses) ConfirmAlertChannelVerificationWithResponse(ctx context.Context, id openapi_types.UUID, body ConfirmAlertChannelVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmAlertChannelVerificationResponse, error)
func (*ClientWithResponses) CountStatusPageSubscribersWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) CountStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CountStatusPageSubscribersResponse, error)
CountStatusPageSubscribersWithResponse request returning *CountStatusPageSubscribersResponse
func (*ClientWithResponses) CreateAlertChannelWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAlertChannelWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertChannelResponse, error)
CreateAlertChannelWithBodyWithResponse request with arbitrary body returning *CreateAlertChannelResponse
func (*ClientWithResponses) CreateAlertChannelWithResponse ¶
func (c *ClientWithResponses) CreateAlertChannelWithResponse(ctx context.Context, body CreateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertChannelResponse, error)
func (*ClientWithResponses) CreateMaintenanceWindowWithBodyWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) CreateMaintenanceWindowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResponse, error)
CreateMaintenanceWindowWithBodyWithResponse request with arbitrary body returning *CreateMaintenanceWindowResponse
func (*ClientWithResponses) CreateMaintenanceWindowWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) CreateMaintenanceWindowWithResponse(ctx context.Context, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResponse, error)
func (*ClientWithResponses) CreateMonitorWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMonitorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitorResponse, error)
CreateMonitorWithBodyWithResponse request with arbitrary body returning *CreateMonitorResponse
func (*ClientWithResponses) CreateMonitorWithResponse ¶
func (c *ClientWithResponses) CreateMonitorWithResponse(ctx context.Context, body CreateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitorResponse, error)
func (*ClientWithResponses) CreateStatusPageIncidentUpdateWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResponse, error)
CreateStatusPageIncidentUpdateWithBodyWithResponse request with arbitrary body returning *CreateStatusPageIncidentUpdateResponse
func (*ClientWithResponses) CreateStatusPageIncidentUpdateWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResponse, error)
func (*ClientWithResponses) CreateStatusPageIncidentWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResponse, error)
CreateStatusPageIncidentWithBodyWithResponse request with arbitrary body returning *CreateStatusPageIncidentResponse
func (*ClientWithResponses) CreateStatusPageIncidentWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) CreateStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResponse, error)
func (*ClientWithResponses) CreateStatusPagePreviewLinkWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) CreateStatusPagePreviewLinkWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateStatusPagePreviewLinkResponse, error)
CreateStatusPagePreviewLinkWithResponse request returning *CreateStatusPagePreviewLinkResponse
func (*ClientWithResponses) CreateStatusPageWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) CreateStatusPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResponse, error)
CreateStatusPageWithBodyWithResponse request with arbitrary body returning *CreateStatusPageResponse
func (*ClientWithResponses) CreateStatusPageWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) CreateStatusPageWithResponse(ctx context.Context, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageResponse, error)
func (*ClientWithResponses) DeleteAlertChannelWithResponse ¶
func (c *ClientWithResponses) DeleteAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAlertChannelResponse, error)
DeleteAlertChannelWithResponse request returning *DeleteAlertChannelResponse
func (*ClientWithResponses) DeleteMaintenanceWindowWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) DeleteMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMaintenanceWindowResponse, error)
DeleteMaintenanceWindowWithResponse request returning *DeleteMaintenanceWindowResponse
func (*ClientWithResponses) DeleteMonitorWithResponse ¶
func (c *ClientWithResponses) DeleteMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMonitorResponse, error)
DeleteMonitorWithResponse request returning *DeleteMonitorResponse
func (*ClientWithResponses) DeleteStatusPageDomainWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) DeleteStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageDomainResponse, error)
DeleteStatusPageDomainWithResponse request returning *DeleteStatusPageDomainResponse
func (*ClientWithResponses) DeleteStatusPageLogoWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) DeleteStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageLogoResponse, error)
DeleteStatusPageLogoWithResponse request returning *DeleteStatusPageLogoResponse
func (*ClientWithResponses) DeleteStatusPageSubscriberWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) DeleteStatusPageSubscriberWithResponse(ctx context.Context, id openapi_types.UUID, subscriberId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageSubscriberResponse, error)
DeleteStatusPageSubscriberWithResponse request returning *DeleteStatusPageSubscriberResponse
func (*ClientWithResponses) DeleteStatusPageWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) DeleteStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageResponse, error)
DeleteStatusPageWithResponse request returning *DeleteStatusPageResponse
func (*ClientWithResponses) ExportStatusPageSubscribersWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) ExportStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExportStatusPageSubscribersResponse, error)
ExportStatusPageSubscribersWithResponse request returning *ExportStatusPageSubscribersResponse
func (*ClientWithResponses) FinishMaintenanceWindowWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) FinishMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*FinishMaintenanceWindowResponse, error)
FinishMaintenanceWindowWithResponse request returning *FinishMaintenanceWindowResponse
func (*ClientWithResponses) GetAlertChannelWithResponse ¶
func (c *ClientWithResponses) GetAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAlertChannelResponse, error)
GetAlertChannelWithResponse request returning *GetAlertChannelResponse
func (*ClientWithResponses) GetIncidentSummaryWithResponse ¶
func (c *ClientWithResponses) GetIncidentSummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIncidentSummaryResponse, error)
GetIncidentSummaryWithResponse request returning *GetIncidentSummaryResponse
func (*ClientWithResponses) GetIncidentWithResponse ¶
func (c *ClientWithResponses) GetIncidentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetIncidentResponse, error)
GetIncidentWithResponse request returning *GetIncidentResponse
func (*ClientWithResponses) GetMaintenanceTargetsWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) GetMaintenanceTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMaintenanceTargetsResponse, error)
GetMaintenanceTargetsWithResponse request returning *GetMaintenanceTargetsResponse
func (*ClientWithResponses) GetMaintenanceWindowWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) GetMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowResponse, error)
GetMaintenanceWindowWithResponse request returning *GetMaintenanceWindowResponse
func (*ClientWithResponses) GetMonitorAlertsWithResponse ¶
func (c *ClientWithResponses) GetMonitorAlertsWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorAlertsResponse, error)
GetMonitorAlertsWithResponse request returning *GetMonitorAlertsResponse
func (*ClientWithResponses) GetMonitorAvailabilityWithResponse ¶
func (c *ClientWithResponses) GetMonitorAvailabilityWithResponse(ctx context.Context, id openapi_types.UUID, params *GetMonitorAvailabilityParams, reqEditors ...RequestEditorFn) (*GetMonitorAvailabilityResponse, error)
GetMonitorAvailabilityWithResponse request returning *GetMonitorAvailabilityResponse
func (*ClientWithResponses) GetMonitorCertificateWithResponse ¶
func (c *ClientWithResponses) GetMonitorCertificateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorCertificateResponse, error)
GetMonitorCertificateWithResponse request returning *GetMonitorCertificateResponse
func (*ClientWithResponses) GetMonitorStatsWithResponse ¶
func (c *ClientWithResponses) GetMonitorStatsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetMonitorStatsParams, reqEditors ...RequestEditorFn) (*GetMonitorStatsResponse, error)
GetMonitorStatsWithResponse request returning *GetMonitorStatsResponse
func (*ClientWithResponses) GetMonitorWithResponse ¶
func (c *ClientWithResponses) GetMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorResponse, error)
GetMonitorWithResponse request returning *GetMonitorResponse
func (*ClientWithResponses) GetStatusPageDomainWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) GetStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageDomainResponse, error)
GetStatusPageDomainWithResponse request returning *GetStatusPageDomainResponse
func (*ClientWithResponses) GetStatusPageIncidentWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) GetStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageIncidentResponse, error)
GetStatusPageIncidentWithResponse request returning *GetStatusPageIncidentResponse
func (*ClientWithResponses) GetStatusPageLayoutWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) GetStatusPageLayoutWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageLayoutResponse, error)
GetStatusPageLayoutWithResponse request returning *GetStatusPageLayoutResponse
func (*ClientWithResponses) GetStatusPageLogoWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) GetStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageLogoResponse, error)
GetStatusPageLogoWithResponse request returning *GetStatusPageLogoResponse
func (*ClientWithResponses) GetStatusPageWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) GetStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageResponse, error)
GetStatusPageWithResponse request returning *GetStatusPageResponse
func (*ClientWithResponses) ListAlertChannelDeliveriesWithResponse ¶
func (c *ClientWithResponses) ListAlertChannelDeliveriesWithResponse(ctx context.Context, id openapi_types.UUID, params *ListAlertChannelDeliveriesParams, reqEditors ...RequestEditorFn) (*ListAlertChannelDeliveriesResponse, error)
ListAlertChannelDeliveriesWithResponse request returning *ListAlertChannelDeliveriesResponse
func (*ClientWithResponses) ListAlertChannelsWithResponse ¶
func (c *ClientWithResponses) ListAlertChannelsWithResponse(ctx context.Context, params *ListAlertChannelsParams, reqEditors ...RequestEditorFn) (*ListAlertChannelsResponse, error)
ListAlertChannelsWithResponse request returning *ListAlertChannelsResponse
func (*ClientWithResponses) ListIncidentsWithResponse ¶
func (c *ClientWithResponses) ListIncidentsWithResponse(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*ListIncidentsResponse, error)
ListIncidentsWithResponse request returning *ListIncidentsResponse
func (*ClientWithResponses) ListMaintenanceWindowsWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) ListMaintenanceWindowsWithResponse(ctx context.Context, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*ListMaintenanceWindowsResponse, error)
ListMaintenanceWindowsWithResponse request returning *ListMaintenanceWindowsResponse
func (*ClientWithResponses) ListMonitorResultsWithResponse ¶
func (c *ClientWithResponses) ListMonitorResultsWithResponse(ctx context.Context, id openapi_types.UUID, params *ListMonitorResultsParams, reqEditors ...RequestEditorFn) (*ListMonitorResultsResponse, error)
ListMonitorResultsWithResponse request returning *ListMonitorResultsResponse
func (*ClientWithResponses) ListMonitorStatusChangesWithResponse ¶
func (c *ClientWithResponses) ListMonitorStatusChangesWithResponse(ctx context.Context, id openapi_types.UUID, params *ListMonitorStatusChangesParams, reqEditors ...RequestEditorFn) (*ListMonitorStatusChangesResponse, error)
ListMonitorStatusChangesWithResponse request returning *ListMonitorStatusChangesResponse
func (*ClientWithResponses) ListMonitorsWithResponse ¶
func (c *ClientWithResponses) ListMonitorsWithResponse(ctx context.Context, params *ListMonitorsParams, reqEditors ...RequestEditorFn) (*ListMonitorsResponse, error)
ListMonitorsWithResponse request returning *ListMonitorsResponse
func (*ClientWithResponses) ListStatusPageIncidentsWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) ListStatusPageIncidentsWithResponse(ctx context.Context, id openapi_types.UUID, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*ListStatusPageIncidentsResponse, error)
ListStatusPageIncidentsWithResponse request returning *ListStatusPageIncidentsResponse
func (*ClientWithResponses) ListStatusPageSubscribersWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) ListStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, params *ListStatusPageSubscribersParams, reqEditors ...RequestEditorFn) (*ListStatusPageSubscribersResponse, error)
ListStatusPageSubscribersWithResponse request returning *ListStatusPageSubscribersResponse
func (*ClientWithResponses) ListStatusPagesWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) ListStatusPagesWithResponse(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*ListStatusPagesResponse, error)
ListStatusPagesWithResponse request returning *ListStatusPagesResponse
func (*ClientWithResponses) PauseMonitorWithResponse ¶
func (c *ClientWithResponses) PauseMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PauseMonitorResponse, error)
PauseMonitorWithResponse request returning *PauseMonitorResponse
func (*ClientWithResponses) PreviewStatusPageWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) PreviewStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PreviewStatusPageResponse, error)
PreviewStatusPageWithResponse request returning *PreviewStatusPageResponse
func (*ClientWithResponses) PublishStatusPageWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) PublishStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PublishStatusPageResponse, error)
PublishStatusPageWithResponse request returning *PublishStatusPageResponse
func (*ClientWithResponses) ResumeMonitorWithResponse ¶
func (c *ClientWithResponses) ResumeMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResumeMonitorResponse, error)
ResumeMonitorWithResponse request returning *ResumeMonitorResponse
func (*ClientWithResponses) RunMonitorCheckWithResponse ¶
func (c *ClientWithResponses) RunMonitorCheckWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RunMonitorCheckResponse, error)
RunMonitorCheckWithResponse request returning *RunMonitorCheckResponse
func (*ClientWithResponses) SendAlertChannelVerificationWithResponse ¶
func (c *ClientWithResponses) SendAlertChannelVerificationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*SendAlertChannelVerificationResponse, error)
SendAlertChannelVerificationWithResponse request returning *SendAlertChannelVerificationResponse
func (*ClientWithResponses) SetMonitorAlertsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetMonitorAlertsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMonitorAlertsResponse, error)
SetMonitorAlertsWithBodyWithResponse request with arbitrary body returning *SetMonitorAlertsResponse
func (*ClientWithResponses) SetMonitorAlertsWithResponse ¶
func (c *ClientWithResponses) SetMonitorAlertsWithResponse(ctx context.Context, id openapi_types.UUID, body SetMonitorAlertsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMonitorAlertsResponse, error)
func (*ClientWithResponses) SetStatusPageDomainWithBodyWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) SetStatusPageDomainWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStatusPageDomainResponse, error)
SetStatusPageDomainWithBodyWithResponse request with arbitrary body returning *SetStatusPageDomainResponse
func (*ClientWithResponses) SetStatusPageDomainWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) SetStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, body SetStatusPageDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStatusPageDomainResponse, error)
func (*ClientWithResponses) SetStatusPageLayoutWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) SetStatusPageLayoutWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStatusPageLayoutResponse, error)
SetStatusPageLayoutWithBodyWithResponse request with arbitrary body returning *SetStatusPageLayoutResponse
func (*ClientWithResponses) SetStatusPageLayoutWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) SetStatusPageLayoutWithResponse(ctx context.Context, id openapi_types.UUID, body SetStatusPageLayoutJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStatusPageLayoutResponse, error)
func (*ClientWithResponses) SetStatusPageLogoWithBodyWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) SetStatusPageLogoWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStatusPageLogoResponse, error)
SetStatusPageLogoWithBodyWithResponse request with arbitrary body returning *SetStatusPageLogoResponse
func (*ClientWithResponses) SetStatusPageLogoWithResponse ¶ added in v0.24.0
func (c *ClientWithResponses) SetStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, body SetStatusPageLogoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStatusPageLogoResponse, error)
func (*ClientWithResponses) TestAlertChannelWithResponse ¶
func (c *ClientWithResponses) TestAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TestAlertChannelResponse, error)
TestAlertChannelWithResponse request returning *TestAlertChannelResponse
func (*ClientWithResponses) UnpublishStatusPageWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UnpublishStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UnpublishStatusPageResponse, error)
UnpublishStatusPageWithResponse request returning *UnpublishStatusPageResponse
func (*ClientWithResponses) UpdateAlertChannelWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAlertChannelWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAlertChannelResponse, error)
UpdateAlertChannelWithBodyWithResponse request with arbitrary body returning *UpdateAlertChannelResponse
func (*ClientWithResponses) UpdateAlertChannelWithResponse ¶
func (c *ClientWithResponses) UpdateAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAlertChannelResponse, error)
func (*ClientWithResponses) UpdateMaintenanceWindowWithBodyWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) UpdateMaintenanceWindowWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResponse, error)
UpdateMaintenanceWindowWithBodyWithResponse request with arbitrary body returning *UpdateMaintenanceWindowResponse
func (*ClientWithResponses) UpdateMaintenanceWindowWithResponse ¶ added in v0.25.0
func (c *ClientWithResponses) UpdateMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResponse, error)
func (*ClientWithResponses) UpdateMonitorWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMonitorWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitorResponse, error)
UpdateMonitorWithBodyWithResponse request with arbitrary body returning *UpdateMonitorResponse
func (*ClientWithResponses) UpdateMonitorWithResponse ¶
func (c *ClientWithResponses) UpdateMonitorWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitorResponse, error)
func (*ClientWithResponses) UpdateStatusPageIncidentWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResponse, error)
UpdateStatusPageIncidentWithBodyWithResponse request with arbitrary body returning *UpdateStatusPageIncidentResponse
func (*ClientWithResponses) UpdateStatusPageIncidentWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResponse, error)
func (*ClientWithResponses) UpdateStatusPageWithBodyWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateStatusPageWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResponse, error)
UpdateStatusPageWithBodyWithResponse request with arbitrary body returning *UpdateStatusPageResponse
func (*ClientWithResponses) UpdateStatusPageWithResponse ¶ added in v0.23.0
func (c *ClientWithResponses) UpdateStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAlertChannelsWithResponse request
ListAlertChannelsWithResponse(ctx context.Context, params *ListAlertChannelsParams, reqEditors ...RequestEditorFn) (*ListAlertChannelsResponse, error)
// CreateAlertChannelWithBodyWithResponse request with any body
CreateAlertChannelWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAlertChannelResponse, error)
CreateAlertChannelWithResponse(ctx context.Context, body CreateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAlertChannelResponse, error)
// DeleteAlertChannelWithResponse request
DeleteAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAlertChannelResponse, error)
// GetAlertChannelWithResponse request
GetAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAlertChannelResponse, error)
// UpdateAlertChannelWithBodyWithResponse request with any body
UpdateAlertChannelWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAlertChannelResponse, error)
UpdateAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateAlertChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAlertChannelResponse, error)
// ListAlertChannelDeliveriesWithResponse request
ListAlertChannelDeliveriesWithResponse(ctx context.Context, id openapi_types.UUID, params *ListAlertChannelDeliveriesParams, reqEditors ...RequestEditorFn) (*ListAlertChannelDeliveriesResponse, error)
// TestAlertChannelWithResponse request
TestAlertChannelWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*TestAlertChannelResponse, error)
// SendAlertChannelVerificationWithResponse request
SendAlertChannelVerificationWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*SendAlertChannelVerificationResponse, error)
// ConfirmAlertChannelVerificationWithBodyWithResponse request with any body
ConfirmAlertChannelVerificationWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmAlertChannelVerificationResponse, error)
ConfirmAlertChannelVerificationWithResponse(ctx context.Context, id openapi_types.UUID, body ConfirmAlertChannelVerificationJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmAlertChannelVerificationResponse, error)
// ListIncidentsWithResponse request
ListIncidentsWithResponse(ctx context.Context, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*ListIncidentsResponse, error)
// GetIncidentSummaryWithResponse request
GetIncidentSummaryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIncidentSummaryResponse, error)
// GetIncidentWithResponse request
GetIncidentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetIncidentResponse, error)
// AcknowledgeIncidentWithResponse request
AcknowledgeIncidentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*AcknowledgeIncidentResponse, error)
// ListMaintenanceWindowsWithResponse request
ListMaintenanceWindowsWithResponse(ctx context.Context, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*ListMaintenanceWindowsResponse, error)
// CreateMaintenanceWindowWithBodyWithResponse request with any body
CreateMaintenanceWindowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResponse, error)
CreateMaintenanceWindowWithResponse(ctx context.Context, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResponse, error)
// GetMaintenanceTargetsWithResponse request
GetMaintenanceTargetsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMaintenanceTargetsResponse, error)
// DeleteMaintenanceWindowWithResponse request
DeleteMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMaintenanceWindowResponse, error)
// GetMaintenanceWindowWithResponse request
GetMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowResponse, error)
// UpdateMaintenanceWindowWithBodyWithResponse request with any body
UpdateMaintenanceWindowWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResponse, error)
UpdateMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResponse, error)
// CancelMaintenanceWindowWithResponse request
CancelMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelMaintenanceWindowResponse, error)
// FinishMaintenanceWindowWithResponse request
FinishMaintenanceWindowWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*FinishMaintenanceWindowResponse, error)
// ListMonitorsWithResponse request
ListMonitorsWithResponse(ctx context.Context, params *ListMonitorsParams, reqEditors ...RequestEditorFn) (*ListMonitorsResponse, error)
// CreateMonitorWithBodyWithResponse request with any body
CreateMonitorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitorResponse, error)
CreateMonitorWithResponse(ctx context.Context, body CreateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitorResponse, error)
// ApplyMonitorBulkActionWithBodyWithResponse request with any body
ApplyMonitorBulkActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyMonitorBulkActionResponse, error)
ApplyMonitorBulkActionWithResponse(ctx context.Context, body ApplyMonitorBulkActionJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyMonitorBulkActionResponse, error)
// DeleteMonitorWithResponse request
DeleteMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteMonitorResponse, error)
// GetMonitorWithResponse request
GetMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorResponse, error)
// UpdateMonitorWithBodyWithResponse request with any body
UpdateMonitorWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitorResponse, error)
UpdateMonitorWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateMonitorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitorResponse, error)
// GetMonitorAlertsWithResponse request
GetMonitorAlertsWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorAlertsResponse, error)
// SetMonitorAlertsWithBodyWithResponse request with any body
SetMonitorAlertsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMonitorAlertsResponse, error)
SetMonitorAlertsWithResponse(ctx context.Context, id openapi_types.UUID, body SetMonitorAlertsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMonitorAlertsResponse, error)
// GetMonitorAvailabilityWithResponse request
GetMonitorAvailabilityWithResponse(ctx context.Context, id openapi_types.UUID, params *GetMonitorAvailabilityParams, reqEditors ...RequestEditorFn) (*GetMonitorAvailabilityResponse, error)
// GetMonitorCertificateWithResponse request
GetMonitorCertificateWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetMonitorCertificateResponse, error)
// RunMonitorCheckWithResponse request
RunMonitorCheckWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*RunMonitorCheckResponse, error)
// PauseMonitorWithResponse request
PauseMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PauseMonitorResponse, error)
// ListMonitorResultsWithResponse request
ListMonitorResultsWithResponse(ctx context.Context, id openapi_types.UUID, params *ListMonitorResultsParams, reqEditors ...RequestEditorFn) (*ListMonitorResultsResponse, error)
// ResumeMonitorWithResponse request
ResumeMonitorWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ResumeMonitorResponse, error)
// GetMonitorStatsWithResponse request
GetMonitorStatsWithResponse(ctx context.Context, id openapi_types.UUID, params *GetMonitorStatsParams, reqEditors ...RequestEditorFn) (*GetMonitorStatsResponse, error)
// ListMonitorStatusChangesWithResponse request
ListMonitorStatusChangesWithResponse(ctx context.Context, id openapi_types.UUID, params *ListMonitorStatusChangesParams, reqEditors ...RequestEditorFn) (*ListMonitorStatusChangesResponse, error)
// ListStatusPagesWithResponse request
ListStatusPagesWithResponse(ctx context.Context, params *ListStatusPagesParams, reqEditors ...RequestEditorFn) (*ListStatusPagesResponse, error)
// CreateStatusPageWithBodyWithResponse request with any body
CreateStatusPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResponse, error)
CreateStatusPageWithResponse(ctx context.Context, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageResponse, error)
// DeleteStatusPageWithResponse request
DeleteStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageResponse, error)
// GetStatusPageWithResponse request
GetStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageResponse, error)
// UpdateStatusPageWithBodyWithResponse request with any body
UpdateStatusPageWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResponse, error)
UpdateStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageResponse, error)
// DeleteStatusPageDomainWithResponse request
DeleteStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageDomainResponse, error)
// GetStatusPageDomainWithResponse request
GetStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageDomainResponse, error)
// SetStatusPageDomainWithBodyWithResponse request with any body
SetStatusPageDomainWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStatusPageDomainResponse, error)
SetStatusPageDomainWithResponse(ctx context.Context, id openapi_types.UUID, body SetStatusPageDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStatusPageDomainResponse, error)
// ListStatusPageIncidentsWithResponse request
ListStatusPageIncidentsWithResponse(ctx context.Context, id openapi_types.UUID, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*ListStatusPageIncidentsResponse, error)
// CreateStatusPageIncidentWithBodyWithResponse request with any body
CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResponse, error)
CreateStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResponse, error)
// GetStatusPageIncidentWithResponse request
GetStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageIncidentResponse, error)
// UpdateStatusPageIncidentWithBodyWithResponse request with any body
UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResponse, error)
UpdateStatusPageIncidentWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResponse, error)
// CreateStatusPageIncidentUpdateWithBodyWithResponse request with any body
CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResponse, error)
CreateStatusPageIncidentUpdateWithResponse(ctx context.Context, id openapi_types.UUID, incidentId openapi_types.UUID, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResponse, error)
// GetStatusPageLayoutWithResponse request
GetStatusPageLayoutWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageLayoutResponse, error)
// SetStatusPageLayoutWithBodyWithResponse request with any body
SetStatusPageLayoutWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStatusPageLayoutResponse, error)
SetStatusPageLayoutWithResponse(ctx context.Context, id openapi_types.UUID, body SetStatusPageLayoutJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStatusPageLayoutResponse, error)
// DeleteStatusPageLogoWithResponse request
DeleteStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageLogoResponse, error)
// GetStatusPageLogoWithResponse request
GetStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetStatusPageLogoResponse, error)
// SetStatusPageLogoWithBodyWithResponse request with any body
SetStatusPageLogoWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetStatusPageLogoResponse, error)
SetStatusPageLogoWithResponse(ctx context.Context, id openapi_types.UUID, body SetStatusPageLogoJSONRequestBody, reqEditors ...RequestEditorFn) (*SetStatusPageLogoResponse, error)
// PreviewStatusPageWithResponse request
PreviewStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PreviewStatusPageResponse, error)
// CreateStatusPagePreviewLinkWithResponse request
CreateStatusPagePreviewLinkWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateStatusPagePreviewLinkResponse, error)
// PublishStatusPageWithResponse request
PublishStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*PublishStatusPageResponse, error)
// ListStatusPageSubscribersWithResponse request
ListStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, params *ListStatusPageSubscribersParams, reqEditors ...RequestEditorFn) (*ListStatusPageSubscribersResponse, error)
// CountStatusPageSubscribersWithResponse request
CountStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*CountStatusPageSubscribersResponse, error)
// ExportStatusPageSubscribersWithResponse request
ExportStatusPageSubscribersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExportStatusPageSubscribersResponse, error)
// DeleteStatusPageSubscriberWithResponse request
DeleteStatusPageSubscriberWithResponse(ctx context.Context, id openapi_types.UUID, subscriberId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteStatusPageSubscriberResponse, error)
// UnpublishStatusPageWithResponse request
UnpublishStatusPageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*UnpublishStatusPageResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConfirmAlertChannelVerificationJSONRequestBody ¶
type ConfirmAlertChannelVerificationJSONRequestBody = DtoAlertChannelVerifyConfirm
ConfirmAlertChannelVerificationJSONRequestBody defines body for ConfirmAlertChannelVerification for application/json ContentType.
type ConfirmAlertChannelVerificationResponse ¶
type ConfirmAlertChannelVerificationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoAlertChannel
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseConfirmAlertChannelVerificationResponse ¶
func ParseConfirmAlertChannelVerificationResponse(rsp *http.Response) (*ConfirmAlertChannelVerificationResponse, error)
ParseConfirmAlertChannelVerificationResponse parses an HTTP response from a ConfirmAlertChannelVerificationWithResponse call
func (ConfirmAlertChannelVerificationResponse) ContentType ¶
func (r ConfirmAlertChannelVerificationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConfirmAlertChannelVerificationResponse) Status ¶
func (r ConfirmAlertChannelVerificationResponse) Status() string
Status returns HTTPResponse.Status
func (ConfirmAlertChannelVerificationResponse) StatusCode ¶
func (r ConfirmAlertChannelVerificationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConstantsErrorCode ¶
type ConstantsErrorCode string
ConstantsErrorCode defines model for constants.ErrorCode.
const ( ErrorCodeAlreadyExists ConstantsErrorCode = "ALREADY_EXISTS" ErrorCodeConflict ConstantsErrorCode = "CONFLICT" ErrorCodeForbidden ConstantsErrorCode = "FORBIDDEN" ErrorCodeInternal ConstantsErrorCode = "INTERNAL_ERROR" ErrorCodeInvalidPayload ConstantsErrorCode = "INVALID_PAYLOAD" ErrorCodeLimitReached ConstantsErrorCode = "LIMIT_REACHED" ErrorCodeManagedResource ConstantsErrorCode = "MANAGED_RESOURCE" ErrorCodeMethodNotAllowed ConstantsErrorCode = "METHOD_NOT_ALLOWED" ErrorCodeNotFound ConstantsErrorCode = "NOT_FOUND" ErrorCodeOrgBlocked ConstantsErrorCode = "ORG_BLOCKED" ErrorCodePayloadTooLarge ConstantsErrorCode = "PAYLOAD_TOO_LARGE" ErrorCodeTooManyRequests ConstantsErrorCode = "TOO_MANY_REQUESTS" ErrorCodeUnprocessable ConstantsErrorCode = "UNPROCESSABLE" ErrorCodeValidationFailed ConstantsErrorCode = "VALIDATION_FAILED" )
Defines values for ConstantsErrorCode.
func (ConstantsErrorCode) Valid ¶
func (e ConstantsErrorCode) Valid() bool
Valid indicates whether the value is a known member of the ConstantsErrorCode enum.
type ConstantsErrorReason ¶
type ConstantsErrorReason string
ConstantsErrorReason defines model for constants.ErrorReason.
const ( ErrorReasonAlertChannelLimit ConstantsErrorReason = "ALERT_CHANNEL_LIMIT" ErrorReasonAlreadyVerified ConstantsErrorReason = "ALREADY_VERIFIED" ErrorReasonCallerOutsideNamespace ConstantsErrorReason = "CALLER_OUTSIDE_NAMESPACE" ErrorReasonCodeExpired ConstantsErrorReason = "CODE_EXPIRED" ErrorReasonCodeRecentlySent ConstantsErrorReason = "CODE_RECENTLY_SENT" ErrorReasonContactUnverified ConstantsErrorReason = "CONTACT_UNVERIFIED" ErrorReasonDeliveryRejected ConstantsErrorReason = "DELIVERY_REJECTED" ErrorReasonDomainNotSet ConstantsErrorReason = "DOMAIN_NOT_SET" ErrorReasonDomainTaken ConstantsErrorReason = "DOMAIN_TAKEN" ErrorReasonDomainsDisabled ConstantsErrorReason = "DOMAINS_DISABLED" ErrorReasonIncidentResolved ConstantsErrorReason = "INCIDENT_RESOLVED" ErrorReasonInsufficientScope ConstantsErrorReason = "INSUFFICIENT_SCOPE" ErrorReasonMaintenancePublishDenied ConstantsErrorReason = "MAINTENANCE_PUBLISH_DENIED" ErrorReasonMaintenanceWindowLimit ConstantsErrorReason = "MAINTENANCE_WINDOW_LIMIT" ErrorReasonMaintenanceWindowState ConstantsErrorReason = "MAINTENANCE_WINDOW_STATE" ErrorReasonMissingOrganizationID ConstantsErrorReason = "MISSING_ORGANIZATION_ID" ErrorReasonMonitorLimit ConstantsErrorReason = "MONITOR_LIMIT" ErrorReasonNothingToVerify ConstantsErrorReason = "NOTHING_TO_VERIFY" ErrorReasonSlugTaken ConstantsErrorReason = "SLUG_TAKEN" ErrorReasonStatusPageDomainLimit ConstantsErrorReason = "STATUS_PAGE_DOMAIN_LIMIT" ErrorReasonStatusPageLimit ConstantsErrorReason = "STATUS_PAGE_LIMIT" ErrorReasonTooManyAttempts ConstantsErrorReason = "TOO_MANY_ATTEMPTS" ErrorReasonUnverifiedChannelLimit ConstantsErrorReason = "UNVERIFIED_CHANNEL_LIMIT" )
Defines values for ConstantsErrorReason.
func (ConstantsErrorReason) Valid ¶
func (e ConstantsErrorReason) Valid() bool
Valid indicates whether the value is a known member of the ConstantsErrorReason enum.
type CountStatusPageSubscribersResponse ¶ added in v0.24.0
type CountStatusPageSubscribersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageSubscriberCount
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseCountStatusPageSubscribersResponse ¶ added in v0.24.0
func ParseCountStatusPageSubscribersResponse(rsp *http.Response) (*CountStatusPageSubscribersResponse, error)
ParseCountStatusPageSubscribersResponse parses an HTTP response from a CountStatusPageSubscribersWithResponse call
func (CountStatusPageSubscribersResponse) ContentType ¶ added in v0.24.0
func (r CountStatusPageSubscribersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CountStatusPageSubscribersResponse) Status ¶ added in v0.24.0
func (r CountStatusPageSubscribersResponse) Status() string
Status returns HTTPResponse.Status
func (CountStatusPageSubscribersResponse) StatusCode ¶ added in v0.24.0
func (r CountStatusPageSubscribersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAlertChannelJSONRequestBody ¶
type CreateAlertChannelJSONRequestBody = DtoAlertChannelCreate
CreateAlertChannelJSONRequestBody defines body for CreateAlertChannel for application/json ContentType.
type CreateAlertChannelResponse ¶
type CreateAlertChannelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DtoAlertChannelWithSecret
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
}
func ParseCreateAlertChannelResponse ¶
func ParseCreateAlertChannelResponse(rsp *http.Response) (*CreateAlertChannelResponse, error)
ParseCreateAlertChannelResponse parses an HTTP response from a CreateAlertChannelWithResponse call
func (CreateAlertChannelResponse) ContentType ¶
func (r CreateAlertChannelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAlertChannelResponse) Status ¶
func (r CreateAlertChannelResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAlertChannelResponse) StatusCode ¶
func (r CreateAlertChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMaintenanceWindowJSONRequestBody ¶ added in v0.25.0
type CreateMaintenanceWindowJSONRequestBody = DtoMaintenanceWindowCreate
CreateMaintenanceWindowJSONRequestBody defines body for CreateMaintenanceWindow for application/json ContentType.
type CreateMaintenanceWindowResponse ¶ added in v0.25.0
type CreateMaintenanceWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DtoMaintenanceWindow
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON422 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseCreateMaintenanceWindowResponse ¶ added in v0.25.0
func ParseCreateMaintenanceWindowResponse(rsp *http.Response) (*CreateMaintenanceWindowResponse, error)
ParseCreateMaintenanceWindowResponse parses an HTTP response from a CreateMaintenanceWindowWithResponse call
func (CreateMaintenanceWindowResponse) ContentType ¶ added in v0.25.0
func (r CreateMaintenanceWindowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMaintenanceWindowResponse) Status ¶ added in v0.25.0
func (r CreateMaintenanceWindowResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMaintenanceWindowResponse) StatusCode ¶ added in v0.25.0
func (r CreateMaintenanceWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMonitorJSONRequestBody ¶
type CreateMonitorJSONRequestBody = DtoMonitorCreate
CreateMonitorJSONRequestBody defines body for CreateMonitor for application/json ContentType.
type CreateMonitorResponse ¶
type CreateMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DtoMonitor
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON402 *ResponseProblem
JSON403 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseCreateMonitorResponse ¶
func ParseCreateMonitorResponse(rsp *http.Response) (*CreateMonitorResponse, error)
ParseCreateMonitorResponse parses an HTTP response from a CreateMonitorWithResponse call
func (CreateMonitorResponse) ContentType ¶
func (r CreateMonitorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMonitorResponse) Status ¶
func (r CreateMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (CreateMonitorResponse) StatusCode ¶
func (r CreateMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageIncidentJSONRequestBody ¶ added in v0.23.0
type CreateStatusPageIncidentJSONRequestBody = DtoStatusPageIncidentCreate
CreateStatusPageIncidentJSONRequestBody defines body for CreateStatusPageIncident for application/json ContentType.
type CreateStatusPageIncidentResponse ¶ added in v0.23.0
type CreateStatusPageIncidentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DtoStatusPageIncident
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseCreateStatusPageIncidentResponse ¶ added in v0.23.0
func ParseCreateStatusPageIncidentResponse(rsp *http.Response) (*CreateStatusPageIncidentResponse, error)
ParseCreateStatusPageIncidentResponse parses an HTTP response from a CreateStatusPageIncidentWithResponse call
func (CreateStatusPageIncidentResponse) ContentType ¶ added in v0.23.0
func (r CreateStatusPageIncidentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageIncidentResponse) Status ¶ added in v0.23.0
func (r CreateStatusPageIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageIncidentResponse) StatusCode ¶ added in v0.23.0
func (r CreateStatusPageIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageIncidentUpdateJSONRequestBody ¶ added in v0.23.0
type CreateStatusPageIncidentUpdateJSONRequestBody = DtoStatusPageIncidentPost
CreateStatusPageIncidentUpdateJSONRequestBody defines body for CreateStatusPageIncidentUpdate for application/json ContentType.
type CreateStatusPageIncidentUpdateResponse ¶ added in v0.23.0
type CreateStatusPageIncidentUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DtoStatusPageIncident
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseCreateStatusPageIncidentUpdateResponse ¶ added in v0.23.0
func ParseCreateStatusPageIncidentUpdateResponse(rsp *http.Response) (*CreateStatusPageIncidentUpdateResponse, error)
ParseCreateStatusPageIncidentUpdateResponse parses an HTTP response from a CreateStatusPageIncidentUpdateWithResponse call
func (CreateStatusPageIncidentUpdateResponse) ContentType ¶ added in v0.23.0
func (r CreateStatusPageIncidentUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageIncidentUpdateResponse) Status ¶ added in v0.23.0
func (r CreateStatusPageIncidentUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageIncidentUpdateResponse) StatusCode ¶ added in v0.23.0
func (r CreateStatusPageIncidentUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageJSONRequestBody ¶ added in v0.23.0
type CreateStatusPageJSONRequestBody = DtoStatusPageCreate
CreateStatusPageJSONRequestBody defines body for CreateStatusPage for application/json ContentType.
type CreateStatusPagePreviewLinkResponse ¶ added in v0.23.0
type CreateStatusPagePreviewLinkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPagePreviewLink
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseCreateStatusPagePreviewLinkResponse ¶ added in v0.23.0
func ParseCreateStatusPagePreviewLinkResponse(rsp *http.Response) (*CreateStatusPagePreviewLinkResponse, error)
ParseCreateStatusPagePreviewLinkResponse parses an HTTP response from a CreateStatusPagePreviewLinkWithResponse call
func (CreateStatusPagePreviewLinkResponse) ContentType ¶ added in v0.23.0
func (r CreateStatusPagePreviewLinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPagePreviewLinkResponse) Status ¶ added in v0.23.0
func (r CreateStatusPagePreviewLinkResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPagePreviewLinkResponse) StatusCode ¶ added in v0.23.0
func (r CreateStatusPagePreviewLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageResponse ¶ added in v0.23.0
type CreateStatusPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DtoStatusPage
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON402 *ResponseProblem
JSON403 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseCreateStatusPageResponse ¶ added in v0.23.0
func ParseCreateStatusPageResponse(rsp *http.Response) (*CreateStatusPageResponse, error)
ParseCreateStatusPageResponse parses an HTTP response from a CreateStatusPageWithResponse call
func (CreateStatusPageResponse) ContentType ¶ added in v0.23.0
func (r CreateStatusPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageResponse) Status ¶ added in v0.23.0
func (r CreateStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageResponse) StatusCode ¶ added in v0.23.0
func (r CreateStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAlertChannelResponse ¶
type DeleteAlertChannelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseDeleteAlertChannelResponse ¶
func ParseDeleteAlertChannelResponse(rsp *http.Response) (*DeleteAlertChannelResponse, error)
ParseDeleteAlertChannelResponse parses an HTTP response from a DeleteAlertChannelWithResponse call
func (DeleteAlertChannelResponse) ContentType ¶
func (r DeleteAlertChannelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteAlertChannelResponse) Status ¶
func (r DeleteAlertChannelResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAlertChannelResponse) StatusCode ¶
func (r DeleteAlertChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMaintenanceWindowResponse ¶ added in v0.25.0
type DeleteMaintenanceWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseDeleteMaintenanceWindowResponse ¶ added in v0.25.0
func ParseDeleteMaintenanceWindowResponse(rsp *http.Response) (*DeleteMaintenanceWindowResponse, error)
ParseDeleteMaintenanceWindowResponse parses an HTTP response from a DeleteMaintenanceWindowWithResponse call
func (DeleteMaintenanceWindowResponse) ContentType ¶ added in v0.25.0
func (r DeleteMaintenanceWindowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMaintenanceWindowResponse) Status ¶ added in v0.25.0
func (r DeleteMaintenanceWindowResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMaintenanceWindowResponse) StatusCode ¶ added in v0.25.0
func (r DeleteMaintenanceWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMonitorResponse ¶
type DeleteMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseDeleteMonitorResponse ¶
func ParseDeleteMonitorResponse(rsp *http.Response) (*DeleteMonitorResponse, error)
ParseDeleteMonitorResponse parses an HTTP response from a DeleteMonitorWithResponse call
func (DeleteMonitorResponse) ContentType ¶
func (r DeleteMonitorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMonitorResponse) Status ¶
func (r DeleteMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMonitorResponse) StatusCode ¶
func (r DeleteMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageDomainResponse ¶ added in v0.24.0
type DeleteStatusPageDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseDeleteStatusPageDomainResponse ¶ added in v0.24.0
func ParseDeleteStatusPageDomainResponse(rsp *http.Response) (*DeleteStatusPageDomainResponse, error)
ParseDeleteStatusPageDomainResponse parses an HTTP response from a DeleteStatusPageDomainWithResponse call
func (DeleteStatusPageDomainResponse) ContentType ¶ added in v0.24.0
func (r DeleteStatusPageDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusPageDomainResponse) Status ¶ added in v0.24.0
func (r DeleteStatusPageDomainResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageDomainResponse) StatusCode ¶ added in v0.24.0
func (r DeleteStatusPageDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageLogoResponse ¶ added in v0.24.0
type DeleteStatusPageLogoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseDeleteStatusPageLogoResponse ¶ added in v0.24.0
func ParseDeleteStatusPageLogoResponse(rsp *http.Response) (*DeleteStatusPageLogoResponse, error)
ParseDeleteStatusPageLogoResponse parses an HTTP response from a DeleteStatusPageLogoWithResponse call
func (DeleteStatusPageLogoResponse) ContentType ¶ added in v0.24.0
func (r DeleteStatusPageLogoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusPageLogoResponse) Status ¶ added in v0.24.0
func (r DeleteStatusPageLogoResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageLogoResponse) StatusCode ¶ added in v0.24.0
func (r DeleteStatusPageLogoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageResponse ¶ added in v0.23.0
type DeleteStatusPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseDeleteStatusPageResponse ¶ added in v0.23.0
func ParseDeleteStatusPageResponse(rsp *http.Response) (*DeleteStatusPageResponse, error)
ParseDeleteStatusPageResponse parses an HTTP response from a DeleteStatusPageWithResponse call
func (DeleteStatusPageResponse) ContentType ¶ added in v0.23.0
func (r DeleteStatusPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusPageResponse) Status ¶ added in v0.23.0
func (r DeleteStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageResponse) StatusCode ¶ added in v0.23.0
func (r DeleteStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageSubscriberResponse ¶ added in v0.24.0
type DeleteStatusPageSubscriberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseDeleteStatusPageSubscriberResponse ¶ added in v0.24.0
func ParseDeleteStatusPageSubscriberResponse(rsp *http.Response) (*DeleteStatusPageSubscriberResponse, error)
ParseDeleteStatusPageSubscriberResponse parses an HTTP response from a DeleteStatusPageSubscriberWithResponse call
func (DeleteStatusPageSubscriberResponse) ContentType ¶ added in v0.24.0
func (r DeleteStatusPageSubscriberResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusPageSubscriberResponse) Status ¶ added in v0.24.0
func (r DeleteStatusPageSubscriberResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageSubscriberResponse) StatusCode ¶ added in v0.24.0
func (r DeleteStatusPageSubscriberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DtoAlertChannel ¶
type DtoAlertChannel struct {
CreatedAt string `json:"createdAt"`
Enabled bool `json:"enabled"`
Id openapi_types.UUID `json:"id"`
IsDefault bool `json:"isDefault"`
// Kind Kind is how the channel delivers. voice is a voice-call channel made
// before calls were withdrawn: it stays disabled and gets no alerts;
// it can be renamed or deleted.
Kind DtoAlertChannelKind `json:"kind"`
Name string `json:"name"`
Settings DtoAlertChannelSettings `json:"settings"`
UpdatedAt string `json:"updatedAt"`
// Verified Verified is false for an SMS or email-address channel until
// its contact confirmed a code; such a channel gets no alerts.
Verified bool `json:"verified"`
}
DtoAlertChannel defines model for dto.AlertChannel.
type DtoAlertChannelCreate ¶
type DtoAlertChannelCreate struct {
// IsDefault IsDefault channels get the alerts of monitors without their own
// alert settings.
IsDefault *bool `json:"isDefault,omitempty"`
Kind DtoAlertChannelCreateKind `json:"kind"`
Name string `json:"name"`
Settings DtoAlertChannelSettingsInput `json:"settings"`
}
DtoAlertChannelCreate defines model for dto.AlertChannelCreate.
type DtoAlertChannelCreateKind ¶
type DtoAlertChannelCreateKind string
DtoAlertChannelCreateKind defines model for DtoAlertChannelCreate.Kind.
const ( DtoAlertChannelCreateKindDiscord DtoAlertChannelCreateKind = "discord" DtoAlertChannelCreateKindEmail DtoAlertChannelCreateKind = "email" DtoAlertChannelCreateKindSlack DtoAlertChannelCreateKind = "slack" DtoAlertChannelCreateKindSms DtoAlertChannelCreateKind = "sms" DtoAlertChannelCreateKindWebhook DtoAlertChannelCreateKind = "webhook" )
Defines values for DtoAlertChannelCreateKind.
func (DtoAlertChannelCreateKind) Valid ¶
func (e DtoAlertChannelCreateKind) Valid() bool
Valid indicates whether the value is a known member of the DtoAlertChannelCreateKind enum.
type DtoAlertChannelKind ¶
type DtoAlertChannelKind string
DtoAlertChannelKind Kind is how the channel delivers. voice is a voice-call channel made before calls were withdrawn: it stays disabled and gets no alerts; it can be renamed or deleted.
const ( DtoAlertChannelKindDiscord DtoAlertChannelKind = "discord" DtoAlertChannelKindEmail DtoAlertChannelKind = "email" DtoAlertChannelKindSlack DtoAlertChannelKind = "slack" DtoAlertChannelKindSms DtoAlertChannelKind = "sms" DtoAlertChannelKindVoice DtoAlertChannelKind = "voice" DtoAlertChannelKindWebhook DtoAlertChannelKind = "webhook" )
Defines values for DtoAlertChannelKind.
func (DtoAlertChannelKind) Valid ¶
func (e DtoAlertChannelKind) Valid() bool
Valid indicates whether the value is a known member of the DtoAlertChannelKind enum.
type DtoAlertChannelSettings ¶
type DtoAlertChannelSettings struct {
Address *string `json:"address,omitempty"`
Hint *string `json:"hint,omitempty"`
Members *bool `json:"members,omitempty"`
Phone *string `json:"phone,omitempty"`
Url *string `json:"url,omitempty"`
}
DtoAlertChannelSettings defines model for dto.AlertChannelSettings.
type DtoAlertChannelSettingsInput ¶
type DtoAlertChannelSettingsInput struct {
Address *string `json:"address,omitempty"`
Members *bool `json:"members,omitempty"`
Phone *string `json:"phone,omitempty"`
SigningSecret *string `json:"signingSecret,omitempty"`
Url *string `json:"url,omitempty"`
}
DtoAlertChannelSettingsInput defines model for dto.AlertChannelSettingsInput.
type DtoAlertChannelTestResult ¶
type DtoAlertChannelTestResult struct {
ProviderRef string `json:"providerRef"`
}
DtoAlertChannelTestResult defines model for dto.AlertChannelTestResult.
type DtoAlertChannelUpdate ¶
type DtoAlertChannelUpdate struct {
Enabled *bool `json:"enabled,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Name *string `json:"name,omitempty"`
RotateSecret *bool `json:"rotateSecret,omitempty"`
Settings *DtoAlertChannelSettingsInput `json:"settings,omitempty"`
}
DtoAlertChannelUpdate defines model for dto.AlertChannelUpdate.
type DtoAlertChannelVerifyConfirm ¶
type DtoAlertChannelVerifyConfirm struct {
Code string `json:"code"`
}
DtoAlertChannelVerifyConfirm defines model for dto.AlertChannelVerifyConfirm.
type DtoAlertChannelWithSecret ¶
type DtoAlertChannelWithSecret struct {
CreatedAt string `json:"createdAt"`
Enabled bool `json:"enabled"`
Id openapi_types.UUID `json:"id"`
IsDefault bool `json:"isDefault"`
// Kind Kind is how the channel delivers. voice is a voice-call channel made
// before calls were withdrawn: it stays disabled and gets no alerts;
// it can be renamed or deleted.
Kind DtoAlertChannelWithSecretKind `json:"kind"`
Name string `json:"name"`
Settings DtoAlertChannelSettings `json:"settings"`
SigningSecret *string `json:"signingSecret,omitempty"`
UpdatedAt string `json:"updatedAt"`
// Verified Verified is false for an SMS or email-address channel until
// its contact confirmed a code; such a channel gets no alerts.
Verified bool `json:"verified"`
}
DtoAlertChannelWithSecret defines model for dto.AlertChannelWithSecret.
type DtoAlertChannelWithSecretKind ¶
type DtoAlertChannelWithSecretKind string
DtoAlertChannelWithSecretKind Kind is how the channel delivers. voice is a voice-call channel made before calls were withdrawn: it stays disabled and gets no alerts; it can be renamed or deleted.
const ( Discord DtoAlertChannelWithSecretKind = "discord" Email DtoAlertChannelWithSecretKind = "email" Slack DtoAlertChannelWithSecretKind = "slack" Sms DtoAlertChannelWithSecretKind = "sms" Voice DtoAlertChannelWithSecretKind = "voice" Webhook DtoAlertChannelWithSecretKind = "webhook" )
Defines values for DtoAlertChannelWithSecretKind.
func (DtoAlertChannelWithSecretKind) Valid ¶
func (e DtoAlertChannelWithSecretKind) Valid() bool
Valid indicates whether the value is a known member of the DtoAlertChannelWithSecretKind enum.
type DtoAvailability ¶
type DtoAvailability struct {
Checks int `json:"checks"`
Critical int `json:"critical"`
Days []DtoDayAvailability `json:"days"`
DowntimeMinutes int `json:"downtimeMinutes"`
From string `json:"from"`
Inconclusive int `json:"inconclusive"`
// Maintenance Maintenance counts the checks inside a maintenance window, whatever they
// found. They are billed; the other counts cover only what ran outside.
Maintenance int `json:"maintenance"`
// MaintenanceMinutes MaintenanceMinutes is how long maintenance windows held the monitor in
// these days, not counted as downtime.
MaintenanceMinutes int `json:"maintenanceMinutes"`
Ok int `json:"ok"`
To string `json:"to"`
// UptimePercent UptimePercent is (ok + warning) / (ok + warning + critical); absent
// without conclusive checks, and for SSL and domain monitors (no
// uptime: their downtime is always 0).
UptimePercent *float32 `json:"uptimePercent,omitempty"`
Warning int `json:"warning"`
}
DtoAvailability defines model for dto.Availability.
type DtoCertificate ¶
type DtoCertificate struct {
// Chain Chain is what the server presented, leaf first; absent on results
// recorded before chains were kept.
Chain *[]DtoChainCertificate `json:"chain,omitempty"`
ChainValid bool `json:"chainValid"`
DaysRemaining int `json:"daysRemaining"`
// DnsNames DNSNames are the subject alternative names (SANs).
DnsNames *[]string `json:"dnsNames,omitempty"`
// FingerprintSha256 FingerprintSHA256 is the SHA-256 of the certificate (DER), hex.
FingerprintSha256 *string `json:"fingerprintSha256,omitempty"`
HostnameValid bool `json:"hostnameValid"`
Issuer string `json:"issuer"`
IssuerOrg *string `json:"issuerOrg,omitempty"`
NotAfter string `json:"notAfter"`
NotBefore string `json:"notBefore"`
SerialNumber *string `json:"serialNumber,omitempty"`
// SignatureAlgorithm SignatureAlgorithm as Go names it ("SHA256-RSA", "ECDSA-SHA384").
SignatureAlgorithm *string `json:"signatureAlgorithm,omitempty"`
Subject string `json:"subject"`
// VerifiedChainLength VerifiedChainLength counts the certificates from the leaf to a
// trusted root, root included; absent when the chain doesn't verify.
VerifiedChainLength *int `json:"verifiedChainLength,omitempty"`
}
DtoCertificate defines model for dto.Certificate.
type DtoCertificateRenewal ¶
type DtoCertificateRenewal struct {
Current DtoRenewedCertificate `json:"current"`
Previous DtoRenewedCertificate `json:"previous"`
}
DtoCertificateRenewal defines model for dto.CertificateRenewal.
type DtoChainCertificate ¶
type DtoChainCertificate struct {
IsCA bool `json:"isCA"`
Issuer string `json:"issuer"`
NotAfter string `json:"notAfter"`
NotBefore string `json:"notBefore"`
Subject string `json:"subject"`
}
DtoChainCertificate defines model for dto.ChainCertificate.
type DtoChannelDelivery ¶
type DtoChannelDelivery struct {
Attempts int `json:"attempts"`
CreatedAt string `json:"createdAt"`
Event DtoChannelDeliveryEvent `json:"event"`
Id openapi_types.UUID `json:"id"`
// IncidentId IncidentID is absent for an alert outside an incident.
IncidentId *openapi_types.UUID `json:"incidentId,omitempty"`
LastError *string `json:"lastError,omitempty"`
MonitorId openapi_types.UUID `json:"monitorId"`
MonitorName string `json:"monitorName"`
// NextAttemptAt NextAttemptAt is set while pending.
NextAttemptAt *string `json:"nextAttemptAt,omitempty"`
SentAt *string `json:"sentAt,omitempty"`
// Status Status: pending (queued or waiting to retry), sent, dead (gave up).
Status DtoChannelDeliveryStatus `json:"status"`
}
DtoChannelDelivery defines model for dto.ChannelDelivery.
type DtoChannelDeliveryEvent ¶
type DtoChannelDeliveryEvent string
DtoChannelDeliveryEvent defines model for DtoChannelDelivery.Event.
const ( DtoChannelDeliveryEventDown DtoChannelDeliveryEvent = "down" DtoChannelDeliveryEventExpired DtoChannelDeliveryEvent = "expired" DtoChannelDeliveryEventExpiring DtoChannelDeliveryEvent = "expiring" DtoChannelDeliveryEventRecovered DtoChannelDeliveryEvent = "recovered" DtoChannelDeliveryEventReminder DtoChannelDeliveryEvent = "reminder" DtoChannelDeliveryEventWarning DtoChannelDeliveryEvent = "warning" )
Defines values for DtoChannelDeliveryEvent.
func (DtoChannelDeliveryEvent) Valid ¶
func (e DtoChannelDeliveryEvent) Valid() bool
Valid indicates whether the value is a known member of the DtoChannelDeliveryEvent enum.
type DtoChannelDeliveryStatus ¶
type DtoChannelDeliveryStatus string
DtoChannelDeliveryStatus Status: pending (queued or waiting to retry), sent, dead (gave up).
const ( DtoChannelDeliveryStatusDead DtoChannelDeliveryStatus = "dead" DtoChannelDeliveryStatusPending DtoChannelDeliveryStatus = "pending" DtoChannelDeliveryStatusSent DtoChannelDeliveryStatus = "sent" )
Defines values for DtoChannelDeliveryStatus.
func (DtoChannelDeliveryStatus) Valid ¶
func (e DtoChannelDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoChannelDeliveryStatus enum.
type DtoCheckRegion ¶
type DtoCheckRegion struct {
// Code Code is the AWS region code, as results' region carries it.
Code string `json:"code"`
// Name Name is the city people know the region by.
Name string `json:"name"`
}
DtoCheckRegion defines model for dto.CheckRegion.
type DtoCheckResult ¶
type DtoCheckResult struct {
Certificate *DtoCertificate `json:"certificate,omitempty"`
CheckedAt string `json:"checkedAt"`
Condition string `json:"condition"`
Domain *DtoDomainRegistration `json:"domain,omitempty"`
ErrorMessage *string `json:"errorMessage,omitempty"`
Id int `json:"id"`
Redirects *[]string `json:"redirects,omitempty"`
Region string `json:"region"`
Severity DtoCheckResultSeverity `json:"severity"`
StatusCode *int `json:"statusCode,omitempty"`
Timings DtoCheckTimings `json:"timings"`
}
DtoCheckResult defines model for dto.CheckResult.
type DtoCheckResultSeverity ¶
type DtoCheckResultSeverity string
DtoCheckResultSeverity defines model for DtoCheckResult.Severity.
const ( DtoCheckResultSeverityCritical DtoCheckResultSeverity = "critical" DtoCheckResultSeverityInconclusive DtoCheckResultSeverity = "inconclusive" DtoCheckResultSeverityOk DtoCheckResultSeverity = "ok" DtoCheckResultSeverityWarning DtoCheckResultSeverity = "warning" )
Defines values for DtoCheckResultSeverity.
func (DtoCheckResultSeverity) Valid ¶
func (e DtoCheckResultSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoCheckResultSeverity enum.
type DtoCheckTimings ¶
type DtoCheckTimings struct {
ConnectMs *int `json:"connectMs,omitempty"`
DnsMs *int `json:"dnsMs,omitempty"`
RedirectMs *int `json:"redirectMs,omitempty"`
TlsMs *int `json:"tlsMs,omitempty"`
TotalMs int `json:"totalMs"`
TtfbMs *int `json:"ttfbMs,omitempty"`
}
DtoCheckTimings defines model for dto.CheckTimings.
type DtoConditionFacts ¶
type DtoConditionFacts struct {
DaysRemaining *int `json:"daysRemaining,omitempty"`
ExpiresAt *string `json:"expiresAt,omitempty"`
// ResponseTimeMs ResponseTimeMs and SlowThresholdMs: a slow response's time and the
// threshold it went over (slow_response only).
ResponseTimeMs *int `json:"responseTimeMs,omitempty"`
SlowThresholdMs *int `json:"slowThresholdMs,omitempty"`
StatusCode *int `json:"statusCode,omitempty"`
// ThresholdDays ThresholdDays is the smallest expiry threshold the expiry is within.
ThresholdDays *int `json:"thresholdDays,omitempty"`
}
DtoConditionFacts defines model for dto.ConditionFacts.
type DtoDayAvailability ¶
type DtoDayAvailability struct {
Checks int `json:"checks"`
Critical int `json:"critical"`
// Date Date is the UTC day, YYYY-MM-DD.
Date string `json:"date"`
// DowntimeMinutes DowntimeMinutes estimates the time spent down: the share of
// critical checks among the conclusive ones times the minutes the
// day's checks cover outside maintenance. A warning is not downtime.
DowntimeMinutes int `json:"downtimeMinutes"`
Inconclusive int `json:"inconclusive"`
// Maintenance Maintenance counts the checks inside a maintenance window, whatever they
// found. They are billed; the other counts cover only what ran outside.
Maintenance int `json:"maintenance"`
// MaintenanceMinutes MaintenanceMinutes is how much of the day maintenance windows covered.
MaintenanceMinutes int `json:"maintenanceMinutes"`
// NoData NoData: no checks that day, inside or outside maintenance (draw it
// gray, never as up).
NoData bool `json:"noData"`
Ok int `json:"ok"`
UptimePercent *float32 `json:"uptimePercent,omitempty"`
Warning int `json:"warning"`
}
DtoDayAvailability defines model for dto.DayAvailability.
type DtoDomainRegistration ¶
type DtoDomainRegistration struct {
// CheckedAt CheckedAt is when the registry was asked (lookups are cached up to
// an hour).
CheckedAt string `json:"checkedAt"`
// DaysRemaining DaysRemaining is 0 on the expiry day, negative after it.
DaysRemaining *int `json:"daysRemaining,omitempty"`
// Dnssec DNSSEC: signed when the registry holds DS records for the domain;
// absent when the registry doesn't say.
Dnssec *DtoDomainRegistrationDnssec `json:"dnssec,omitempty"`
Domain string `json:"domain"`
// ExpiresAt ExpiresAt is the expiry date at 00:00 UTC; absent when the registry
// publishes none.
ExpiresAt *string `json:"expiresAt,omitempty"`
// Nameservers Nameservers are the delegation's nameservers, lower case, in the
// registry's order; [] when unknown (results recorded before they were
// kept, registries that publish none).
Nameservers []string `json:"nameservers"`
Registered bool `json:"registered"`
// RegisteredAt RegisteredAt is the registration (creation) date at 00:00 UTC, and
// UpdatedAt the registry's last change of it; absent when the registry
// doesn't publish them (and for dns answers).
RegisteredAt *string `json:"registeredAt,omitempty"`
Registrar *string `json:"registrar,omitempty"`
Source DtoDomainRegistrationSource `json:"source"`
// StatusCodes StatusCodes are the EPP status codes (RFC 5731), e.g. ok,
// clientTransferProhibited, serverHold, pendingDelete,
// redemptionPeriod; [] when unknown (dns answers).
StatusCodes []string `json:"statusCodes"`
UpdatedAt *string `json:"updatedAt,omitempty"`
}
DtoDomainRegistration defines model for dto.DomainRegistration.
type DtoDomainRegistrationDnssec ¶
type DtoDomainRegistrationDnssec string
DtoDomainRegistrationDnssec DNSSEC: signed when the registry holds DS records for the domain; absent when the registry doesn't say.
const ( Signed DtoDomainRegistrationDnssec = "signed" Unsigned DtoDomainRegistrationDnssec = "unsigned" )
Defines values for DtoDomainRegistrationDnssec.
func (DtoDomainRegistrationDnssec) Valid ¶
func (e DtoDomainRegistrationDnssec) Valid() bool
Valid indicates whether the value is a known member of the DtoDomainRegistrationDnssec enum.
type DtoDomainRegistrationSource ¶
type DtoDomainRegistrationSource string
DtoDomainRegistrationSource defines model for DtoDomainRegistration.Source.
const ( Dns DtoDomainRegistrationSource = "dns" Rdap DtoDomainRegistrationSource = "rdap" Whois DtoDomainRegistrationSource = "whois" )
Defines values for DtoDomainRegistrationSource.
func (DtoDomainRegistrationSource) Valid ¶
func (e DtoDomainRegistrationSource) Valid() bool
Valid indicates whether the value is a known member of the DtoDomainRegistrationSource enum.
type DtoDomainSettings ¶
type DtoDomainSettings struct {
Domain string `json:"domain"`
ExpiryThresholdsDays []int `json:"expiryThresholdsDays"`
}
DtoDomainSettings defines model for dto.DomainSettings.
type DtoDomainSettingsInput ¶
type DtoDomainSettingsInput struct {
Domain string `json:"domain"`
ExpiryThresholdsDays []int `json:"expiryThresholdsDays"`
}
DtoDomainSettingsInput defines model for dto.DomainSettingsInput.
type DtoExpiryWatch ¶
type DtoExpiryWatch struct {
ThresholdsDays []int `json:"thresholdsDays"`
}
DtoExpiryWatch defines model for dto.ExpiryWatch.
type DtoExpiryWatchInput ¶
type DtoExpiryWatchInput struct {
// ThresholdsDays ThresholdsDays are the expiry warnings, in days before expiry.
ThresholdsDays []int `json:"thresholdsDays"`
}
DtoExpiryWatchInput defines model for dto.ExpiryWatchInput.
type DtoHTTPHeader ¶
type DtoHTTPHeader struct {
Name string `json:"name"`
Secret bool `json:"secret"`
Value *string `json:"value,omitempty"`
}
DtoHTTPHeader defines model for dto.HTTPHeader.
type DtoHTTPHeaderInput ¶
type DtoHTTPHeaderInput struct {
Name string `json:"name"`
Secret *bool `json:"secret,omitempty"`
Value *string `json:"value,omitempty"`
}
DtoHTTPHeaderInput defines model for dto.HTTPHeaderInput.
type DtoHTTPSettings ¶
type DtoHTTPSettings struct {
// CertificateExpiry CertificateExpiry and DomainExpiry are the watches that are on;
// absent when off.
CertificateExpiry *DtoExpiryWatch `json:"certificateExpiry,omitempty"`
DomainExpiry *DtoExpiryWatch `json:"domainExpiry,omitempty"`
ExpectedStatus []string `json:"expectedStatus"`
FollowRedirects bool `json:"followRedirects"`
Headers []DtoHTTPHeader `json:"headers"`
Keyword *string `json:"keyword,omitempty"`
KeywordCaseSensitive bool `json:"keywordCaseSensitive"`
KeywordMode *string `json:"keywordMode,omitempty"`
MaxRedirects int `json:"maxRedirects"`
Method string `json:"method"`
RequestBody *string `json:"requestBody,omitempty"`
RequestBodyContentType *string `json:"requestBodyContentType,omitempty"`
SlowThresholdMs *int `json:"slowThresholdMs,omitempty"`
TimeoutMs int `json:"timeoutMs"`
Url string `json:"url"`
VerifyTls bool `json:"verifyTls"`
}
DtoHTTPSettings defines model for dto.HTTPSettings.
type DtoHTTPSettingsInput ¶
type DtoHTTPSettingsInput struct {
// CertificateExpiry CertificateExpiry watches the expiry of the certificate the URL
// presents (https:// URLs only), judged with every check; omit it to
// leave the watch off.
CertificateExpiry *DtoExpiryWatchInput `json:"certificateExpiry,omitempty"`
// DomainExpiry DomainExpiry watches the registration of the URL's registrable
// domain (shop.example.com watches example.com), looked up twice a
// day; omit it to leave the watch off. Not for IP addresses.
DomainExpiry *DtoExpiryWatchInput `json:"domainExpiry,omitempty"`
ExpectedStatus []string `json:"expectedStatus"`
FollowRedirects bool `json:"followRedirects"`
Headers *[]DtoHTTPHeaderInput `json:"headers,omitempty"`
// Keyword Keyword is looked for in the first 256 KiB of the response body.
Keyword *string `json:"keyword,omitempty"`
KeywordCaseSensitive *bool `json:"keywordCaseSensitive,omitempty"`
KeywordMode *DtoHTTPSettingsInputKeywordMode `json:"keywordMode,omitempty"`
MaxRedirects int `json:"maxRedirects"`
Method DtoHTTPSettingsInputMethod `json:"method"`
RequestBody *string `json:"requestBody,omitempty"`
RequestBodyContentType *string `json:"requestBodyContentType,omitempty"`
SlowThresholdMs *int `json:"slowThresholdMs,omitempty"`
TimeoutMs int `json:"timeoutMs"`
Url string `json:"url"`
VerifyTls bool `json:"verifyTls"`
}
DtoHTTPSettingsInput defines model for dto.HTTPSettingsInput.
type DtoHTTPSettingsInputKeywordMode ¶
type DtoHTTPSettingsInputKeywordMode string
DtoHTTPSettingsInputKeywordMode defines model for DtoHTTPSettingsInput.KeywordMode.
const ( Absent DtoHTTPSettingsInputKeywordMode = "absent" Present DtoHTTPSettingsInputKeywordMode = "present" )
Defines values for DtoHTTPSettingsInputKeywordMode.
func (DtoHTTPSettingsInputKeywordMode) Valid ¶
func (e DtoHTTPSettingsInputKeywordMode) Valid() bool
Valid indicates whether the value is a known member of the DtoHTTPSettingsInputKeywordMode enum.
type DtoHTTPSettingsInputMethod ¶
type DtoHTTPSettingsInputMethod string
DtoHTTPSettingsInputMethod defines model for DtoHTTPSettingsInput.Method.
const ( DELETE DtoHTTPSettingsInputMethod = "DELETE" GET DtoHTTPSettingsInputMethod = "GET" HEAD DtoHTTPSettingsInputMethod = "HEAD" OPTIONS DtoHTTPSettingsInputMethod = "OPTIONS" PATCH DtoHTTPSettingsInputMethod = "PATCH" POST DtoHTTPSettingsInputMethod = "POST" PUT DtoHTTPSettingsInputMethod = "PUT" )
Defines values for DtoHTTPSettingsInputMethod.
func (DtoHTTPSettingsInputMethod) Valid ¶
func (e DtoHTTPSettingsInputMethod) Valid() bool
Valid indicates whether the value is a known member of the DtoHTTPSettingsInputMethod enum.
type DtoHistoryBeat ¶
type DtoHistoryBeat struct {
CheckedAt string `json:"checkedAt"`
Condition string `json:"condition"`
// Maintenance Maintenance says a window held this check when it ran: it is out of uptime and
// couldn't alert.
Maintenance bool `json:"maintenance"`
ResponseTimeMs int `json:"responseTimeMs"`
ResultId int `json:"resultId"`
Severity DtoHistoryBeatSeverity `json:"severity"`
StatusCode *int `json:"statusCode,omitempty"`
}
DtoHistoryBeat defines model for dto.HistoryBeat.
type DtoHistoryBeatSeverity ¶
type DtoHistoryBeatSeverity string
DtoHistoryBeatSeverity defines model for DtoHistoryBeat.Severity.
const ( DtoHistoryBeatSeverityCritical DtoHistoryBeatSeverity = "critical" DtoHistoryBeatSeverityInconclusive DtoHistoryBeatSeverity = "inconclusive" DtoHistoryBeatSeverityOk DtoHistoryBeatSeverity = "ok" DtoHistoryBeatSeverityWarning DtoHistoryBeatSeverity = "warning" )
Defines values for DtoHistoryBeatSeverity.
func (DtoHistoryBeatSeverity) Valid ¶
func (e DtoHistoryBeatSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoHistoryBeatSeverity enum.
type DtoIncident ¶
type DtoIncident struct {
AcknowledgedAt *string `json:"acknowledgedAt,omitempty"`
AcknowledgedBy *openapi_types.UUID `json:"acknowledgedBy,omitempty"`
// Aspect Aspect is what the incident is about.
Aspect DtoIncidentAspect `json:"aspect"`
// Condition Condition is what the latest check that changed the incident found;
// summary is its message, facts its facts.
Condition string `json:"condition"`
// DurationSeconds DurationSeconds is how long it lasted (or has lasted so far).
DurationSeconds int `json:"durationSeconds"`
Facts DtoConditionFacts `json:"facts"`
Id openapi_types.UUID `json:"id"`
// MaintenanceHeld MaintenanceHeld says a maintenance window held it open at some point, so its alerts
// were paused for that time; a resolved one doesn't count towards time to recover.
MaintenanceHeld bool `json:"maintenanceHeld"`
MonitorId openapi_types.UUID `json:"monitorId"`
MonitorName string `json:"monitorName"`
MonitorTarget string `json:"monitorTarget"`
MonitorType DtoIncidentMonitorType `json:"monitorType"`
// MonitorVariant MonitorVariant names what the monitor does, as on monitor rows
// (keyword for an HTTP monitor with a keyword).
MonitorVariant DtoIncidentMonitorVariant `json:"monitorVariant"`
OpenedAt string `json:"openedAt"`
PeakSeverity DtoIncidentPeakSeverity `json:"peakSeverity"`
ResolvedAt *string `json:"resolvedAt,omitempty"`
// Severity Severity is the current one; peakSeverity the worst it reached (a
// de-escalated incident stays open at warning).
Severity DtoIncidentSeverity `json:"severity"`
Status DtoIncidentStatus `json:"status"`
Summary string `json:"summary"`
// Title Title names the problem in the monitor type's words (an expiry's
// days counted now, or when it ended).
Title string `json:"title"`
}
DtoIncident defines model for dto.Incident.
type DtoIncidentAspect ¶
type DtoIncidentAspect string
DtoIncidentAspect Aspect is what the incident is about.
const ( DtoIncidentAspectAvailability DtoIncidentAspect = "availability" DtoIncidentAspectCertificate DtoIncidentAspect = "certificate" DtoIncidentAspectDomain DtoIncidentAspect = "domain" )
Defines values for DtoIncidentAspect.
func (DtoIncidentAspect) Valid ¶
func (e DtoIncidentAspect) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentAspect enum.
type DtoIncidentDelivery ¶
type DtoIncidentDelivery struct {
// AlertId AlertID is the alert this delivery sends: an alert goes to every
// channel of its route, one delivery each.
AlertId openapi_types.UUID `json:"alertId"`
Attempts int `json:"attempts"`
ChannelId *openapi_types.UUID `json:"channelId,omitempty"`
ChannelKind *string `json:"channelKind,omitempty"`
ChannelName *string `json:"channelName,omitempty"`
Event DtoIncidentDeliveryEvent `json:"event"`
LastError *string `json:"lastError,omitempty"`
// NextAttemptAt NextAttemptAt is when a pending delivery is tried again.
NextAttemptAt *string `json:"nextAttemptAt,omitempty"`
// QueuedAt QueuedAt is when the alert was queued: the time of the timeline
// entry that sent it (opened, escalated, threshold, reminder).
QueuedAt string `json:"queuedAt"`
SentAt *string `json:"sentAt,omitempty"`
Status DtoIncidentDeliveryStatus `json:"status"`
}
DtoIncidentDelivery defines model for dto.IncidentDelivery.
type DtoIncidentDeliveryEvent ¶
type DtoIncidentDeliveryEvent string
DtoIncidentDeliveryEvent defines model for DtoIncidentDelivery.Event.
const ( DtoIncidentDeliveryEventDown DtoIncidentDeliveryEvent = "down" DtoIncidentDeliveryEventExpired DtoIncidentDeliveryEvent = "expired" DtoIncidentDeliveryEventExpiring DtoIncidentDeliveryEvent = "expiring" DtoIncidentDeliveryEventRecovered DtoIncidentDeliveryEvent = "recovered" DtoIncidentDeliveryEventReminder DtoIncidentDeliveryEvent = "reminder" DtoIncidentDeliveryEventWarning DtoIncidentDeliveryEvent = "warning" )
Defines values for DtoIncidentDeliveryEvent.
func (DtoIncidentDeliveryEvent) Valid ¶
func (e DtoIncidentDeliveryEvent) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDeliveryEvent enum.
type DtoIncidentDeliveryStatus ¶
type DtoIncidentDeliveryStatus string
DtoIncidentDeliveryStatus defines model for DtoIncidentDelivery.Status.
const ( DtoIncidentDeliveryStatusDead DtoIncidentDeliveryStatus = "dead" DtoIncidentDeliveryStatusPending DtoIncidentDeliveryStatus = "pending" DtoIncidentDeliveryStatusSent DtoIncidentDeliveryStatus = "sent" )
Defines values for DtoIncidentDeliveryStatus.
func (DtoIncidentDeliveryStatus) Valid ¶
func (e DtoIncidentDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDeliveryStatus enum.
type DtoIncidentDetail ¶
type DtoIncidentDetail struct {
AcknowledgedAt *string `json:"acknowledgedAt,omitempty"`
AcknowledgedBy *openapi_types.UUID `json:"acknowledgedBy,omitempty"`
// AcknowledgedByName AcknowledgedByName names who acknowledged it (their name, else
// email); absent when nobody did or Norcube Auth couldn't say.
AcknowledgedByName *string `json:"acknowledgedByName,omitempty"`
Alerts []DtoIncidentDelivery `json:"alerts"`
// Aspect Aspect is what the incident is about.
Aspect DtoIncidentDetailAspect `json:"aspect"`
// Condition Condition is what the latest check that changed the incident found;
// summary is its message, facts its facts.
Condition string `json:"condition"`
// DurationSeconds DurationSeconds is how long it lasted (or has lasted so far).
DurationSeconds int `json:"durationSeconds"`
Facts DtoConditionFacts `json:"facts"`
Id openapi_types.UUID `json:"id"`
// MaintenanceHeld MaintenanceHeld says a maintenance window held it open at some point, so its alerts
// were paused for that time; a resolved one doesn't count towards time to recover.
MaintenanceHeld bool `json:"maintenanceHeld"`
MonitorId openapi_types.UUID `json:"monitorId"`
MonitorName string `json:"monitorName"`
MonitorTarget string `json:"monitorTarget"`
MonitorType DtoIncidentDetailMonitorType `json:"monitorType"`
// MonitorVariant MonitorVariant names what the monitor does, as on monitor rows
// (keyword for an HTTP monitor with a keyword).
MonitorVariant DtoIncidentDetailMonitorVariant `json:"monitorVariant"`
OpenedAt string `json:"openedAt"`
PeakSeverity DtoIncidentDetailPeakSeverity `json:"peakSeverity"`
ResolvedAt *string `json:"resolvedAt,omitempty"`
// Severity Severity is the current one; peakSeverity the worst it reached (a
// de-escalated incident stays open at warning).
Severity DtoIncidentDetailSeverity `json:"severity"`
Status DtoIncidentDetailStatus `json:"status"`
Summary string `json:"summary"`
Timeline []DtoIncidentEvent `json:"timeline"`
// Title Title names the problem in the monitor type's words (an expiry's
// days counted now, or when it ended).
Title string `json:"title"`
}
DtoIncidentDetail defines model for dto.IncidentDetail.
type DtoIncidentDetailAspect ¶
type DtoIncidentDetailAspect string
DtoIncidentDetailAspect Aspect is what the incident is about.
const ( DtoIncidentDetailAspectAvailability DtoIncidentDetailAspect = "availability" DtoIncidentDetailAspectCertificate DtoIncidentDetailAspect = "certificate" DtoIncidentDetailAspectDomain DtoIncidentDetailAspect = "domain" )
Defines values for DtoIncidentDetailAspect.
func (DtoIncidentDetailAspect) Valid ¶
func (e DtoIncidentDetailAspect) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDetailAspect enum.
type DtoIncidentDetailMonitorType ¶
type DtoIncidentDetailMonitorType string
DtoIncidentDetailMonitorType defines model for DtoIncidentDetail.MonitorType.
const ( DtoIncidentDetailMonitorTypeDomain DtoIncidentDetailMonitorType = "domain" DtoIncidentDetailMonitorTypeHttp DtoIncidentDetailMonitorType = "http" DtoIncidentDetailMonitorTypeSsl DtoIncidentDetailMonitorType = "ssl" )
Defines values for DtoIncidentDetailMonitorType.
func (DtoIncidentDetailMonitorType) Valid ¶
func (e DtoIncidentDetailMonitorType) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDetailMonitorType enum.
type DtoIncidentDetailMonitorVariant ¶
type DtoIncidentDetailMonitorVariant string
DtoIncidentDetailMonitorVariant MonitorVariant names what the monitor does, as on monitor rows (keyword for an HTTP monitor with a keyword).
const ( DtoIncidentDetailMonitorVariantDomain DtoIncidentDetailMonitorVariant = "domain" DtoIncidentDetailMonitorVariantHttp DtoIncidentDetailMonitorVariant = "http" DtoIncidentDetailMonitorVariantKeyword DtoIncidentDetailMonitorVariant = "keyword" DtoIncidentDetailMonitorVariantSsl DtoIncidentDetailMonitorVariant = "ssl" )
Defines values for DtoIncidentDetailMonitorVariant.
func (DtoIncidentDetailMonitorVariant) Valid ¶
func (e DtoIncidentDetailMonitorVariant) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDetailMonitorVariant enum.
type DtoIncidentDetailPeakSeverity ¶
type DtoIncidentDetailPeakSeverity string
DtoIncidentDetailPeakSeverity defines model for DtoIncidentDetail.PeakSeverity.
const ( DtoIncidentDetailPeakSeverityCritical DtoIncidentDetailPeakSeverity = "critical" DtoIncidentDetailPeakSeverityWarning DtoIncidentDetailPeakSeverity = "warning" )
Defines values for DtoIncidentDetailPeakSeverity.
func (DtoIncidentDetailPeakSeverity) Valid ¶
func (e DtoIncidentDetailPeakSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDetailPeakSeverity enum.
type DtoIncidentDetailSeverity ¶
type DtoIncidentDetailSeverity string
DtoIncidentDetailSeverity Severity is the current one; peakSeverity the worst it reached (a de-escalated incident stays open at warning).
const ( DtoIncidentDetailSeverityCritical DtoIncidentDetailSeverity = "critical" DtoIncidentDetailSeverityWarning DtoIncidentDetailSeverity = "warning" )
Defines values for DtoIncidentDetailSeverity.
func (DtoIncidentDetailSeverity) Valid ¶
func (e DtoIncidentDetailSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDetailSeverity enum.
type DtoIncidentDetailStatus ¶
type DtoIncidentDetailStatus string
DtoIncidentDetailStatus defines model for DtoIncidentDetail.Status.
const ( DtoIncidentDetailStatusOpen DtoIncidentDetailStatus = "open" DtoIncidentDetailStatusResolved DtoIncidentDetailStatus = "resolved" )
Defines values for DtoIncidentDetailStatus.
func (DtoIncidentDetailStatus) Valid ¶
func (e DtoIncidentDetailStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentDetailStatus enum.
type DtoIncidentEvent ¶
type DtoIncidentEvent struct {
At string `json:"at"`
Detail *map[string]interface{} `json:"detail,omitempty"`
Type DtoIncidentEventType `json:"type"`
}
DtoIncidentEvent defines model for dto.IncidentEvent.
type DtoIncidentEventType ¶
type DtoIncidentEventType string
DtoIncidentEventType defines model for DtoIncidentEvent.Type.
const ( DtoIncidentEventTypeAcknowledged DtoIncidentEventType = "acknowledged" DtoIncidentEventTypeDeescalated DtoIncidentEventType = "deescalated" DtoIncidentEventTypeDeliveryFailed DtoIncidentEventType = "delivery_failed" DtoIncidentEventTypeEscalated DtoIncidentEventType = "escalated" DtoIncidentEventTypeMaintenanceHold DtoIncidentEventType = "maintenance_hold" DtoIncidentEventTypeOpened DtoIncidentEventType = "opened" DtoIncidentEventTypeReminder DtoIncidentEventType = "reminder" DtoIncidentEventTypeResolved DtoIncidentEventType = "resolved" DtoIncidentEventTypeThreshold DtoIncidentEventType = "threshold" )
Defines values for DtoIncidentEventType.
func (DtoIncidentEventType) Valid ¶
func (e DtoIncidentEventType) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentEventType enum.
type DtoIncidentMonitorType ¶
type DtoIncidentMonitorType string
DtoIncidentMonitorType defines model for DtoIncident.MonitorType.
const ( DtoIncidentMonitorTypeDomain DtoIncidentMonitorType = "domain" DtoIncidentMonitorTypeHttp DtoIncidentMonitorType = "http" DtoIncidentMonitorTypeSsl DtoIncidentMonitorType = "ssl" )
Defines values for DtoIncidentMonitorType.
func (DtoIncidentMonitorType) Valid ¶
func (e DtoIncidentMonitorType) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentMonitorType enum.
type DtoIncidentMonitorVariant ¶
type DtoIncidentMonitorVariant string
DtoIncidentMonitorVariant MonitorVariant names what the monitor does, as on monitor rows (keyword for an HTTP monitor with a keyword).
const ( DtoIncidentMonitorVariantDomain DtoIncidentMonitorVariant = "domain" DtoIncidentMonitorVariantHttp DtoIncidentMonitorVariant = "http" DtoIncidentMonitorVariantKeyword DtoIncidentMonitorVariant = "keyword" DtoIncidentMonitorVariantSsl DtoIncidentMonitorVariant = "ssl" )
Defines values for DtoIncidentMonitorVariant.
func (DtoIncidentMonitorVariant) Valid ¶
func (e DtoIncidentMonitorVariant) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentMonitorVariant enum.
type DtoIncidentOpenCounts ¶
type DtoIncidentOpenCounts struct {
Critical int `json:"critical"`
InMaintenance int `json:"inMaintenance"`
Total int `json:"total"`
Unacknowledged int `json:"unacknowledged"`
Warning int `json:"warning"`
}
DtoIncidentOpenCounts defines model for dto.IncidentOpenCounts.
type DtoIncidentPeakSeverity ¶
type DtoIncidentPeakSeverity string
DtoIncidentPeakSeverity defines model for DtoIncident.PeakSeverity.
const ( DtoIncidentPeakSeverityCritical DtoIncidentPeakSeverity = "critical" DtoIncidentPeakSeverityWarning DtoIncidentPeakSeverity = "warning" )
Defines values for DtoIncidentPeakSeverity.
func (DtoIncidentPeakSeverity) Valid ¶
func (e DtoIncidentPeakSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentPeakSeverity enum.
type DtoIncidentSeverity ¶
type DtoIncidentSeverity string
DtoIncidentSeverity Severity is the current one; peakSeverity the worst it reached (a de-escalated incident stays open at warning).
const ( DtoIncidentSeverityCritical DtoIncidentSeverity = "critical" DtoIncidentSeverityWarning DtoIncidentSeverity = "warning" )
Defines values for DtoIncidentSeverity.
func (DtoIncidentSeverity) Valid ¶
func (e DtoIncidentSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentSeverity enum.
type DtoIncidentStatus ¶
type DtoIncidentStatus string
DtoIncidentStatus defines model for DtoIncident.Status.
const ( DtoIncidentStatusOpen DtoIncidentStatus = "open" DtoIncidentStatusResolved DtoIncidentStatus = "resolved" )
Defines values for DtoIncidentStatus.
func (DtoIncidentStatus) Valid ¶
func (e DtoIncidentStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoIncidentStatus enum.
type DtoIncidentSummary ¶
type DtoIncidentSummary struct {
// MttrLast30dSeconds MttrLast30dSeconds is the mean time to resolve of those incidents, leaving
// out any a maintenance window held open at some point, whose duration is
// mostly the planned work; absent when none is left.
MttrLast30dSeconds *int `json:"mttrLast30dSeconds,omitempty"`
Open DtoIncidentOpenCounts `json:"open"`
// ResolvedLast30d ResolvedLast30d counts every incident resolved in the last 30 days.
ResolvedLast30d int `json:"resolvedLast30d"`
// ResolvedLast7d ResolvedLast7d counts incidents resolved in the last 7 days.
ResolvedLast7d int `json:"resolvedLast7d"`
}
DtoIncidentSummary defines model for dto.IncidentSummary.
type DtoLastCheck ¶
type DtoLastCheck struct {
At string `json:"at"`
Condition string `json:"condition"`
Severity DtoLastCheckSeverity `json:"severity"`
TotalMs *int `json:"totalMs,omitempty"`
}
DtoLastCheck defines model for dto.LastCheck.
type DtoLastCheckSeverity ¶
type DtoLastCheckSeverity string
DtoLastCheckSeverity defines model for DtoLastCheck.Severity.
const ( DtoLastCheckSeverityCritical DtoLastCheckSeverity = "critical" DtoLastCheckSeverityInconclusive DtoLastCheckSeverity = "inconclusive" DtoLastCheckSeverityOk DtoLastCheckSeverity = "ok" DtoLastCheckSeverityWarning DtoLastCheckSeverity = "warning" )
Defines values for DtoLastCheckSeverity.
func (DtoLastCheckSeverity) Valid ¶
func (e DtoLastCheckSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoLastCheckSeverity enum.
type DtoMaintenanceTargetComponent ¶ added in v0.25.0
type DtoMaintenanceTargetComponent struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
StatusPageId openapi_types.UUID `json:"statusPageId"`
}
DtoMaintenanceTargetComponent defines model for dto.MaintenanceTargetComponent.
type DtoMaintenanceTargetMonitor ¶ added in v0.25.0
type DtoMaintenanceTargetMonitor struct {
Enabled bool `json:"enabled"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Target string `json:"target"`
Type DtoMaintenanceTargetMonitorType `json:"type"`
}
DtoMaintenanceTargetMonitor defines model for dto.MaintenanceTargetMonitor.
type DtoMaintenanceTargetMonitorType ¶ added in v0.25.0
type DtoMaintenanceTargetMonitorType string
DtoMaintenanceTargetMonitorType defines model for DtoMaintenanceTargetMonitor.Type.
const ( DtoMaintenanceTargetMonitorTypeHttp DtoMaintenanceTargetMonitorType = "http" DtoMaintenanceTargetMonitorTypeSsl DtoMaintenanceTargetMonitorType = "ssl" )
Defines values for DtoMaintenanceTargetMonitorType.
func (DtoMaintenanceTargetMonitorType) Valid ¶ added in v0.25.0
func (e DtoMaintenanceTargetMonitorType) Valid() bool
Valid indicates whether the value is a known member of the DtoMaintenanceTargetMonitorType enum.
type DtoMaintenanceTargetStatusPage ¶ added in v0.25.0
type DtoMaintenanceTargetStatusPage struct {
// CanPublish CanPublish says you may show a window here. On a published page it decides
// whether a window showing here can be saved.
CanPublish bool `json:"canPublish"`
ComponentIds []openapi_types.UUID `json:"componentIds"`
Id openapi_types.UUID `json:"id"`
// MonitorIds MonitorIDs are the monitors that make a window show on this page; a monitor the
// page shows only for its certificate or domain isn't among them. ComponentIDs are
// its manual components.
MonitorIds []openapi_types.UUID `json:"monitorIds"`
Name string `json:"name"`
Published bool `json:"published"`
// Subscribers Subscribers are its confirmed subscribers; absent when you can't read the page.
Subscribers *int `json:"subscribers,omitempty"`
}
DtoMaintenanceTargetStatusPage defines model for dto.MaintenanceTargetStatusPage.
type DtoMaintenanceTargets ¶ added in v0.25.0
type DtoMaintenanceTargets struct {
Components []DtoMaintenanceTargetComponent `json:"components"`
Monitors []DtoMaintenanceTargetMonitor `json:"monitors"`
StatusPages []DtoMaintenanceTargetStatusPage `json:"statusPages"`
}
DtoMaintenanceTargets defines model for dto.MaintenanceTargets.
type DtoMaintenanceWindow ¶ added in v0.25.0
type DtoMaintenanceWindow struct {
// CancelledAt CancelledAt is set once cancelled; cancelledBy stays absent when the system did it,
// every target having gone before the start.
CancelledAt *string `json:"cancelledAt,omitempty"`
CancelledBy *openapi_types.UUID `json:"cancelledBy,omitempty"`
// CancelledByName CancelledByName names who cancelled it (their name, else their email); only when
// reading one window, and absent when Norcube Auth can't say. So do the other names.
CancelledByName *string `json:"cancelledByName,omitempty"`
CreatedAt string `json:"createdAt"`
CreatedBy *openapi_types.UUID `json:"createdBy,omitempty"`
CreatedByName *string `json:"createdByName,omitempty"`
Description string `json:"description"`
// EndsAt EndsAt is when it ended, if someone finished it early (finishedEarly).
EndsAt string `json:"endsAt"`
FinishedBy *openapi_types.UUID `json:"finishedBy,omitempty"`
FinishedByName *string `json:"finishedByName,omitempty"`
FinishedEarly bool `json:"finishedEarly"`
Id openapi_types.UUID `json:"id"`
NotifyFinished bool `json:"notifyFinished"`
NotifyScheduled bool `json:"notifyScheduled"`
NotifyStarted bool `json:"notifyStarted"`
StartsAt string `json:"startsAt"`
// State State follows from the times: scheduled before the start, in_progress until the
// end, then completed; cancelled once called off.
State DtoMaintenanceWindowState `json:"state"`
// StatusPages StatusPages are the pages it shows on, published or not: every page showing a
// target, which nobody chooses. Published ones show it publicly.
StatusPages []DtoMaintenanceWindowStatusPage `json:"statusPages"`
Targets DtoMaintenanceWindowResponseTargets `json:"targets"`
Title string `json:"title"`
UpdatedAt string `json:"updatedAt"`
}
DtoMaintenanceWindow defines model for dto.MaintenanceWindow.
type DtoMaintenanceWindowCreate ¶ added in v0.25.0
type DtoMaintenanceWindowCreate struct {
// Description Description is public: it shows on status pages and in mails.
Description *string `json:"description,omitempty"`
// EndsAt EndsAt is at most 30 days after the start.
EndsAt string `json:"endsAt"`
NotifyFinished bool `json:"notifyFinished"`
// NotifyScheduled NotifyScheduled, NotifyStarted and NotifyFinished say which mails go to the
// subscribers of the status pages it shows on. A cancellation always tells whoever
// was told.
NotifyScheduled bool `json:"notifyScheduled"`
NotifyStarted bool `json:"notifyStarted"`
// StartsAt StartsAt may be up to a year ahead; up to five minutes in the past reads as now.
StartsAt string `json:"startsAt"`
Targets DtoMaintenanceWindowTargets `json:"targets"`
Title string `json:"title"`
}
DtoMaintenanceWindowCreate defines model for dto.MaintenanceWindowCreate.
type DtoMaintenanceWindowResponseTargets ¶ added in v0.25.0
type DtoMaintenanceWindowResponseTargets struct {
ComponentIds []openapi_types.UUID `json:"componentIds"`
MonitorIds []openapi_types.UUID `json:"monitorIds"`
}
DtoMaintenanceWindowResponseTargets defines model for dto.MaintenanceWindowResponseTargets.
type DtoMaintenanceWindowState ¶ added in v0.25.0
type DtoMaintenanceWindowState string
DtoMaintenanceWindowState State follows from the times: scheduled before the start, in_progress until the end, then completed; cancelled once called off.
const ( DtoMaintenanceWindowStateCancelled DtoMaintenanceWindowState = "cancelled" DtoMaintenanceWindowStateCompleted DtoMaintenanceWindowState = "completed" DtoMaintenanceWindowStateInProgress DtoMaintenanceWindowState = "in_progress" DtoMaintenanceWindowStateScheduled DtoMaintenanceWindowState = "scheduled" )
Defines values for DtoMaintenanceWindowState.
func (DtoMaintenanceWindowState) Valid ¶ added in v0.25.0
func (e DtoMaintenanceWindowState) Valid() bool
Valid indicates whether the value is a known member of the DtoMaintenanceWindowState enum.
type DtoMaintenanceWindowStatusPage ¶ added in v0.25.0
type DtoMaintenanceWindowStatusPage struct {
// ComponentIds ComponentIDs are the page's components it affects.
ComponentIds []openapi_types.UUID `json:"componentIds"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Published bool `json:"published"`
}
DtoMaintenanceWindowStatusPage defines model for dto.MaintenanceWindowStatusPage.
type DtoMaintenanceWindowTargets ¶ added in v0.25.0
type DtoMaintenanceWindowTargets struct {
ComponentIds *[]openapi_types.UUID `json:"componentIds,omitempty"`
MonitorIds *[]openapi_types.UUID `json:"monitorIds,omitempty"`
StatusPageIds *[]openapi_types.UUID `json:"statusPageIds,omitempty"`
}
DtoMaintenanceWindowTargets defines model for dto.MaintenanceWindowTargets.
type DtoMaintenanceWindowUpdate ¶ added in v0.25.0
type DtoMaintenanceWindowUpdate struct {
Description *string `json:"description,omitempty"`
// EndsAt EndsAt: until it ends, and to a time still to come. To end it now, use finish.
EndsAt *string `json:"endsAt,omitempty"`
NotifyFinished *bool `json:"notifyFinished,omitempty"`
NotifyScheduled *bool `json:"notifyScheduled,omitempty"`
NotifyStarted *bool `json:"notifyStarted,omitempty"`
// StartsAt StartsAt: only before it starts, and to a time still to come.
StartsAt *string `json:"startsAt,omitempty"`
// Targets Targets replaces them as a whole, only before it starts.
Targets *DtoMaintenanceWindowTargets `json:"targets,omitempty"`
Title *string `json:"title,omitempty"`
}
DtoMaintenanceWindowUpdate defines model for dto.MaintenanceWindowUpdate.
type DtoMonitor ¶
type DtoMonitor struct {
// Aspects Aspects are the monitor's watched aspects (an HTTP monitor's
// certificate and domain watches that are on), on list rows too; []
// without watches.
Aspects []DtoMonitorAspect `json:"aspects"`
// Condition Condition explains status; absent while pending.
Condition *DtoMonitorCondition `json:"condition,omitempty"`
CreatedAt string `json:"createdAt"`
CreatedBy openapi_types.UUID `json:"createdBy"`
Description string `json:"description"`
Domain *DtoDomainSettings `json:"domain,omitempty"`
// History History is set on list rows with include=history: the newest
// results (at most 60), newest first; [] for a monitor never checked.
History *[]DtoHistoryBeat `json:"history,omitempty"`
Http *DtoHTTPSettings `json:"http,omitempty"`
Id openapi_types.UUID `json:"id"`
IntervalSeconds int `json:"intervalSeconds"`
// Last24h Last24h is set on list rows of monitors that track uptime (HTTP):
// the last 24 full hours plus the current one. SSL and domain monitors
// show days left (condition.facts) instead.
Last24h *DtoWindowSummary `json:"last24h,omitempty"`
LastCheck *DtoLastCheck `json:"lastCheck,omitempty"`
// Maintenance Maintenance is the window holding the monitor right now (list and detail): alerts
// are paused and the time is out of uptime. Status stays what was measured.
Maintenance *DtoMonitorMaintenance `json:"maintenance,omitempty"`
Name string `json:"name"`
NextCheckAt *string `json:"nextCheckAt,omitempty"`
// OverallStatus OverallStatus is the worst of status and the statuses of the
// monitor's watched aspects (critical, warning, pending, ok), paused
// while disabled. The list status filter and sort use it.
OverallStatus DtoMonitorOverallStatus `json:"overallStatus"`
// ParentResource ParentResource is set when the monitor belongs to a resource of
// another Norcube service ("domainradar:saved_domain:example.com"). It
// can't be deleted here, and its domain can't change.
ParentResource *string `json:"parentResource,omitempty"`
// Regions Regions are where the monitor is checked from, on list rows too.
// Today every monitor is checked from the one region the service runs
// in; with probes in more regions (planned) a monitor may list
// several. Each result says which region checked it (region).
Regions []DtoCheckRegion `json:"regions"`
Ssl *DtoSSLSettings `json:"ssl,omitempty"`
// Status Status is the primary aspect's: the severity of the last conclusive
// check, pending before one, paused while disabled. An inconclusive
// check (a failed registry lookup) never changes it.
Status DtoMonitorStatus `json:"status"`
StatusSince string `json:"statusSince"`
Target string `json:"target"`
Type DtoMonitorType `json:"type"`
UpdatedAt string `json:"updatedAt"`
// Variant Variant is what the monitor does in one word, on list rows too
// (which carry no settings): keyword for an HTTP monitor that looks for
// a keyword in the body, otherwise the type.
Variant DtoMonitorVariant `json:"variant"`
}
DtoMonitor defines model for dto.Monitor.
type DtoMonitorAlertRoute ¶
type DtoMonitorAlertRoute struct {
ChannelId openapi_types.UUID `json:"channelId"`
Events []DtoMonitorAlertRouteEvents `json:"events"`
}
DtoMonitorAlertRoute defines model for dto.MonitorAlertRoute.
type DtoMonitorAlertRouteEvents ¶
type DtoMonitorAlertRouteEvents string
DtoMonitorAlertRouteEvents defines model for DtoMonitorAlertRoute.Events.
const ( DtoMonitorAlertRouteEventsDown DtoMonitorAlertRouteEvents = "down" DtoMonitorAlertRouteEventsExpired DtoMonitorAlertRouteEvents = "expired" DtoMonitorAlertRouteEventsExpiring DtoMonitorAlertRouteEvents = "expiring" DtoMonitorAlertRouteEventsRecovered DtoMonitorAlertRouteEvents = "recovered" DtoMonitorAlertRouteEventsWarning DtoMonitorAlertRouteEvents = "warning" )
Defines values for DtoMonitorAlertRouteEvents.
func (DtoMonitorAlertRouteEvents) Valid ¶
func (e DtoMonitorAlertRouteEvents) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorAlertRouteEvents enum.
type DtoMonitorAlerts ¶
type DtoMonitorAlerts struct {
// ApplicableEvents ApplicableEvents are the events monitors of this type can send
// (offer only these in a routing form).
ApplicableEvents []DtoMonitorAlertsApplicableEvents `json:"applicableEvents"`
ConfirmFailures int `json:"confirmFailures"`
ConfirmSuccesses int `json:"confirmSuccesses"`
ReminderMinutes int `json:"reminderMinutes"`
Routes []DtoMonitorAlertRoute `json:"routes"`
UseDefaults bool `json:"useDefaults"`
}
DtoMonitorAlerts defines model for dto.MonitorAlerts.
type DtoMonitorAlertsApplicableEvents ¶
type DtoMonitorAlertsApplicableEvents string
DtoMonitorAlertsApplicableEvents defines model for DtoMonitorAlerts.ApplicableEvents.
const ( DtoMonitorAlertsApplicableEventsDown DtoMonitorAlertsApplicableEvents = "down" DtoMonitorAlertsApplicableEventsExpired DtoMonitorAlertsApplicableEvents = "expired" DtoMonitorAlertsApplicableEventsExpiring DtoMonitorAlertsApplicableEvents = "expiring" DtoMonitorAlertsApplicableEventsRecovered DtoMonitorAlertsApplicableEvents = "recovered" DtoMonitorAlertsApplicableEventsWarning DtoMonitorAlertsApplicableEvents = "warning" )
Defines values for DtoMonitorAlertsApplicableEvents.
func (DtoMonitorAlertsApplicableEvents) Valid ¶
func (e DtoMonitorAlertsApplicableEvents) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorAlertsApplicableEvents enum.
type DtoMonitorAlertsUpdate ¶
type DtoMonitorAlertsUpdate struct {
ConfirmFailures *int `json:"confirmFailures,omitempty"`
ConfirmSuccesses *int `json:"confirmSuccesses,omitempty"`
ReminderMinutes *int `json:"reminderMinutes,omitempty"`
Routes *[]DtoMonitorAlertRoute `json:"routes,omitempty"`
UseDefaults *bool `json:"useDefaults,omitempty"`
}
DtoMonitorAlertsUpdate defines model for dto.MonitorAlertsUpdate.
type DtoMonitorAspect ¶
type DtoMonitorAspect struct {
// AlertedThresholds AlertedThresholds are the expiry thresholds already alerted for the
// current expiry, oldest first; [] before the first (or once renewed).
AlertedThresholds []DtoThresholdAlert `json:"alertedThresholds"`
Aspect DtoMonitorAspectAspect `json:"aspect"`
// CheckedAt CheckedAt is the last observation, conclusive or not; absent before
// the first.
CheckedAt *string `json:"checkedAt,omitempty"`
// Condition Condition explains status ("ok", "cert_expiring", "domain_expired",
// ...); absent while pending.
Condition *string `json:"condition,omitempty"`
// DaysRemaining DaysRemaining is counted when read from expiresAt, negative once
// expired.
DaysRemaining *int `json:"daysRemaining,omitempty"`
ExpiresAt *string `json:"expiresAt,omitempty"`
Message *string `json:"message,omitempty"`
Status DtoMonitorAspectStatus `json:"status"`
// Subject Subject is what the aspect is about: the URL's host for the
// certificate, its registrable domain for the domain.
Subject string `json:"subject"`
ThresholdsDays []int `json:"thresholdsDays"`
}
DtoMonitorAspect defines model for dto.MonitorAspect.
type DtoMonitorAspectAspect ¶
type DtoMonitorAspectAspect string
DtoMonitorAspectAspect defines model for DtoMonitorAspect.Aspect.
const ( DtoMonitorAspectAspectCertificate DtoMonitorAspectAspect = "certificate" DtoMonitorAspectAspectDomain DtoMonitorAspectAspect = "domain" )
Defines values for DtoMonitorAspectAspect.
func (DtoMonitorAspectAspect) Valid ¶
func (e DtoMonitorAspectAspect) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorAspectAspect enum.
type DtoMonitorAspectStatus ¶
type DtoMonitorAspectStatus string
DtoMonitorAspectStatus defines model for DtoMonitorAspect.Status.
const ( DtoMonitorAspectStatusCritical DtoMonitorAspectStatus = "critical" DtoMonitorAspectStatusOk DtoMonitorAspectStatus = "ok" DtoMonitorAspectStatusPending DtoMonitorAspectStatus = "pending" DtoMonitorAspectStatusWarning DtoMonitorAspectStatus = "warning" )
Defines values for DtoMonitorAspectStatus.
func (DtoMonitorAspectStatus) Valid ¶
func (e DtoMonitorAspectStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorAspectStatus enum.
type DtoMonitorBulkItem ¶
type DtoMonitorBulkItem struct {
Code *string `json:"code,omitempty"`
Detail *string `json:"detail,omitempty"`
MonitorId openapi_types.UUID `json:"monitorId"`
Ok bool `json:"ok"`
}
DtoMonitorBulkItem defines model for dto.MonitorBulkItem.
type DtoMonitorBulkRequest ¶
type DtoMonitorBulkRequest struct {
Action DtoMonitorBulkRequestAction `json:"action"`
MonitorIds []string `json:"monitorIds"`
}
DtoMonitorBulkRequest defines model for dto.MonitorBulkRequest.
type DtoMonitorBulkRequestAction ¶
type DtoMonitorBulkRequestAction string
DtoMonitorBulkRequestAction defines model for DtoMonitorBulkRequest.Action.
const ( DtoMonitorBulkRequestActionDelete DtoMonitorBulkRequestAction = "delete" DtoMonitorBulkRequestActionPause DtoMonitorBulkRequestAction = "pause" DtoMonitorBulkRequestActionResume DtoMonitorBulkRequestAction = "resume" )
Defines values for DtoMonitorBulkRequestAction.
func (DtoMonitorBulkRequestAction) Valid ¶
func (e DtoMonitorBulkRequestAction) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorBulkRequestAction enum.
type DtoMonitorBulkResult ¶
type DtoMonitorBulkResult struct {
Action DtoMonitorBulkResultAction `json:"action"`
Failed int `json:"failed"`
Items []DtoMonitorBulkItem `json:"items"`
Succeeded int `json:"succeeded"`
}
DtoMonitorBulkResult defines model for dto.MonitorBulkResult.
type DtoMonitorBulkResultAction ¶
type DtoMonitorBulkResultAction string
DtoMonitorBulkResultAction defines model for DtoMonitorBulkResult.Action.
const ( DtoMonitorBulkResultActionDelete DtoMonitorBulkResultAction = "delete" DtoMonitorBulkResultActionPause DtoMonitorBulkResultAction = "pause" DtoMonitorBulkResultActionResume DtoMonitorBulkResultAction = "resume" )
Defines values for DtoMonitorBulkResultAction.
func (DtoMonitorBulkResultAction) Valid ¶
func (e DtoMonitorBulkResultAction) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorBulkResultAction enum.
type DtoMonitorCertificate ¶
type DtoMonitorCertificate struct {
// AlertWindowStart AlertWindowStart is when the largest threshold is crossed (notAfter
// minus it): shade from here to notAfter.
AlertWindowStart *string `json:"alertWindowStart,omitempty"`
Certificate DtoCertificate `json:"certificate"`
CheckedAt string `json:"checkedAt"`
Condition string `json:"condition"`
// DaysRemaining DaysRemaining counts from now (certificate.daysRemaining from the
// check).
DaysRemaining int `json:"daysRemaining"`
ErrorMessage *string `json:"errorMessage,omitempty"`
NextThresholdAt *string `json:"nextThresholdAt,omitempty"`
// NextThresholdDays NextThresholdDays / NextThresholdAt: the next threshold to cross
// and when; absent once past the smallest.
NextThresholdDays *int `json:"nextThresholdDays,omitempty"`
ResultId int `json:"resultId"`
Severity DtoMonitorCertificateSeverity `json:"severity"`
// ThresholdsDays ThresholdsDays are the SSL monitor's expiry thresholds, largest
// first; empty for an HTTP monitor (no expiry alerts).
ThresholdsDays []int `json:"thresholdsDays"`
}
DtoMonitorCertificate defines model for dto.MonitorCertificate.
type DtoMonitorCertificateSeverity ¶
type DtoMonitorCertificateSeverity string
DtoMonitorCertificateSeverity defines model for DtoMonitorCertificate.Severity.
const ( DtoMonitorCertificateSeverityCritical DtoMonitorCertificateSeverity = "critical" DtoMonitorCertificateSeverityInconclusive DtoMonitorCertificateSeverity = "inconclusive" DtoMonitorCertificateSeverityOk DtoMonitorCertificateSeverity = "ok" DtoMonitorCertificateSeverityWarning DtoMonitorCertificateSeverity = "warning" )
Defines values for DtoMonitorCertificateSeverity.
func (DtoMonitorCertificateSeverity) Valid ¶
func (e DtoMonitorCertificateSeverity) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorCertificateSeverity enum.
type DtoMonitorCondition ¶
type DtoMonitorCondition struct {
// AlertedThresholds AlertedThresholds are the expiry thresholds already alerted for the
// current expiry (SSL and domain monitors), oldest first; [] otherwise.
// An HTTP monitor's watched certificate and domain have theirs on
// aspects.
AlertedThresholds []DtoThresholdAlert `json:"alertedThresholds"`
// Code Code is the condition ("ok", "slow_response", "cert_expiring", ...),
// worded per monitor type by the dashboard.
Code string `json:"code"`
// ConclusiveAt ConclusiveAt is when a check last confirmed it; older than
// lastCheck.at when the newest checks couldn't tell.
ConclusiveAt *string `json:"conclusiveAt,omitempty"`
Facts DtoConditionFacts `json:"facts"`
Message *string `json:"message,omitempty"`
// Since Since is when the status began (statusSince).
Since string `json:"since"`
}
DtoMonitorCondition defines model for dto.MonitorCondition.
type DtoMonitorCreate ¶
type DtoMonitorCreate struct {
Description *string `json:"description,omitempty"`
Domain *DtoDomainSettingsInput `json:"domain,omitempty"`
Http *DtoHTTPSettingsInput `json:"http,omitempty"`
// IntervalSeconds The org's plan can require more than the 30-second floor (60 s by
// default), and domain monitors run at most hourly (3600); the error
// message names the minimum.
IntervalSeconds int `json:"intervalSeconds"`
Name string `json:"name"`
Ssl *DtoSSLSettingsInput `json:"ssl,omitempty"`
Type DtoMonitorCreateType `json:"type"`
}
DtoMonitorCreate defines model for dto.MonitorCreate.
type DtoMonitorCreateType ¶
type DtoMonitorCreateType string
DtoMonitorCreateType defines model for DtoMonitorCreate.Type.
const ( DtoMonitorCreateTypeDomain DtoMonitorCreateType = "domain" DtoMonitorCreateTypeHttp DtoMonitorCreateType = "http" DtoMonitorCreateTypeSsl DtoMonitorCreateType = "ssl" )
Defines values for DtoMonitorCreateType.
func (DtoMonitorCreateType) Valid ¶
func (e DtoMonitorCreateType) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorCreateType enum.
type DtoMonitorEvent ¶
type DtoMonitorEvent struct {
Aspect DtoMonitorEventAspect `json:"aspect"`
At string `json:"at"`
// CheckResultId CheckResultID is the check that saw it.
CheckResultId int `json:"checkResultId"`
Id int `json:"id"`
// Renewal Renewal is set on certificate_renewed.
Renewal *DtoCertificateRenewal `json:"renewal,omitempty"`
// Type Type: certificate_renewed, a check saw a certificate other than the
// newest one so far, expiring later (SSL monitors and HTTP monitors
// that watch their certificate; an older certificate, say from a node
// behind on renewals, is not one).
Type DtoMonitorEventType `json:"type"`
}
DtoMonitorEvent defines model for dto.MonitorEvent.
type DtoMonitorEventAspect ¶
type DtoMonitorEventAspect string
DtoMonitorEventAspect defines model for DtoMonitorEvent.Aspect.
const ( DtoMonitorEventAspectAvailability DtoMonitorEventAspect = "availability" DtoMonitorEventAspectCertificate DtoMonitorEventAspect = "certificate" DtoMonitorEventAspectDomain DtoMonitorEventAspect = "domain" )
Defines values for DtoMonitorEventAspect.
func (DtoMonitorEventAspect) Valid ¶
func (e DtoMonitorEventAspect) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorEventAspect enum.
type DtoMonitorEventType ¶
type DtoMonitorEventType string
DtoMonitorEventType Type: certificate_renewed, a check saw a certificate other than the newest one so far, expiring later (SSL monitors and HTTP monitors that watch their certificate; an older certificate, say from a node behind on renewals, is not one).
const (
CertificateRenewed DtoMonitorEventType = "certificate_renewed"
)
Defines values for DtoMonitorEventType.
func (DtoMonitorEventType) Valid ¶
func (e DtoMonitorEventType) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorEventType enum.
type DtoMonitorMaintenance ¶ added in v0.25.0
type DtoMonitorMaintenance struct {
EndsAt string `json:"endsAt"`
StartsAt string `json:"startsAt"`
Title string `json:"title"`
WindowId openapi_types.UUID `json:"windowId"`
}
DtoMonitorMaintenance defines model for dto.MonitorMaintenance.
type DtoMonitorOverallStatus ¶
type DtoMonitorOverallStatus string
DtoMonitorOverallStatus OverallStatus is the worst of status and the statuses of the monitor's watched aspects (critical, warning, pending, ok), paused while disabled. The list status filter and sort use it.
const ( DtoMonitorOverallStatusCritical DtoMonitorOverallStatus = "critical" DtoMonitorOverallStatusOk DtoMonitorOverallStatus = "ok" DtoMonitorOverallStatusPaused DtoMonitorOverallStatus = "paused" DtoMonitorOverallStatusPending DtoMonitorOverallStatus = "pending" DtoMonitorOverallStatusWarning DtoMonitorOverallStatus = "warning" )
Defines values for DtoMonitorOverallStatus.
func (DtoMonitorOverallStatus) Valid ¶
func (e DtoMonitorOverallStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorOverallStatus enum.
type DtoMonitorStats ¶
type DtoMonitorStats struct {
AvgMs *int `json:"avgMs,omitempty"`
Checks int `json:"checks"`
Critical int `json:"critical"`
From string `json:"from"`
Granularity DtoMonitorStatsGranularity `json:"granularity"`
Inconclusive int `json:"inconclusive"`
// Maintenance Maintenance counts the checks inside a maintenance window, whatever they
// found. They are billed; the other counts cover only what ran outside.
Maintenance int `json:"maintenance"`
MaxMs *int `json:"maxMs,omitempty"`
Ok int `json:"ok"`
Series []DtoStatsBucket `json:"series"`
To string `json:"to"`
// UptimePercent UptimePercent is (ok + warning) / (ok + warning + critical); absent
// without conclusive checks and for SSL and domain monitors.
UptimePercent *float32 `json:"uptimePercent,omitempty"`
Warning int `json:"warning"`
}
DtoMonitorStats defines model for dto.MonitorStats.
type DtoMonitorStatsGranularity ¶
type DtoMonitorStatsGranularity string
DtoMonitorStatsGranularity defines model for DtoMonitorStats.Granularity.
const ( Day DtoMonitorStatsGranularity = "day" Hour DtoMonitorStatsGranularity = "hour" )
Defines values for DtoMonitorStatsGranularity.
func (DtoMonitorStatsGranularity) Valid ¶
func (e DtoMonitorStatsGranularity) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorStatsGranularity enum.
type DtoMonitorStatus ¶
type DtoMonitorStatus string
DtoMonitorStatus Status is the primary aspect's: the severity of the last conclusive check, pending before one, paused while disabled. An inconclusive check (a failed registry lookup) never changes it.
const ( DtoMonitorStatusCritical DtoMonitorStatus = "critical" DtoMonitorStatusOk DtoMonitorStatus = "ok" DtoMonitorStatusPaused DtoMonitorStatus = "paused" DtoMonitorStatusPending DtoMonitorStatus = "pending" DtoMonitorStatusWarning DtoMonitorStatus = "warning" )
Defines values for DtoMonitorStatus.
func (DtoMonitorStatus) Valid ¶
func (e DtoMonitorStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorStatus enum.
type DtoMonitorType ¶
type DtoMonitorType string
DtoMonitorType defines model for DtoMonitor.Type.
const ( DtoMonitorTypeDomain DtoMonitorType = "domain" DtoMonitorTypeHttp DtoMonitorType = "http" DtoMonitorTypeSsl DtoMonitorType = "ssl" )
Defines values for DtoMonitorType.
func (DtoMonitorType) Valid ¶
func (e DtoMonitorType) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorType enum.
type DtoMonitorUpdate ¶
type DtoMonitorUpdate struct {
Description *string `json:"description,omitempty"`
Domain *DtoDomainSettingsInput `json:"domain,omitempty"`
Http *DtoHTTPSettingsInput `json:"http,omitempty"`
IntervalSeconds *int `json:"intervalSeconds,omitempty"`
Name *string `json:"name,omitempty"`
Ssl *DtoSSLSettingsInput `json:"ssl,omitempty"`
}
DtoMonitorUpdate defines model for dto.MonitorUpdate.
type DtoMonitorVariant ¶
type DtoMonitorVariant string
DtoMonitorVariant Variant is what the monitor does in one word, on list rows too (which carry no settings): keyword for an HTTP monitor that looks for a keyword in the body, otherwise the type.
const ( DtoMonitorVariantDomain DtoMonitorVariant = "domain" DtoMonitorVariantHttp DtoMonitorVariant = "http" DtoMonitorVariantKeyword DtoMonitorVariant = "keyword" DtoMonitorVariantSsl DtoMonitorVariant = "ssl" )
Defines values for DtoMonitorVariant.
func (DtoMonitorVariant) Valid ¶
func (e DtoMonitorVariant) Valid() bool
Valid indicates whether the value is a known member of the DtoMonitorVariant enum.
type DtoPublicStatusAffected ¶ added in v0.23.0
type DtoPublicStatusAffected struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Status DtoPublicStatusAffectedStatus `json:"status"`
}
DtoPublicStatusAffected defines model for dto.PublicStatusAffected.
type DtoPublicStatusAffectedStatus ¶ added in v0.23.0
type DtoPublicStatusAffectedStatus string
DtoPublicStatusAffectedStatus defines model for DtoPublicStatusAffected.Status.
const ( DtoPublicStatusAffectedStatusDegradedPerformance DtoPublicStatusAffectedStatus = "degraded_performance" DtoPublicStatusAffectedStatusMajorOutage DtoPublicStatusAffectedStatus = "major_outage" DtoPublicStatusAffectedStatusOperational DtoPublicStatusAffectedStatus = "operational" DtoPublicStatusAffectedStatusPartialOutage DtoPublicStatusAffectedStatus = "partial_outage" )
Defines values for DtoPublicStatusAffectedStatus.
func (DtoPublicStatusAffectedStatus) Valid ¶ added in v0.23.0
func (e DtoPublicStatusAffectedStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusAffectedStatus enum.
type DtoPublicStatusComponent ¶ added in v0.23.0
type DtoPublicStatusComponent struct {
// AvgResponseMs AvgResponseMs over the page's range, when the page shows response
// times.
AvgResponseMs *int `json:"avgResponseMs,omitempty"`
// Days Days are the bar, oldest first, when the page shows bars and the
// component counts availability.
Days *[]DtoPublicStatusDay `json:"days,omitempty"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Status DtoPublicStatusComponentStatus `json:"status"`
// UptimePercent UptimePercent over the page's range, when the page shows it.
UptimePercent *float32 `json:"uptimePercent,omitempty"`
}
DtoPublicStatusComponent defines model for dto.PublicStatusComponent.
type DtoPublicStatusComponentStatus ¶ added in v0.23.0
type DtoPublicStatusComponentStatus string
DtoPublicStatusComponentStatus defines model for DtoPublicStatusComponent.Status.
const ( DtoPublicStatusComponentStatusDegradedPerformance DtoPublicStatusComponentStatus = "degraded_performance" DtoPublicStatusComponentStatusMajorOutage DtoPublicStatusComponentStatus = "major_outage" DtoPublicStatusComponentStatusOperational DtoPublicStatusComponentStatus = "operational" DtoPublicStatusComponentStatusPartialOutage DtoPublicStatusComponentStatus = "partial_outage" DtoPublicStatusComponentStatusUnderMaintenance DtoPublicStatusComponentStatus = "under_maintenance" DtoPublicStatusComponentStatusUnknown DtoPublicStatusComponentStatus = "unknown" )
Defines values for DtoPublicStatusComponentStatus.
func (DtoPublicStatusComponentStatus) Valid ¶ added in v0.23.0
func (e DtoPublicStatusComponentStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusComponentStatus enum.
type DtoPublicStatusDay ¶ added in v0.23.0
type DtoPublicStatusDay struct {
// AvgResponseMs AvgResponseMs: when the page shows response times.
AvgResponseMs *int `json:"avgResponseMs,omitempty"`
Day string `json:"day"`
DowntimeMinutes *int `json:"downtimeMinutes,omitempty"`
Grade DtoPublicStatusDayGrade `json:"grade"`
// MaintenanceMinutes MaintenanceMinutes is how much of the day a window covered. Those minutes
// don't count towards the day's uptime.
MaintenanceMinutes *int `json:"maintenanceMinutes,omitempty"`
UptimePercent *float32 `json:"uptimePercent,omitempty"`
}
DtoPublicStatusDay defines model for dto.PublicStatusDay.
type DtoPublicStatusDayGrade ¶ added in v0.23.0
type DtoPublicStatusDayGrade string
DtoPublicStatusDayGrade defines model for DtoPublicStatusDay.Grade.
const ( DtoPublicStatusDayGradeMaintenance DtoPublicStatusDayGrade = "maintenance" DtoPublicStatusDayGradeMajor DtoPublicStatusDayGrade = "major" DtoPublicStatusDayGradeMinor DtoPublicStatusDayGrade = "minor" DtoPublicStatusDayGradeNoData DtoPublicStatusDayGrade = "no_data" DtoPublicStatusDayGradeOk DtoPublicStatusDayGrade = "ok" DtoPublicStatusDayGradePartial DtoPublicStatusDayGrade = "partial" DtoPublicStatusDayGradeUnknown DtoPublicStatusDayGrade = "unknown" DtoPublicStatusDayGradeWarning DtoPublicStatusDayGrade = "warning" )
Defines values for DtoPublicStatusDayGrade.
func (DtoPublicStatusDayGrade) Valid ¶ added in v0.23.0
func (e DtoPublicStatusDayGrade) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusDayGrade enum.
type DtoPublicStatusGroup ¶ added in v0.23.0
type DtoPublicStatusGroup struct {
Collapsed bool `json:"collapsed"`
Components []DtoPublicStatusComponent `json:"components"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Status DtoPublicStatusGroupStatus `json:"status"`
}
DtoPublicStatusGroup defines model for dto.PublicStatusGroup.
type DtoPublicStatusGroupStatus ¶ added in v0.23.0
type DtoPublicStatusGroupStatus string
DtoPublicStatusGroupStatus defines model for DtoPublicStatusGroup.Status.
const ( DtoPublicStatusGroupStatusDegradedPerformance DtoPublicStatusGroupStatus = "degraded_performance" DtoPublicStatusGroupStatusMajorOutage DtoPublicStatusGroupStatus = "major_outage" DtoPublicStatusGroupStatusOperational DtoPublicStatusGroupStatus = "operational" DtoPublicStatusGroupStatusPartialOutage DtoPublicStatusGroupStatus = "partial_outage" DtoPublicStatusGroupStatusUnderMaintenance DtoPublicStatusGroupStatus = "under_maintenance" DtoPublicStatusGroupStatusUnknown DtoPublicStatusGroupStatus = "unknown" )
Defines values for DtoPublicStatusGroupStatus.
func (DtoPublicStatusGroupStatus) Valid ¶ added in v0.23.0
func (e DtoPublicStatusGroupStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusGroupStatus enum.
type DtoPublicStatusHistory ¶ added in v0.23.0
type DtoPublicStatusHistory struct {
Incidents []DtoPublicStatusIncident `json:"incidents"`
// Maintenance Maintenance are the past windows, newest first, including announced ones
// that were cancelled, so links in mail and feeds keep working. Left out
// when there are none.
Maintenance *[]DtoPublicStatusMaintenance `json:"maintenance,omitempty"`
SchemaVersion int `json:"schemaVersion"`
}
DtoPublicStatusHistory defines model for dto.PublicStatusHistory.
type DtoPublicStatusIncident ¶ added in v0.23.0
type DtoPublicStatusIncident struct {
Components []DtoPublicStatusAffected `json:"components"`
// FixedTitle FixedTitle is the code of a fixed wording the renderer translates; Title holds
// its English. Absent on anything a person wrote.
FixedTitle *DtoPublicStatusIncidentFixedTitle `json:"fixedTitle,omitempty"`
Id openapi_types.UUID `json:"id"`
Impact DtoPublicStatusIncidentImpact `json:"impact"`
ResolvedAt *string `json:"resolvedAt,omitempty"`
StartedAt string `json:"startedAt"`
Status DtoPublicStatusIncidentStatus `json:"status"`
Title string `json:"title"`
Updates []DtoPublicStatusUpdate `json:"updates"`
}
DtoPublicStatusIncident defines model for dto.PublicStatusIncident.
type DtoPublicStatusIncidentFixedTitle ¶ added in v0.24.0
type DtoPublicStatusIncidentFixedTitle string
DtoPublicStatusIncidentFixedTitle FixedTitle is the code of a fixed wording the renderer translates; Title holds its English. Absent on anything a person wrote.
const (
AutoTitle DtoPublicStatusIncidentFixedTitle = "auto_title"
)
Defines values for DtoPublicStatusIncidentFixedTitle.
func (DtoPublicStatusIncidentFixedTitle) Valid ¶ added in v0.24.0
func (e DtoPublicStatusIncidentFixedTitle) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusIncidentFixedTitle enum.
type DtoPublicStatusIncidentImpact ¶ added in v0.23.0
type DtoPublicStatusIncidentImpact string
DtoPublicStatusIncidentImpact defines model for DtoPublicStatusIncident.Impact.
const ( DtoPublicStatusIncidentImpactCritical DtoPublicStatusIncidentImpact = "critical" DtoPublicStatusIncidentImpactMajor DtoPublicStatusIncidentImpact = "major" DtoPublicStatusIncidentImpactMinor DtoPublicStatusIncidentImpact = "minor" DtoPublicStatusIncidentImpactNone DtoPublicStatusIncidentImpact = "none" )
Defines values for DtoPublicStatusIncidentImpact.
func (DtoPublicStatusIncidentImpact) Valid ¶ added in v0.23.0
func (e DtoPublicStatusIncidentImpact) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusIncidentImpact enum.
type DtoPublicStatusIncidentStatus ¶ added in v0.23.0
type DtoPublicStatusIncidentStatus string
DtoPublicStatusIncidentStatus defines model for DtoPublicStatusIncident.Status.
const ( DtoPublicStatusIncidentStatusIdentified DtoPublicStatusIncidentStatus = "identified" DtoPublicStatusIncidentStatusInvestigating DtoPublicStatusIncidentStatus = "investigating" DtoPublicStatusIncidentStatusMonitoring DtoPublicStatusIncidentStatus = "monitoring" DtoPublicStatusIncidentStatusResolved DtoPublicStatusIncidentStatus = "resolved" )
Defines values for DtoPublicStatusIncidentStatus.
func (DtoPublicStatusIncidentStatus) Valid ¶ added in v0.23.0
func (e DtoPublicStatusIncidentStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusIncidentStatus enum.
type DtoPublicStatusMaintenance ¶ added in v0.25.0
type DtoPublicStatusMaintenance struct {
Components []DtoPublicStatusMaintenanceComponent `json:"components"`
Description string `json:"description"`
EndsAt string `json:"endsAt"`
// FinishedEarly FinishedEarly: someone ended it before it was due to end; EndsAt is when.
FinishedEarly bool `json:"finishedEarly"`
Id openapi_types.UUID `json:"id"`
StartsAt string `json:"startsAt"`
// Status Status is decided when the snapshot is pushed, because a window that was
// finished early can't be told from its times alone.
Status DtoPublicStatusMaintenanceStatus `json:"status"`
Title string `json:"title"`
// UpdatedAt UpdatedAt is when the window last changed, or the moment it started or
// ended if that came later. Never in the future, so feeds can use it.
UpdatedAt string `json:"updatedAt"`
}
DtoPublicStatusMaintenance defines model for dto.PublicStatusMaintenance.
type DtoPublicStatusMaintenanceComponent ¶ added in v0.25.0
type DtoPublicStatusMaintenanceComponent struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
}
DtoPublicStatusMaintenanceComponent defines model for dto.PublicStatusMaintenanceComponent.
type DtoPublicStatusMaintenanceStatus ¶ added in v0.25.0
type DtoPublicStatusMaintenanceStatus string
DtoPublicStatusMaintenanceStatus Status is decided when the snapshot is pushed, because a window that was finished early can't be told from its times alone.
const ( DtoPublicStatusMaintenanceStatusCancelled DtoPublicStatusMaintenanceStatus = "cancelled" DtoPublicStatusMaintenanceStatusCompleted DtoPublicStatusMaintenanceStatus = "completed" DtoPublicStatusMaintenanceStatusInProgress DtoPublicStatusMaintenanceStatus = "in_progress" DtoPublicStatusMaintenanceStatusScheduled DtoPublicStatusMaintenanceStatus = "scheduled" )
Defines values for DtoPublicStatusMaintenanceStatus.
func (DtoPublicStatusMaintenanceStatus) Valid ¶ added in v0.25.0
func (e DtoPublicStatusMaintenanceStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusMaintenanceStatus enum.
type DtoPublicStatusPage ¶ added in v0.23.0
type DtoPublicStatusPage struct {
// Active Active are the open posts, newest first.
Active []DtoPublicStatusIncident `json:"active"`
// AsOf AsOf is when the content last changed.
AsOf *string `json:"asOf,omitempty"`
// CanonicalUrl CanonicalURL is the page's address on its active custom domain, where
// search engines should credit it.
CanonicalUrl *string `json:"canonicalUrl,omitempty"`
Components []DtoPublicStatusComponent `json:"components"`
Description string `json:"description"`
Groups []DtoPublicStatusGroup `json:"groups"`
Id openapi_types.UUID `json:"id"`
// Indicator Indicator is the page's one-word verdict.
Indicator DtoPublicStatusPageIndicator `json:"indicator"`
// Logo Logo and LogoDark hold the images as data URIs where there is no public
// file: a draft's snapshot, and the dashboard's preview.
Logo *string `json:"logo,omitempty"`
LogoDark *string `json:"logoDark,omitempty"`
LogoDarkFile *string `json:"logoDarkFile,omitempty"`
// LogoFile LogoFile and LogoDarkFile name a published page's logo images, each a file
// the renderer serves at <page>/logo/<name>: a hash of the content and an
// extension. Left out when it has none; LogoDarkFile is for dark mode.
LogoFile *string `json:"logoFile,omitempty"`
// Maintenance Maintenance are the windows in progress and the soonest scheduled ones.
// Left out when there are none, and absent from snapshots pushed before
// windows existed.
Maintenance *[]DtoPublicStatusMaintenance `json:"maintenance,omitempty"`
Name string `json:"name"`
// Published Published false: only preview links show it.
Published bool `json:"published"`
SchemaVersion int `json:"schemaVersion"`
SearchIndexing bool `json:"searchIndexing"`
Slug string `json:"slug"`
TimeZone string `json:"timeZone"`
// UptimeDays UptimeDays is how many days the bars cover.
UptimeDays int `json:"uptimeDays"`
}
DtoPublicStatusPage defines model for dto.PublicStatusPage.
type DtoPublicStatusPageIndicator ¶ added in v0.23.0
type DtoPublicStatusPageIndicator string
DtoPublicStatusPageIndicator Indicator is the page's one-word verdict.
const ( DtoPublicStatusPageIndicatorCritical DtoPublicStatusPageIndicator = "critical" DtoPublicStatusPageIndicatorMaintenance DtoPublicStatusPageIndicator = "maintenance" DtoPublicStatusPageIndicatorMajor DtoPublicStatusPageIndicator = "major" DtoPublicStatusPageIndicatorMinor DtoPublicStatusPageIndicator = "minor" DtoPublicStatusPageIndicatorNone DtoPublicStatusPageIndicator = "none" )
Defines values for DtoPublicStatusPageIndicator.
func (DtoPublicStatusPageIndicator) Valid ¶ added in v0.23.0
func (e DtoPublicStatusPageIndicator) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusPageIndicator enum.
type DtoPublicStatusPreview ¶ added in v0.23.0
type DtoPublicStatusPreview struct {
History DtoPublicStatusHistory `json:"history"`
Page DtoPublicStatusPage `json:"page"`
}
DtoPublicStatusPreview defines model for dto.PublicStatusPreview.
type DtoPublicStatusUpdate ¶ added in v0.23.0
type DtoPublicStatusUpdate struct {
Body string `json:"body"`
CreatedAt string `json:"createdAt"`
// FixedText FixedText is the code of a fixed wording the renderer translates; Body holds
// its English. Absent on anything a person wrote.
FixedText *DtoPublicStatusUpdateFixedText `json:"fixedText,omitempty"`
Id openapi_types.UUID `json:"id"`
Status DtoPublicStatusUpdateStatus `json:"status"`
}
DtoPublicStatusUpdate defines model for dto.PublicStatusUpdate.
type DtoPublicStatusUpdateFixedText ¶ added in v0.24.0
type DtoPublicStatusUpdateFixedText string
DtoPublicStatusUpdateFixedText FixedText is the code of a fixed wording the renderer translates; Body holds its English. Absent on anything a person wrote.
const ( AutoOpened DtoPublicStatusUpdateFixedText = "auto_opened" AutoResolved DtoPublicStatusUpdateFixedText = "auto_resolved" AutoSuperseded DtoPublicStatusUpdateFixedText = "auto_superseded" )
Defines values for DtoPublicStatusUpdateFixedText.
func (DtoPublicStatusUpdateFixedText) Valid ¶ added in v0.24.0
func (e DtoPublicStatusUpdateFixedText) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusUpdateFixedText enum.
type DtoPublicStatusUpdateStatus ¶ added in v0.23.0
type DtoPublicStatusUpdateStatus string
DtoPublicStatusUpdateStatus defines model for DtoPublicStatusUpdate.Status.
const ( DtoPublicStatusUpdateStatusIdentified DtoPublicStatusUpdateStatus = "identified" DtoPublicStatusUpdateStatusInvestigating DtoPublicStatusUpdateStatus = "investigating" DtoPublicStatusUpdateStatusMonitoring DtoPublicStatusUpdateStatus = "monitoring" DtoPublicStatusUpdateStatusResolved DtoPublicStatusUpdateStatus = "resolved" )
Defines values for DtoPublicStatusUpdateStatus.
func (DtoPublicStatusUpdateStatus) Valid ¶ added in v0.23.0
func (e DtoPublicStatusUpdateStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoPublicStatusUpdateStatus enum.
type DtoRenewedCertificate ¶
type DtoRenewedCertificate struct {
FingerprintSha256 *string `json:"fingerprintSha256,omitempty"`
Issuer string `json:"issuer"`
NotAfter string `json:"notAfter"`
NotBefore string `json:"notBefore"`
SerialNumber string `json:"serialNumber"`
Subject string `json:"subject"`
}
DtoRenewedCertificate defines model for dto.RenewedCertificate.
type DtoSSLSettings ¶
type DtoSSLSettings struct {
ExpiryThresholdsDays []int `json:"expiryThresholdsDays"`
Host string `json:"host"`
Port int `json:"port"`
ServerName *string `json:"serverName,omitempty"`
}
DtoSSLSettings defines model for dto.SSLSettings.
type DtoSSLSettingsInput ¶
type DtoSSLSettingsInput struct {
ExpiryThresholdsDays []int `json:"expiryThresholdsDays"`
Host string `json:"host"`
Port int `json:"port"`
ServerName *string `json:"serverName,omitempty"`
}
DtoSSLSettingsInput defines model for dto.SSLSettingsInput.
type DtoStatsBucket ¶
type DtoStatsBucket struct {
AvgMs int `json:"avgMs"`
Checks int `json:"checks"`
Critical int `json:"critical"`
Inconclusive int `json:"inconclusive"`
// Maintenance Maintenance counts the checks inside a maintenance window, whatever they
// found. They are billed; the other counts cover only what ran outside.
Maintenance int `json:"maintenance"`
MaxMs int `json:"maxMs"`
Ok int `json:"ok"`
P50Ms int `json:"p50Ms"`
P95Ms int `json:"p95Ms"`
Region string `json:"region"`
Start string `json:"start"`
Warning int `json:"warning"`
}
DtoStatsBucket defines model for dto.StatsBucket.
type DtoStatusChange ¶
type DtoStatusChange struct {
ChangedAt string `json:"changedAt"`
// CheckResultId CheckResultID is the result that made the change (raw results are
// kept about 30 days, changes a year).
CheckResultId int `json:"checkResultId"`
// Condition Condition is what the check that made the change found.
Condition string `json:"condition"`
// DurationSeconds DurationSeconds is how long the status lasted (until now for the
// newest change).
DurationSeconds int `json:"durationSeconds"`
// EndedAt EndedAt is when the next change happened; absent for the newest
// change (the current status, unless the monitor is paused).
EndedAt *string `json:"endedAt,omitempty"`
// Events Events are what else happened while this status lasted (from
// changedAt to endedAt), newest first: certificate renewals. [] when
// nothing did.
Events []DtoMonitorEvent `json:"events"`
From DtoStatusChangeFrom `json:"from"`
Id int `json:"id"`
// MaintenanceWindowId MaintenanceWindowID is the window the change happened in, absent outside one.
MaintenanceWindowId *openapi_types.UUID `json:"maintenanceWindowId,omitempty"`
Message *string `json:"message,omitempty"`
StatusCode *int `json:"statusCode,omitempty"`
To DtoStatusChangeTo `json:"to"`
}
DtoStatusChange defines model for dto.StatusChange.
type DtoStatusChangeFrom ¶
type DtoStatusChangeFrom string
DtoStatusChangeFrom defines model for DtoStatusChange.From.
const ( DtoStatusChangeFromCritical DtoStatusChangeFrom = "critical" DtoStatusChangeFromOk DtoStatusChangeFrom = "ok" DtoStatusChangeFromPending DtoStatusChangeFrom = "pending" DtoStatusChangeFromWarning DtoStatusChangeFrom = "warning" )
Defines values for DtoStatusChangeFrom.
func (DtoStatusChangeFrom) Valid ¶
func (e DtoStatusChangeFrom) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusChangeFrom enum.
type DtoStatusChangeTo ¶
type DtoStatusChangeTo string
DtoStatusChangeTo defines model for DtoStatusChange.To.
const ( DtoStatusChangeToCritical DtoStatusChangeTo = "critical" DtoStatusChangeToOk DtoStatusChangeTo = "ok" DtoStatusChangeToWarning DtoStatusChangeTo = "warning" )
Defines values for DtoStatusChangeTo.
func (DtoStatusChangeTo) Valid ¶
func (e DtoStatusChangeTo) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusChangeTo enum.
type DtoStatusPage ¶ added in v0.23.0
type DtoStatusPage struct {
CreatedAt string `json:"createdAt"`
// CustomDomain CustomDomain is the page's custom domain once active. URL keeps working
// beside it; GET /status-pages/{id}/domain tells about one still pending.
CustomDomain *string `json:"customDomain,omitempty"`
Description string `json:"description"`
// Glance Glance is how the page is doing, on the list of pages only.
Glance *DtoStatusPageGlance `json:"glance,omitempty"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
// Published Published pages are public; others answer 404.
Published bool `json:"published"`
PublishedAt *string `json:"publishedAt,omitempty"`
Settings DtoStatusPageSettings `json:"settings"`
Slug string `json:"slug"`
UpdatedAt string `json:"updatedAt"`
// Url URL is the page's public address.
Url string `json:"url"`
}
DtoStatusPage defines model for dto.StatusPage.
type DtoStatusPageAffected ¶ added in v0.23.0
type DtoStatusPageAffected struct {
ComponentId openapi_types.UUID `json:"componentId"`
Status DtoStatusPageAffectedStatus `json:"status"`
}
DtoStatusPageAffected defines model for dto.StatusPageAffected.
type DtoStatusPageAffectedStatus ¶ added in v0.23.0
type DtoStatusPageAffectedStatus string
DtoStatusPageAffectedStatus defines model for DtoStatusPageAffected.Status.
const ( DtoStatusPageAffectedStatusDegradedPerformance DtoStatusPageAffectedStatus = "degraded_performance" DtoStatusPageAffectedStatusMajorOutage DtoStatusPageAffectedStatus = "major_outage" DtoStatusPageAffectedStatusOperational DtoStatusPageAffectedStatus = "operational" DtoStatusPageAffectedStatusPartialOutage DtoStatusPageAffectedStatus = "partial_outage" )
Defines values for DtoStatusPageAffectedStatus.
func (DtoStatusPageAffectedStatus) Valid ¶ added in v0.23.0
func (e DtoStatusPageAffectedStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageAffectedStatus enum.
type DtoStatusPageComponent ¶ added in v0.23.0
type DtoStatusPageComponent struct {
// Aspects Aspects: what counts towards a monitor component's status.
Aspects *[]DtoStatusPageComponentAspects `json:"aspects,omitempty"`
Description *string `json:"description,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
Kind DtoStatusPageComponentKind `json:"kind"`
// ManualStatus ManualStatus: a manual component's status.
ManualStatus *DtoStatusPageComponentManualStatus `json:"manualStatus,omitempty"`
// MonitorId MonitorID: a monitor component's monitor. The public never sees it.
MonitorId *openapi_types.UUID `json:"monitorId,omitempty"`
// Name Name is what the public sees; the monitor's name and target never are.
Name string `json:"name"`
}
DtoStatusPageComponent defines model for dto.StatusPageComponent.
type DtoStatusPageComponentAspects ¶ added in v0.23.0
type DtoStatusPageComponentAspects string
DtoStatusPageComponentAspects defines model for DtoStatusPageComponent.Aspects.
const ( DtoStatusPageComponentAspectsAvailability DtoStatusPageComponentAspects = "availability" DtoStatusPageComponentAspectsCertificate DtoStatusPageComponentAspects = "certificate" DtoStatusPageComponentAspectsDomain DtoStatusPageComponentAspects = "domain" )
Defines values for DtoStatusPageComponentAspects.
func (DtoStatusPageComponentAspects) Valid ¶ added in v0.23.0
func (e DtoStatusPageComponentAspects) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageComponentAspects enum.
type DtoStatusPageComponentKind ¶ added in v0.23.0
type DtoStatusPageComponentKind string
DtoStatusPageComponentKind defines model for DtoStatusPageComponent.Kind.
const ( Manual DtoStatusPageComponentKind = "manual" Monitor DtoStatusPageComponentKind = "monitor" )
Defines values for DtoStatusPageComponentKind.
func (DtoStatusPageComponentKind) Valid ¶ added in v0.23.0
func (e DtoStatusPageComponentKind) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageComponentKind enum.
type DtoStatusPageComponentManualStatus ¶ added in v0.23.0
type DtoStatusPageComponentManualStatus string
DtoStatusPageComponentManualStatus ManualStatus: a manual component's status.
const ( DtoStatusPageComponentManualStatusDegradedPerformance DtoStatusPageComponentManualStatus = "degraded_performance" DtoStatusPageComponentManualStatusMajorOutage DtoStatusPageComponentManualStatus = "major_outage" DtoStatusPageComponentManualStatusOperational DtoStatusPageComponentManualStatus = "operational" DtoStatusPageComponentManualStatusPartialOutage DtoStatusPageComponentManualStatus = "partial_outage" )
Defines values for DtoStatusPageComponentManualStatus.
func (DtoStatusPageComponentManualStatus) Valid ¶ added in v0.23.0
func (e DtoStatusPageComponentManualStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageComponentManualStatus enum.
type DtoStatusPageCreate ¶ added in v0.23.0
type DtoStatusPageCreate struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Settings DtoStatusPageSettings `json:"settings"`
// Slug Slug is the page's address: lowercase letters, digits and hyphens.
Slug string `json:"slug"`
}
DtoStatusPageCreate defines model for dto.StatusPageCreate.
type DtoStatusPageDomain ¶ added in v0.24.0
type DtoStatusPageDomain struct {
CreatedAt string `json:"createdAt"`
// Error Error is what is wrong, while there is something.
Error *string `json:"error,omitempty"`
// ErrorCode ErrorCode: DOMAIN_TAKEN when another status page proved this hostname first.
// The claim stays pending, in case they let it go.
ErrorCode *DtoStatusPageDomainErrorCode `json:"errorCode,omitempty"`
Hostname string `json:"hostname"`
LastCheckedAt *string `json:"lastCheckedAt,omitempty"`
// Records Records are what the customer adds to their DNS.
Records []DtoStatusPageDomainRecord `json:"records"`
// Status Status: pending_ownership until the TXT record proves the organization owns
// the hostname; pending_dns until Cloudflare sees the CNAME;
// pending_certificate until the certificate is live; then active. failed
// means given up: set the domain again to start over.
Status DtoStatusPageDomainStatus `json:"status"`
UpdatedAt string `json:"updatedAt"`
}
DtoStatusPageDomain defines model for dto.StatusPageDomain.
type DtoStatusPageDomainErrorCode ¶ added in v0.24.0
type DtoStatusPageDomainErrorCode string
DtoStatusPageDomainErrorCode ErrorCode: DOMAIN_TAKEN when another status page proved this hostname first. The claim stays pending, in case they let it go.
const (
DtoStatusPageDomainErrorCodeDOMAINTAKEN DtoStatusPageDomainErrorCode = "DOMAIN_TAKEN"
)
Defines values for DtoStatusPageDomainErrorCode.
func (DtoStatusPageDomainErrorCode) Valid ¶ added in v0.24.0
func (e DtoStatusPageDomainErrorCode) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageDomainErrorCode enum.
type DtoStatusPageDomainRecord ¶ added in v0.24.0
type DtoStatusPageDomainRecord struct {
Name string `json:"name"`
// Required Required false: not needed now. The ownership TXT record stops being
// required once the domain is active (it is needed again if the domain ever
// falls back to pending), and Cloudflare's own TXT record only helps verify the
// hostname before moving the CNAME.
Required bool `json:"required"`
Type DtoStatusPageDomainRecordType `json:"type"`
Value string `json:"value"`
}
DtoStatusPageDomainRecord defines model for dto.StatusPageDomainRecord.
type DtoStatusPageDomainRecordType ¶ added in v0.24.0
type DtoStatusPageDomainRecordType string
DtoStatusPageDomainRecordType defines model for DtoStatusPageDomainRecord.Type.
const ( CNAME DtoStatusPageDomainRecordType = "CNAME" TXT DtoStatusPageDomainRecordType = "TXT" )
Defines values for DtoStatusPageDomainRecordType.
func (DtoStatusPageDomainRecordType) Valid ¶ added in v0.24.0
func (e DtoStatusPageDomainRecordType) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageDomainRecordType enum.
type DtoStatusPageDomainSet ¶ added in v0.24.0
type DtoStatusPageDomainSet struct {
// Hostname Hostname is a subdomain the customer controls, not an apex.
Hostname string `json:"hostname"`
}
DtoStatusPageDomainSet defines model for dto.StatusPageDomainSet.
type DtoStatusPageDomainStatus ¶ added in v0.24.0
type DtoStatusPageDomainStatus string
DtoStatusPageDomainStatus Status: pending_ownership until the TXT record proves the organization owns the hostname; pending_dns until Cloudflare sees the CNAME; pending_certificate until the certificate is live; then active. failed means given up: set the domain again to start over.
const ( DtoStatusPageDomainStatusActive DtoStatusPageDomainStatus = "active" DtoStatusPageDomainStatusFailed DtoStatusPageDomainStatus = "failed" DtoStatusPageDomainStatusPendingCertificate DtoStatusPageDomainStatus = "pending_certificate" DtoStatusPageDomainStatusPendingDns DtoStatusPageDomainStatus = "pending_dns" DtoStatusPageDomainStatusPendingOwnership DtoStatusPageDomainStatus = "pending_ownership" )
Defines values for DtoStatusPageDomainStatus.
func (DtoStatusPageDomainStatus) Valid ¶ added in v0.24.0
func (e DtoStatusPageDomainStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageDomainStatus enum.
type DtoStatusPageGlance ¶ added in v0.25.0
type DtoStatusPageGlance struct {
// Components Components are all of the page's components in layout order, groups flattened.
Components []DtoStatusPageGlanceComponent `json:"components"`
// Domain Domain is the custom domain in whatever state; left out without one.
Domain *DtoStatusPageGlanceDomain `json:"domain,omitempty"`
// Incidents Incidents are the open posts, newest first.
Incidents []DtoStatusPageGlanceIncident `json:"incidents"`
// Indicator Indicator is the page's one-word verdict.
Indicator DtoStatusPageGlanceIndicator `json:"indicator"`
// Maintenance Maintenance are the windows in progress and the soonest scheduled ones.
Maintenance []DtoStatusPageGlanceMaintenance `json:"maintenance"`
// Subscribers Subscribers counts confirmed addresses.
Subscribers int `json:"subscribers"`
}
DtoStatusPageGlance defines model for dto.StatusPageGlance.
type DtoStatusPageGlanceComponent ¶ added in v0.25.0
type DtoStatusPageGlanceComponent struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Status DtoStatusPageGlanceComponentStatus `json:"status"`
// UptimePercent UptimePercent over the page's range, when the page shows it and the
// component counts availability.
UptimePercent *float32 `json:"uptimePercent,omitempty"`
}
DtoStatusPageGlanceComponent defines model for dto.StatusPageGlanceComponent.
type DtoStatusPageGlanceComponentStatus ¶ added in v0.25.0
type DtoStatusPageGlanceComponentStatus string
DtoStatusPageGlanceComponentStatus defines model for DtoStatusPageGlanceComponent.Status.
const ( DtoStatusPageGlanceComponentStatusDegradedPerformance DtoStatusPageGlanceComponentStatus = "degraded_performance" DtoStatusPageGlanceComponentStatusMajorOutage DtoStatusPageGlanceComponentStatus = "major_outage" DtoStatusPageGlanceComponentStatusOperational DtoStatusPageGlanceComponentStatus = "operational" DtoStatusPageGlanceComponentStatusPartialOutage DtoStatusPageGlanceComponentStatus = "partial_outage" DtoStatusPageGlanceComponentStatusUnderMaintenance DtoStatusPageGlanceComponentStatus = "under_maintenance" DtoStatusPageGlanceComponentStatusUnknown DtoStatusPageGlanceComponentStatus = "unknown" )
Defines values for DtoStatusPageGlanceComponentStatus.
func (DtoStatusPageGlanceComponentStatus) Valid ¶ added in v0.25.0
func (e DtoStatusPageGlanceComponentStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageGlanceComponentStatus enum.
type DtoStatusPageGlanceDomain ¶ added in v0.25.0
type DtoStatusPageGlanceDomain struct {
// ErrorCode ErrorCode: DOMAIN_TAKEN when another status page proved this hostname first.
ErrorCode *DtoStatusPageGlanceDomainErrorCode `json:"errorCode,omitempty"`
Hostname string `json:"hostname"`
// Status Status: the same words as GET /status-pages/{id}/domain.
Status DtoStatusPageGlanceDomainStatus `json:"status"`
}
DtoStatusPageGlanceDomain defines model for dto.StatusPageGlanceDomain.
type DtoStatusPageGlanceDomainErrorCode ¶ added in v0.25.0
type DtoStatusPageGlanceDomainErrorCode string
DtoStatusPageGlanceDomainErrorCode ErrorCode: DOMAIN_TAKEN when another status page proved this hostname first.
const (
DtoStatusPageGlanceDomainErrorCodeDOMAINTAKEN DtoStatusPageGlanceDomainErrorCode = "DOMAIN_TAKEN"
)
Defines values for DtoStatusPageGlanceDomainErrorCode.
func (DtoStatusPageGlanceDomainErrorCode) Valid ¶ added in v0.25.0
func (e DtoStatusPageGlanceDomainErrorCode) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageGlanceDomainErrorCode enum.
type DtoStatusPageGlanceDomainStatus ¶ added in v0.25.0
type DtoStatusPageGlanceDomainStatus string
DtoStatusPageGlanceDomainStatus Status: the same words as GET /status-pages/{id}/domain.
const ( DtoStatusPageGlanceDomainStatusActive DtoStatusPageGlanceDomainStatus = "active" DtoStatusPageGlanceDomainStatusFailed DtoStatusPageGlanceDomainStatus = "failed" DtoStatusPageGlanceDomainStatusPendingCertificate DtoStatusPageGlanceDomainStatus = "pending_certificate" DtoStatusPageGlanceDomainStatusPendingDns DtoStatusPageGlanceDomainStatus = "pending_dns" DtoStatusPageGlanceDomainStatusPendingOwnership DtoStatusPageGlanceDomainStatus = "pending_ownership" )
Defines values for DtoStatusPageGlanceDomainStatus.
func (DtoStatusPageGlanceDomainStatus) Valid ¶ added in v0.25.0
func (e DtoStatusPageGlanceDomainStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageGlanceDomainStatus enum.
type DtoStatusPageGlanceIncident ¶ added in v0.25.0
type DtoStatusPageGlanceIncident struct {
Id openapi_types.UUID `json:"id"`
Impact DtoStatusPageGlanceIncidentImpact `json:"impact"`
StartedAt string `json:"startedAt"`
Status DtoStatusPageGlanceIncidentStatus `json:"status"`
Title string `json:"title"`
}
DtoStatusPageGlanceIncident defines model for dto.StatusPageGlanceIncident.
type DtoStatusPageGlanceIncidentImpact ¶ added in v0.25.0
type DtoStatusPageGlanceIncidentImpact string
DtoStatusPageGlanceIncidentImpact defines model for DtoStatusPageGlanceIncident.Impact.
const ( DtoStatusPageGlanceIncidentImpactCritical DtoStatusPageGlanceIncidentImpact = "critical" DtoStatusPageGlanceIncidentImpactMajor DtoStatusPageGlanceIncidentImpact = "major" DtoStatusPageGlanceIncidentImpactMinor DtoStatusPageGlanceIncidentImpact = "minor" DtoStatusPageGlanceIncidentImpactNone DtoStatusPageGlanceIncidentImpact = "none" )
Defines values for DtoStatusPageGlanceIncidentImpact.
func (DtoStatusPageGlanceIncidentImpact) Valid ¶ added in v0.25.0
func (e DtoStatusPageGlanceIncidentImpact) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageGlanceIncidentImpact enum.
type DtoStatusPageGlanceIncidentStatus ¶ added in v0.25.0
type DtoStatusPageGlanceIncidentStatus string
DtoStatusPageGlanceIncidentStatus defines model for DtoStatusPageGlanceIncident.Status.
const ( DtoStatusPageGlanceIncidentStatusIdentified DtoStatusPageGlanceIncidentStatus = "identified" DtoStatusPageGlanceIncidentStatusInvestigating DtoStatusPageGlanceIncidentStatus = "investigating" DtoStatusPageGlanceIncidentStatusMonitoring DtoStatusPageGlanceIncidentStatus = "monitoring" DtoStatusPageGlanceIncidentStatusResolved DtoStatusPageGlanceIncidentStatus = "resolved" )
Defines values for DtoStatusPageGlanceIncidentStatus.
func (DtoStatusPageGlanceIncidentStatus) Valid ¶ added in v0.25.0
func (e DtoStatusPageGlanceIncidentStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageGlanceIncidentStatus enum.
type DtoStatusPageGlanceIndicator ¶ added in v0.25.0
type DtoStatusPageGlanceIndicator string
DtoStatusPageGlanceIndicator Indicator is the page's one-word verdict.
const ( DtoStatusPageGlanceIndicatorCritical DtoStatusPageGlanceIndicator = "critical" DtoStatusPageGlanceIndicatorMaintenance DtoStatusPageGlanceIndicator = "maintenance" DtoStatusPageGlanceIndicatorMajor DtoStatusPageGlanceIndicator = "major" DtoStatusPageGlanceIndicatorMinor DtoStatusPageGlanceIndicator = "minor" DtoStatusPageGlanceIndicatorNone DtoStatusPageGlanceIndicator = "none" )
Defines values for DtoStatusPageGlanceIndicator.
func (DtoStatusPageGlanceIndicator) Valid ¶ added in v0.25.0
func (e DtoStatusPageGlanceIndicator) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageGlanceIndicator enum.
type DtoStatusPageGlanceMaintenance ¶ added in v0.25.0
type DtoStatusPageGlanceMaintenance struct {
EndsAt string `json:"endsAt"`
Id openapi_types.UUID `json:"id"`
StartsAt string `json:"startsAt"`
Status DtoStatusPageGlanceMaintenanceStatus `json:"status"`
Title string `json:"title"`
}
DtoStatusPageGlanceMaintenance defines model for dto.StatusPageGlanceMaintenance.
type DtoStatusPageGlanceMaintenanceStatus ¶ added in v0.25.0
type DtoStatusPageGlanceMaintenanceStatus string
DtoStatusPageGlanceMaintenanceStatus defines model for DtoStatusPageGlanceMaintenance.Status.
const ( DtoStatusPageGlanceMaintenanceStatusInProgress DtoStatusPageGlanceMaintenanceStatus = "in_progress" DtoStatusPageGlanceMaintenanceStatusScheduled DtoStatusPageGlanceMaintenanceStatus = "scheduled" )
Defines values for DtoStatusPageGlanceMaintenanceStatus.
func (DtoStatusPageGlanceMaintenanceStatus) Valid ¶ added in v0.25.0
func (e DtoStatusPageGlanceMaintenanceStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageGlanceMaintenanceStatus enum.
type DtoStatusPageGroup ¶ added in v0.23.0
type DtoStatusPageGroup struct {
Collapsed *bool `json:"collapsed,omitempty"`
Components []DtoStatusPageComponent `json:"components"`
Description *string `json:"description,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
Name string `json:"name"`
}
DtoStatusPageGroup defines model for dto.StatusPageGroup.
type DtoStatusPageIncident ¶ added in v0.23.0
type DtoStatusPageIncident struct {
// AutoManaged AutoManaged: the system still runs it and resolves it by itself. A person's
// update or edit ends that for good.
AutoManaged bool `json:"autoManaged"`
// AutoPosted AutoPosted: the system wrote this post, in fixed wording.
AutoPosted bool `json:"autoPosted"`
Components []DtoStatusPageAffected `json:"components"`
CreatedAt string `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Impact DtoStatusPageIncidentImpact `json:"impact"`
MonitorIncidentIds []string `json:"monitorIncidentIds"`
ResolvedAt *string `json:"resolvedAt,omitempty"`
StartedAt string `json:"startedAt"`
Status DtoStatusPageIncidentStatus `json:"status"`
StatusPageId openapi_types.UUID `json:"statusPageId"`
Title string `json:"title"`
UpdatedAt string `json:"updatedAt"`
Updates []DtoStatusPageIncidentEntry `json:"updates"`
}
DtoStatusPageIncident defines model for dto.StatusPageIncident.
type DtoStatusPageIncidentCreate ¶ added in v0.23.0
type DtoStatusPageIncidentCreate struct {
// Body Body is the first update's text.
Body string `json:"body"`
Components *[]DtoStatusPageAffected `json:"components,omitempty"`
Impact DtoStatusPageIncidentCreateImpact `json:"impact"`
// MonitorIncidentIds MonitorIncidentIDs are the monitor incidents the post is about (for
// your navigation, never published).
MonitorIncidentIds *[]openapi_types.UUID `json:"monitorIncidentIds,omitempty"`
// Notify Notify mails this update to the page's subscribers. A draft page tells nobody.
Notify *bool `json:"notify,omitempty"`
// StartedAt StartedAt defaults to now.
StartedAt *string `json:"startedAt,omitempty"`
Status DtoStatusPageIncidentCreateStatus `json:"status"`
Title string `json:"title"`
}
DtoStatusPageIncidentCreate defines model for dto.StatusPageIncidentCreate.
type DtoStatusPageIncidentCreateImpact ¶ added in v0.23.0
type DtoStatusPageIncidentCreateImpact string
DtoStatusPageIncidentCreateImpact defines model for DtoStatusPageIncidentCreate.Impact.
const ( DtoStatusPageIncidentCreateImpactCritical DtoStatusPageIncidentCreateImpact = "critical" DtoStatusPageIncidentCreateImpactMajor DtoStatusPageIncidentCreateImpact = "major" DtoStatusPageIncidentCreateImpactMinor DtoStatusPageIncidentCreateImpact = "minor" DtoStatusPageIncidentCreateImpactNone DtoStatusPageIncidentCreateImpact = "none" )
Defines values for DtoStatusPageIncidentCreateImpact.
func (DtoStatusPageIncidentCreateImpact) Valid ¶ added in v0.23.0
func (e DtoStatusPageIncidentCreateImpact) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageIncidentCreateImpact enum.
type DtoStatusPageIncidentCreateStatus ¶ added in v0.23.0
type DtoStatusPageIncidentCreateStatus string
DtoStatusPageIncidentCreateStatus defines model for DtoStatusPageIncidentCreate.Status.
const ( DtoStatusPageIncidentCreateStatusIdentified DtoStatusPageIncidentCreateStatus = "identified" DtoStatusPageIncidentCreateStatusInvestigating DtoStatusPageIncidentCreateStatus = "investigating" DtoStatusPageIncidentCreateStatusMonitoring DtoStatusPageIncidentCreateStatus = "monitoring" DtoStatusPageIncidentCreateStatusResolved DtoStatusPageIncidentCreateStatus = "resolved" )
Defines values for DtoStatusPageIncidentCreateStatus.
func (DtoStatusPageIncidentCreateStatus) Valid ¶ added in v0.23.0
func (e DtoStatusPageIncidentCreateStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageIncidentCreateStatus enum.
type DtoStatusPageIncidentEntry ¶ added in v0.23.0
type DtoStatusPageIncidentEntry struct {
Body string `json:"body"`
CreatedAt string `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
// NotifySubscribers NotifySubscribers: whoever posted this update asked to mail it to the page's
// subscribers. A draft page tells nobody, whatever this says.
NotifySubscribers bool `json:"notifySubscribers"`
Status DtoStatusPageIncidentEntryStatus `json:"status"`
}
DtoStatusPageIncidentEntry defines model for dto.StatusPageIncidentEntry.
type DtoStatusPageIncidentEntryStatus ¶ added in v0.23.0
type DtoStatusPageIncidentEntryStatus string
DtoStatusPageIncidentEntryStatus defines model for DtoStatusPageIncidentEntry.Status.
const ( DtoStatusPageIncidentEntryStatusIdentified DtoStatusPageIncidentEntryStatus = "identified" DtoStatusPageIncidentEntryStatusInvestigating DtoStatusPageIncidentEntryStatus = "investigating" DtoStatusPageIncidentEntryStatusMonitoring DtoStatusPageIncidentEntryStatus = "monitoring" DtoStatusPageIncidentEntryStatusResolved DtoStatusPageIncidentEntryStatus = "resolved" )
Defines values for DtoStatusPageIncidentEntryStatus.
func (DtoStatusPageIncidentEntryStatus) Valid ¶ added in v0.23.0
func (e DtoStatusPageIncidentEntryStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageIncidentEntryStatus enum.
type DtoStatusPageIncidentImpact ¶ added in v0.23.0
type DtoStatusPageIncidentImpact string
DtoStatusPageIncidentImpact defines model for DtoStatusPageIncident.Impact.
const ( DtoStatusPageIncidentImpactCritical DtoStatusPageIncidentImpact = "critical" DtoStatusPageIncidentImpactMajor DtoStatusPageIncidentImpact = "major" DtoStatusPageIncidentImpactMinor DtoStatusPageIncidentImpact = "minor" DtoStatusPageIncidentImpactNone DtoStatusPageIncidentImpact = "none" )
Defines values for DtoStatusPageIncidentImpact.
func (DtoStatusPageIncidentImpact) Valid ¶ added in v0.23.0
func (e DtoStatusPageIncidentImpact) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageIncidentImpact enum.
type DtoStatusPageIncidentPost ¶ added in v0.23.0
type DtoStatusPageIncidentPost struct {
Body string `json:"body"`
// Components Components, when given, replaces the affected components.
Components *[]DtoStatusPageAffected `json:"components,omitempty"`
// Notify Notify mails this update to the page's subscribers. A draft page tells nobody.
Notify *bool `json:"notify,omitempty"`
Status DtoStatusPageIncidentPostStatus `json:"status"`
}
DtoStatusPageIncidentPost defines model for dto.StatusPageIncidentPost.
type DtoStatusPageIncidentPostStatus ¶ added in v0.23.0
type DtoStatusPageIncidentPostStatus string
DtoStatusPageIncidentPostStatus defines model for DtoStatusPageIncidentPost.Status.
const ( DtoStatusPageIncidentPostStatusIdentified DtoStatusPageIncidentPostStatus = "identified" DtoStatusPageIncidentPostStatusInvestigating DtoStatusPageIncidentPostStatus = "investigating" DtoStatusPageIncidentPostStatusMonitoring DtoStatusPageIncidentPostStatus = "monitoring" DtoStatusPageIncidentPostStatusResolved DtoStatusPageIncidentPostStatus = "resolved" )
Defines values for DtoStatusPageIncidentPostStatus.
func (DtoStatusPageIncidentPostStatus) Valid ¶ added in v0.23.0
func (e DtoStatusPageIncidentPostStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageIncidentPostStatus enum.
type DtoStatusPageIncidentStatus ¶ added in v0.23.0
type DtoStatusPageIncidentStatus string
DtoStatusPageIncidentStatus defines model for DtoStatusPageIncident.Status.
const ( DtoStatusPageIncidentStatusIdentified DtoStatusPageIncidentStatus = "identified" DtoStatusPageIncidentStatusInvestigating DtoStatusPageIncidentStatus = "investigating" DtoStatusPageIncidentStatusMonitoring DtoStatusPageIncidentStatus = "monitoring" DtoStatusPageIncidentStatusResolved DtoStatusPageIncidentStatus = "resolved" )
Defines values for DtoStatusPageIncidentStatus.
func (DtoStatusPageIncidentStatus) Valid ¶ added in v0.23.0
func (e DtoStatusPageIncidentStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageIncidentStatus enum.
type DtoStatusPageIncidentUpdate ¶ added in v0.23.0
type DtoStatusPageIncidentUpdate struct {
Components *[]DtoStatusPageAffected `json:"components,omitempty"`
Impact *DtoStatusPageIncidentUpdateImpact `json:"impact,omitempty"`
MonitorIncidentIds *[]openapi_types.UUID `json:"monitorIncidentIds,omitempty"`
StartedAt *string `json:"startedAt,omitempty"`
Title *string `json:"title,omitempty"`
}
DtoStatusPageIncidentUpdate defines model for dto.StatusPageIncidentUpdate.
type DtoStatusPageIncidentUpdateImpact ¶ added in v0.23.0
type DtoStatusPageIncidentUpdateImpact string
DtoStatusPageIncidentUpdateImpact defines model for DtoStatusPageIncidentUpdate.Impact.
const ( DtoStatusPageIncidentUpdateImpactCritical DtoStatusPageIncidentUpdateImpact = "critical" DtoStatusPageIncidentUpdateImpactMajor DtoStatusPageIncidentUpdateImpact = "major" DtoStatusPageIncidentUpdateImpactMinor DtoStatusPageIncidentUpdateImpact = "minor" DtoStatusPageIncidentUpdateImpactNone DtoStatusPageIncidentUpdateImpact = "none" )
Defines values for DtoStatusPageIncidentUpdateImpact.
func (DtoStatusPageIncidentUpdateImpact) Valid ¶ added in v0.23.0
func (e DtoStatusPageIncidentUpdateImpact) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageIncidentUpdateImpact enum.
type DtoStatusPageLayout ¶ added in v0.23.0
type DtoStatusPageLayout struct {
Components []DtoStatusPageComponent `json:"components"`
Groups []DtoStatusPageGroup `json:"groups"`
}
DtoStatusPageLayout defines model for dto.StatusPageLayout.
type DtoStatusPageLogo ¶ added in v0.24.0
type DtoStatusPageLogo struct {
Dark *string `json:"dark,omitempty"`
Light *string `json:"light,omitempty"`
}
DtoStatusPageLogo defines model for dto.StatusPageLogo.
type DtoStatusPageLogoSet ¶ added in v0.24.0
type DtoStatusPageLogoSet struct {
// Dark Dark is the image for dark mode, in the same form.
Dark *string `json:"dark,omitempty"`
// Light Light is the image, base64 encoded: PNG, JPEG, WebP or SVG, at most 48 KB.
Light string `json:"light"`
}
DtoStatusPageLogoSet defines model for dto.StatusPageLogoSet.
type DtoStatusPagePreviewLink ¶ added in v0.23.0
type DtoStatusPagePreviewLink struct {
ExpiresAt string `json:"expiresAt"`
Url string `json:"url"`
}
DtoStatusPagePreviewLink defines model for dto.StatusPagePreviewLink.
type DtoStatusPageSettings ¶ added in v0.23.0
type DtoStatusPageSettings struct {
// AutoPost AutoPost posts a confirmed critical monitor incident on the page by itself, in
// fixed wording, and resolves it when the incident ends. Off unless asked for.
AutoPost *bool `json:"autoPost,omitempty"`
// HistoryDays HistoryDays is how far back resolved incidents stay on the page.
HistoryDays int `json:"historyDays"`
// SearchIndexing SearchIndexing false asks search engines to leave the page out.
SearchIndexing bool `json:"searchIndexing"`
ShowResponseTime bool `json:"showResponseTime"`
ShowUptimeBars bool `json:"showUptimeBars"`
ShowUptimePercent bool `json:"showUptimePercent"`
// TimeZone TimeZone is the IANA zone times are shown in.
TimeZone string `json:"timeZone"`
// UptimeDays UptimeDays is how many days the bars cover.
UptimeDays DtoStatusPageSettingsUptimeDays `json:"uptimeDays"`
}
DtoStatusPageSettings defines model for dto.StatusPageSettings.
type DtoStatusPageSettingsUpdate ¶ added in v0.23.0
type DtoStatusPageSettingsUpdate struct {
AutoPost *bool `json:"autoPost,omitempty"`
HistoryDays *int `json:"historyDays,omitempty"`
SearchIndexing *bool `json:"searchIndexing,omitempty"`
ShowResponseTime *bool `json:"showResponseTime,omitempty"`
ShowUptimeBars *bool `json:"showUptimeBars,omitempty"`
ShowUptimePercent *bool `json:"showUptimePercent,omitempty"`
TimeZone *string `json:"timeZone,omitempty"`
UptimeDays *DtoStatusPageSettingsUpdateUptimeDays `json:"uptimeDays,omitempty"`
}
DtoStatusPageSettingsUpdate defines model for dto.StatusPageSettingsUpdate.
type DtoStatusPageSettingsUpdateUptimeDays ¶ added in v0.23.0
type DtoStatusPageSettingsUpdateUptimeDays int
DtoStatusPageSettingsUpdateUptimeDays defines model for DtoStatusPageSettingsUpdate.UptimeDays.
const ( DtoStatusPageSettingsUpdateUptimeDaysN30 DtoStatusPageSettingsUpdateUptimeDays = 30 DtoStatusPageSettingsUpdateUptimeDaysN60 DtoStatusPageSettingsUpdateUptimeDays = 60 DtoStatusPageSettingsUpdateUptimeDaysN90 DtoStatusPageSettingsUpdateUptimeDays = 90 )
Defines values for DtoStatusPageSettingsUpdateUptimeDays.
func (DtoStatusPageSettingsUpdateUptimeDays) Valid ¶ added in v0.23.0
func (e DtoStatusPageSettingsUpdateUptimeDays) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageSettingsUpdateUptimeDays enum.
type DtoStatusPageSettingsUptimeDays ¶ added in v0.23.0
type DtoStatusPageSettingsUptimeDays int
DtoStatusPageSettingsUptimeDays UptimeDays is how many days the bars cover.
const ( DtoStatusPageSettingsUptimeDaysN30 DtoStatusPageSettingsUptimeDays = 30 DtoStatusPageSettingsUptimeDaysN60 DtoStatusPageSettingsUptimeDays = 60 DtoStatusPageSettingsUptimeDaysN90 DtoStatusPageSettingsUptimeDays = 90 )
Defines values for DtoStatusPageSettingsUptimeDays.
func (DtoStatusPageSettingsUptimeDays) Valid ¶ added in v0.23.0
func (e DtoStatusPageSettingsUptimeDays) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageSettingsUptimeDays enum.
type DtoStatusPageSubscriber ¶ added in v0.24.0
type DtoStatusPageSubscriber struct {
// ComponentIds ComponentIDs are the components it wants to hear about. Empty: all of them.
ComponentIds []string `json:"componentIds"`
ConfirmedAt *string `json:"confirmedAt,omitempty"`
CreatedAt string `json:"createdAt"`
Email string `json:"email"`
Id openapi_types.UUID `json:"id"`
// Locale Locale is the language its mail comes in.
Locale DtoStatusPageSubscriberLocale `json:"locale"`
// Status Status: pending until the address confirms. A pending one is removed after 7 days.
Status DtoStatusPageSubscriberStatus `json:"status"`
}
DtoStatusPageSubscriber defines model for dto.StatusPageSubscriber.
type DtoStatusPageSubscriberCount ¶ added in v0.24.0
type DtoStatusPageSubscriberCount struct {
Confirmed int `json:"confirmed"`
Pending int `json:"pending"`
}
DtoStatusPageSubscriberCount defines model for dto.StatusPageSubscriberCount.
type DtoStatusPageSubscriberLocale ¶ added in v0.24.0
type DtoStatusPageSubscriberLocale string
DtoStatusPageSubscriberLocale Locale is the language its mail comes in.
const ( Cs DtoStatusPageSubscriberLocale = "cs" De DtoStatusPageSubscriberLocale = "de" En DtoStatusPageSubscriberLocale = "en" Es DtoStatusPageSubscriberLocale = "es" Fr DtoStatusPageSubscriberLocale = "fr" It DtoStatusPageSubscriberLocale = "it" Pl DtoStatusPageSubscriberLocale = "pl" ZhCN DtoStatusPageSubscriberLocale = "zh-CN" )
Defines values for DtoStatusPageSubscriberLocale.
func (DtoStatusPageSubscriberLocale) Valid ¶ added in v0.24.0
func (e DtoStatusPageSubscriberLocale) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageSubscriberLocale enum.
type DtoStatusPageSubscriberStatus ¶ added in v0.24.0
type DtoStatusPageSubscriberStatus string
DtoStatusPageSubscriberStatus Status: pending until the address confirms. A pending one is removed after 7 days.
const ( DtoStatusPageSubscriberStatusConfirmed DtoStatusPageSubscriberStatus = "confirmed" DtoStatusPageSubscriberStatusPending DtoStatusPageSubscriberStatus = "pending" )
Defines values for DtoStatusPageSubscriberStatus.
func (DtoStatusPageSubscriberStatus) Valid ¶ added in v0.24.0
func (e DtoStatusPageSubscriberStatus) Valid() bool
Valid indicates whether the value is a known member of the DtoStatusPageSubscriberStatus enum.
type DtoStatusPageUpdate ¶ added in v0.23.0
type DtoStatusPageUpdate struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Settings *DtoStatusPageSettingsUpdate `json:"settings,omitempty"`
Slug *string `json:"slug,omitempty"`
}
DtoStatusPageUpdate defines model for dto.StatusPageUpdate.
type DtoThresholdAlert ¶
DtoThresholdAlert defines model for dto.ThresholdAlert.
type DtoWindowSummary ¶
type DtoWindowSummary struct {
AvgMs *int `json:"avgMs,omitempty"`
Checks int `json:"checks"`
Critical int `json:"critical"`
From string `json:"from"`
Inconclusive int `json:"inconclusive"`
// Maintenance Maintenance counts the checks inside a maintenance window, whatever they
// found. They are billed; the other counts cover only what ran outside.
Maintenance int `json:"maintenance"`
Ok int `json:"ok"`
// P50Ms P50Ms and P95Ms approximate the window's median and 95th percentile
// response time (the checks-weighted mean of the hourly percentiles).
P50Ms *int `json:"p50Ms,omitempty"`
P95Ms *int `json:"p95Ms,omitempty"`
// UptimePercent UptimePercent is (ok + warning) / (ok + warning + critical): a
// warning still answered, an inconclusive check counts neither way.
// WarningPercent is the warnings' share of the conclusive checks.
UptimePercent *float32 `json:"uptimePercent,omitempty"`
Warning int `json:"warning"`
WarningPercent *float32 `json:"warningPercent,omitempty"`
}
DtoWindowSummary defines model for dto.WindowSummary.
type ExportStatusPageSubscribersResponse ¶ added in v0.24.0
func ParseExportStatusPageSubscribersResponse ¶ added in v0.24.0
func ParseExportStatusPageSubscribersResponse(rsp *http.Response) (*ExportStatusPageSubscribersResponse, error)
ParseExportStatusPageSubscribersResponse parses an HTTP response from a ExportStatusPageSubscribersWithResponse call
func (ExportStatusPageSubscribersResponse) ContentType ¶ added in v0.24.0
func (r ExportStatusPageSubscribersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportStatusPageSubscribersResponse) Status ¶ added in v0.24.0
func (r ExportStatusPageSubscribersResponse) Status() string
Status returns HTTPResponse.Status
func (ExportStatusPageSubscribersResponse) StatusCode ¶ added in v0.24.0
func (r ExportStatusPageSubscribersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FinishMaintenanceWindowResponse ¶ added in v0.25.0
type FinishMaintenanceWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMaintenanceWindow
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseFinishMaintenanceWindowResponse ¶ added in v0.25.0
func ParseFinishMaintenanceWindowResponse(rsp *http.Response) (*FinishMaintenanceWindowResponse, error)
ParseFinishMaintenanceWindowResponse parses an HTTP response from a FinishMaintenanceWindowWithResponse call
func (FinishMaintenanceWindowResponse) ContentType ¶ added in v0.25.0
func (r FinishMaintenanceWindowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FinishMaintenanceWindowResponse) Status ¶ added in v0.25.0
func (r FinishMaintenanceWindowResponse) Status() string
Status returns HTTPResponse.Status
func (FinishMaintenanceWindowResponse) StatusCode ¶ added in v0.25.0
func (r FinishMaintenanceWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAlertChannelResponse ¶
type GetAlertChannelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoAlertChannel
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetAlertChannelResponse ¶
func ParseGetAlertChannelResponse(rsp *http.Response) (*GetAlertChannelResponse, error)
ParseGetAlertChannelResponse parses an HTTP response from a GetAlertChannelWithResponse call
func (GetAlertChannelResponse) ContentType ¶
func (r GetAlertChannelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAlertChannelResponse) Status ¶
func (r GetAlertChannelResponse) Status() string
Status returns HTTPResponse.Status
func (GetAlertChannelResponse) StatusCode ¶
func (r GetAlertChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentResponse ¶
type GetIncidentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoIncidentDetail
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetIncidentResponse ¶
func ParseGetIncidentResponse(rsp *http.Response) (*GetIncidentResponse, error)
ParseGetIncidentResponse parses an HTTP response from a GetIncidentWithResponse call
func (GetIncidentResponse) ContentType ¶
func (r GetIncidentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIncidentResponse) Status ¶
func (r GetIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentResponse) StatusCode ¶
func (r GetIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentSummaryResponse ¶
type GetIncidentSummaryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoIncidentSummary
JSON401 *ResponseProblem
JSON403 *ResponseProblem
}
func ParseGetIncidentSummaryResponse ¶
func ParseGetIncidentSummaryResponse(rsp *http.Response) (*GetIncidentSummaryResponse, error)
ParseGetIncidentSummaryResponse parses an HTTP response from a GetIncidentSummaryWithResponse call
func (GetIncidentSummaryResponse) ContentType ¶
func (r GetIncidentSummaryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIncidentSummaryResponse) Status ¶
func (r GetIncidentSummaryResponse) Status() string
Status returns HTTPResponse.Status
func (GetIncidentSummaryResponse) StatusCode ¶
func (r GetIncidentSummaryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMaintenanceTargetsResponse ¶ added in v0.25.0
type GetMaintenanceTargetsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMaintenanceTargets
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseGetMaintenanceTargetsResponse ¶ added in v0.25.0
func ParseGetMaintenanceTargetsResponse(rsp *http.Response) (*GetMaintenanceTargetsResponse, error)
ParseGetMaintenanceTargetsResponse parses an HTTP response from a GetMaintenanceTargetsWithResponse call
func (GetMaintenanceTargetsResponse) ContentType ¶ added in v0.25.0
func (r GetMaintenanceTargetsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMaintenanceTargetsResponse) Status ¶ added in v0.25.0
func (r GetMaintenanceTargetsResponse) Status() string
Status returns HTTPResponse.Status
func (GetMaintenanceTargetsResponse) StatusCode ¶ added in v0.25.0
func (r GetMaintenanceTargetsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMaintenanceWindowResponse ¶ added in v0.25.0
type GetMaintenanceWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMaintenanceWindow
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetMaintenanceWindowResponse ¶ added in v0.25.0
func ParseGetMaintenanceWindowResponse(rsp *http.Response) (*GetMaintenanceWindowResponse, error)
ParseGetMaintenanceWindowResponse parses an HTTP response from a GetMaintenanceWindowWithResponse call
func (GetMaintenanceWindowResponse) ContentType ¶ added in v0.25.0
func (r GetMaintenanceWindowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMaintenanceWindowResponse) Status ¶ added in v0.25.0
func (r GetMaintenanceWindowResponse) Status() string
Status returns HTTPResponse.Status
func (GetMaintenanceWindowResponse) StatusCode ¶ added in v0.25.0
func (r GetMaintenanceWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMonitorAlertsResponse ¶
type GetMonitorAlertsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitorAlerts
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetMonitorAlertsResponse ¶
func ParseGetMonitorAlertsResponse(rsp *http.Response) (*GetMonitorAlertsResponse, error)
ParseGetMonitorAlertsResponse parses an HTTP response from a GetMonitorAlertsWithResponse call
func (GetMonitorAlertsResponse) ContentType ¶
func (r GetMonitorAlertsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMonitorAlertsResponse) Status ¶
func (r GetMonitorAlertsResponse) Status() string
Status returns HTTPResponse.Status
func (GetMonitorAlertsResponse) StatusCode ¶
func (r GetMonitorAlertsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMonitorAvailabilityParams ¶
type GetMonitorAvailabilityParams struct {
// Days Days is how many UTC days, ending today, the bar covers (default 90).
Days *int `form:"days,omitempty" json:"days,omitempty"`
}
GetMonitorAvailabilityParams defines parameters for GetMonitorAvailability.
type GetMonitorAvailabilityResponse ¶
type GetMonitorAvailabilityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoAvailability
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetMonitorAvailabilityResponse ¶
func ParseGetMonitorAvailabilityResponse(rsp *http.Response) (*GetMonitorAvailabilityResponse, error)
ParseGetMonitorAvailabilityResponse parses an HTTP response from a GetMonitorAvailabilityWithResponse call
func (GetMonitorAvailabilityResponse) ContentType ¶
func (r GetMonitorAvailabilityResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMonitorAvailabilityResponse) Status ¶
func (r GetMonitorAvailabilityResponse) Status() string
Status returns HTTPResponse.Status
func (GetMonitorAvailabilityResponse) StatusCode ¶
func (r GetMonitorAvailabilityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMonitorCertificateResponse ¶
type GetMonitorCertificateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitorCertificate
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetMonitorCertificateResponse ¶
func ParseGetMonitorCertificateResponse(rsp *http.Response) (*GetMonitorCertificateResponse, error)
ParseGetMonitorCertificateResponse parses an HTTP response from a GetMonitorCertificateWithResponse call
func (GetMonitorCertificateResponse) ContentType ¶
func (r GetMonitorCertificateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMonitorCertificateResponse) Status ¶
func (r GetMonitorCertificateResponse) Status() string
Status returns HTTPResponse.Status
func (GetMonitorCertificateResponse) StatusCode ¶
func (r GetMonitorCertificateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMonitorResponse ¶
type GetMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitor
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetMonitorResponse ¶
func ParseGetMonitorResponse(rsp *http.Response) (*GetMonitorResponse, error)
ParseGetMonitorResponse parses an HTTP response from a GetMonitorWithResponse call
func (GetMonitorResponse) ContentType ¶
func (r GetMonitorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMonitorResponse) Status ¶
func (r GetMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (GetMonitorResponse) StatusCode ¶
func (r GetMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMonitorStatsParams ¶
type GetMonitorStatsParams struct {
Range GetMonitorStatsParamsRange `form:"range" json:"range"`
}
GetMonitorStatsParams defines parameters for GetMonitorStats.
type GetMonitorStatsParamsRange ¶
type GetMonitorStatsParamsRange string
GetMonitorStatsParamsRange defines parameters for GetMonitorStats.
const ( N24h GetMonitorStatsParamsRange = "24h" N30d GetMonitorStatsParamsRange = "30d" N7d GetMonitorStatsParamsRange = "7d" N90d GetMonitorStatsParamsRange = "90d" )
Defines values for GetMonitorStatsParamsRange.
func (GetMonitorStatsParamsRange) Valid ¶
func (e GetMonitorStatsParamsRange) Valid() bool
Valid indicates whether the value is a known member of the GetMonitorStatsParamsRange enum.
type GetMonitorStatsResponse ¶
type GetMonitorStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitorStats
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetMonitorStatsResponse ¶
func ParseGetMonitorStatsResponse(rsp *http.Response) (*GetMonitorStatsResponse, error)
ParseGetMonitorStatsResponse parses an HTTP response from a GetMonitorStatsWithResponse call
func (GetMonitorStatsResponse) ContentType ¶
func (r GetMonitorStatsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMonitorStatsResponse) Status ¶
func (r GetMonitorStatsResponse) Status() string
Status returns HTTPResponse.Status
func (GetMonitorStatsResponse) StatusCode ¶
func (r GetMonitorStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageDomainResponse ¶ added in v0.24.0
type GetStatusPageDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageDomain
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetStatusPageDomainResponse ¶ added in v0.24.0
func ParseGetStatusPageDomainResponse(rsp *http.Response) (*GetStatusPageDomainResponse, error)
ParseGetStatusPageDomainResponse parses an HTTP response from a GetStatusPageDomainWithResponse call
func (GetStatusPageDomainResponse) ContentType ¶ added in v0.24.0
func (r GetStatusPageDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageDomainResponse) Status ¶ added in v0.24.0
func (r GetStatusPageDomainResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageDomainResponse) StatusCode ¶ added in v0.24.0
func (r GetStatusPageDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageIncidentResponse ¶ added in v0.23.0
type GetStatusPageIncidentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageIncident
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetStatusPageIncidentResponse ¶ added in v0.23.0
func ParseGetStatusPageIncidentResponse(rsp *http.Response) (*GetStatusPageIncidentResponse, error)
ParseGetStatusPageIncidentResponse parses an HTTP response from a GetStatusPageIncidentWithResponse call
func (GetStatusPageIncidentResponse) ContentType ¶ added in v0.23.0
func (r GetStatusPageIncidentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageIncidentResponse) Status ¶ added in v0.23.0
func (r GetStatusPageIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageIncidentResponse) StatusCode ¶ added in v0.23.0
func (r GetStatusPageIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageLayoutResponse ¶ added in v0.23.0
type GetStatusPageLayoutResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageLayout
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetStatusPageLayoutResponse ¶ added in v0.23.0
func ParseGetStatusPageLayoutResponse(rsp *http.Response) (*GetStatusPageLayoutResponse, error)
ParseGetStatusPageLayoutResponse parses an HTTP response from a GetStatusPageLayoutWithResponse call
func (GetStatusPageLayoutResponse) ContentType ¶ added in v0.23.0
func (r GetStatusPageLayoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageLayoutResponse) Status ¶ added in v0.23.0
func (r GetStatusPageLayoutResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageLayoutResponse) StatusCode ¶ added in v0.23.0
func (r GetStatusPageLayoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageLogoResponse ¶ added in v0.24.0
type GetStatusPageLogoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageLogo
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetStatusPageLogoResponse ¶ added in v0.24.0
func ParseGetStatusPageLogoResponse(rsp *http.Response) (*GetStatusPageLogoResponse, error)
ParseGetStatusPageLogoResponse parses an HTTP response from a GetStatusPageLogoWithResponse call
func (GetStatusPageLogoResponse) ContentType ¶ added in v0.24.0
func (r GetStatusPageLogoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageLogoResponse) Status ¶ added in v0.24.0
func (r GetStatusPageLogoResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageLogoResponse) StatusCode ¶ added in v0.24.0
func (r GetStatusPageLogoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageResponse ¶ added in v0.23.0
type GetStatusPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPage
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseGetStatusPageResponse ¶ added in v0.23.0
func ParseGetStatusPageResponse(rsp *http.Response) (*GetStatusPageResponse, error)
ParseGetStatusPageResponse parses an HTTP response from a GetStatusPageWithResponse call
func (GetStatusPageResponse) ContentType ¶ added in v0.23.0
func (r GetStatusPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageResponse) Status ¶ added in v0.23.0
func (r GetStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageResponse) StatusCode ¶ added in v0.23.0
func (r GetStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListAlertChannelDeliveriesParams ¶
type ListAlertChannelDeliveriesParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Status *ListAlertChannelDeliveriesParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
ListAlertChannelDeliveriesParams defines parameters for ListAlertChannelDeliveries.
type ListAlertChannelDeliveriesParamsStatus ¶
type ListAlertChannelDeliveriesParamsStatus string
ListAlertChannelDeliveriesParamsStatus defines parameters for ListAlertChannelDeliveries.
const ( ListAlertChannelDeliveriesParamsStatusDead ListAlertChannelDeliveriesParamsStatus = "dead" ListAlertChannelDeliveriesParamsStatusPending ListAlertChannelDeliveriesParamsStatus = "pending" ListAlertChannelDeliveriesParamsStatusSent ListAlertChannelDeliveriesParamsStatus = "sent" )
Defines values for ListAlertChannelDeliveriesParamsStatus.
func (ListAlertChannelDeliveriesParamsStatus) Valid ¶
func (e ListAlertChannelDeliveriesParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListAlertChannelDeliveriesParamsStatus enum.
type ListAlertChannelDeliveriesResponse ¶
type ListAlertChannelDeliveriesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoChannelDelivery `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseListAlertChannelDeliveriesResponse ¶
func ParseListAlertChannelDeliveriesResponse(rsp *http.Response) (*ListAlertChannelDeliveriesResponse, error)
ParseListAlertChannelDeliveriesResponse parses an HTTP response from a ListAlertChannelDeliveriesWithResponse call
func (ListAlertChannelDeliveriesResponse) ContentType ¶
func (r ListAlertChannelDeliveriesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAlertChannelDeliveriesResponse) Status ¶
func (r ListAlertChannelDeliveriesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAlertChannelDeliveriesResponse) StatusCode ¶
func (r ListAlertChannelDeliveriesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAlertChannelsParams ¶
type ListAlertChannelsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAlertChannelsParams defines parameters for ListAlertChannels.
type ListAlertChannelsResponse ¶
type ListAlertChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoAlertChannel `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
}
func ParseListAlertChannelsResponse ¶
func ParseListAlertChannelsResponse(rsp *http.Response) (*ListAlertChannelsResponse, error)
ParseListAlertChannelsResponse parses an HTTP response from a ListAlertChannelsWithResponse call
func (ListAlertChannelsResponse) ContentType ¶
func (r ListAlertChannelsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAlertChannelsResponse) Status ¶
func (r ListAlertChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAlertChannelsResponse) StatusCode ¶
func (r ListAlertChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentsParams ¶
type ListIncidentsParams struct {
// Acknowledged Acknowledged: true for incidents someone acknowledged, false for
// the others.
Acknowledged *ListIncidentsParamsAcknowledged `form:"acknowledged,omitempty" json:"acknowledged,omitempty"`
// Aspect Aspect is what the incident is about.
Aspect *ListIncidentsParamsAspect `form:"aspect,omitempty" json:"aspect,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// From From and To bound when the incident started: from inclusive, to
// exclusive (RFC 3339).
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
MonitorId *openapi_types.UUID `form:"monitorId,omitempty" json:"monitorId,omitempty"`
// Q Q is part of the monitor's name or target, any case.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Severity Severity matches an open incident's current severity and a resolved
// one's peak severity (how bad it got).
Severity *ListIncidentsParamsSeverity `form:"severity,omitempty" json:"severity,omitempty"`
Status *ListIncidentsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
To *time.Time `form:"to,omitempty" json:"to,omitempty"`
}
ListIncidentsParams defines parameters for ListIncidents.
type ListIncidentsParamsAcknowledged ¶
type ListIncidentsParamsAcknowledged string
ListIncidentsParamsAcknowledged defines parameters for ListIncidents.
const ( False ListIncidentsParamsAcknowledged = "false" True ListIncidentsParamsAcknowledged = "true" )
Defines values for ListIncidentsParamsAcknowledged.
func (ListIncidentsParamsAcknowledged) Valid ¶
func (e ListIncidentsParamsAcknowledged) Valid() bool
Valid indicates whether the value is a known member of the ListIncidentsParamsAcknowledged enum.
type ListIncidentsParamsAspect ¶
type ListIncidentsParamsAspect string
ListIncidentsParamsAspect defines parameters for ListIncidents.
const ( ListIncidentsParamsAspectAvailability ListIncidentsParamsAspect = "availability" ListIncidentsParamsAspectCertificate ListIncidentsParamsAspect = "certificate" ListIncidentsParamsAspectDomain ListIncidentsParamsAspect = "domain" )
Defines values for ListIncidentsParamsAspect.
func (ListIncidentsParamsAspect) Valid ¶
func (e ListIncidentsParamsAspect) Valid() bool
Valid indicates whether the value is a known member of the ListIncidentsParamsAspect enum.
type ListIncidentsParamsSeverity ¶
type ListIncidentsParamsSeverity string
ListIncidentsParamsSeverity defines parameters for ListIncidents.
const ( ListIncidentsParamsSeverityCritical ListIncidentsParamsSeverity = "critical" ListIncidentsParamsSeverityWarning ListIncidentsParamsSeverity = "warning" )
Defines values for ListIncidentsParamsSeverity.
func (ListIncidentsParamsSeverity) Valid ¶
func (e ListIncidentsParamsSeverity) Valid() bool
Valid indicates whether the value is a known member of the ListIncidentsParamsSeverity enum.
type ListIncidentsParamsStatus ¶
type ListIncidentsParamsStatus string
ListIncidentsParamsStatus defines parameters for ListIncidents.
const ( ListIncidentsParamsStatusOpen ListIncidentsParamsStatus = "open" ListIncidentsParamsStatusResolved ListIncidentsParamsStatus = "resolved" )
Defines values for ListIncidentsParamsStatus.
func (ListIncidentsParamsStatus) Valid ¶
func (e ListIncidentsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListIncidentsParamsStatus enum.
type ListIncidentsResponse ¶
type ListIncidentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoIncident `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
}
func ParseListIncidentsResponse ¶
func ParseListIncidentsResponse(rsp *http.Response) (*ListIncidentsResponse, error)
ParseListIncidentsResponse parses an HTTP response from a ListIncidentsWithResponse call
func (ListIncidentsResponse) ContentType ¶
func (r ListIncidentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIncidentsResponse) Status ¶
func (r ListIncidentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIncidentsResponse) StatusCode ¶
func (r ListIncidentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMaintenanceWindowsParams ¶ added in v0.25.0
type ListMaintenanceWindowsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// MonitorId MonitorID keeps the windows holding that monitor.
MonitorId *openapi_types.UUID `form:"monitorId,omitempty" json:"monitorId,omitempty"`
// Status Status keeps the windows standing there; scheduled ones come soonest first, the
// others latest start first.
Status *ListMaintenanceWindowsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// StatusPageId StatusPageID keeps the windows showing on that page.
StatusPageId *openapi_types.UUID `form:"statusPageId,omitempty" json:"statusPageId,omitempty"`
}
ListMaintenanceWindowsParams defines parameters for ListMaintenanceWindows.
type ListMaintenanceWindowsParamsStatus ¶ added in v0.25.0
type ListMaintenanceWindowsParamsStatus string
ListMaintenanceWindowsParamsStatus defines parameters for ListMaintenanceWindows.
const ( ListMaintenanceWindowsParamsStatusCancelled ListMaintenanceWindowsParamsStatus = "cancelled" ListMaintenanceWindowsParamsStatusCompleted ListMaintenanceWindowsParamsStatus = "completed" ListMaintenanceWindowsParamsStatusInProgress ListMaintenanceWindowsParamsStatus = "in_progress" ListMaintenanceWindowsParamsStatusScheduled ListMaintenanceWindowsParamsStatus = "scheduled" )
Defines values for ListMaintenanceWindowsParamsStatus.
func (ListMaintenanceWindowsParamsStatus) Valid ¶ added in v0.25.0
func (e ListMaintenanceWindowsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListMaintenanceWindowsParamsStatus enum.
type ListMaintenanceWindowsResponse ¶ added in v0.25.0
type ListMaintenanceWindowsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoMaintenanceWindow `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
}
func ParseListMaintenanceWindowsResponse ¶ added in v0.25.0
func ParseListMaintenanceWindowsResponse(rsp *http.Response) (*ListMaintenanceWindowsResponse, error)
ParseListMaintenanceWindowsResponse parses an HTTP response from a ListMaintenanceWindowsWithResponse call
func (ListMaintenanceWindowsResponse) ContentType ¶ added in v0.25.0
func (r ListMaintenanceWindowsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMaintenanceWindowsResponse) Status ¶ added in v0.25.0
func (r ListMaintenanceWindowsResponse) Status() string
Status returns HTTPResponse.Status
func (ListMaintenanceWindowsResponse) StatusCode ¶ added in v0.25.0
func (r ListMaintenanceWindowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMonitorResultsParams ¶
type ListMonitorResultsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
To *time.Time `form:"to,omitempty" json:"to,omitempty"`
}
ListMonitorResultsParams defines parameters for ListMonitorResults.
type ListMonitorResultsResponse ¶
type ListMonitorResultsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoCheckResult `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseListMonitorResultsResponse ¶
func ParseListMonitorResultsResponse(rsp *http.Response) (*ListMonitorResultsResponse, error)
ParseListMonitorResultsResponse parses an HTTP response from a ListMonitorResultsWithResponse call
func (ListMonitorResultsResponse) ContentType ¶
func (r ListMonitorResultsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMonitorResultsResponse) Status ¶
func (r ListMonitorResultsResponse) Status() string
Status returns HTTPResponse.Status
func (ListMonitorResultsResponse) StatusCode ¶
func (r ListMonitorResultsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMonitorStatusChangesParams ¶
type ListMonitorStatusChangesParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListMonitorStatusChangesParams defines parameters for ListMonitorStatusChanges.
type ListMonitorStatusChangesResponse ¶
type ListMonitorStatusChangesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoStatusChange `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseListMonitorStatusChangesResponse ¶
func ParseListMonitorStatusChangesResponse(rsp *http.Response) (*ListMonitorStatusChangesResponse, error)
ParseListMonitorStatusChangesResponse parses an HTTP response from a ListMonitorStatusChangesWithResponse call
func (ListMonitorStatusChangesResponse) ContentType ¶
func (r ListMonitorStatusChangesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMonitorStatusChangesResponse) Status ¶
func (r ListMonitorStatusChangesResponse) Status() string
Status returns HTTPResponse.Status
func (ListMonitorStatusChangesResponse) StatusCode ¶
func (r ListMonitorStatusChangesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMonitorsParams ¶
type ListMonitorsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Include Include is a comma-separated list of optional row parts: history
// adds each row's last 60 check results.
Include *ListMonitorsParamsInclude `form:"include,omitempty" json:"include,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Sort Sort: status (default, by overall status: critical, warning,
// pending, ok, paused, then name), name (A to Z), lastChecked (most recent first), uptime
// (lowest over last24h first; no data, and SSL and domain monitors,
// last), created (newest first).
// A cursor only continues the sort it came from.
Sort *ListMonitorsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// Status Status matches the overall status (the worst of the monitor's status
// and its watched aspects').
Status *ListMonitorsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Type *ListMonitorsParamsType `form:"type,omitempty" json:"type,omitempty"`
}
ListMonitorsParams defines parameters for ListMonitors.
type ListMonitorsParamsInclude ¶
type ListMonitorsParamsInclude string
ListMonitorsParamsInclude defines parameters for ListMonitors.
const (
History ListMonitorsParamsInclude = "history"
)
Defines values for ListMonitorsParamsInclude.
func (ListMonitorsParamsInclude) Valid ¶
func (e ListMonitorsParamsInclude) Valid() bool
Valid indicates whether the value is a known member of the ListMonitorsParamsInclude enum.
type ListMonitorsParamsSort ¶
type ListMonitorsParamsSort string
ListMonitorsParamsSort defines parameters for ListMonitors.
const ( Created ListMonitorsParamsSort = "created" LastChecked ListMonitorsParamsSort = "lastChecked" Name ListMonitorsParamsSort = "name" Status ListMonitorsParamsSort = "status" Uptime ListMonitorsParamsSort = "uptime" )
Defines values for ListMonitorsParamsSort.
func (ListMonitorsParamsSort) Valid ¶
func (e ListMonitorsParamsSort) Valid() bool
Valid indicates whether the value is a known member of the ListMonitorsParamsSort enum.
type ListMonitorsParamsStatus ¶
type ListMonitorsParamsStatus string
ListMonitorsParamsStatus defines parameters for ListMonitors.
const ( Critical ListMonitorsParamsStatus = "critical" Ok ListMonitorsParamsStatus = "ok" Paused ListMonitorsParamsStatus = "paused" Pending ListMonitorsParamsStatus = "pending" Warning ListMonitorsParamsStatus = "warning" )
Defines values for ListMonitorsParamsStatus.
func (ListMonitorsParamsStatus) Valid ¶
func (e ListMonitorsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListMonitorsParamsStatus enum.
type ListMonitorsParamsType ¶
type ListMonitorsParamsType string
ListMonitorsParamsType defines parameters for ListMonitors.
const ( Domain ListMonitorsParamsType = "domain" Http ListMonitorsParamsType = "http" Ssl ListMonitorsParamsType = "ssl" )
Defines values for ListMonitorsParamsType.
func (ListMonitorsParamsType) Valid ¶
func (e ListMonitorsParamsType) Valid() bool
Valid indicates whether the value is a known member of the ListMonitorsParamsType enum.
type ListMonitorsResponse ¶
type ListMonitorsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoMonitor `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
}
func ParseListMonitorsResponse ¶
func ParseListMonitorsResponse(rsp *http.Response) (*ListMonitorsResponse, error)
ParseListMonitorsResponse parses an HTTP response from a ListMonitorsWithResponse call
func (ListMonitorsResponse) ContentType ¶
func (r ListMonitorsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMonitorsResponse) Status ¶
func (r ListMonitorsResponse) Status() string
Status returns HTTPResponse.Status
func (ListMonitorsResponse) StatusCode ¶
func (r ListMonitorsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPageIncidentsParams ¶ added in v0.23.0
type ListStatusPageIncidentsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Status Status filters on open or resolved.
Status *ListStatusPageIncidentsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
ListStatusPageIncidentsParams defines parameters for ListStatusPageIncidents.
type ListStatusPageIncidentsParamsStatus ¶ added in v0.23.0
type ListStatusPageIncidentsParamsStatus string
ListStatusPageIncidentsParamsStatus defines parameters for ListStatusPageIncidents.
const ( ListStatusPageIncidentsParamsStatusOpen ListStatusPageIncidentsParamsStatus = "open" ListStatusPageIncidentsParamsStatusResolved ListStatusPageIncidentsParamsStatus = "resolved" )
Defines values for ListStatusPageIncidentsParamsStatus.
func (ListStatusPageIncidentsParamsStatus) Valid ¶ added in v0.23.0
func (e ListStatusPageIncidentsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListStatusPageIncidentsParamsStatus enum.
type ListStatusPageIncidentsResponse ¶ added in v0.23.0
type ListStatusPageIncidentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoStatusPageIncident `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseListStatusPageIncidentsResponse ¶ added in v0.23.0
func ParseListStatusPageIncidentsResponse(rsp *http.Response) (*ListStatusPageIncidentsResponse, error)
ParseListStatusPageIncidentsResponse parses an HTTP response from a ListStatusPageIncidentsWithResponse call
func (ListStatusPageIncidentsResponse) ContentType ¶ added in v0.23.0
func (r ListStatusPageIncidentsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPageIncidentsResponse) Status ¶ added in v0.23.0
func (r ListStatusPageIncidentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListStatusPageIncidentsResponse) StatusCode ¶ added in v0.23.0
func (r ListStatusPageIncidentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPageSubscribersParams ¶ added in v0.24.0
type ListStatusPageSubscribersParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListStatusPageSubscribersParams defines parameters for ListStatusPageSubscribers.
type ListStatusPageSubscribersResponse ¶ added in v0.24.0
type ListStatusPageSubscribersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoStatusPageSubscriber `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseListStatusPageSubscribersResponse ¶ added in v0.24.0
func ParseListStatusPageSubscribersResponse(rsp *http.Response) (*ListStatusPageSubscribersResponse, error)
ParseListStatusPageSubscribersResponse parses an HTTP response from a ListStatusPageSubscribersWithResponse call
func (ListStatusPageSubscribersResponse) ContentType ¶ added in v0.24.0
func (r ListStatusPageSubscribersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPageSubscribersResponse) Status ¶ added in v0.24.0
func (r ListStatusPageSubscribersResponse) Status() string
Status returns HTTPResponse.Status
func (ListStatusPageSubscribersResponse) StatusCode ¶ added in v0.24.0
func (r ListStatusPageSubscribersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPagesParams ¶ added in v0.23.0
type ListStatusPagesParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// MonitorId MonitorID lists the pages that show this monitor instead (at most 50,
// not paginated).
MonitorId *openapi_types.UUID `form:"monitorId,omitempty" json:"monitorId,omitempty"`
}
ListStatusPagesParams defines parameters for ListStatusPages.
type ListStatusPagesResponse ¶ added in v0.23.0
type ListStatusPagesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List []DtoStatusPage `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
}
func ParseListStatusPagesResponse ¶ added in v0.23.0
func ParseListStatusPagesResponse(rsp *http.Response) (*ListStatusPagesResponse, error)
ParseListStatusPagesResponse parses an HTTP response from a ListStatusPagesWithResponse call
func (ListStatusPagesResponse) ContentType ¶ added in v0.23.0
func (r ListStatusPagesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPagesResponse) Status ¶ added in v0.23.0
func (r ListStatusPagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListStatusPagesResponse) StatusCode ¶ added in v0.23.0
func (r ListStatusPagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PauseMonitorResponse ¶
type PauseMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitor
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParsePauseMonitorResponse ¶
func ParsePauseMonitorResponse(rsp *http.Response) (*PauseMonitorResponse, error)
ParsePauseMonitorResponse parses an HTTP response from a PauseMonitorWithResponse call
func (PauseMonitorResponse) ContentType ¶
func (r PauseMonitorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PauseMonitorResponse) Status ¶
func (r PauseMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (PauseMonitorResponse) StatusCode ¶
func (r PauseMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewStatusPageResponse ¶ added in v0.23.0
type PreviewStatusPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoPublicStatusPreview
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParsePreviewStatusPageResponse ¶ added in v0.23.0
func ParsePreviewStatusPageResponse(rsp *http.Response) (*PreviewStatusPageResponse, error)
ParsePreviewStatusPageResponse parses an HTTP response from a PreviewStatusPageWithResponse call
func (PreviewStatusPageResponse) ContentType ¶ added in v0.23.0
func (r PreviewStatusPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreviewStatusPageResponse) Status ¶ added in v0.23.0
func (r PreviewStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewStatusPageResponse) StatusCode ¶ added in v0.23.0
func (r PreviewStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PublishStatusPageResponse ¶ added in v0.23.0
type PublishStatusPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPage
JSON401 *ResponseProblem
JSON402 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParsePublishStatusPageResponse ¶ added in v0.23.0
func ParsePublishStatusPageResponse(rsp *http.Response) (*PublishStatusPageResponse, error)
ParsePublishStatusPageResponse parses an HTTP response from a PublishStatusPageWithResponse call
func (PublishStatusPageResponse) ContentType ¶ added in v0.23.0
func (r PublishStatusPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PublishStatusPageResponse) Status ¶ added in v0.23.0
func (r PublishStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (PublishStatusPageResponse) StatusCode ¶ added in v0.23.0
func (r PublishStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResponseAPIResponsePaginationCursors ¶
type ResponseAPIResponsePaginationCursors struct {
Next *string `json:"next,omitempty"`
Prev *string `json:"prev,omitempty"`
}
ResponseAPIResponsePaginationCursors defines model for response.APIResponsePaginationCursors.
type ResponseAPIResponsePaginationMeta ¶
type ResponseAPIResponsePaginationMeta struct {
Timestamp *string `json:"timestamp,omitempty"`
}
ResponseAPIResponsePaginationMeta defines model for response.APIResponsePaginationMeta.
type ResponseAPIResponseWithPagination ¶
type ResponseAPIResponseWithPagination struct {
Cursors ResponseAPIResponsePaginationCursors `json:"cursors"`
List interface{} `json:"list"`
Meta ResponseAPIResponsePaginationMeta `json:"meta"`
}
ResponseAPIResponseWithPagination defines model for response.APIResponseWithPagination.
type ResponseProblem ¶
type ResponseProblem struct {
Code ConstantsErrorCode `json:"code"`
// Data Data holds stable facts about the error ("limit"), the same ones gRPC
// sends as ErrorInfo metadata.
Data *map[string]string `json:"data,omitempty"`
// Detail Detail is an English sentence for people.
Detail string `json:"detail"`
// Errors Errors lists the field problems of a VALIDATION_FAILED problem.
Errors *[]ValidationViolation `json:"errors,omitempty"`
// Instance Instance identifies this occurrence: the request id the server
// generated, also sent as X-Request-ID and logged as request_id.
Instance string `json:"instance"`
// Reason Reason is a finer stable cause within Code, when there is one.
Reason *ConstantsErrorReason `json:"reason,omitempty"`
Status int `json:"status"`
Timestamp string `json:"timestamp"`
Title string `json:"title"`
// Type Type identifies the problem type (one per code); it may be
// dereferenced for documentation.
Type string `json:"type"`
}
ResponseProblem defines model for response.Problem.
type ResumeMonitorResponse ¶
type ResumeMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitor
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseResumeMonitorResponse ¶
func ParseResumeMonitorResponse(rsp *http.Response) (*ResumeMonitorResponse, error)
ParseResumeMonitorResponse parses an HTTP response from a ResumeMonitorWithResponse call
func (ResumeMonitorResponse) ContentType ¶
func (r ResumeMonitorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResumeMonitorResponse) Status ¶
func (r ResumeMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (ResumeMonitorResponse) StatusCode ¶
func (r ResumeMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RunMonitorCheckResponse ¶
type RunMonitorCheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoCheckResult
JSON401 *ResponseProblem
JSON402 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON429 *ResponseProblem
}
func ParseRunMonitorCheckResponse ¶
func ParseRunMonitorCheckResponse(rsp *http.Response) (*RunMonitorCheckResponse, error)
ParseRunMonitorCheckResponse parses an HTTP response from a RunMonitorCheckWithResponse call
func (RunMonitorCheckResponse) ContentType ¶
func (r RunMonitorCheckResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RunMonitorCheckResponse) Status ¶
func (r RunMonitorCheckResponse) Status() string
Status returns HTTPResponse.Status
func (RunMonitorCheckResponse) StatusCode ¶
func (r RunMonitorCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendAlertChannelVerificationResponse ¶
type SendAlertChannelVerificationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ResponseProblem
JSON402 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseSendAlertChannelVerificationResponse ¶
func ParseSendAlertChannelVerificationResponse(rsp *http.Response) (*SendAlertChannelVerificationResponse, error)
ParseSendAlertChannelVerificationResponse parses an HTTP response from a SendAlertChannelVerificationWithResponse call
func (SendAlertChannelVerificationResponse) ContentType ¶
func (r SendAlertChannelVerificationResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SendAlertChannelVerificationResponse) Status ¶
func (r SendAlertChannelVerificationResponse) Status() string
Status returns HTTPResponse.Status
func (SendAlertChannelVerificationResponse) StatusCode ¶
func (r SendAlertChannelVerificationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetMonitorAlertsJSONRequestBody ¶
type SetMonitorAlertsJSONRequestBody = DtoMonitorAlertsUpdate
SetMonitorAlertsJSONRequestBody defines body for SetMonitorAlerts for application/json ContentType.
type SetMonitorAlertsResponse ¶
type SetMonitorAlertsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitorAlerts
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseSetMonitorAlertsResponse ¶
func ParseSetMonitorAlertsResponse(rsp *http.Response) (*SetMonitorAlertsResponse, error)
ParseSetMonitorAlertsResponse parses an HTTP response from a SetMonitorAlertsWithResponse call
func (SetMonitorAlertsResponse) ContentType ¶
func (r SetMonitorAlertsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetMonitorAlertsResponse) Status ¶
func (r SetMonitorAlertsResponse) Status() string
Status returns HTTPResponse.Status
func (SetMonitorAlertsResponse) StatusCode ¶
func (r SetMonitorAlertsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetStatusPageDomainJSONRequestBody ¶ added in v0.24.0
type SetStatusPageDomainJSONRequestBody = DtoStatusPageDomainSet
SetStatusPageDomainJSONRequestBody defines body for SetStatusPageDomain for application/json ContentType.
type SetStatusPageDomainResponse ¶ added in v0.24.0
type SetStatusPageDomainResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageDomain
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON402 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseSetStatusPageDomainResponse ¶ added in v0.24.0
func ParseSetStatusPageDomainResponse(rsp *http.Response) (*SetStatusPageDomainResponse, error)
ParseSetStatusPageDomainResponse parses an HTTP response from a SetStatusPageDomainWithResponse call
func (SetStatusPageDomainResponse) ContentType ¶ added in v0.24.0
func (r SetStatusPageDomainResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetStatusPageDomainResponse) Status ¶ added in v0.24.0
func (r SetStatusPageDomainResponse) Status() string
Status returns HTTPResponse.Status
func (SetStatusPageDomainResponse) StatusCode ¶ added in v0.24.0
func (r SetStatusPageDomainResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetStatusPageLayoutJSONRequestBody ¶ added in v0.23.0
type SetStatusPageLayoutJSONRequestBody = DtoStatusPageLayout
SetStatusPageLayoutJSONRequestBody defines body for SetStatusPageLayout for application/json ContentType.
type SetStatusPageLayoutResponse ¶ added in v0.23.0
type SetStatusPageLayoutResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageLayout
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseSetStatusPageLayoutResponse ¶ added in v0.23.0
func ParseSetStatusPageLayoutResponse(rsp *http.Response) (*SetStatusPageLayoutResponse, error)
ParseSetStatusPageLayoutResponse parses an HTTP response from a SetStatusPageLayoutWithResponse call
func (SetStatusPageLayoutResponse) ContentType ¶ added in v0.23.0
func (r SetStatusPageLayoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetStatusPageLayoutResponse) Status ¶ added in v0.23.0
func (r SetStatusPageLayoutResponse) Status() string
Status returns HTTPResponse.Status
func (SetStatusPageLayoutResponse) StatusCode ¶ added in v0.23.0
func (r SetStatusPageLayoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetStatusPageLogoJSONRequestBody ¶ added in v0.24.0
type SetStatusPageLogoJSONRequestBody = DtoStatusPageLogoSet
SetStatusPageLogoJSONRequestBody defines body for SetStatusPageLogo for application/json ContentType.
type SetStatusPageLogoResponse ¶ added in v0.24.0
type SetStatusPageLogoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageLogo
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseSetStatusPageLogoResponse ¶ added in v0.24.0
func ParseSetStatusPageLogoResponse(rsp *http.Response) (*SetStatusPageLogoResponse, error)
ParseSetStatusPageLogoResponse parses an HTTP response from a SetStatusPageLogoWithResponse call
func (SetStatusPageLogoResponse) ContentType ¶ added in v0.24.0
func (r SetStatusPageLogoResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetStatusPageLogoResponse) Status ¶ added in v0.24.0
func (r SetStatusPageLogoResponse) Status() string
Status returns HTTPResponse.Status
func (SetStatusPageLogoResponse) StatusCode ¶ added in v0.24.0
func (r SetStatusPageLogoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestAlertChannelResponse ¶
type TestAlertChannelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoAlertChannelTestResult
JSON401 *ResponseProblem
JSON402 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
JSON429 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseTestAlertChannelResponse ¶
func ParseTestAlertChannelResponse(rsp *http.Response) (*TestAlertChannelResponse, error)
ParseTestAlertChannelResponse parses an HTTP response from a TestAlertChannelWithResponse call
func (TestAlertChannelResponse) ContentType ¶
func (r TestAlertChannelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestAlertChannelResponse) Status ¶
func (r TestAlertChannelResponse) Status() string
Status returns HTTPResponse.Status
func (TestAlertChannelResponse) StatusCode ¶
func (r TestAlertChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnpublishStatusPageResponse ¶ added in v0.23.0
type UnpublishStatusPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPage
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseUnpublishStatusPageResponse ¶ added in v0.23.0
func ParseUnpublishStatusPageResponse(rsp *http.Response) (*UnpublishStatusPageResponse, error)
ParseUnpublishStatusPageResponse parses an HTTP response from a UnpublishStatusPageWithResponse call
func (UnpublishStatusPageResponse) ContentType ¶ added in v0.23.0
func (r UnpublishStatusPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnpublishStatusPageResponse) Status ¶ added in v0.23.0
func (r UnpublishStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (UnpublishStatusPageResponse) StatusCode ¶ added in v0.23.0
func (r UnpublishStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAlertChannelJSONRequestBody ¶
type UpdateAlertChannelJSONRequestBody = DtoAlertChannelUpdate
UpdateAlertChannelJSONRequestBody defines body for UpdateAlertChannel for application/json ContentType.
type UpdateAlertChannelResponse ¶
type UpdateAlertChannelResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoAlertChannelWithSecret
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseUpdateAlertChannelResponse ¶
func ParseUpdateAlertChannelResponse(rsp *http.Response) (*UpdateAlertChannelResponse, error)
ParseUpdateAlertChannelResponse parses an HTTP response from a UpdateAlertChannelWithResponse call
func (UpdateAlertChannelResponse) ContentType ¶
func (r UpdateAlertChannelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateAlertChannelResponse) Status ¶
func (r UpdateAlertChannelResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAlertChannelResponse) StatusCode ¶
func (r UpdateAlertChannelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMaintenanceWindowJSONRequestBody ¶ added in v0.25.0
type UpdateMaintenanceWindowJSONRequestBody = DtoMaintenanceWindowUpdate
UpdateMaintenanceWindowJSONRequestBody defines body for UpdateMaintenanceWindow for application/json ContentType.
type UpdateMaintenanceWindowResponse ¶ added in v0.25.0
type UpdateMaintenanceWindowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMaintenanceWindow
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
JSON422 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseUpdateMaintenanceWindowResponse ¶ added in v0.25.0
func ParseUpdateMaintenanceWindowResponse(rsp *http.Response) (*UpdateMaintenanceWindowResponse, error)
ParseUpdateMaintenanceWindowResponse parses an HTTP response from a UpdateMaintenanceWindowWithResponse call
func (UpdateMaintenanceWindowResponse) ContentType ¶ added in v0.25.0
func (r UpdateMaintenanceWindowResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMaintenanceWindowResponse) Status ¶ added in v0.25.0
func (r UpdateMaintenanceWindowResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMaintenanceWindowResponse) StatusCode ¶ added in v0.25.0
func (r UpdateMaintenanceWindowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMonitorJSONRequestBody ¶
type UpdateMonitorJSONRequestBody = DtoMonitorUpdate
UpdateMonitorJSONRequestBody defines body for UpdateMonitor for application/json ContentType.
type UpdateMonitorResponse ¶
type UpdateMonitorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoMonitor
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON503 *ResponseProblem
}
func ParseUpdateMonitorResponse ¶
func ParseUpdateMonitorResponse(rsp *http.Response) (*UpdateMonitorResponse, error)
ParseUpdateMonitorResponse parses an HTTP response from a UpdateMonitorWithResponse call
func (UpdateMonitorResponse) ContentType ¶
func (r UpdateMonitorResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMonitorResponse) Status ¶
func (r UpdateMonitorResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateMonitorResponse) StatusCode ¶
func (r UpdateMonitorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusPageIncidentJSONRequestBody ¶ added in v0.23.0
type UpdateStatusPageIncidentJSONRequestBody = DtoStatusPageIncidentUpdate
UpdateStatusPageIncidentJSONRequestBody defines body for UpdateStatusPageIncident for application/json ContentType.
type UpdateStatusPageIncidentResponse ¶ added in v0.23.0
type UpdateStatusPageIncidentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPageIncident
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
}
func ParseUpdateStatusPageIncidentResponse ¶ added in v0.23.0
func ParseUpdateStatusPageIncidentResponse(rsp *http.Response) (*UpdateStatusPageIncidentResponse, error)
ParseUpdateStatusPageIncidentResponse parses an HTTP response from a UpdateStatusPageIncidentWithResponse call
func (UpdateStatusPageIncidentResponse) ContentType ¶ added in v0.23.0
func (r UpdateStatusPageIncidentResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStatusPageIncidentResponse) Status ¶ added in v0.23.0
func (r UpdateStatusPageIncidentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageIncidentResponse) StatusCode ¶ added in v0.23.0
func (r UpdateStatusPageIncidentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusPageJSONRequestBody ¶ added in v0.23.0
type UpdateStatusPageJSONRequestBody = DtoStatusPageUpdate
UpdateStatusPageJSONRequestBody defines body for UpdateStatusPage for application/json ContentType.
type UpdateStatusPageResponse ¶ added in v0.23.0
type UpdateStatusPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DtoStatusPage
JSON400 *ResponseProblem
JSON401 *ResponseProblem
JSON403 *ResponseProblem
JSON404 *ResponseProblem
JSON409 *ResponseProblem
}
func ParseUpdateStatusPageResponse ¶ added in v0.23.0
func ParseUpdateStatusPageResponse(rsp *http.Response) (*UpdateStatusPageResponse, error)
ParseUpdateStatusPageResponse parses an HTTP response from a UpdateStatusPageWithResponse call
func (UpdateStatusPageResponse) ContentType ¶ added in v0.23.0
func (r UpdateStatusPageResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStatusPageResponse) Status ¶ added in v0.23.0
func (r UpdateStatusPageResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageResponse) StatusCode ¶ added in v0.23.0
func (r UpdateStatusPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationParams ¶
type ValidationParams struct {
// Allowed Allowed: oneOf.
Allowed *[]string `json:"allowed,omitempty"`
// Expected Expected: type, mismatch.
Expected *string `json:"expected,omitempty"`
// Field Field is the pointer of the other field: min and max compared with a
// field, exclusive, dependsOn.
Field *string `json:"field,omitempty"`
// Max Max: range, max, maxLength, maxItems.
Max *int `json:"max,omitempty"`
// Min Min: range, min.
Min *int `json:"min,omitempty"`
// Unit Unit: maxLength.
Unit *ValidationUnit `json:"unit,omitempty"`
// Value Value: unsupported.
Value *string `json:"value,omitempty"`
}
ValidationParams defines model for validation.Params.
type ValidationRule ¶
type ValidationRule string
ValidationRule defines model for validation.Rule.
const ( RuleDependsOn ValidationRule = "dependsOn" RuleDuplicate ValidationRule = "duplicate" RuleExclusive ValidationRule = "exclusive" RuleFormat ValidationRule = "format" RuleImmutable ValidationRule = "immutable" RuleMax ValidationRule = "max" RuleMaxItems ValidationRule = "maxItems" RuleMaxLength ValidationRule = "maxLength" RuleMin ValidationRule = "min" RuleMismatch ValidationRule = "mismatch" RuleNotAllowed ValidationRule = "notAllowed" RuleOneOf ValidationRule = "oneOf" RulePublic ValidationRule = "public" RuleRange ValidationRule = "range" RuleReference ValidationRule = "reference" RuleRequired ValidationRule = "required" RuleType ValidationRule = "type" RuleUnique ValidationRule = "unique" RuleUnknown ValidationRule = "unknown" RuleUnsupported ValidationRule = "unsupported" RuleUnverified ValidationRule = "unverified" )
Defines values for ValidationRule.
func (ValidationRule) Valid ¶
func (e ValidationRule) Valid() bool
Valid indicates whether the value is a known member of the ValidationRule enum.
type ValidationUnit ¶
type ValidationUnit string
ValidationUnit defines model for validation.Unit.
const ( UnitBytes ValidationUnit = "bytes" UnitCharacters ValidationUnit = "characters" )
Defines values for ValidationUnit.
func (ValidationUnit) Valid ¶
func (e ValidationUnit) Valid() bool
Valid indicates whether the value is a known member of the ValidationUnit enum.
type ValidationViolation ¶
type ValidationViolation struct {
Detail string `json:"detail"`
Params *ValidationParams `json:"params,omitempty"`
Pointer string `json:"pointer"`
Rule ValidationRule `json:"rule"`
}
ValidationViolation defines model for validation.Violation.