Documentation
¶
Overview ¶
Package client provides a wrapper around the generated OpenAPI client for the SolidPing API.
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- Variables
- func NewAcceptInviteRequest(server string, body AcceptInviteJSONRequestBody) (*http.Request, error)
- func NewAcceptInviteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAcknowledgeIncidentRequest(server string, org OrgPath, uid IncidentUidPath, ...) (*http.Request, error)
- func NewAcknowledgeIncidentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Request, error)
- func NewAddCheckChannelRequest(server string, org OrgPath, check string, connection openapi_types.UUID) (*http.Request, error)
- func NewAddIncidentCommentRequest(server string, org OrgPath, uid IncidentUidPath, ...) (*http.Request, error)
- func NewAddIncidentCommentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Request, error)
- func NewAddMemberContactRequest(server string, org OrgPath, uid MemberUidPath, ...) (*http.Request, error)
- func NewAddMemberContactRequestWithBody(server string, org OrgPath, uid MemberUidPath, contentType string, ...) (*http.Request, error)
- func NewAddMemberRequest(server string, org OrgPath, body AddMemberJSONRequestBody) (*http.Request, error)
- func NewAddMemberRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewAddMyNotificationContactRequest(server string, org OrgPath, body AddMyNotificationContactJSONRequestBody) (*http.Request, error)
- func NewAddMyNotificationContactRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewApproveMembershipRequestRequest(server string, org OrgPath, uid MembershipRequestUidPath, ...) (*http.Request, error)
- func NewApproveMembershipRequestRequestWithBody(server string, org OrgPath, uid MembershipRequestUidPath, contentType string, ...) (*http.Request, error)
- func NewCancelDiscoveryScanRequest(server string, org OrgPath, jobUid ScanJobUidPath) (*http.Request, error)
- func NewCancelJobRequest(server string, org OrgPath, uid JobUidPath) (*http.Request, error)
- func NewCancelMembershipRequestRequest(server string, uid MembershipRequestUidPath) (*http.Request, error)
- func NewChangePasswordRequest(server string, body ChangePasswordJSONRequestBody) (*http.Request, error)
- func NewChangePasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCloneCheckRequest(server string, org OrgPath, checkUid CheckUidPath, ...) (*http.Request, error)
- func NewCloneCheckRequestWithBody(server string, org OrgPath, checkUid CheckUidPath, contentType string, ...) (*http.Request, error)
- func NewConfirmMyNotificationContactRequest(server string, org OrgPath, contactUid ContactUidPath, ...) (*http.Request, error)
- func NewConfirmMyNotificationContactRequestWithBody(server string, org OrgPath, contactUid ContactUidPath, contentType string, ...) (*http.Request, error)
- func NewConfirmRegistrationRequest(server string, body ConfirmRegistrationJSONRequestBody) (*http.Request, error)
- func NewConfirmRegistrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateChannelRequest(server string, org OrgPath, body CreateChannelJSONRequestBody) (*http.Request, error)
- func NewCreateChannelRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCheckDependencyRequest(server string, org OrgPath, check string, ...) (*http.Request, error)
- func NewCreateCheckDependencyRequestWithBody(server string, org OrgPath, check string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCheckGroupRequest(server string, org OrgPath, body CreateCheckGroupJSONRequestBody) (*http.Request, error)
- func NewCreateCheckGroupRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCheckRequest(server string, org OrgPath, body CreateCheckJSONRequestBody) (*http.Request, error)
- func NewCreateCheckRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEscalationPolicyRequest(server string, org OrgPath, body CreateEscalationPolicyJSONRequestBody) (*http.Request, error)
- func NewCreateEscalationPolicyRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInvitationRequest(server string, org OrgPath, body CreateInvitationJSONRequestBody) (*http.Request, error)
- func NewCreateInvitationRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateJobRequest(server string, org OrgPath, body CreateJobJSONRequestBody) (*http.Request, error)
- func NewCreateJobRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMaintenanceWindowRequest(server string, org OrgPath, body CreateMaintenanceWindowJSONRequestBody) (*http.Request, error)
- func NewCreateMaintenanceWindowRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMembershipRequestRequest(server string, body CreateMembershipRequestJSONRequestBody) (*http.Request, error)
- func NewCreateMembershipRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMyTelegramLinkRequest(server string, org OrgPath) (*http.Request, error)
- func NewCreateOncallOverrideRequest(server string, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Request, error)
- func NewCreateOncallOverrideRequestWithBody(server string, org OrgPath, uid OncallScheduleUidPath, contentType string, ...) (*http.Request, error)
- func NewCreateOncallScheduleRequest(server string, org OrgPath, body CreateOncallScheduleJSONRequestBody) (*http.Request, error)
- func NewCreateOncallScheduleRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrgRequest(server string, body CreateOrgJSONRequestBody) (*http.Request, error)
- func NewCreateOrgRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateReportScheduleRequest(server string, org OrgPath, body CreateReportScheduleJSONRequestBody) (*http.Request, error)
- func NewCreateReportScheduleRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSeverityRequest(server string, org OrgPath, body CreateSeverityJSONRequestBody) (*http.Request, error)
- func NewCreateSeverityRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSloRequest(server string, org OrgPath, body CreateSloJSONRequestBody) (*http.Request, error)
- func NewCreateSloRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStatusPageEndpointSubscriberRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageEndpointSubscriberRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageIncidentRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageIncidentRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageIncidentUpdateRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageIncidentUpdateRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageRequest(server string, org OrgPath, body CreateStatusPageJSONRequestBody) (*http.Request, error)
- func NewCreateStatusPageRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStatusPageResourceRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageResourceRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusPageSectionRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewCreateStatusUpdateRequest(server string, org OrgPath, body CreateStatusUpdateJSONRequestBody) (*http.Request, error)
- func NewCreateStatusUpdateRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSupportMessageRequest(server string, uid string, body CreateSupportMessageJSONRequestBody) (*http.Request, error)
- func NewCreateSupportMessageRequestWithBody(server string, uid string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTokenRequest(server string, org OrgPath, body CreateTokenJSONRequestBody) (*http.Request, error)
- func NewCreateTokenRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewCustomDomainAllowedRequest(server string, params *CustomDomainAllowedParams) (*http.Request, error)
- func NewDeleteChannelRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
- func NewDeleteCheckDependencyRequest(server string, org OrgPath, check string, uid openapi_types.UUID) (*http.Request, error)
- func NewDeleteCheckGroupRequest(server string, org OrgPath, uid CheckGroupUidPath) (*http.Request, error)
- func NewDeleteCheckRequest(server string, org OrgPath, checkUid CheckUidPath) (*http.Request, error)
- func NewDeleteEmailSuppressionRequest(server string, org OrgPath, uid EmailSuppressionUidPath) (*http.Request, error)
- func NewDeleteEscalationPolicyRequest(server string, org OrgPath, uid EscalationPolicyUidPath) (*http.Request, error)
- func NewDeleteFileRequest(server string, org OrgPath, uid FileUidPath) (*http.Request, error)
- func NewDeleteIntegrationIdentityRequest(server string, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath) (*http.Request, error)
- func NewDeleteInvitationRequest(server string, org OrgPath, uid InvitationUidPath) (*http.Request, error)
- func NewDeleteMaintenanceWindowRequest(server string, org OrgPath, uid MaintenanceWindowUidPath) (*http.Request, error)
- func NewDeleteOncallOverrideRequest(server string, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Request, error)
- func NewDeleteOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
- func NewDeleteOrgLogoRequest(server string, org OrgPath) (*http.Request, error)
- func NewDeleteOrgRequest(server string, org OrgPath, body DeleteOrgJSONRequestBody) (*http.Request, error)
- func NewDeleteOrgRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath) (*http.Request, error)
- func NewDeleteSeverityRequest(server string, org OrgPath, uid SeverityUidPath) (*http.Request, error)
- func NewDeleteSloRequest(server string, org OrgPath, uid SLOUidPath) (*http.Request, error)
- func NewDeleteStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
- func NewDeleteStatusPageResourceRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewDeleteStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewDeleteStatusUpdateRequest(server string, org OrgPath, uid StatusUpdateUidPath) (*http.Request, error)
- func NewDeleteSystemParameterRequest(server string, key string) (*http.Request, error)
- func NewDisableOncallIcalFeedRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
- func NewDismissDiscoveredCheckRequest(server string, org OrgPath, uid string) (*http.Request, error)
- func NewDismissDiscoveredGroupRequest(server string, org OrgPath, params *DismissDiscoveredGroupParams) (*http.Request, error)
- func NewDownloadFileRequest(server string, org OrgPath, uid FileUidPath) (*http.Request, error)
- func NewEnableOncallIcalFeedRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
- func NewGenerateStatusPageKioskTokenRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
- func NewGetActivationFunnelRequest(server string) (*http.Request, error)
- func NewGetAdminEntitlementsRequest(server string, org OrgPath, params *GetAdminEntitlementsParams) (*http.Request, error)
- func NewGetAdminJobChainRequest(server string, org OrgPath, uid JobUidPath) (*http.Request, error)
- func NewGetAdminJobRequest(server string, org OrgPath, uid JobUidPath) (*http.Request, error)
- func NewGetBadgeRequest(server string, org OrgPath, check string, format GetBadgeParamsFormat, ...) (*http.Request, error)
- func NewGetChannelRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
- func NewGetCheckAvailabilityBucketsRequest(server string, org OrgPath, check string, ...) (*http.Request, error)
- func NewGetCheckAvailabilityRequest(server string, org OrgPath, check string, params *GetCheckAvailabilityParams) (*http.Request, error)
- func NewGetCheckGroupRequest(server string, org OrgPath, uid CheckGroupUidPath) (*http.Request, error)
- func NewGetCheckJobRequest(server string, org OrgPath, uid CheckJobUidPath) (*http.Request, error)
- func NewGetCheckRequest(server string, org OrgPath, checkUid CheckUidPath, params *GetCheckParams) (*http.Request, error)
- func NewGetCheckStatsRequest(server string, org OrgPath) (*http.Request, error)
- func NewGetCostDistributionRequest(server string, params *GetCostDistributionParams) (*http.Request, error)
- func NewGetCurrentUserRequest(server string) (*http.Request, error)
- func NewGetDeviceConsentRequest(server string, params *GetDeviceConsentParams) (*http.Request, error)
- func NewGetDiscoveryScanRequest(server string, org OrgPath, jobUid ScanJobUidPath) (*http.Request, error)
- func NewGetEmailInboxConfigRequest(server string) (*http.Request, error)
- func NewGetEmailInboxStatusRequest(server string) (*http.Request, error)
- func NewGetEmbedWidgetV1Request(server string) (*http.Request, error)
- func NewGetEntitlementsRequest(server string, org OrgPath, params *GetEntitlementsParams) (*http.Request, error)
- func NewGetEscalationPolicyRequest(server string, org OrgPath, uid EscalationPolicyUidPath) (*http.Request, error)
- func NewGetFileRequest(server string, org OrgPath, uid FileUidPath) (*http.Request, error)
- func NewGetHealthRequest(server string) (*http.Request, error)
- func NewGetIncidentNotificationRequest(server string, org OrgPath, uid IncidentUidPath, notifUid NotificationUidPath) (*http.Request, error)
- func NewGetIncidentRequest(server string, org OrgPath, uid IncidentUidPath, params *GetIncidentParams) (*http.Request, error)
- func NewGetInviteRequest(server string, token string) (*http.Request, error)
- func NewGetJobRequest(server string, org OrgPath, uid JobUidPath) (*http.Request, error)
- func NewGetJobStatsRequest(server string, org OrgPath) (*http.Request, error)
- func NewGetLimitsRequest(server string) (*http.Request, error)
- func NewGetMaintenanceWindowRequest(server string, org OrgPath, uid MaintenanceWindowUidPath) (*http.Request, error)
- func NewGetMemberRequest(server string, org OrgPath, uid MemberUidPath) (*http.Request, error)
- func NewGetMemoryRequest(server string, params *GetMemoryParams) (*http.Request, error)
- func NewGetNotificationRequest(server string, org OrgPath, notifUid NotificationUidPath) (*http.Request, error)
- func NewGetOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
- func NewGetOrgDependencyGraphRequest(server string, org OrgPath) (*http.Request, error)
- func NewGetOrgResultRequest(server string, org OrgPath, check string, uid openapi_types.UUID, ...) (*http.Request, error)
- func NewGetOrgSettingsRequest(server string, org OrgPath) (*http.Request, error)
- func NewGetPublicConfigRequest(server string) (*http.Request, error)
- func NewGetRegionHealthRequest(server string) (*http.Request, error)
- func NewGetReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath) (*http.Request, error)
- func NewGetSchedulingLaneLoadRequest(server string) (*http.Request, error)
- func NewGetSeverityRequest(server string, org OrgPath, uid SeverityUidPath) (*http.Request, error)
- func NewGetSloAlertPolicyRequest(server string, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath) (*http.Request, error)
- func NewGetSloBurndownRequest(server string, org OrgPath, uid SLOUidPath) (*http.Request, error)
- func NewGetSloHistoryRequest(server string, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams) (*http.Request, error)
- func NewGetSloRequest(server string, org OrgPath, uid SLOUidPath) (*http.Request, error)
- func NewGetSloStatusRequest(server string, org OrgPath, uid SLOUidPath) (*http.Request, error)
- func NewGetStatusPageBadgeRequest(server string, org OrgPath, slug string, params *GetStatusPageBadgeParams) (*http.Request, error)
- func NewGetStatusPageIncidentRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewGetStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewGetStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewGetStatusUpdateRequest(server string, org OrgPath, uid StatusUpdateUidPath) (*http.Request, error)
- func NewGetSupportThreadRequest(server string, uid string) (*http.Request, error)
- func NewGetSystemCheckJobRequest(server string, uid CheckJobUidPath) (*http.Request, error)
- func NewGetSystemJobChainRequest(server string, uid JobUidPath) (*http.Request, error)
- func NewGetSystemJobRequest(server string, uid JobUidPath) (*http.Request, error)
- func NewGetSystemJobStatsRequest(server string) (*http.Request, error)
- func NewGetSystemParameterRequest(server string, key string) (*http.Request, error)
- func NewGetVersionRequest(server string) (*http.Request, error)
- func NewListAdminEntitlementsRequest(server string, params *ListAdminEntitlementsParams) (*http.Request, error)
- func NewListAdminJobsRequest(server string, org OrgPath, params *ListAdminJobsParams) (*http.Request, error)
- func NewListAllTokensRequest(server string, params *ListAllTokensParams) (*http.Request, error)
- func NewListAuthProvidersRequest(server string) (*http.Request, error)
- func NewListChannelsRequest(server string, org OrgPath, params *ListChannelsParams) (*http.Request, error)
- func NewListCheckChannelsRequest(server string, org OrgPath, check string) (*http.Request, error)
- func NewListCheckDependenciesRequest(server string, org OrgPath, check string) (*http.Request, error)
- func NewListCheckEventsRequest(server string, org OrgPath, checkUid CheckUidPath, ...) (*http.Request, error)
- func NewListCheckGroupsRequest(server string, org OrgPath) (*http.Request, error)
- func NewListCheckJobsRequest(server string, org OrgPath, params *ListCheckJobsParams) (*http.Request, error)
- func NewListCheckTypeSamplesRequest(server string, params *ListCheckTypeSamplesParams) (*http.Request, error)
- func NewListCheckTypesRequest(server string) (*http.Request, error)
- func NewListChecksRequest(server string, org OrgPath, params *ListChecksParams) (*http.Request, error)
- func NewListDiscoveredChecksRequest(server string, org OrgPath, params *ListDiscoveredChecksParams) (*http.Request, error)
- func NewListDiscoveryScansRequest(server string, org OrgPath) (*http.Request, error)
- func NewListDiscoveryTypesRequest(server string, org OrgPath) (*http.Request, error)
- func NewListEmailSuppressionsRequest(server string, org OrgPath) (*http.Request, error)
- func NewListEntitlementsAuditsRequest(server string, org OrgPath, params *ListEntitlementsAuditsParams) (*http.Request, error)
- func NewListEscalationPoliciesRequest(server string, org OrgPath) (*http.Request, error)
- func NewListEventsRequest(server string, org OrgPath, params *ListEventsParams) (*http.Request, error)
- func NewListFilesRequest(server string, org OrgPath, params *ListFilesParams) (*http.Request, error)
- func NewListIncidentEventsRequest(server string, org OrgPath, uid IncidentUidPath, ...) (*http.Request, error)
- func NewListIncidentNotificationsRequest(server string, org OrgPath, uid IncidentUidPath, ...) (*http.Request, error)
- func NewListIncidentPublicationsRequest(server string, org OrgPath, incidentUid IncidentUidNamedPath) (*http.Request, error)
- func NewListIncidentsRequest(server string, org OrgPath, params *ListIncidentsParams) (*http.Request, error)
- func NewListIntegrationIdentitiesRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
- func NewListInvitationsRequest(server string, org OrgPath) (*http.Request, error)
- func NewListJobsRequest(server string, org OrgPath, params *ListJobsParams) (*http.Request, error)
- func NewListLabelsRequest(server string, org OrgPath, params *ListLabelsParams) (*http.Request, error)
- func NewListMaintenanceWindowChecksRequest(server string, org OrgPath, uid MaintenanceWindowUidPath) (*http.Request, error)
- func NewListMaintenanceWindowsRequest(server string, org OrgPath, params *ListMaintenanceWindowsParams) (*http.Request, error)
- func NewListMemberCoverageRequest(server string, org OrgPath) (*http.Request, error)
- func NewListMembersRequest(server string, org OrgPath) (*http.Request, error)
- func NewListMyMembershipRequestsRequest(server string) (*http.Request, error)
- func NewListMyNotificationRoutesRequest(server string, org OrgPath) (*http.Request, error)
- func NewListMyNotificationsRequest(server string, org OrgPath, params *ListMyNotificationsParams) (*http.Request, error)
- func NewListNotificationsRequest(server string, org OrgPath, params *ListNotificationsParams) (*http.Request, error)
- func NewListOncallOverridesRequest(server string, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Request, error)
- func NewListOncallSchedulesRequest(server string, org OrgPath) (*http.Request, error)
- func NewListOrgMembershipRequestsRequest(server string, org OrgPath, params *ListOrgMembershipRequestsParams) (*http.Request, error)
- func NewListOrgResultsRequest(server string, org OrgPath, params *ListOrgResultsParams) (*http.Request, error)
- func NewListOrgTokensRequest(server string, org OrgPath, params *ListOrgTokensParams) (*http.Request, error)
- func NewListRegionsRequest(server string, org OrgPath) (*http.Request, error)
- func NewListReportSchedulesRequest(server string, org OrgPath) (*http.Request, error)
- func NewListSeveritiesRequest(server string, org OrgPath) (*http.Request, error)
- func NewListSloAlertPoliciesRequest(server string, org OrgPath, uid SLOUidPath) (*http.Request, error)
- func NewListSlosRequest(server string, org OrgPath, params *ListSlosParams) (*http.Request, error)
- func NewListStatusPageIncidentsRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewListStatusPageResourcesRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewListStatusPageSectionsRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
- func NewListStatusPageSubscribersRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
- func NewListStatusPagesRequest(server string, org OrgPath) (*http.Request, error)
- func NewListStatusUpdatesRequest(server string, org OrgPath, params *ListStatusUpdatesParams) (*http.Request, error)
- func NewListSupportMessagesRequest(server string, uid string, params *ListSupportMessagesParams) (*http.Request, error)
- func NewListSupportThreadsRequest(server string, params *ListSupportThreadsParams) (*http.Request, error)
- func NewListSystemCheckJobsRequest(server string, params *ListSystemCheckJobsParams) (*http.Request, error)
- func NewListSystemJobsRequest(server string, params *ListSystemJobsParams) (*http.Request, error)
- func NewListSystemParametersRequest(server string) (*http.Request, error)
- func NewListUserNotificationsRequest(server string, org OrgPath, uid UserUidPath, ...) (*http.Request, error)
- func NewLoginRequest(server string, body LoginJSONRequestBody) (*http.Request, error)
- func NewLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLogoutRequest(server string, body LogoutJSONRequestBody) (*http.Request, error)
- func NewLogoutRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMigrateRegionRequest(server string, body MigrateRegionJSONRequestBody) (*http.Request, error)
- func NewMigrateRegionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchEntitlementsRequest(server string, org OrgPath, body PatchEntitlementsJSONRequestBody) (*http.Request, error)
- func NewPatchEntitlementsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewPollDeviceTokenRequest(server string, body PollDeviceTokenJSONRequestBody) (*http.Request, error)
- func NewPollDeviceTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPreviewOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Request, error)
- func NewPromoteDiscoveredChecksRequest(server string, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody) (*http.Request, error)
- func NewPromoteDiscoveredChecksRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewPublishIncidentRequest(server string, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*http.Request, error)
- func NewPublishIncidentRequestWithBody(server string, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*http.Request, error)
- func NewRefreshTokenRequest(server string, body RefreshTokenJSONRequestBody) (*http.Request, error)
- func NewRefreshTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRegisterRequest(server string, body RegisterJSONRequestBody) (*http.Request, error)
- func NewRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRejectMembershipRequestRequest(server string, org OrgPath, uid MembershipRequestUidPath, ...) (*http.Request, error)
- func NewRejectMembershipRequestRequestWithBody(server string, org OrgPath, uid MembershipRequestUidPath, contentType string, ...) (*http.Request, error)
- func NewReleaseAdminEntitlementsRequest(server string, org OrgPath) (*http.Request, error)
- func NewRemoveCheckChannelRequest(server string, org OrgPath, check string, connection openapi_types.UUID) (*http.Request, error)
- func NewRemoveMemberRequest(server string, org OrgPath, uid MemberUidPath) (*http.Request, error)
- func NewRemoveMyNotificationContactRequest(server string, org OrgPath, contactUid ContactUidPath) (*http.Request, error)
- func NewRemoveStatusPageSubscriberRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewReorderStatusPageResourcesRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewReorderStatusPageResourcesRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewReorderStatusPageSectionsRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewReorderStatusPageSectionsRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewRequestPasswordResetRequest(server string, body RequestPasswordResetJSONRequestBody) (*http.Request, error)
- func NewRequestPasswordResetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewResendSupportMessageRequest(server string, uid string, messageUid string) (*http.Request, error)
- func NewResetPasswordRequest(server string, body ResetPasswordJSONRequestBody) (*http.Request, error)
- func NewResetPasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewResolveIncidentRequest(server string, org OrgPath, uid IncidentUidPath, ...) (*http.Request, error)
- func NewResolveIncidentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Request, error)
- func NewRespondToDeviceConsentRequest(server string, body RespondToDeviceConsentJSONRequestBody) (*http.Request, error)
- func NewRespondToDeviceConsentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRevokeStatusPageKioskTokenRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
- func NewRevokeTokenRequest(server string, tokenUid TokenUidPath) (*http.Request, error)
- func NewRotateChannelSecretRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
- func NewRotateHeartbeatTokenRequest(server string, org OrgPath, checkUid CheckUidPath) (*http.Request, error)
- func NewRotateOncallIcalFeedRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
- func NewSendMemberPagingNudgeRequest(server string, org OrgPath, uid MemberUidPath) (*http.Request, error)
- func NewSendTestEmailRequest(server string, body SendTestEmailJSONRequestBody) (*http.Request, error)
- func NewSendTestEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetAdminEntitlementsRequest(server string, org OrgPath, body SetAdminEntitlementsJSONRequestBody) (*http.Request, error)
- func NewSetAdminEntitlementsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewSetCheckChannelsRequest(server string, org OrgPath, check string, body SetCheckChannelsJSONRequestBody) (*http.Request, error)
- func NewSetCheckChannelsRequestWithBody(server string, org OrgPath, check string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetEntitlementsRequest(server string, org OrgPath, body SetEntitlementsJSONRequestBody) (*http.Request, error)
- func NewSetEntitlementsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewSetIntegrationIdentityRequest(server string, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, ...) (*http.Request, error)
- func NewSetIntegrationIdentityRequestWithBody(server string, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, ...) (*http.Request, error)
- func NewSetMaintenanceWindowChecksRequest(server string, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Request, error)
- func NewSetMaintenanceWindowChecksRequestWithBody(server string, org OrgPath, uid MaintenanceWindowUidPath, contentType string, ...) (*http.Request, error)
- func NewSetSystemParameterRequest(server string, key string, body SetSystemParameterJSONRequestBody) (*http.Request, error)
- func NewSetSystemParameterRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
- func NewSnoozeIncidentRequest(server string, org OrgPath, uid IncidentUidPath, ...) (*http.Request, error)
- func NewSnoozeIncidentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Request, error)
- func NewStartDeviceAuthorizationRequest(server string, body StartDeviceAuthorizationJSONRequestBody) (*http.Request, error)
- func NewStartDeviceAuthorizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStartDiscoveryScanRequest(server string, org OrgPath, body StartDiscoveryScanJSONRequestBody) (*http.Request, error)
- func NewStartDiscoveryScanRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewStatusPageFeedRequest(server string, org OrgPath, slug string) (*http.Request, error)
- func NewSubscribeToStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewSubscribeToStatusPageRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewSwitchOrgRequest(server string, body SwitchOrgJSONRequestBody) (*http.Request, error)
- func NewSwitchOrgRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSyncEmailInboxRequest(server string) (*http.Request, error)
- func NewSyncIntegrationIdentitiesRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
- func NewTestChannelRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
- func NewTestEmailInboxRequest(server string) (*http.Request, error)
- func NewTestMyNotificationRouteRequest(server string, org OrgPath, routeUid RouteUidPath) (*http.Request, error)
- func NewTestReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Request, error)
- func NewTestReportScheduleRequestWithBody(server string, org OrgPath, uid ReportScheduleUidPath, contentType string, ...) (*http.Request, error)
- func NewUnacknowledgeIncidentRequest(server string, org OrgPath, uid IncidentUidPath) (*http.Request, error)
- func NewUnlockDefaultStatusPageRequest(server string, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody) (*http.Request, error)
- func NewUnlockDefaultStatusPageRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewUnlockStatusPageRequest(server string, org OrgPath, slug string, body UnlockStatusPageJSONRequestBody) (*http.Request, error)
- func NewUnlockStatusPageRequestWithBody(server string, org OrgPath, slug string, contentType string, body io.Reader) (*http.Request, error)
- func NewUnpublishIncidentRequest(server string, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*http.Request, error)
- func NewUnsnoozeIncidentRequest(server string, org OrgPath, uid IncidentUidPath) (*http.Request, error)
- func NewUpdateChannelRequest(server string, org OrgPath, uid ChannelUidPath, ...) (*http.Request, error)
- func NewUpdateChannelRequestWithBody(server string, org OrgPath, uid ChannelUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateCheckDependencyRequest(server string, org OrgPath, check string, uid openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateCheckDependencyRequestWithBody(server string, org OrgPath, check string, uid openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateCheckGroupRequest(server string, org OrgPath, uid CheckGroupUidPath, ...) (*http.Request, error)
- func NewUpdateCheckGroupRequestWithBody(server string, org OrgPath, uid CheckGroupUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateCheckRequest(server string, org OrgPath, checkUid CheckUidPath, ...) (*http.Request, error)
- func NewUpdateCheckRequestWithBody(server string, org OrgPath, checkUid CheckUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateEscalationPolicyRequest(server string, org OrgPath, uid EscalationPolicyUidPath, ...) (*http.Request, error)
- func NewUpdateEscalationPolicyRequestWithBody(server string, org OrgPath, uid EscalationPolicyUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateMaintenanceWindowRequest(server string, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Request, error)
- func NewUpdateMaintenanceWindowRequestWithBody(server string, org OrgPath, uid MaintenanceWindowUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateMeRequest(server string, body UpdateMeJSONRequestBody) (*http.Request, error)
- func NewUpdateMeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateMemberRequest(server string, org OrgPath, uid MemberUidPath, ...) (*http.Request, error)
- func NewUpdateMemberRequestWithBody(server string, org OrgPath, uid MemberUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateMyNotificationRouteRequest(server string, org OrgPath, routeUid RouteUidPath, ...) (*http.Request, error)
- func NewUpdateMyNotificationRouteRequestWithBody(server string, org OrgPath, routeUid RouteUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Request, error)
- func NewUpdateOncallScheduleRequestWithBody(server string, org OrgPath, uid OncallScheduleUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateOrgProfileRequest(server string, org OrgPath, body UpdateOrgProfileJSONRequestBody) (*http.Request, error)
- func NewUpdateOrgProfileRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateOrgSettingsRequest(server string, org OrgPath, body UpdateOrgSettingsJSONRequestBody) (*http.Request, error)
- func NewUpdateOrgSettingsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Request, error)
- func NewUpdateReportScheduleRequestWithBody(server string, org OrgPath, uid ReportScheduleUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateSeverityRequest(server string, org OrgPath, uid SeverityUidPath, ...) (*http.Request, error)
- func NewUpdateSeverityRequestWithBody(server string, org OrgPath, uid SeverityUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateSloAlertPolicyRequest(server string, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, ...) (*http.Request, error)
- func NewUpdateSloAlertPolicyRequestWithBody(server string, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, ...) (*http.Request, error)
- func NewUpdateSloRequest(server string, org OrgPath, uid SLOUidPath, body UpdateSloJSONRequestBody) (*http.Request, error)
- func NewUpdateSloRequestWithBody(server string, org OrgPath, uid SLOUidPath, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateStatusPageIncidentRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusPageIncidentRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusPageRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusPageResourceRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusPageResourceRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusPageSectionRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Request, error)
- func NewUpdateStatusUpdateRequest(server string, org OrgPath, uid StatusUpdateUidPath, ...) (*http.Request, error)
- func NewUpdateStatusUpdateRequestWithBody(server string, org OrgPath, uid StatusUpdateUidPath, contentType string, ...) (*http.Request, error)
- func NewUpdateSupportThreadRequest(server string, uid string, body UpdateSupportThreadJSONRequestBody) (*http.Request, error)
- func NewUpdateSupportThreadRequestWithBody(server string, uid string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadOrgLogoRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewUpsertCheckRequest(server string, org OrgPath, slug string, body UpsertCheckJSONRequestBody) (*http.Request, error)
- func NewUpsertCheckRequestWithBody(server string, org OrgPath, slug string, contentType string, body io.Reader) (*http.Request, error)
- func NewValidateCheckRequest(server string, org OrgPath, body ValidateCheckJSONRequestBody) (*http.Request, error)
- func NewValidateCheckRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
- func NewVerifyMyNotificationContactRequest(server string, org OrgPath, contactUid ContactUidPath) (*http.Request, error)
- func NewVerifyStatusPageCustomDomainRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
- func NewViewDefaultStatusPageRequest(server string, org OrgPath, params *ViewDefaultStatusPageParams) (*http.Request, error)
- func NewViewPublicStatusPageIncidentsRequest(server string, org OrgPath, slug string, ...) (*http.Request, error)
- func NewViewStatusPageRequest(server string, org OrgPath, slug string, params *ViewStatusPageParams) (*http.Request, error)
- func NewViewStatusPageSummaryRequest(server string, org OrgPath, slug string, params *ViewStatusPageSummaryParams) (*http.Request, error)
- type AcceptInviteJSONRequestBody
- type AcceptInviteRequest
- type AcceptInviteResult
- func (r AcceptInviteResult) ContentType() string
- func (r AcceptInviteResult) GetBody() []byte
- func (r AcceptInviteResult) GetJSON200() *LoginResponse
- func (r AcceptInviteResult) GetJSON400() *ValidationError
- func (r AcceptInviteResult) GetJSON404() *NotFound
- func (r AcceptInviteResult) Status() string
- func (r AcceptInviteResult) StatusCode() int
- type AcknowledgeIncidentJSONRequestBody
- type AcknowledgeIncidentResult
- func (r AcknowledgeIncidentResult) ContentType() string
- func (r AcknowledgeIncidentResult) GetBody() []byte
- func (r AcknowledgeIncidentResult) GetJSON200() *IncidentDetail
- func (r AcknowledgeIncidentResult) GetJSON401() *Unauthorized
- func (r AcknowledgeIncidentResult) GetJSON404() *NotFound
- func (r AcknowledgeIncidentResult) Status() string
- func (r AcknowledgeIncidentResult) StatusCode() int
- type ActivationFunnelResponse
- type ActivationFunnelRow
- type AddCheckChannelResult
- func (r AddCheckChannelResult) ContentType() string
- func (r AddCheckChannelResult) GetBody() []byte
- func (r AddCheckChannelResult) GetJSON400() *ValidationError
- func (r AddCheckChannelResult) GetJSON401() *Unauthorized
- func (r AddCheckChannelResult) GetJSON404() *NotFound
- func (r AddCheckChannelResult) Status() string
- func (r AddCheckChannelResult) StatusCode() int
- type AddIncidentCommentJSONRequestBody
- type AddIncidentCommentResult
- func (r AddIncidentCommentResult) ContentType() string
- func (r AddIncidentCommentResult) GetBody() []byte
- func (r AddIncidentCommentResult) GetJSON201() *Event
- func (r AddIncidentCommentResult) GetJSON400() *ValidationError
- func (r AddIncidentCommentResult) GetJSON401() *Unauthorized
- func (r AddIncidentCommentResult) GetJSON404() *NotFound
- func (r AddIncidentCommentResult) Status() string
- func (r AddIncidentCommentResult) StatusCode() int
- type AddMemberContactJSONRequestBody
- type AddMemberContactRequest
- type AddMemberContactRequestType
- type AddMemberContactResult
- func (r AddMemberContactResult) ContentType() string
- func (r AddMemberContactResult) GetBody() []byte
- func (r AddMemberContactResult) GetJSON201() *AdminMemberContact
- func (r AddMemberContactResult) GetJSON400() *ValidationError
- func (r AddMemberContactResult) GetJSON401() *Unauthorized
- func (r AddMemberContactResult) GetJSON403() *Forbidden
- func (r AddMemberContactResult) GetJSON404() *NotFound
- func (r AddMemberContactResult) Status() string
- func (r AddMemberContactResult) StatusCode() int
- type AddMemberJSONRequestBody
- type AddMemberRequest
- type AddMemberRequestRole
- type AddMemberResult
- func (r AddMemberResult) ContentType() string
- func (r AddMemberResult) GetBody() []byte
- func (r AddMemberResult) GetJSON201() *Member
- func (r AddMemberResult) GetJSON400() *ValidationError
- func (r AddMemberResult) GetJSON403() *Forbidden
- func (r AddMemberResult) GetJSON404() *NotFound
- func (r AddMemberResult) GetJSON409() *Error
- func (r AddMemberResult) Status() string
- func (r AddMemberResult) StatusCode() int
- type AddMyNotificationContactJSONRequestBody
- type AddMyNotificationContactResult
- func (r AddMyNotificationContactResult) ContentType() string
- func (r AddMyNotificationContactResult) GetBody() []byte
- func (r AddMyNotificationContactResult) GetJSON201() *NotificationRoute
- func (r AddMyNotificationContactResult) GetJSON400() *ValidationError
- func (r AddMyNotificationContactResult) GetJSON401() *Unauthorized
- func (r AddMyNotificationContactResult) GetJSON404() *NotFound
- func (r AddMyNotificationContactResult) Status() string
- func (r AddMyNotificationContactResult) StatusCode() int
- type AddNotificationContactRequest
- type AdminEntitlementsDetail
- type AdminEntitlementsDetailSource
- type AdminEntitlementsListResponse
- type AdminEntitlementsRow
- type AdminEntitlementsRowSource
- type AdminEntitlementsStoredRow
- type AdminEntitlementsWriteResponse
- type AdminEntitlementsWriteResponseSource
- type AdminJob
- type AdminJobListResponse
- type AdminJobResponse
- type AdminJobStatus
- type AdminMemberContact
- type AppendPublicationUpdateRequest
- type AppendPublicationUpdateRequestKind
- type ApplyOptions
- type ApproveMembershipRequestJSONRequestBody
- type ApproveMembershipRequestRequest
- type ApproveMembershipRequestRequestRole
- type ApproveMembershipRequestResult
- func (r ApproveMembershipRequestResult) ContentType() string
- func (r ApproveMembershipRequestResult) GetBody() []byte
- func (r ApproveMembershipRequestResult) GetJSON401() *Unauthorized
- func (r ApproveMembershipRequestResult) GetJSON403() *Forbidden
- func (r ApproveMembershipRequestResult) GetJSON404() *NotFound
- func (r ApproveMembershipRequestResult) GetJSON409() *Conflict
- func (r ApproveMembershipRequestResult) Status() string
- func (r ApproveMembershipRequestResult) StatusCode() int
- type AuthProvider
- type AuthProvidersResponse
- type AvailabilityBucket
- type AvailabilityBucketStatus
- type AvailabilityPeriod
- type AvailabilitySettings
- type AvailabilityThresholds
- type CancelDiscoveryScanResult
- func (r CancelDiscoveryScanResult) ContentType() string
- func (r CancelDiscoveryScanResult) GetBody() []byte
- func (r CancelDiscoveryScanResult) GetJSON403() *Forbidden
- func (r CancelDiscoveryScanResult) GetJSON404() *NotFound
- func (r CancelDiscoveryScanResult) Status() string
- func (r CancelDiscoveryScanResult) StatusCode() int
- type CancelJobResult
- type CancelMembershipRequestResult
- func (r CancelMembershipRequestResult) ContentType() string
- func (r CancelMembershipRequestResult) GetBody() []byte
- func (r CancelMembershipRequestResult) GetJSON401() *Unauthorized
- func (r CancelMembershipRequestResult) GetJSON404() *NotFound
- func (r CancelMembershipRequestResult) Status() string
- func (r CancelMembershipRequestResult) StatusCode() int
- type ChangePasswordJSONRequestBody
- type ChangePasswordRequest
- type ChangePasswordResult
- func (r ChangePasswordResult) ContentType() string
- func (r ChangePasswordResult) GetBody() []byte
- func (r ChangePasswordResult) GetJSON200() *MessageResponse
- func (r ChangePasswordResult) GetJSON400() *ValidationError
- func (r ChangePasswordResult) GetJSON401() *Error
- func (r ChangePasswordResult) GetJSON404() *NotFound
- func (r ChangePasswordResult) GetJSON429() *TooManyRequests
- func (r ChangePasswordResult) Status() string
- func (r ChangePasswordResult) StatusCode() int
- type Channel
- type ChannelListResponse
- type ChannelTestResult
- type ChannelUidPath
- type Check
- type CheckAvailabilityBucketsResponse
- type CheckAvailabilityResponse
- type CheckChannel
- type CheckChannelListResponse
- type CheckGroup
- type CheckGroupListResponse
- type CheckGroupStatus
- type CheckGroupUidPath
- type CheckJobListResponse
- type CheckJobResponse
- type CheckJobUidPath
- type CheckJobView
- type CheckJobViewState
- type CheckLastStatusChangeStatus
- type CheckListItem
- type CheckListItemLastStatusChangeStatus
- type CheckListItemTracerouteOnFailure
- type CheckListItemType
- type CheckListResponse
- type CheckRef
- type CheckScheduleStats
- type CheckScheduling
- type CheckStats
- type CheckTracerouteOnFailure
- type CheckType
- type CheckTypeInfo
- type CheckTypeListResponse
- type CheckTypeSampleConfig
- type CheckTypeSamples
- type CheckTypeSamplesListResponse
- type CheckUidPath
- type Client
- func (c *Client) AcceptInvite(ctx context.Context, body AcceptInviteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AcceptInviteWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AcknowledgeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) AcknowledgeIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) AddCheckChannel(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) AddIncidentComment(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) AddIncidentCommentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) AddMember(ctx context.Context, org OrgPath, body AddMemberJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddMemberContact(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*http.Response, error)
- func (c *Client) AddMemberContactWithBody(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) AddMemberWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddMyNotificationContact(ctx context.Context, org OrgPath, body AddMyNotificationContactJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AddMyNotificationContactWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApproveMembershipRequest(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*http.Response, error)
- func (c *Client) ApproveMembershipRequestWithBody(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*http.Response, error)
- func (c *Client) CancelDiscoveryScan(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, ...) (*http.Response, error)
- func (c *Client) CancelJob(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*http.Response, error)
- func (c *Client) CancelMembershipRequest(ctx context.Context, uid MembershipRequestUidPath, ...) (*http.Response, error)
- func (c *Client) ChangePassword(ctx context.Context, body ChangePasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ChangePasswordWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CloneCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*http.Response, error)
- func (c *Client) CloneCheckWithBody(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) ConfirmMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*http.Response, error)
- func (c *Client) ConfirmMyNotificationContactWithBody(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*http.Response, error)
- func (c *Client) ConfirmRegistration(ctx context.Context, body ConfirmRegistrationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConfirmRegistrationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateChannel(ctx context.Context, org OrgPath, body CreateChannelJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateChannelWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCheck(ctx context.Context, org OrgPath, body CreateCheckJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCheckDependency(ctx context.Context, org OrgPath, check string, ...) (*http.Response, error)
- func (c *Client) CreateCheckDependencyWithBody(ctx context.Context, org OrgPath, check string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateCheckGroup(ctx context.Context, org OrgPath, body CreateCheckGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCheckGroupWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCheckWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEscalationPolicy(ctx context.Context, org OrgPath, body CreateEscalationPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEscalationPolicyWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInvitation(ctx context.Context, org OrgPath, body CreateInvitationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInvitationWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateJob(ctx context.Context, org OrgPath, body CreateJobJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateJobWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMaintenanceWindow(ctx context.Context, org OrgPath, body CreateMaintenanceWindowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMaintenanceWindowWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMembershipRequest(ctx context.Context, body CreateMembershipRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMembershipRequestWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMyTelegramLink(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateOncallOverride(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) CreateOncallOverrideWithBody(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) CreateOncallSchedule(ctx context.Context, org OrgPath, body CreateOncallScheduleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOncallScheduleWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOrg(ctx context.Context, body CreateOrgJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOrgWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateReportSchedule(ctx context.Context, org OrgPath, body CreateReportScheduleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateReportScheduleWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSeverity(ctx context.Context, org OrgPath, body CreateSeverityJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSeverityWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSlo(ctx context.Context, org OrgPath, body CreateSloJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSloWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStatusPage(ctx context.Context, org OrgPath, body CreateStatusPageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageEndpointSubscriber(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageEndpointSubscriberWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncidentUpdate(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncidentUpdateWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageIncidentWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageResourceWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageSectionWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) CreateStatusPageWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStatusUpdate(ctx context.Context, org OrgPath, body CreateStatusUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateStatusUpdateWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSupportMessage(ctx context.Context, uid string, body CreateSupportMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSupportMessageWithBody(ctx context.Context, uid string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateToken(ctx context.Context, org OrgPath, body CreateTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTokenWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CustomDomainAllowed(ctx context.Context, params *CustomDomainAllowedParams, ...) (*http.Response, error)
- func (c *Client) DeleteChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteCheckDependency(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteEmailSuppression(ctx context.Context, org OrgPath, uid EmailSuppressionUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteFile(ctx context.Context, org OrgPath, uid FileUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteIntegrationIdentity(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteInvitation(ctx context.Context, org OrgPath, uid InvitationUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteOncallOverride(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteOrg(ctx context.Context, org OrgPath, body DeleteOrgJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteOrgLogo(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteOrgWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteSlo(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, ...) (*http.Response, error)
- func (c *Client) DeleteSystemParameter(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DisableOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) DismissDiscoveredCheck(ctx context.Context, org OrgPath, uid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DismissDiscoveredGroup(ctx context.Context, org OrgPath, params *DismissDiscoveredGroupParams, ...) (*http.Response, error)
- func (c *Client) DownloadFile(ctx context.Context, org OrgPath, uid FileUidPath, ...) (*http.Response, error)
- func (c *Client) EnableOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) GenerateStatusPageKioskToken(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) GetActivationFunnel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAdminEntitlements(ctx context.Context, org OrgPath, params *GetAdminEntitlementsParams, ...) (*http.Response, error)
- func (c *Client) GetAdminJob(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*http.Response, error)
- func (c *Client) GetAdminJobChain(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*http.Response, error)
- func (c *Client) GetBadge(ctx context.Context, org OrgPath, check string, format GetBadgeParamsFormat, ...) (*http.Response, error)
- func (c *Client) GetChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) GetCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*http.Response, error)
- func (c *Client) GetCheckAvailability(ctx context.Context, org OrgPath, check string, ...) (*http.Response, error)
- func (c *Client) GetCheckAvailabilityBuckets(ctx context.Context, org OrgPath, check string, ...) (*http.Response, error)
- func (c *Client) GetCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, ...) (*http.Response, error)
- func (c *Client) GetCheckJob(ctx context.Context, org OrgPath, uid CheckJobUidPath, ...) (*http.Response, error)
- func (c *Client) GetCheckStats(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCostDistribution(ctx context.Context, params *GetCostDistributionParams, ...) (*http.Response, error)
- func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDeviceConsent(ctx context.Context, params *GetDeviceConsentParams, ...) (*http.Response, error)
- func (c *Client) GetDiscoveryScan(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, ...) (*http.Response, error)
- func (c *Client) GetEmailInboxConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEmailInboxStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEmbedWidgetV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEntitlements(ctx context.Context, org OrgPath, params *GetEntitlementsParams, ...) (*http.Response, error)
- func (c *Client) GetEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*http.Response, error)
- func (c *Client) GetFile(ctx context.Context, org OrgPath, uid FileUidPath, ...) (*http.Response, error)
- func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) GetIncidentNotification(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) GetInvite(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJob(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*http.Response, error)
- func (c *Client) GetJobStats(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Response, error)
- func (c *Client) GetMember(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*http.Response, error)
- func (c *Client) GetMemory(ctx context.Context, params *GetMemoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNotification(ctx context.Context, org OrgPath, notifUid NotificationUidPath, ...) (*http.Response, error)
- func (c *Client) GetOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) GetOrgDependencyGraph(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrgResult(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetOrgSettings(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPublicConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRegionHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) GetSchedulingLaneLoad(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, ...) (*http.Response, error)
- func (c *Client) GetSlo(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) GetSloAlertPolicy(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) GetSloBurndown(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) GetSloHistory(ctx context.Context, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetSloStatus(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) GetStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) GetStatusPageBadge(ctx context.Context, org OrgPath, slug string, ...) (*http.Response, error)
- func (c *Client) GetStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) GetStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) GetStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, ...) (*http.Response, error)
- func (c *Client) GetSupportThread(ctx context.Context, uid string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSystemCheckJob(ctx context.Context, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSystemJob(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSystemJobChain(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSystemJobStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSystemParameter(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAdminEntitlements(ctx context.Context, params *ListAdminEntitlementsParams, ...) (*http.Response, error)
- func (c *Client) ListAdminJobs(ctx context.Context, org OrgPath, params *ListAdminJobsParams, ...) (*http.Response, error)
- func (c *Client) ListAllTokens(ctx context.Context, params *ListAllTokensParams, ...) (*http.Response, error)
- func (c *Client) ListAuthProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListChannels(ctx context.Context, org OrgPath, params *ListChannelsParams, ...) (*http.Response, error)
- func (c *Client) ListCheckChannels(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCheckDependencies(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCheckEvents(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*http.Response, error)
- func (c *Client) ListCheckGroups(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCheckJobs(ctx context.Context, org OrgPath, params *ListCheckJobsParams, ...) (*http.Response, error)
- func (c *Client) ListCheckTypeSamples(ctx context.Context, params *ListCheckTypeSamplesParams, ...) (*http.Response, error)
- func (c *Client) ListCheckTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListChecks(ctx context.Context, org OrgPath, params *ListChecksParams, ...) (*http.Response, error)
- func (c *Client) ListDiscoveredChecks(ctx context.Context, org OrgPath, params *ListDiscoveredChecksParams, ...) (*http.Response, error)
- func (c *Client) ListDiscoveryScans(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDiscoveryTypes(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEmailSuppressions(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEntitlementsAudits(ctx context.Context, org OrgPath, params *ListEntitlementsAuditsParams, ...) (*http.Response, error)
- func (c *Client) ListEscalationPolicies(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEvents(ctx context.Context, org OrgPath, params *ListEventsParams, ...) (*http.Response, error)
- func (c *Client) ListFiles(ctx context.Context, org OrgPath, params *ListFilesParams, ...) (*http.Response, error)
- func (c *Client) ListIncidentEvents(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) ListIncidentNotifications(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) ListIncidentPublications(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*http.Response, error)
- func (c *Client) ListIncidents(ctx context.Context, org OrgPath, params *ListIncidentsParams, ...) (*http.Response, error)
- func (c *Client) ListIntegrationIdentities(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) ListInvitations(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListJobs(ctx context.Context, org OrgPath, params *ListJobsParams, ...) (*http.Response, error)
- func (c *Client) ListLabels(ctx context.Context, org OrgPath, params *ListLabelsParams, ...) (*http.Response, error)
- func (c *Client) ListMaintenanceWindowChecks(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Response, error)
- func (c *Client) ListMaintenanceWindows(ctx context.Context, org OrgPath, params *ListMaintenanceWindowsParams, ...) (*http.Response, error)
- func (c *Client) ListMemberCoverage(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMembers(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMyMembershipRequests(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMyNotificationRoutes(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMyNotifications(ctx context.Context, org OrgPath, params *ListMyNotificationsParams, ...) (*http.Response, error)
- func (c *Client) ListNotifications(ctx context.Context, org OrgPath, params *ListNotificationsParams, ...) (*http.Response, error)
- func (c *Client) ListOncallOverrides(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) ListOncallSchedules(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListOrgMembershipRequests(ctx context.Context, org OrgPath, params *ListOrgMembershipRequestsParams, ...) (*http.Response, error)
- func (c *Client) ListOrgResults(ctx context.Context, org OrgPath, params *ListOrgResultsParams, ...) (*http.Response, error)
- func (c *Client) ListOrgTokens(ctx context.Context, org OrgPath, params *ListOrgTokensParams, ...) (*http.Response, error)
- func (c *Client) ListRegions(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListReportSchedules(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSeverities(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSloAlertPolicies(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) ListSlos(ctx context.Context, org OrgPath, params *ListSlosParams, ...) (*http.Response, error)
- func (c *Client) ListStatusPageIncidents(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ListStatusPageResources(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ListStatusPageSections(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ListStatusPageSubscribers(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ListStatusPages(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListStatusUpdates(ctx context.Context, org OrgPath, params *ListStatusUpdatesParams, ...) (*http.Response, error)
- func (c *Client) ListSupportMessages(ctx context.Context, uid string, params *ListSupportMessagesParams, ...) (*http.Response, error)
- func (c *Client) ListSupportThreads(ctx context.Context, params *ListSupportThreadsParams, ...) (*http.Response, error)
- func (c *Client) ListSystemCheckJobs(ctx context.Context, params *ListSystemCheckJobsParams, ...) (*http.Response, error)
- func (c *Client) ListSystemJobs(ctx context.Context, params *ListSystemJobsParams, ...) (*http.Response, error)
- func (c *Client) ListSystemParameters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUserNotifications(ctx context.Context, org OrgPath, uid UserUidPath, ...) (*http.Response, error)
- func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Logout(ctx context.Context, body LogoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LogoutWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MigrateRegion(ctx context.Context, body MigrateRegionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MigrateRegionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchEntitlements(ctx context.Context, org OrgPath, body PatchEntitlementsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PollDeviceToken(ctx context.Context, body PollDeviceTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PollDeviceTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PreviewOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) PromoteDiscoveredChecks(ctx context.Context, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PromoteDiscoveredChecksWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PublishIncident(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*http.Response, error)
- func (c *Client) PublishIncidentWithBody(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*http.Response, error)
- func (c *Client) RefreshToken(ctx context.Context, body RefreshTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RefreshTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Register(ctx context.Context, body RegisterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RegisterWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RejectMembershipRequest(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*http.Response, error)
- func (c *Client) RejectMembershipRequestWithBody(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*http.Response, error)
- func (c *Client) ReleaseAdminEntitlements(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveCheckChannel(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) RemoveMember(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*http.Response, error)
- func (c *Client) RemoveMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*http.Response, error)
- func (c *Client) RemoveStatusPageSubscriber(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ReorderStatusPageResources(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ReorderStatusPageResourcesWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ReorderStatusPageSections(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ReorderStatusPageSectionsWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) RequestPasswordReset(ctx context.Context, body RequestPasswordResetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RequestPasswordResetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResendSupportMessage(ctx context.Context, uid string, messageUid string, ...) (*http.Response, error)
- func (c *Client) ResetPassword(ctx context.Context, body ResetPasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResetPasswordWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResolveIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) ResolveIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) RespondToDeviceConsent(ctx context.Context, body RespondToDeviceConsentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RespondToDeviceConsentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RevokeStatusPageKioskToken(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) RevokeToken(ctx context.Context, tokenUid TokenUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RotateChannelSecret(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) RotateHeartbeatToken(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*http.Response, error)
- func (c *Client) RotateOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) SendMemberPagingNudge(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*http.Response, error)
- func (c *Client) SendTestEmail(ctx context.Context, body SendTestEmailJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SendTestEmailWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetAdminEntitlements(ctx context.Context, org OrgPath, body SetAdminEntitlementsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetAdminEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetCheckChannels(ctx context.Context, org OrgPath, check string, ...) (*http.Response, error)
- func (c *Client) SetCheckChannelsWithBody(ctx context.Context, org OrgPath, check string, contentType string, ...) (*http.Response, error)
- func (c *Client) SetEntitlements(ctx context.Context, org OrgPath, body SetEntitlementsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetIntegrationIdentity(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) SetIntegrationIdentityWithBody(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) SetMaintenanceWindowChecks(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Response, error)
- func (c *Client) SetMaintenanceWindowChecksWithBody(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Response, error)
- func (c *Client) SetSystemParameter(ctx context.Context, key string, body SetSystemParameterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetSystemParameterWithBody(ctx context.Context, key string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SnoozeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) SnoozeIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) StartDeviceAuthorization(ctx context.Context, body StartDeviceAuthorizationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartDeviceAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StartDiscoveryScan(ctx context.Context, org OrgPath, body StartDiscoveryScanJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartDiscoveryScanWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StatusPageFeed(ctx context.Context, org OrgPath, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SubscribeToStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) SubscribeToStatusPageWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) SwitchOrg(ctx context.Context, body SwitchOrgJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SwitchOrgWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SyncEmailInbox(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SyncIntegrationIdentities(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) TestChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) TestEmailInbox(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TestMyNotificationRoute(ctx context.Context, org OrgPath, routeUid RouteUidPath, ...) (*http.Response, error)
- func (c *Client) TestReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) TestReportScheduleWithBody(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) UnacknowledgeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) UnlockDefaultStatusPage(ctx context.Context, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UnlockDefaultStatusPageWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UnlockStatusPage(ctx context.Context, org OrgPath, slug string, ...) (*http.Response, error)
- func (c *Client) UnlockStatusPageWithBody(ctx context.Context, org OrgPath, slug string, contentType string, ...) (*http.Response, error)
- func (c *Client) UnpublishIncident(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*http.Response, error)
- func (c *Client) UnsnoozeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateChannelWithBody(ctx context.Context, org OrgPath, uid ChannelUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateCheckDependency(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateCheckDependencyWithBody(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateCheckGroupWithBody(ctx context.Context, org OrgPath, uid CheckGroupUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateCheckWithBody(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateEscalationPolicyWithBody(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateMaintenanceWindowWithBody(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateMe(ctx context.Context, body UpdateMeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateMeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateMember(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateMemberWithBody(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateMyNotificationRoute(ctx context.Context, org OrgPath, routeUid RouteUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateMyNotificationRouteWithBody(ctx context.Context, org OrgPath, routeUid RouteUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateOncallScheduleWithBody(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateOrgProfile(ctx context.Context, org OrgPath, body UpdateOrgProfileJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateOrgProfileWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateOrgSettings(ctx context.Context, org OrgPath, body UpdateOrgSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateOrgSettingsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateReportScheduleWithBody(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateSeverityWithBody(ctx context.Context, org OrgPath, uid SeverityUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSlo(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateSloAlertPolicy(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateSloAlertPolicyWithBody(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateSloWithBody(ctx context.Context, org OrgPath, uid SLOUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageIncidentWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageResourceWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageSectionWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusPageWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, ...) (*http.Response, error)
- func (c *Client) UpdateStatusUpdateWithBody(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSupportThread(ctx context.Context, uid string, body UpdateSupportThreadJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSupportThreadWithBody(ctx context.Context, uid string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadOrgLogoWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpsertCheck(ctx context.Context, org OrgPath, slug string, body UpsertCheckJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpsertCheckWithBody(ctx context.Context, org OrgPath, slug string, contentType string, ...) (*http.Response, error)
- func (c *Client) ValidateCheck(ctx context.Context, org OrgPath, body ValidateCheckJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ValidateCheckWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) VerifyMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*http.Response, error)
- func (c *Client) VerifyStatusPageCustomDomain(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*http.Response, error)
- func (c *Client) ViewDefaultStatusPage(ctx context.Context, org OrgPath, params *ViewDefaultStatusPageParams, ...) (*http.Response, error)
- func (c *Client) ViewPublicStatusPageIncidents(ctx context.Context, org OrgPath, slug string, ...) (*http.Response, error)
- func (c *Client) ViewStatusPage(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageParams, ...) (*http.Response, error)
- func (c *Client) ViewStatusPageSummary(ctx context.Context, org OrgPath, slug string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AcceptInviteResult, error)
- func (c *ClientWithResponses) AcceptInviteWithResponse(ctx context.Context, body AcceptInviteJSONRequestBody, ...) (*AcceptInviteResult, error)
- func (c *ClientWithResponses) AcknowledgeIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*AcknowledgeIncidentResult, error)
- func (c *ClientWithResponses) AcknowledgeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*AcknowledgeIncidentResult, error)
- func (c *ClientWithResponses) AddCheckChannelWithResponse(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, ...) (*AddCheckChannelResult, error)
- func (c *ClientWithResponses) AddIncidentCommentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*AddIncidentCommentResult, error)
- func (c *ClientWithResponses) AddIncidentCommentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*AddIncidentCommentResult, error)
- func (c *ClientWithResponses) AddMemberContactWithBodyWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, ...) (*AddMemberContactResult, error)
- func (c *ClientWithResponses) AddMemberContactWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*AddMemberContactResult, error)
- func (c *ClientWithResponses) AddMemberWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*AddMemberResult, error)
- func (c *ClientWithResponses) AddMemberWithResponse(ctx context.Context, org OrgPath, body AddMemberJSONRequestBody, ...) (*AddMemberResult, error)
- func (c *ClientWithResponses) AddMyNotificationContactWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*AddMyNotificationContactResult, error)
- func (c *ClientWithResponses) AddMyNotificationContactWithResponse(ctx context.Context, org OrgPath, body AddMyNotificationContactJSONRequestBody, ...) (*AddMyNotificationContactResult, error)
- func (c *ClientWithResponses) ApproveMembershipRequestWithBodyWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*ApproveMembershipRequestResult, error)
- func (c *ClientWithResponses) ApproveMembershipRequestWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*ApproveMembershipRequestResult, error)
- func (c *ClientWithResponses) CancelDiscoveryScanWithResponse(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, ...) (*CancelDiscoveryScanResult, error)
- func (c *ClientWithResponses) CancelJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*CancelJobResult, error)
- func (c *ClientWithResponses) CancelMembershipRequestWithResponse(ctx context.Context, uid MembershipRequestUidPath, ...) (*CancelMembershipRequestResult, error)
- func (c *ClientWithResponses) ChangePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ChangePasswordResult, error)
- func (c *ClientWithResponses) ChangePasswordWithResponse(ctx context.Context, body ChangePasswordJSONRequestBody, ...) (*ChangePasswordResult, error)
- func (c *ClientWithResponses) CloneCheckWithBodyWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, ...) (*CloneCheckResult, error)
- func (c *ClientWithResponses) CloneCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*CloneCheckResult, error)
- func (c *ClientWithResponses) ConfirmMyNotificationContactWithBodyWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*ConfirmMyNotificationContactResult, error)
- func (c *ClientWithResponses) ConfirmMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*ConfirmMyNotificationContactResult, error)
- func (c *ClientWithResponses) ConfirmRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConfirmRegistrationResult, error)
- func (c *ClientWithResponses) ConfirmRegistrationWithResponse(ctx context.Context, body ConfirmRegistrationJSONRequestBody, ...) (*ConfirmRegistrationResult, error)
- func (c *ClientWithResponses) CreateChannelWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateChannelResult, error)
- func (c *ClientWithResponses) CreateChannelWithResponse(ctx context.Context, org OrgPath, body CreateChannelJSONRequestBody, ...) (*CreateChannelResult, error)
- func (c *ClientWithResponses) CreateCheckDependencyWithBodyWithResponse(ctx context.Context, org OrgPath, check string, contentType string, ...) (*CreateCheckDependencyResult, error)
- func (c *ClientWithResponses) CreateCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, ...) (*CreateCheckDependencyResult, error)
- func (c *ClientWithResponses) CreateCheckGroupWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateCheckGroupResult, error)
- func (c *ClientWithResponses) CreateCheckGroupWithResponse(ctx context.Context, org OrgPath, body CreateCheckGroupJSONRequestBody, ...) (*CreateCheckGroupResult, error)
- func (c *ClientWithResponses) CreateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateCheckResult, error)
- func (c *ClientWithResponses) CreateCheckWithResponse(ctx context.Context, org OrgPath, body CreateCheckJSONRequestBody, ...) (*CreateCheckResult, error)
- func (c *ClientWithResponses) CreateEscalationPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateEscalationPolicyResult, error)
- func (c *ClientWithResponses) CreateEscalationPolicyWithResponse(ctx context.Context, org OrgPath, body CreateEscalationPolicyJSONRequestBody, ...) (*CreateEscalationPolicyResult, error)
- func (c *ClientWithResponses) CreateInvitationWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateInvitationResult, error)
- func (c *ClientWithResponses) CreateInvitationWithResponse(ctx context.Context, org OrgPath, body CreateInvitationJSONRequestBody, ...) (*CreateInvitationResult, error)
- func (c *ClientWithResponses) CreateJobWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateJobResult, error)
- func (c *ClientWithResponses) CreateJobWithResponse(ctx context.Context, org OrgPath, body CreateJobJSONRequestBody, ...) (*CreateJobResult, error)
- func (c *ClientWithResponses) CreateMaintenanceWindowWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateMaintenanceWindowResult, error)
- func (c *ClientWithResponses) CreateMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, body CreateMaintenanceWindowJSONRequestBody, ...) (*CreateMaintenanceWindowResult, error)
- func (c *ClientWithResponses) CreateMembershipRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateMembershipRequestResult, error)
- func (c *ClientWithResponses) CreateMembershipRequestWithResponse(ctx context.Context, body CreateMembershipRequestJSONRequestBody, ...) (*CreateMembershipRequestResult, error)
- func (c *ClientWithResponses) CreateMyTelegramLinkWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*CreateMyTelegramLinkResult, error)
- func (c *ClientWithResponses) CreateOncallOverrideWithBodyWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*CreateOncallOverrideResult, error)
- func (c *ClientWithResponses) CreateOncallOverrideWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*CreateOncallOverrideResult, error)
- func (c *ClientWithResponses) CreateOncallScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateOncallScheduleResult, error)
- func (c *ClientWithResponses) CreateOncallScheduleWithResponse(ctx context.Context, org OrgPath, body CreateOncallScheduleJSONRequestBody, ...) (*CreateOncallScheduleResult, error)
- func (c *ClientWithResponses) CreateOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateOrgResult, error)
- func (c *ClientWithResponses) CreateOrgWithResponse(ctx context.Context, body CreateOrgJSONRequestBody, ...) (*CreateOrgResult, error)
- func (c *ClientWithResponses) CreateReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateReportScheduleResult, error)
- func (c *ClientWithResponses) CreateReportScheduleWithResponse(ctx context.Context, org OrgPath, body CreateReportScheduleJSONRequestBody, ...) (*CreateReportScheduleResult, error)
- func (c *ClientWithResponses) CreateSeverityWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateSeverityResult, error)
- func (c *ClientWithResponses) CreateSeverityWithResponse(ctx context.Context, org OrgPath, body CreateSeverityJSONRequestBody, ...) (*CreateSeverityResult, error)
- func (c *ClientWithResponses) CreateSloWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateSloResult, error)
- func (c *ClientWithResponses) CreateSloWithResponse(ctx context.Context, org OrgPath, body CreateSloJSONRequestBody, ...) (*CreateSloResult, error)
- func (c *ClientWithResponses) CreateStatusPageEndpointSubscriberWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageEndpointSubscriberResult, error)
- func (c *ClientWithResponses) CreateStatusPageEndpointSubscriberWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageEndpointSubscriberResult, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageIncidentUpdateResult, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageIncidentUpdateResult, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageIncidentResult, error)
- func (c *ClientWithResponses) CreateStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageIncidentResult, error)
- func (c *ClientWithResponses) CreateStatusPageResourceWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageResourceResult, error)
- func (c *ClientWithResponses) CreateStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageResourceResult, error)
- func (c *ClientWithResponses) CreateStatusPageSectionWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageSectionResult, error)
- func (c *ClientWithResponses) CreateStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*CreateStatusPageSectionResult, error)
- func (c *ClientWithResponses) CreateStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateStatusPageResult, error)
- func (c *ClientWithResponses) CreateStatusPageWithResponse(ctx context.Context, org OrgPath, body CreateStatusPageJSONRequestBody, ...) (*CreateStatusPageResult, error)
- func (c *ClientWithResponses) CreateStatusUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateStatusUpdateResult, error)
- func (c *ClientWithResponses) CreateStatusUpdateWithResponse(ctx context.Context, org OrgPath, body CreateStatusUpdateJSONRequestBody, ...) (*CreateStatusUpdateResult, error)
- func (c *ClientWithResponses) CreateSupportMessageWithBodyWithResponse(ctx context.Context, uid string, contentType string, body io.Reader, ...) (*CreateSupportMessageResult, error)
- func (c *ClientWithResponses) CreateSupportMessageWithResponse(ctx context.Context, uid string, body CreateSupportMessageJSONRequestBody, ...) (*CreateSupportMessageResult, error)
- func (c *ClientWithResponses) CreateTokenWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*CreateTokenResult, error)
- func (c *ClientWithResponses) CreateTokenWithResponse(ctx context.Context, org OrgPath, body CreateTokenJSONRequestBody, ...) (*CreateTokenResult, error)
- func (c *ClientWithResponses) CustomDomainAllowedWithResponse(ctx context.Context, params *CustomDomainAllowedParams, ...) (*CustomDomainAllowedResult, error)
- func (c *ClientWithResponses) DeleteChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*DeleteChannelResult, error)
- func (c *ClientWithResponses) DeleteCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*DeleteCheckDependencyResult, error)
- func (c *ClientWithResponses) DeleteCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, ...) (*DeleteCheckGroupResult, error)
- func (c *ClientWithResponses) DeleteCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*DeleteCheckResult, error)
- func (c *ClientWithResponses) DeleteEmailSuppressionWithResponse(ctx context.Context, org OrgPath, uid EmailSuppressionUidPath, ...) (*DeleteEmailSuppressionResult, error)
- func (c *ClientWithResponses) DeleteEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*DeleteEscalationPolicyResult, error)
- func (c *ClientWithResponses) DeleteFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, ...) (*DeleteFileResult, error)
- func (c *ClientWithResponses) DeleteIntegrationIdentityWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*DeleteIntegrationIdentityResult, error)
- func (c *ClientWithResponses) DeleteInvitationWithResponse(ctx context.Context, org OrgPath, uid InvitationUidPath, ...) (*DeleteInvitationResult, error)
- func (c *ClientWithResponses) DeleteMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*DeleteMaintenanceWindowResult, error)
- func (c *ClientWithResponses) DeleteOncallOverrideWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*DeleteOncallOverrideResult, error)
- func (c *ClientWithResponses) DeleteOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*DeleteOncallScheduleResult, error)
- func (c *ClientWithResponses) DeleteOrgLogoWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*DeleteOrgLogoResult, error)
- func (c *ClientWithResponses) DeleteOrgWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*DeleteOrgResult, error)
- func (c *ClientWithResponses) DeleteOrgWithResponse(ctx context.Context, org OrgPath, body DeleteOrgJSONRequestBody, ...) (*DeleteOrgResult, error)
- func (c *ClientWithResponses) DeleteReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*DeleteReportScheduleResult, error)
- func (c *ClientWithResponses) DeleteSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, ...) (*DeleteSeverityResult, error)
- func (c *ClientWithResponses) DeleteSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*DeleteSloResult, error)
- func (c *ClientWithResponses) DeleteStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*DeleteStatusPageResourceResult, error)
- func (c *ClientWithResponses) DeleteStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*DeleteStatusPageSectionResult, error)
- func (c *ClientWithResponses) DeleteStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*DeleteStatusPageResult, error)
- func (c *ClientWithResponses) DeleteStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, ...) (*DeleteStatusUpdateResult, error)
- func (c *ClientWithResponses) DeleteSystemParameterWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteSystemParameterResult, error)
- func (c *ClientWithResponses) DisableOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*DisableOncallIcalFeedResult, error)
- func (c *ClientWithResponses) DismissDiscoveredCheckWithResponse(ctx context.Context, org OrgPath, uid string, reqEditors ...RequestEditorFn) (*DismissDiscoveredCheckResult, error)
- func (c *ClientWithResponses) DismissDiscoveredGroupWithResponse(ctx context.Context, org OrgPath, params *DismissDiscoveredGroupParams, ...) (*DismissDiscoveredGroupResult, error)
- func (c *ClientWithResponses) DownloadFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, ...) (*DownloadFileResult, error)
- func (c *ClientWithResponses) EnableOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*EnableOncallIcalFeedResult, error)
- func (c *ClientWithResponses) GenerateStatusPageKioskTokenWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*GenerateStatusPageKioskTokenResult, error)
- func (c *ClientWithResponses) GetActivationFunnelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetActivationFunnelResult, error)
- func (c *ClientWithResponses) GetAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, params *GetAdminEntitlementsParams, ...) (*GetAdminEntitlementsResult, error)
- func (c *ClientWithResponses) GetAdminJobChainWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*GetAdminJobChainResult, error)
- func (c *ClientWithResponses) GetAdminJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*GetAdminJobResult, error)
- func (c *ClientWithResponses) GetBadgeWithResponse(ctx context.Context, org OrgPath, check string, format GetBadgeParamsFormat, ...) (*GetBadgeResult, error)
- func (c *ClientWithResponses) GetChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*GetChannelResult, error)
- func (c *ClientWithResponses) GetCheckAvailabilityBucketsWithResponse(ctx context.Context, org OrgPath, check string, ...) (*GetCheckAvailabilityBucketsResult, error)
- func (c *ClientWithResponses) GetCheckAvailabilityWithResponse(ctx context.Context, org OrgPath, check string, ...) (*GetCheckAvailabilityResult, error)
- func (c *ClientWithResponses) GetCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, ...) (*GetCheckGroupResult, error)
- func (c *ClientWithResponses) GetCheckJobWithResponse(ctx context.Context, org OrgPath, uid CheckJobUidPath, ...) (*GetCheckJobResult, error)
- func (c *ClientWithResponses) GetCheckStatsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetCheckStatsResult, error)
- func (c *ClientWithResponses) GetCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*GetCheckResult, error)
- func (c *ClientWithResponses) GetCostDistributionWithResponse(ctx context.Context, params *GetCostDistributionParams, ...) (*GetCostDistributionResult, error)
- func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResult, error)
- func (c *ClientWithResponses) GetDeviceConsentWithResponse(ctx context.Context, params *GetDeviceConsentParams, ...) (*GetDeviceConsentResult, error)
- func (c *ClientWithResponses) GetDiscoveryScanWithResponse(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, ...) (*GetDiscoveryScanResult, error)
- func (c *ClientWithResponses) GetEmailInboxConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmailInboxConfigResult, error)
- func (c *ClientWithResponses) GetEmailInboxStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmailInboxStatusResult, error)
- func (c *ClientWithResponses) GetEmbedWidgetV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmbedWidgetV1Result, error)
- func (c *ClientWithResponses) GetEntitlementsWithResponse(ctx context.Context, org OrgPath, params *GetEntitlementsParams, ...) (*GetEntitlementsResult, error)
- func (c *ClientWithResponses) GetEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*GetEscalationPolicyResult, error)
- func (c *ClientWithResponses) GetFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, ...) (*GetFileResult, error)
- func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResult, error)
- func (c *ClientWithResponses) GetIncidentNotificationWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*GetIncidentNotificationResult, error)
- func (c *ClientWithResponses) GetIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*GetIncidentResult, error)
- func (c *ClientWithResponses) GetInviteWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*GetInviteResult, error)
- func (c *ClientWithResponses) GetJobStatsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetJobStatsResult, error)
- func (c *ClientWithResponses) GetJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, ...) (*GetJobResult, error)
- func (c *ClientWithResponses) GetLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLimitsResult, error)
- func (c *ClientWithResponses) GetMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*GetMaintenanceWindowResult, error)
- func (c *ClientWithResponses) GetMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*GetMemberResult, error)
- func (c *ClientWithResponses) GetMemoryWithResponse(ctx context.Context, params *GetMemoryParams, reqEditors ...RequestEditorFn) (*GetMemoryResult, error)
- func (c *ClientWithResponses) GetNotificationWithResponse(ctx context.Context, org OrgPath, notifUid NotificationUidPath, ...) (*GetNotificationResult, error)
- func (c *ClientWithResponses) GetOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*GetOncallScheduleResult, error)
- func (c *ClientWithResponses) GetOrgDependencyGraphWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetOrgDependencyGraphResult, error)
- func (c *ClientWithResponses) GetOrgResultWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*GetOrgResultResult, error)
- func (c *ClientWithResponses) GetOrgSettingsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetOrgSettingsResult, error)
- func (c *ClientWithResponses) GetPublicConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicConfigResult, error)
- func (c *ClientWithResponses) GetRegionHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRegionHealthResult, error)
- func (c *ClientWithResponses) GetReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*GetReportScheduleResult, error)
- func (c *ClientWithResponses) GetSchedulingLaneLoadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulingLaneLoadResult, error)
- func (c *ClientWithResponses) GetSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, ...) (*GetSeverityResult, error)
- func (c *ClientWithResponses) GetSloAlertPolicyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*GetSloAlertPolicyResult, error)
- func (c *ClientWithResponses) GetSloBurndownWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*GetSloBurndownResult, error)
- func (c *ClientWithResponses) GetSloHistoryWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams, ...) (*GetSloHistoryResult, error)
- func (c *ClientWithResponses) GetSloStatusWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*GetSloStatusResult, error)
- func (c *ClientWithResponses) GetSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*GetSloResult, error)
- func (c *ClientWithResponses) GetStatusPageBadgeWithResponse(ctx context.Context, org OrgPath, slug string, ...) (*GetStatusPageBadgeResult, error)
- func (c *ClientWithResponses) GetStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*GetStatusPageIncidentResult, error)
- func (c *ClientWithResponses) GetStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*GetStatusPageSectionResult, error)
- func (c *ClientWithResponses) GetStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*GetStatusPageResult, error)
- func (c *ClientWithResponses) GetStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, ...) (*GetStatusUpdateResult, error)
- func (c *ClientWithResponses) GetSupportThreadWithResponse(ctx context.Context, uid string, reqEditors ...RequestEditorFn) (*GetSupportThreadResult, error)
- func (c *ClientWithResponses) GetSystemCheckJobWithResponse(ctx context.Context, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*GetSystemCheckJobResult, error)
- func (c *ClientWithResponses) GetSystemJobChainWithResponse(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetSystemJobChainResult, error)
- func (c *ClientWithResponses) GetSystemJobStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemJobStatsResult, error)
- func (c *ClientWithResponses) GetSystemJobWithResponse(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetSystemJobResult, error)
- func (c *ClientWithResponses) GetSystemParameterWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetSystemParameterResult, error)
- func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResult, error)
- func (c *ClientWithResponses) ListAdminEntitlementsWithResponse(ctx context.Context, params *ListAdminEntitlementsParams, ...) (*ListAdminEntitlementsResult, error)
- func (c *ClientWithResponses) ListAdminJobsWithResponse(ctx context.Context, org OrgPath, params *ListAdminJobsParams, ...) (*ListAdminJobsResult, error)
- func (c *ClientWithResponses) ListAllTokensWithResponse(ctx context.Context, params *ListAllTokensParams, ...) (*ListAllTokensResult, error)
- func (c *ClientWithResponses) ListAuthProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuthProvidersResult, error)
- func (c *ClientWithResponses) ListChannelsWithResponse(ctx context.Context, org OrgPath, params *ListChannelsParams, ...) (*ListChannelsResult, error)
- func (c *ClientWithResponses) ListCheckChannelsWithResponse(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*ListCheckChannelsResult, error)
- func (c *ClientWithResponses) ListCheckDependenciesWithResponse(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*ListCheckDependenciesResult, error)
- func (c *ClientWithResponses) ListCheckEventsWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*ListCheckEventsResult, error)
- func (c *ClientWithResponses) ListCheckGroupsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListCheckGroupsResult, error)
- func (c *ClientWithResponses) ListCheckJobsWithResponse(ctx context.Context, org OrgPath, params *ListCheckJobsParams, ...) (*ListCheckJobsResult, error)
- func (c *ClientWithResponses) ListCheckTypeSamplesWithResponse(ctx context.Context, params *ListCheckTypeSamplesParams, ...) (*ListCheckTypeSamplesResult, error)
- func (c *ClientWithResponses) ListCheckTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCheckTypesResult, error)
- func (c *ClientWithResponses) ListChecksWithResponse(ctx context.Context, org OrgPath, params *ListChecksParams, ...) (*ListChecksResult, error)
- func (c *ClientWithResponses) ListDiscoveredChecksWithResponse(ctx context.Context, org OrgPath, params *ListDiscoveredChecksParams, ...) (*ListDiscoveredChecksResult, error)
- func (c *ClientWithResponses) ListDiscoveryScansWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListDiscoveryScansResult, error)
- func (c *ClientWithResponses) ListDiscoveryTypesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListDiscoveryTypesResult, error)
- func (c *ClientWithResponses) ListEmailSuppressionsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListEmailSuppressionsResult, error)
- func (c *ClientWithResponses) ListEntitlementsAuditsWithResponse(ctx context.Context, org OrgPath, params *ListEntitlementsAuditsParams, ...) (*ListEntitlementsAuditsResult, error)
- func (c *ClientWithResponses) ListEscalationPoliciesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListEscalationPoliciesResult, error)
- func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, org OrgPath, params *ListEventsParams, ...) (*ListEventsResult, error)
- func (c *ClientWithResponses) ListFilesWithResponse(ctx context.Context, org OrgPath, params *ListFilesParams, ...) (*ListFilesResult, error)
- func (c *ClientWithResponses) ListIncidentEventsWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*ListIncidentEventsResult, error)
- func (c *ClientWithResponses) ListIncidentNotificationsWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*ListIncidentNotificationsResult, error)
- func (c *ClientWithResponses) ListIncidentPublicationsWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*ListIncidentPublicationsResult, error)
- func (c *ClientWithResponses) ListIncidentsWithResponse(ctx context.Context, org OrgPath, params *ListIncidentsParams, ...) (*ListIncidentsResult, error)
- func (c *ClientWithResponses) ListIntegrationIdentitiesWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*ListIntegrationIdentitiesResult, error)
- func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListInvitationsResult, error)
- func (c *ClientWithResponses) ListJobsWithResponse(ctx context.Context, org OrgPath, params *ListJobsParams, ...) (*ListJobsResult, error)
- func (c *ClientWithResponses) ListLabelsWithResponse(ctx context.Context, org OrgPath, params *ListLabelsParams, ...) (*ListLabelsResult, error)
- func (c *ClientWithResponses) ListMaintenanceWindowChecksWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*ListMaintenanceWindowChecksResult, error)
- func (c *ClientWithResponses) ListMaintenanceWindowsWithResponse(ctx context.Context, org OrgPath, params *ListMaintenanceWindowsParams, ...) (*ListMaintenanceWindowsResult, error)
- func (c *ClientWithResponses) ListMemberCoverageWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMemberCoverageResult, error)
- func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMembersResult, error)
- func (c *ClientWithResponses) ListMyMembershipRequestsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMyMembershipRequestsResult, error)
- func (c *ClientWithResponses) ListMyNotificationRoutesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMyNotificationRoutesResult, error)
- func (c *ClientWithResponses) ListMyNotificationsWithResponse(ctx context.Context, org OrgPath, params *ListMyNotificationsParams, ...) (*ListMyNotificationsResult, error)
- func (c *ClientWithResponses) ListNotificationsWithResponse(ctx context.Context, org OrgPath, params *ListNotificationsParams, ...) (*ListNotificationsResult, error)
- func (c *ClientWithResponses) ListOncallOverridesWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*ListOncallOverridesResult, error)
- func (c *ClientWithResponses) ListOncallSchedulesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListOncallSchedulesResult, error)
- func (c *ClientWithResponses) ListOrgMembershipRequestsWithResponse(ctx context.Context, org OrgPath, params *ListOrgMembershipRequestsParams, ...) (*ListOrgMembershipRequestsResult, error)
- func (c *ClientWithResponses) ListOrgResultsWithResponse(ctx context.Context, org OrgPath, params *ListOrgResultsParams, ...) (*ListOrgResultsResult, error)
- func (c *ClientWithResponses) ListOrgTokensWithResponse(ctx context.Context, org OrgPath, params *ListOrgTokensParams, ...) (*ListOrgTokensResult, error)
- func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListRegionsResult, error)
- func (c *ClientWithResponses) ListReportSchedulesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListReportSchedulesResult, error)
- func (c *ClientWithResponses) ListSeveritiesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListSeveritiesResult, error)
- func (c *ClientWithResponses) ListSloAlertPoliciesWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*ListSloAlertPoliciesResult, error)
- func (c *ClientWithResponses) ListSlosWithResponse(ctx context.Context, org OrgPath, params *ListSlosParams, ...) (*ListSlosResult, error)
- func (c *ClientWithResponses) ListStatusPageIncidentsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ListStatusPageIncidentsResult, error)
- func (c *ClientWithResponses) ListStatusPageResourcesWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ListStatusPageResourcesResult, error)
- func (c *ClientWithResponses) ListStatusPageSectionsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ListStatusPageSectionsResult, error)
- func (c *ClientWithResponses) ListStatusPageSubscribersWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ListStatusPageSubscribersResult, error)
- func (c *ClientWithResponses) ListStatusPagesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListStatusPagesResult, error)
- func (c *ClientWithResponses) ListStatusUpdatesWithResponse(ctx context.Context, org OrgPath, params *ListStatusUpdatesParams, ...) (*ListStatusUpdatesResult, error)
- func (c *ClientWithResponses) ListSupportMessagesWithResponse(ctx context.Context, uid string, params *ListSupportMessagesParams, ...) (*ListSupportMessagesResult, error)
- func (c *ClientWithResponses) ListSupportThreadsWithResponse(ctx context.Context, params *ListSupportThreadsParams, ...) (*ListSupportThreadsResult, error)
- func (c *ClientWithResponses) ListSystemCheckJobsWithResponse(ctx context.Context, params *ListSystemCheckJobsParams, ...) (*ListSystemCheckJobsResult, error)
- func (c *ClientWithResponses) ListSystemJobsWithResponse(ctx context.Context, params *ListSystemJobsParams, ...) (*ListSystemJobsResult, error)
- func (c *ClientWithResponses) ListSystemParametersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSystemParametersResult, error)
- func (c *ClientWithResponses) ListUserNotificationsWithResponse(ctx context.Context, org OrgPath, uid UserUidPath, ...) (*ListUserNotificationsResult, error)
- func (c *ClientWithResponses) LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LoginResult, error)
- func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResult, error)
- func (c *ClientWithResponses) LogoutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LogoutResult, error)
- func (c *ClientWithResponses) LogoutWithResponse(ctx context.Context, body LogoutJSONRequestBody, reqEditors ...RequestEditorFn) (*LogoutResult, error)
- func (c *ClientWithResponses) MigrateRegionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MigrateRegionResult, error)
- func (c *ClientWithResponses) MigrateRegionWithResponse(ctx context.Context, body MigrateRegionJSONRequestBody, ...) (*MigrateRegionResult, error)
- func (c *ClientWithResponses) PatchEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*PatchEntitlementsResult, error)
- func (c *ClientWithResponses) PatchEntitlementsWithResponse(ctx context.Context, org OrgPath, body PatchEntitlementsJSONRequestBody, ...) (*PatchEntitlementsResult, error)
- func (c *ClientWithResponses) PollDeviceTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PollDeviceTokenResult, error)
- func (c *ClientWithResponses) PollDeviceTokenWithResponse(ctx context.Context, body PollDeviceTokenJSONRequestBody, ...) (*PollDeviceTokenResult, error)
- func (c *ClientWithResponses) PreviewOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*PreviewOncallScheduleResult, error)
- func (c *ClientWithResponses) PromoteDiscoveredChecksWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*PromoteDiscoveredChecksResult, error)
- func (c *ClientWithResponses) PromoteDiscoveredChecksWithResponse(ctx context.Context, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody, ...) (*PromoteDiscoveredChecksResult, error)
- func (c *ClientWithResponses) PublishIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*PublishIncidentResult, error)
- func (c *ClientWithResponses) PublishIncidentWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*PublishIncidentResult, error)
- func (c *ClientWithResponses) RefreshTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RefreshTokenResult, error)
- func (c *ClientWithResponses) RefreshTokenWithResponse(ctx context.Context, body RefreshTokenJSONRequestBody, ...) (*RefreshTokenResult, error)
- func (c *ClientWithResponses) RegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RegisterResult, error)
- func (c *ClientWithResponses) RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, ...) (*RegisterResult, error)
- func (c *ClientWithResponses) RejectMembershipRequestWithBodyWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*RejectMembershipRequestResult, error)
- func (c *ClientWithResponses) RejectMembershipRequestWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, ...) (*RejectMembershipRequestResult, error)
- func (c *ClientWithResponses) ReleaseAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ReleaseAdminEntitlementsResult, error)
- func (c *ClientWithResponses) RemoveCheckChannelWithResponse(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, ...) (*RemoveCheckChannelResult, error)
- func (c *ClientWithResponses) RemoveMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*RemoveMemberResult, error)
- func (c *ClientWithResponses) RemoveMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*RemoveMyNotificationContactResult, error)
- func (c *ClientWithResponses) RemoveStatusPageSubscriberWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*RemoveStatusPageSubscriberResult, error)
- func (c *ClientWithResponses) ReorderStatusPageResourcesWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ReorderStatusPageResourcesResult, error)
- func (c *ClientWithResponses) ReorderStatusPageResourcesWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ReorderStatusPageResourcesResult, error)
- func (c *ClientWithResponses) ReorderStatusPageSectionsWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ReorderStatusPageSectionsResult, error)
- func (c *ClientWithResponses) ReorderStatusPageSectionsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*ReorderStatusPageSectionsResult, error)
- func (c *ClientWithResponses) RequestPasswordResetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RequestPasswordResetResult, error)
- func (c *ClientWithResponses) RequestPasswordResetWithResponse(ctx context.Context, body RequestPasswordResetJSONRequestBody, ...) (*RequestPasswordResetResult, error)
- func (c *ClientWithResponses) ResendSupportMessageWithResponse(ctx context.Context, uid string, messageUid string, ...) (*ResendSupportMessageResult, error)
- func (c *ClientWithResponses) ResetPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ResetPasswordResult, error)
- func (c *ClientWithResponses) ResetPasswordWithResponse(ctx context.Context, body ResetPasswordJSONRequestBody, ...) (*ResetPasswordResult, error)
- func (c *ClientWithResponses) ResolveIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*ResolveIncidentResult, error)
- func (c *ClientWithResponses) ResolveIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*ResolveIncidentResult, error)
- func (c *ClientWithResponses) RespondToDeviceConsentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RespondToDeviceConsentResult, error)
- func (c *ClientWithResponses) RespondToDeviceConsentWithResponse(ctx context.Context, body RespondToDeviceConsentJSONRequestBody, ...) (*RespondToDeviceConsentResult, error)
- func (c *ClientWithResponses) RevokeStatusPageKioskTokenWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*RevokeStatusPageKioskTokenResult, error)
- func (c *ClientWithResponses) RevokeTokenWithResponse(ctx context.Context, tokenUid TokenUidPath, reqEditors ...RequestEditorFn) (*RevokeTokenResult, error)
- func (c *ClientWithResponses) RotateChannelSecretWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*RotateChannelSecretResult, error)
- func (c *ClientWithResponses) RotateHeartbeatTokenWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*RotateHeartbeatTokenResult, error)
- func (c *ClientWithResponses) RotateOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*RotateOncallIcalFeedResult, error)
- func (c *ClientWithResponses) SendMemberPagingNudgeWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*SendMemberPagingNudgeResult, error)
- func (c *ClientWithResponses) SendTestEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SendTestEmailResult, error)
- func (c *ClientWithResponses) SendTestEmailWithResponse(ctx context.Context, body SendTestEmailJSONRequestBody, ...) (*SendTestEmailResult, error)
- func (c *ClientWithResponses) SetAdminEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*SetAdminEntitlementsResult, error)
- func (c *ClientWithResponses) SetAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, body SetAdminEntitlementsJSONRequestBody, ...) (*SetAdminEntitlementsResult, error)
- func (c *ClientWithResponses) SetCheckChannelsWithBodyWithResponse(ctx context.Context, org OrgPath, check string, contentType string, ...) (*SetCheckChannelsResult, error)
- func (c *ClientWithResponses) SetCheckChannelsWithResponse(ctx context.Context, org OrgPath, check string, ...) (*SetCheckChannelsResult, error)
- func (c *ClientWithResponses) SetEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*SetEntitlementsResult, error)
- func (c *ClientWithResponses) SetEntitlementsWithResponse(ctx context.Context, org OrgPath, body SetEntitlementsJSONRequestBody, ...) (*SetEntitlementsResult, error)
- func (c *ClientWithResponses) SetIntegrationIdentityWithBodyWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*SetIntegrationIdentityResult, error)
- func (c *ClientWithResponses) SetIntegrationIdentityWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*SetIntegrationIdentityResult, error)
- func (c *ClientWithResponses) SetMaintenanceWindowChecksWithBodyWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*SetMaintenanceWindowChecksResult, error)
- func (c *ClientWithResponses) SetMaintenanceWindowChecksWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*SetMaintenanceWindowChecksResult, error)
- func (c *ClientWithResponses) SetSystemParameterWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, ...) (*SetSystemParameterResult, error)
- func (c *ClientWithResponses) SetSystemParameterWithResponse(ctx context.Context, key string, body SetSystemParameterJSONRequestBody, ...) (*SetSystemParameterResult, error)
- func (c *ClientWithResponses) SnoozeIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, ...) (*SnoozeIncidentResult, error)
- func (c *ClientWithResponses) SnoozeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*SnoozeIncidentResult, error)
- func (c *ClientWithResponses) StartDeviceAuthorizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartDeviceAuthorizationResult, error)
- func (c *ClientWithResponses) StartDeviceAuthorizationWithResponse(ctx context.Context, body StartDeviceAuthorizationJSONRequestBody, ...) (*StartDeviceAuthorizationResult, error)
- func (c *ClientWithResponses) StartDiscoveryScanWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*StartDiscoveryScanResult, error)
- func (c *ClientWithResponses) StartDiscoveryScanWithResponse(ctx context.Context, org OrgPath, body StartDiscoveryScanJSONRequestBody, ...) (*StartDiscoveryScanResult, error)
- func (c *ClientWithResponses) StatusPageFeedWithResponse(ctx context.Context, org OrgPath, slug string, reqEditors ...RequestEditorFn) (*StatusPageFeedResult, error)
- func (c *ClientWithResponses) SubscribeToStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*SubscribeToStatusPageResult, error)
- func (c *ClientWithResponses) SubscribeToStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*SubscribeToStatusPageResult, error)
- func (c *ClientWithResponses) SwitchOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SwitchOrgResult, error)
- func (c *ClientWithResponses) SwitchOrgWithResponse(ctx context.Context, body SwitchOrgJSONRequestBody, ...) (*SwitchOrgResult, error)
- func (c *ClientWithResponses) SyncEmailInboxWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SyncEmailInboxResult, error)
- func (c *ClientWithResponses) SyncIntegrationIdentitiesWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*SyncIntegrationIdentitiesResult, error)
- func (c *ClientWithResponses) TestChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*TestChannelResult, error)
- func (c *ClientWithResponses) TestEmailInboxWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestEmailInboxResult, error)
- func (c *ClientWithResponses) TestMyNotificationRouteWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, ...) (*TestMyNotificationRouteResult, error)
- func (c *ClientWithResponses) TestReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*TestReportScheduleResult, error)
- func (c *ClientWithResponses) TestReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*TestReportScheduleResult, error)
- func (c *ClientWithResponses) UnacknowledgeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*UnacknowledgeIncidentResult, error)
- func (c *ClientWithResponses) UnlockDefaultStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*UnlockDefaultStatusPageResult, error)
- func (c *ClientWithResponses) UnlockDefaultStatusPageWithResponse(ctx context.Context, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody, ...) (*UnlockDefaultStatusPageResult, error)
- func (c *ClientWithResponses) UnlockStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, slug string, contentType string, ...) (*UnlockStatusPageResult, error)
- func (c *ClientWithResponses) UnlockStatusPageWithResponse(ctx context.Context, org OrgPath, slug string, ...) (*UnlockStatusPageResult, error)
- func (c *ClientWithResponses) UnpublishIncidentWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, ...) (*UnpublishIncidentResult, error)
- func (c *ClientWithResponses) UnsnoozeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, ...) (*UnsnoozeIncidentResult, error)
- func (c *ClientWithResponses) UpdateChannelWithBodyWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, contentType string, ...) (*UpdateChannelResult, error)
- func (c *ClientWithResponses) UpdateChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, ...) (*UpdateChannelResult, error)
- func (c *ClientWithResponses) UpdateCheckDependencyWithBodyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*UpdateCheckDependencyResult, error)
- func (c *ClientWithResponses) UpdateCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, ...) (*UpdateCheckDependencyResult, error)
- func (c *ClientWithResponses) UpdateCheckGroupWithBodyWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, contentType string, ...) (*UpdateCheckGroupResult, error)
- func (c *ClientWithResponses) UpdateCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, ...) (*UpdateCheckGroupResult, error)
- func (c *ClientWithResponses) UpdateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, ...) (*UpdateCheckResult, error)
- func (c *ClientWithResponses) UpdateCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, ...) (*UpdateCheckResult, error)
- func (c *ClientWithResponses) UpdateEscalationPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*UpdateEscalationPolicyResult, error)
- func (c *ClientWithResponses) UpdateEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, ...) (*UpdateEscalationPolicyResult, error)
- func (c *ClientWithResponses) UpdateMaintenanceWindowWithBodyWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*UpdateMaintenanceWindowResult, error)
- func (c *ClientWithResponses) UpdateMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, ...) (*UpdateMaintenanceWindowResult, error)
- func (c *ClientWithResponses) UpdateMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateMeResult, error)
- func (c *ClientWithResponses) UpdateMeWithResponse(ctx context.Context, body UpdateMeJSONRequestBody, ...) (*UpdateMeResult, error)
- func (c *ClientWithResponses) UpdateMemberWithBodyWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, ...) (*UpdateMemberResult, error)
- func (c *ClientWithResponses) UpdateMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, ...) (*UpdateMemberResult, error)
- func (c *ClientWithResponses) UpdateMyNotificationRouteWithBodyWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, contentType string, ...) (*UpdateMyNotificationRouteResult, error)
- func (c *ClientWithResponses) UpdateMyNotificationRouteWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, ...) (*UpdateMyNotificationRouteResult, error)
- func (c *ClientWithResponses) UpdateOncallScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*UpdateOncallScheduleResult, error)
- func (c *ClientWithResponses) UpdateOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, ...) (*UpdateOncallScheduleResult, error)
- func (c *ClientWithResponses) UpdateOrgProfileWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*UpdateOrgProfileResult, error)
- func (c *ClientWithResponses) UpdateOrgProfileWithResponse(ctx context.Context, org OrgPath, body UpdateOrgProfileJSONRequestBody, ...) (*UpdateOrgProfileResult, error)
- func (c *ClientWithResponses) UpdateOrgSettingsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*UpdateOrgSettingsResult, error)
- func (c *ClientWithResponses) UpdateOrgSettingsWithResponse(ctx context.Context, org OrgPath, body UpdateOrgSettingsJSONRequestBody, ...) (*UpdateOrgSettingsResult, error)
- func (c *ClientWithResponses) UpdateReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*UpdateReportScheduleResult, error)
- func (c *ClientWithResponses) UpdateReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, ...) (*UpdateReportScheduleResult, error)
- func (c *ClientWithResponses) UpdateSeverityWithBodyWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, contentType string, ...) (*UpdateSeverityResult, error)
- func (c *ClientWithResponses) UpdateSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, ...) (*UpdateSeverityResult, error)
- func (c *ClientWithResponses) UpdateSloAlertPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*UpdateSloAlertPolicyResult, error)
- func (c *ClientWithResponses) UpdateSloAlertPolicyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*UpdateSloAlertPolicyResult, error)
- func (c *ClientWithResponses) UpdateSloWithBodyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, contentType string, ...) (*UpdateSloResult, error)
- func (c *ClientWithResponses) UpdateSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, ...) (*UpdateSloResult, error)
- func (c *ClientWithResponses) UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageIncidentResult, error)
- func (c *ClientWithResponses) UpdateStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageIncidentResult, error)
- func (c *ClientWithResponses) UpdateStatusPageResourceWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageResourceResult, error)
- func (c *ClientWithResponses) UpdateStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageResourceResult, error)
- func (c *ClientWithResponses) UpdateStatusPageSectionWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageSectionResult, error)
- func (c *ClientWithResponses) UpdateStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageSectionResult, error)
- func (c *ClientWithResponses) UpdateStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageResult, error)
- func (c *ClientWithResponses) UpdateStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*UpdateStatusPageResult, error)
- func (c *ClientWithResponses) UpdateStatusUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, contentType string, ...) (*UpdateStatusUpdateResult, error)
- func (c *ClientWithResponses) UpdateStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, ...) (*UpdateStatusUpdateResult, error)
- func (c *ClientWithResponses) UpdateSupportThreadWithBodyWithResponse(ctx context.Context, uid string, contentType string, body io.Reader, ...) (*UpdateSupportThreadResult, error)
- func (c *ClientWithResponses) UpdateSupportThreadWithResponse(ctx context.Context, uid string, body UpdateSupportThreadJSONRequestBody, ...) (*UpdateSupportThreadResult, error)
- func (c *ClientWithResponses) UploadOrgLogoWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*UploadOrgLogoResult, error)
- func (c *ClientWithResponses) UpsertCheckWithBodyWithResponse(ctx context.Context, org OrgPath, slug string, contentType string, ...) (*UpsertCheckResult, error)
- func (c *ClientWithResponses) UpsertCheckWithResponse(ctx context.Context, org OrgPath, slug string, body UpsertCheckJSONRequestBody, ...) (*UpsertCheckResult, error)
- func (c *ClientWithResponses) ValidateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, ...) (*ValidateCheckResult, error)
- func (c *ClientWithResponses) ValidateCheckWithResponse(ctx context.Context, org OrgPath, body ValidateCheckJSONRequestBody, ...) (*ValidateCheckResult, error)
- func (c *ClientWithResponses) VerifyMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, ...) (*VerifyMyNotificationContactResult, error)
- func (c *ClientWithResponses) VerifyStatusPageCustomDomainWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, ...) (*VerifyStatusPageCustomDomainResult, error)
- func (c *ClientWithResponses) ViewDefaultStatusPageWithResponse(ctx context.Context, org OrgPath, params *ViewDefaultStatusPageParams, ...) (*ViewDefaultStatusPageResult, error)
- func (c *ClientWithResponses) ViewPublicStatusPageIncidentsWithResponse(ctx context.Context, org OrgPath, slug string, ...) (*ViewPublicStatusPageIncidentsResult, error)
- func (c *ClientWithResponses) ViewStatusPageSummaryWithResponse(ctx context.Context, org OrgPath, slug string, ...) (*ViewStatusPageSummaryResult, error)
- func (c *ClientWithResponses) ViewStatusPageWithResponse(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageParams, ...) (*ViewStatusPageResult, error)
- type ClientWithResponsesInterface
- type CloneCheckJSONRequestBody
- type CloneCheckRequest
- type CloneCheckResult
- func (r CloneCheckResult) ContentType() string
- func (r CloneCheckResult) GetBody() []byte
- func (r CloneCheckResult) GetJSON201() *Check
- func (r CloneCheckResult) GetJSON404() *NotFound
- func (r CloneCheckResult) GetJSON409() *Error
- func (r CloneCheckResult) GetJSON422() *ValidationError
- func (r CloneCheckResult) Status() string
- func (r CloneCheckResult) StatusCode() int
- type Config
- type ConfirmMyNotificationContactJSONBody
- type ConfirmMyNotificationContactJSONRequestBody
- type ConfirmMyNotificationContactResult
- func (r ConfirmMyNotificationContactResult) ContentType() string
- func (r ConfirmMyNotificationContactResult) GetBody() []byte
- func (r ConfirmMyNotificationContactResult) GetJSON400() *ValidationError
- func (r ConfirmMyNotificationContactResult) GetJSON401() *Unauthorized
- func (r ConfirmMyNotificationContactResult) GetJSON404() *NotFound
- func (r ConfirmMyNotificationContactResult) Status() string
- func (r ConfirmMyNotificationContactResult) StatusCode() int
- type ConfirmRegistrationJSONRequestBody
- type ConfirmRegistrationRequest
- type ConfirmRegistrationResult
- func (r ConfirmRegistrationResult) ContentType() string
- func (r ConfirmRegistrationResult) GetBody() []byte
- func (r ConfirmRegistrationResult) GetJSON200() *LoginResponse
- func (r ConfirmRegistrationResult) GetJSON400() *ValidationError
- func (r ConfirmRegistrationResult) Status() string
- func (r ConfirmRegistrationResult) StatusCode() int
- type Conflict
- type ContactUidPath
- type CostDistribution
- type CostDistributionPercentiles
- type CostDistributionResponse
- type CreateChannelJSONRequestBody
- type CreateChannelRequest
- type CreateChannelResult
- func (r CreateChannelResult) ContentType() string
- func (r CreateChannelResult) GetBody() []byte
- func (r CreateChannelResult) GetJSON201() *Channel
- func (r CreateChannelResult) GetJSON400() *ValidationError
- func (r CreateChannelResult) GetJSON401() *Unauthorized
- func (r CreateChannelResult) GetJSON403() *Forbidden
- func (r CreateChannelResult) GetJSON404() *NotFound
- func (r CreateChannelResult) Status() string
- func (r CreateChannelResult) StatusCode() int
- type CreateCheckDependencyJSONRequestBody
- type CreateCheckDependencyResult
- func (r CreateCheckDependencyResult) ContentType() string
- func (r CreateCheckDependencyResult) GetBody() []byte
- func (r CreateCheckDependencyResult) GetJSON201() *Dependency
- func (r CreateCheckDependencyResult) GetJSON400() *ValidationError
- func (r CreateCheckDependencyResult) GetJSON404() *NotFound
- func (r CreateCheckDependencyResult) GetJSON409() *Error
- func (r CreateCheckDependencyResult) Status() string
- func (r CreateCheckDependencyResult) StatusCode() int
- type CreateCheckGroupJSONRequestBody
- type CreateCheckGroupRequest
- type CreateCheckGroupResult
- func (r CreateCheckGroupResult) ContentType() string
- func (r CreateCheckGroupResult) GetBody() []byte
- func (r CreateCheckGroupResult) GetJSON201() *CheckGroup
- func (r CreateCheckGroupResult) GetJSON400() *ValidationError
- func (r CreateCheckGroupResult) GetJSON401() *Unauthorized
- func (r CreateCheckGroupResult) GetJSON404() *NotFound
- func (r CreateCheckGroupResult) Status() string
- func (r CreateCheckGroupResult) StatusCode() int
- type CreateCheckJSONRequestBody
- type CreateCheckRequest
- type CreateCheckRequestTracerouteOnFailure
- type CreateCheckRequestType
- type CreateCheckResult
- func (r CreateCheckResult) ContentType() string
- func (r CreateCheckResult) GetBody() []byte
- func (r CreateCheckResult) GetJSON201() *Check
- func (r CreateCheckResult) GetJSON400() *Error
- func (r CreateCheckResult) GetJSON422() *ValidationError
- func (r CreateCheckResult) Status() string
- func (r CreateCheckResult) StatusCode() int
- type CreateDependencyBody
- type CreateDependencyRequest
- type CreateDependencyRequestKind
- type CreateEscalationPolicyJSONRequestBody
- type CreateEscalationPolicyRequest
- type CreateEscalationPolicyResult
- func (r CreateEscalationPolicyResult) ContentType() string
- func (r CreateEscalationPolicyResult) GetBody() []byte
- func (r CreateEscalationPolicyResult) GetJSON201() *EscalationPolicy
- func (r CreateEscalationPolicyResult) GetJSON400() *ValidationError
- func (r CreateEscalationPolicyResult) GetJSON401() *Unauthorized
- func (r CreateEscalationPolicyResult) GetJSON404() *NotFound
- func (r CreateEscalationPolicyResult) Status() string
- func (r CreateEscalationPolicyResult) StatusCode() int
- type CreateIncidentPublicationRequest
- type CreateIncidentPublicationRequestSeverity
- type CreateIncidentPublicationRequestState
- type CreateInvitationJSONRequestBody
- type CreateInvitationRequest
- type CreateInvitationRequestApp
- type CreateInvitationRequestExpiresIn
- type CreateInvitationRequestRole
- type CreateInvitationResult
- func (r CreateInvitationResult) ContentType() string
- func (r CreateInvitationResult) GetBody() []byte
- func (r CreateInvitationResult) GetJSON201() *InviteResponse
- func (r CreateInvitationResult) GetJSON400() *ValidationError
- func (r CreateInvitationResult) GetJSON401() *Unauthorized
- func (r CreateInvitationResult) GetJSON403() *Forbidden
- func (r CreateInvitationResult) GetJSON404() *NotFound
- func (r CreateInvitationResult) Status() string
- func (r CreateInvitationResult) StatusCode() int
- type CreateJobJSONRequestBody
- type CreateJobRequest
- type CreateJobResult
- func (r CreateJobResult) ContentType() string
- func (r CreateJobResult) GetBody() []byte
- func (r CreateJobResult) GetJSON201() *JobResponse
- func (r CreateJobResult) GetJSON400() *ValidationError
- func (r CreateJobResult) GetJSON403() *Error
- func (r CreateJobResult) Status() string
- func (r CreateJobResult) StatusCode() int
- type CreateMaintenanceWindowJSONRequestBody
- type CreateMaintenanceWindowRequest
- type CreateMaintenanceWindowResult
- func (r CreateMaintenanceWindowResult) ContentType() string
- func (r CreateMaintenanceWindowResult) GetBody() []byte
- func (r CreateMaintenanceWindowResult) GetJSON201() *MaintenanceWindow
- func (r CreateMaintenanceWindowResult) GetJSON400() *ValidationError
- func (r CreateMaintenanceWindowResult) GetJSON401() *Unauthorized
- func (r CreateMaintenanceWindowResult) GetJSON404() *NotFound
- func (r CreateMaintenanceWindowResult) Status() string
- func (r CreateMaintenanceWindowResult) StatusCode() int
- type CreateMembershipRequestJSONRequestBody
- type CreateMembershipRequestRequest
- type CreateMembershipRequestResult
- func (r CreateMembershipRequestResult) ContentType() string
- func (r CreateMembershipRequestResult) GetBody() []byte
- func (r CreateMembershipRequestResult) GetJSON201() *MembershipRequestSummary
- func (r CreateMembershipRequestResult) GetJSON400() *ValidationError
- func (r CreateMembershipRequestResult) GetJSON401() *Unauthorized
- func (r CreateMembershipRequestResult) GetJSON404() *NotFound
- func (r CreateMembershipRequestResult) GetJSON409() *Conflict
- func (r CreateMembershipRequestResult) Status() string
- func (r CreateMembershipRequestResult) StatusCode() int
- type CreateMyTelegramLinkResult
- func (r CreateMyTelegramLinkResult) ContentType() string
- func (r CreateMyTelegramLinkResult) GetBody() []byte
- func (r CreateMyTelegramLinkResult) GetJSON201() *TelegramLinkResponse
- func (r CreateMyTelegramLinkResult) GetJSON400() *ValidationError
- func (r CreateMyTelegramLinkResult) GetJSON401() *Unauthorized
- func (r CreateMyTelegramLinkResult) GetJSON404() *NotFound
- func (r CreateMyTelegramLinkResult) Status() string
- func (r CreateMyTelegramLinkResult) StatusCode() int
- type CreateOncallOverrideJSONRequestBody
- type CreateOncallOverrideRequest
- type CreateOncallOverrideResult
- func (r CreateOncallOverrideResult) ContentType() string
- func (r CreateOncallOverrideResult) GetBody() []byte
- func (r CreateOncallOverrideResult) GetJSON201() *OncallOverride
- func (r CreateOncallOverrideResult) GetJSON400() *ValidationError
- func (r CreateOncallOverrideResult) GetJSON401() *Unauthorized
- func (r CreateOncallOverrideResult) GetJSON404() *NotFound
- func (r CreateOncallOverrideResult) Status() string
- func (r CreateOncallOverrideResult) StatusCode() int
- type CreateOncallScheduleJSONRequestBody
- type CreateOncallScheduleRequest
- type CreateOncallScheduleResult
- func (r CreateOncallScheduleResult) ContentType() string
- func (r CreateOncallScheduleResult) GetBody() []byte
- func (r CreateOncallScheduleResult) GetJSON201() *OncallSchedule
- func (r CreateOncallScheduleResult) GetJSON400() *ValidationError
- func (r CreateOncallScheduleResult) GetJSON401() *Unauthorized
- func (r CreateOncallScheduleResult) GetJSON404() *NotFound
- func (r CreateOncallScheduleResult) Status() string
- func (r CreateOncallScheduleResult) StatusCode() int
- type CreateOrgJSONRequestBody
- type CreateOrgRequest
- type CreateOrgResult
- func (r CreateOrgResult) ContentType() string
- func (r CreateOrgResult) GetBody() []byte
- func (r CreateOrgResult) GetJSON201() *OrgResponse
- func (r CreateOrgResult) GetJSON401() *Unauthorized
- func (r CreateOrgResult) GetJSON409() *Conflict
- func (r CreateOrgResult) GetJSON422() *ValidationError
- func (r CreateOrgResult) Status() string
- func (r CreateOrgResult) StatusCode() int
- type CreateReportScheduleJSONRequestBody
- type CreateReportScheduleRequest
- type CreateReportScheduleRequestFrequency
- type CreateReportScheduleResult
- func (r CreateReportScheduleResult) ContentType() string
- func (r CreateReportScheduleResult) GetBody() []byte
- func (r CreateReportScheduleResult) GetJSON201() *ReportSchedule
- func (r CreateReportScheduleResult) GetJSON400() *ValidationError
- func (r CreateReportScheduleResult) GetJSON401() *Unauthorized
- func (r CreateReportScheduleResult) GetJSON404() *NotFound
- func (r CreateReportScheduleResult) Status() string
- func (r CreateReportScheduleResult) StatusCode() int
- type CreateSLORequest
- type CreateSeverityJSONRequestBody
- type CreateSeverityRequest
- type CreateSeverityResult
- func (r CreateSeverityResult) ContentType() string
- func (r CreateSeverityResult) GetBody() []byte
- func (r CreateSeverityResult) GetJSON201() *Severity
- func (r CreateSeverityResult) GetJSON400() *ValidationError
- func (r CreateSeverityResult) GetJSON401() *Unauthorized
- func (r CreateSeverityResult) GetJSON404() *NotFound
- func (r CreateSeverityResult) Status() string
- func (r CreateSeverityResult) StatusCode() int
- type CreateSloJSONRequestBody
- type CreateSloResult
- func (r CreateSloResult) ContentType() string
- func (r CreateSloResult) GetBody() []byte
- func (r CreateSloResult) GetJSON201() *SLO
- func (r CreateSloResult) GetJSON400() *ValidationError
- func (r CreateSloResult) GetJSON401() *Unauthorized
- func (r CreateSloResult) GetJSON404() *NotFound
- func (r CreateSloResult) Status() string
- func (r CreateSloResult) StatusCode() int
- type CreateStatusPageEndpointSubscriberJSONRequestBody
- type CreateStatusPageEndpointSubscriberRequest
- type CreateStatusPageEndpointSubscriberRequestChannel
- type CreateStatusPageEndpointSubscriberRequestScope
- type CreateStatusPageEndpointSubscriberResult
- func (r CreateStatusPageEndpointSubscriberResult) ContentType() string
- func (r CreateStatusPageEndpointSubscriberResult) GetBody() []byte
- func (r CreateStatusPageEndpointSubscriberResult) GetJSON201() ...
- func (r CreateStatusPageEndpointSubscriberResult) GetJSON401() *Unauthorized
- func (r CreateStatusPageEndpointSubscriberResult) GetJSON404() *NotFound
- func (r CreateStatusPageEndpointSubscriberResult) GetJSON422() *ValidationError
- func (r CreateStatusPageEndpointSubscriberResult) Status() string
- func (r CreateStatusPageEndpointSubscriberResult) StatusCode() int
- type CreateStatusPageIncidentJSONRequestBody
- type CreateStatusPageIncidentResult
- func (r CreateStatusPageIncidentResult) ContentType() string
- func (r CreateStatusPageIncidentResult) GetBody() []byte
- func (r CreateStatusPageIncidentResult) GetJSON201() *IncidentPublication
- func (r CreateStatusPageIncidentResult) GetJSON401() *Unauthorized
- func (r CreateStatusPageIncidentResult) GetJSON404() *NotFound
- func (r CreateStatusPageIncidentResult) GetJSON409() *Conflict
- func (r CreateStatusPageIncidentResult) Status() string
- func (r CreateStatusPageIncidentResult) StatusCode() int
- type CreateStatusPageIncidentUpdateJSONRequestBody
- type CreateStatusPageIncidentUpdateResult
- func (r CreateStatusPageIncidentUpdateResult) ContentType() string
- func (r CreateStatusPageIncidentUpdateResult) GetBody() []byte
- func (r CreateStatusPageIncidentUpdateResult) GetJSON201() *PublicationUpdate
- func (r CreateStatusPageIncidentUpdateResult) GetJSON401() *Unauthorized
- func (r CreateStatusPageIncidentUpdateResult) GetJSON404() *NotFound
- func (r CreateStatusPageIncidentUpdateResult) Status() string
- func (r CreateStatusPageIncidentUpdateResult) StatusCode() int
- type CreateStatusPageJSONRequestBody
- type CreateStatusPageRequest
- type CreateStatusPageRequestAutoResolve
- type CreateStatusPageRequestVisibility
- type CreateStatusPageResourceJSONRequestBody
- type CreateStatusPageResourceRequest
- type CreateStatusPageResourceResult
- func (r CreateStatusPageResourceResult) ContentType() string
- func (r CreateStatusPageResourceResult) GetBody() []byte
- func (r CreateStatusPageResourceResult) GetJSON201() *StatusPageResource
- func (r CreateStatusPageResourceResult) GetJSON400() *ValidationError
- func (r CreateStatusPageResourceResult) GetJSON401() *Unauthorized
- func (r CreateStatusPageResourceResult) GetJSON404() *NotFound
- func (r CreateStatusPageResourceResult) Status() string
- func (r CreateStatusPageResourceResult) StatusCode() int
- type CreateStatusPageResult
- func (r CreateStatusPageResult) ContentType() string
- func (r CreateStatusPageResult) GetBody() []byte
- func (r CreateStatusPageResult) GetJSON201() *StatusPage
- func (r CreateStatusPageResult) GetJSON400() *ValidationError
- func (r CreateStatusPageResult) GetJSON401() *Unauthorized
- func (r CreateStatusPageResult) GetJSON404() *NotFound
- func (r CreateStatusPageResult) Status() string
- func (r CreateStatusPageResult) StatusCode() int
- type CreateStatusPageSectionJSONRequestBody
- type CreateStatusPageSectionRequest
- type CreateStatusPageSectionResult
- func (r CreateStatusPageSectionResult) ContentType() string
- func (r CreateStatusPageSectionResult) GetBody() []byte
- func (r CreateStatusPageSectionResult) GetJSON201() *StatusPageSection
- func (r CreateStatusPageSectionResult) GetJSON400() *ValidationError
- func (r CreateStatusPageSectionResult) GetJSON401() *Unauthorized
- func (r CreateStatusPageSectionResult) GetJSON404() *NotFound
- func (r CreateStatusPageSectionResult) Status() string
- func (r CreateStatusPageSectionResult) StatusCode() int
- type CreateStatusUpdateJSONRequestBody
- type CreateStatusUpdateRequest
- type CreateStatusUpdateResult
- func (r CreateStatusUpdateResult) ContentType() string
- func (r CreateStatusUpdateResult) GetBody() []byte
- func (r CreateStatusUpdateResult) GetJSON201() *StatusUpdate
- func (r CreateStatusUpdateResult) GetJSON400() *ValidationError
- func (r CreateStatusUpdateResult) GetJSON401() *Unauthorized
- func (r CreateStatusUpdateResult) GetJSON404() *NotFound
- func (r CreateStatusUpdateResult) Status() string
- func (r CreateStatusUpdateResult) StatusCode() int
- type CreateSupportMessageJSONRequestBody
- type CreateSupportMessageRequest
- type CreateSupportMessageResult
- func (r CreateSupportMessageResult) ContentType() string
- func (r CreateSupportMessageResult) GetBody() []byte
- func (r CreateSupportMessageResult) GetJSON201() *SupportMessage
- func (r CreateSupportMessageResult) GetJSON202() *SupportMessage
- func (r CreateSupportMessageResult) GetJSON400() *ValidationError
- func (r CreateSupportMessageResult) GetJSON401() *Unauthorized
- func (r CreateSupportMessageResult) GetJSON403() *Forbidden
- func (r CreateSupportMessageResult) GetJSON404() *NotFound
- func (r CreateSupportMessageResult) GetJSON409() *Conflict
- func (r CreateSupportMessageResult) Status() string
- func (r CreateSupportMessageResult) StatusCode() int
- type CreateTokenJSONRequestBody
- type CreateTokenRequest
- type CreateTokenResponse
- type CreateTokenResult
- type CursorPagination
- type CustomDomainAllowedParams
- type CustomDomainAllowedResult
- type DeleteChannelResult
- func (r DeleteChannelResult) ContentType() string
- func (r DeleteChannelResult) GetBody() []byte
- func (r DeleteChannelResult) GetJSON401() *Unauthorized
- func (r DeleteChannelResult) GetJSON403() *Forbidden
- func (r DeleteChannelResult) GetJSON404() *NotFound
- func (r DeleteChannelResult) Status() string
- func (r DeleteChannelResult) StatusCode() int
- type DeleteCheckDependencyResult
- type DeleteCheckGroupResult
- func (r DeleteCheckGroupResult) ContentType() string
- func (r DeleteCheckGroupResult) GetBody() []byte
- func (r DeleteCheckGroupResult) GetJSON401() *Unauthorized
- func (r DeleteCheckGroupResult) GetJSON404() *NotFound
- func (r DeleteCheckGroupResult) Status() string
- func (r DeleteCheckGroupResult) StatusCode() int
- type DeleteCheckResult
- type DeleteEmailSuppressionResult
- func (r DeleteEmailSuppressionResult) ContentType() string
- func (r DeleteEmailSuppressionResult) GetBody() []byte
- func (r DeleteEmailSuppressionResult) GetJSON401() *Unauthorized
- func (r DeleteEmailSuppressionResult) GetJSON403() *Forbidden
- func (r DeleteEmailSuppressionResult) GetJSON404() *NotFound
- func (r DeleteEmailSuppressionResult) Status() string
- func (r DeleteEmailSuppressionResult) StatusCode() int
- type DeleteEscalationPolicyResult
- func (r DeleteEscalationPolicyResult) ContentType() string
- func (r DeleteEscalationPolicyResult) GetBody() []byte
- func (r DeleteEscalationPolicyResult) GetJSON401() *Unauthorized
- func (r DeleteEscalationPolicyResult) GetJSON404() *NotFound
- func (r DeleteEscalationPolicyResult) GetJSON409() *Conflict
- func (r DeleteEscalationPolicyResult) Status() string
- func (r DeleteEscalationPolicyResult) StatusCode() int
- type DeleteFileResult
- func (r DeleteFileResult) ContentType() string
- func (r DeleteFileResult) GetBody() []byte
- func (r DeleteFileResult) GetJSON401() *Unauthorized
- func (r DeleteFileResult) GetJSON403() *Forbidden
- func (r DeleteFileResult) GetJSON404() *NotFound
- func (r DeleteFileResult) Status() string
- func (r DeleteFileResult) StatusCode() int
- type DeleteIntegrationIdentityResult
- func (r DeleteIntegrationIdentityResult) ContentType() string
- func (r DeleteIntegrationIdentityResult) GetBody() []byte
- func (r DeleteIntegrationIdentityResult) GetJSON400() *ValidationError
- func (r DeleteIntegrationIdentityResult) GetJSON401() *Unauthorized
- func (r DeleteIntegrationIdentityResult) GetJSON403() *Forbidden
- func (r DeleteIntegrationIdentityResult) GetJSON404() *NotFound
- func (r DeleteIntegrationIdentityResult) Status() string
- func (r DeleteIntegrationIdentityResult) StatusCode() int
- type DeleteInvitationResult
- func (r DeleteInvitationResult) ContentType() string
- func (r DeleteInvitationResult) GetBody() []byte
- func (r DeleteInvitationResult) GetJSON401() *Unauthorized
- func (r DeleteInvitationResult) GetJSON403() *Forbidden
- func (r DeleteInvitationResult) GetJSON404() *NotFound
- func (r DeleteInvitationResult) Status() string
- func (r DeleteInvitationResult) StatusCode() int
- type DeleteMaintenanceWindowResult
- func (r DeleteMaintenanceWindowResult) ContentType() string
- func (r DeleteMaintenanceWindowResult) GetBody() []byte
- func (r DeleteMaintenanceWindowResult) GetJSON401() *Unauthorized
- func (r DeleteMaintenanceWindowResult) GetJSON404() *NotFound
- func (r DeleteMaintenanceWindowResult) Status() string
- func (r DeleteMaintenanceWindowResult) StatusCode() int
- type DeleteOncallOverrideResult
- func (r DeleteOncallOverrideResult) ContentType() string
- func (r DeleteOncallOverrideResult) GetBody() []byte
- func (r DeleteOncallOverrideResult) GetJSON401() *Unauthorized
- func (r DeleteOncallOverrideResult) GetJSON404() *NotFound
- func (r DeleteOncallOverrideResult) Status() string
- func (r DeleteOncallOverrideResult) StatusCode() int
- type DeleteOncallScheduleResult
- func (r DeleteOncallScheduleResult) ContentType() string
- func (r DeleteOncallScheduleResult) GetBody() []byte
- func (r DeleteOncallScheduleResult) GetJSON401() *Unauthorized
- func (r DeleteOncallScheduleResult) GetJSON404() *NotFound
- func (r DeleteOncallScheduleResult) Status() string
- func (r DeleteOncallScheduleResult) StatusCode() int
- type DeleteOrgJSONRequestBody
- type DeleteOrgLogoResult
- func (r DeleteOrgLogoResult) ContentType() string
- func (r DeleteOrgLogoResult) GetBody() []byte
- func (r DeleteOrgLogoResult) GetJSON200() *OrgLogoResponse
- func (r DeleteOrgLogoResult) GetJSON401() *Unauthorized
- func (r DeleteOrgLogoResult) GetJSON403() *Forbidden
- func (r DeleteOrgLogoResult) GetJSON404() *NotFound
- func (r DeleteOrgLogoResult) Status() string
- func (r DeleteOrgLogoResult) StatusCode() int
- type DeleteOrgRequest
- type DeleteOrgResult
- func (r DeleteOrgResult) ContentType() string
- func (r DeleteOrgResult) GetBody() []byte
- func (r DeleteOrgResult) GetJSON200() *LoginResponse
- func (r DeleteOrgResult) GetJSON401() *Unauthorized
- func (r DeleteOrgResult) GetJSON403() *Forbidden
- func (r DeleteOrgResult) GetJSON404() *NotFound
- func (r DeleteOrgResult) GetJSON422() *ValidationError
- func (r DeleteOrgResult) Status() string
- func (r DeleteOrgResult) StatusCode() int
- type DeleteReportScheduleResult
- func (r DeleteReportScheduleResult) ContentType() string
- func (r DeleteReportScheduleResult) GetBody() []byte
- func (r DeleteReportScheduleResult) GetJSON401() *Unauthorized
- func (r DeleteReportScheduleResult) GetJSON404() *NotFound
- func (r DeleteReportScheduleResult) Status() string
- func (r DeleteReportScheduleResult) StatusCode() int
- type DeleteSeverityResult
- func (r DeleteSeverityResult) ContentType() string
- func (r DeleteSeverityResult) GetBody() []byte
- func (r DeleteSeverityResult) GetJSON401() *Unauthorized
- func (r DeleteSeverityResult) GetJSON404() *NotFound
- func (r DeleteSeverityResult) GetJSON409() *Error
- func (r DeleteSeverityResult) Status() string
- func (r DeleteSeverityResult) StatusCode() int
- type DeleteSloResult
- type DeleteStatusPageResourceResult
- func (r DeleteStatusPageResourceResult) ContentType() string
- func (r DeleteStatusPageResourceResult) GetBody() []byte
- func (r DeleteStatusPageResourceResult) GetJSON401() *Unauthorized
- func (r DeleteStatusPageResourceResult) GetJSON404() *NotFound
- func (r DeleteStatusPageResourceResult) Status() string
- func (r DeleteStatusPageResourceResult) StatusCode() int
- type DeleteStatusPageResult
- func (r DeleteStatusPageResult) ContentType() string
- func (r DeleteStatusPageResult) GetBody() []byte
- func (r DeleteStatusPageResult) GetJSON401() *Unauthorized
- func (r DeleteStatusPageResult) GetJSON404() *NotFound
- func (r DeleteStatusPageResult) Status() string
- func (r DeleteStatusPageResult) StatusCode() int
- type DeleteStatusPageSectionResult
- func (r DeleteStatusPageSectionResult) ContentType() string
- func (r DeleteStatusPageSectionResult) GetBody() []byte
- func (r DeleteStatusPageSectionResult) GetJSON401() *Unauthorized
- func (r DeleteStatusPageSectionResult) GetJSON404() *NotFound
- func (r DeleteStatusPageSectionResult) Status() string
- func (r DeleteStatusPageSectionResult) StatusCode() int
- type DeleteStatusUpdateResult
- func (r DeleteStatusUpdateResult) ContentType() string
- func (r DeleteStatusUpdateResult) GetBody() []byte
- func (r DeleteStatusUpdateResult) GetJSON401() *Unauthorized
- func (r DeleteStatusUpdateResult) GetJSON404() *NotFound
- func (r DeleteStatusUpdateResult) Status() string
- func (r DeleteStatusUpdateResult) StatusCode() int
- type DeleteSystemParameterResult
- func (r DeleteSystemParameterResult) ContentType() string
- func (r DeleteSystemParameterResult) GetBody() []byte
- func (r DeleteSystemParameterResult) GetJSON401() *Unauthorized
- func (r DeleteSystemParameterResult) GetJSON403() *Forbidden
- func (r DeleteSystemParameterResult) GetJSON404() *NotFound
- func (r DeleteSystemParameterResult) Status() string
- func (r DeleteSystemParameterResult) StatusCode() int
- type Dependency
- type DependencyEdge
- type DependencyGraphEdge
- type DependencyGraphEdgeKind
- type DependencyGraphNode
- type DependencyKind
- type DependencyRef
- type DependencyWarning
- type DependencyWarningCode
- type DeviceAuthorizationRequest
- type DeviceAuthorizationResponse
- type DeviceConsentInfo
- type DeviceConsentInfoStatus
- type DeviceConsentRequest
- type DeviceConsentResponse
- type DeviceTokenError
- type DeviceTokenErrorError
- type DeviceTokenRequest
- type DeviceTokenRequestGrantType
- type DeviceTokenResponse
- type DeviceTokenResponseTokenType
- type DisableOncallIcalFeedResult
- func (r DisableOncallIcalFeedResult) ContentType() string
- func (r DisableOncallIcalFeedResult) GetBody() []byte
- func (r DisableOncallIcalFeedResult) GetJSON401() *Unauthorized
- func (r DisableOncallIcalFeedResult) GetJSON404() *NotFound
- func (r DisableOncallIcalFeedResult) Status() string
- func (r DisableOncallIcalFeedResult) StatusCode() int
- type DiscoveredCheck
- type DiscoveryScan
- type DiscoveryScanProgress
- type DiscoveryScanProgressDerivedStatus
- type DiscoveryType
- type DismissDiscoveredCheckResult
- func (r DismissDiscoveredCheckResult) ContentType() string
- func (r DismissDiscoveredCheckResult) GetBody() []byte
- func (r DismissDiscoveredCheckResult) GetJSON403() *Forbidden
- func (r DismissDiscoveredCheckResult) GetJSON404() *NotFound
- func (r DismissDiscoveredCheckResult) Status() string
- func (r DismissDiscoveredCheckResult) StatusCode() int
- type DismissDiscoveredGroupParams
- type DismissDiscoveredGroupResult
- func (r DismissDiscoveredGroupResult) ContentType() string
- func (r DismissDiscoveredGroupResult) GetBody() []byte
- func (r DismissDiscoveredGroupResult) GetJSON403() *Forbidden
- func (r DismissDiscoveredGroupResult) GetJSON404() *NotFound
- func (r DismissDiscoveredGroupResult) Status() string
- func (r DismissDiscoveredGroupResult) StatusCode() int
- type DnsRecord
- type DownloadFileResult
- func (r DownloadFileResult) ContentType() string
- func (r DownloadFileResult) GetBody() []byte
- func (r DownloadFileResult) GetJSON401() *Unauthorized
- func (r DownloadFileResult) GetJSON403() *Forbidden
- func (r DownloadFileResult) GetJSON404() *NotFound
- func (r DownloadFileResult) Status() string
- func (r DownloadFileResult) StatusCode() int
- type EmailInboxConfigResponse
- type EmailInboxStatusResponse
- type EmailInboxSyncResponse
- type EmailInboxTestResponse
- type EmailSuppression
- type EmailSuppressionListResponse
- type EmailSuppressionUidPath
- type EnableOncallIcalFeedResult
- func (r EnableOncallIcalFeedResult) ContentType() string
- func (r EnableOncallIcalFeedResult) GetBody() []byte
- func (r EnableOncallIcalFeedResult) GetJSON200() *OncallIcalFeedResponse
- func (r EnableOncallIcalFeedResult) GetJSON401() *Unauthorized
- func (r EnableOncallIcalFeedResult) GetJSON404() *NotFound
- func (r EnableOncallIcalFeedResult) Status() string
- func (r EnableOncallIcalFeedResult) StatusCode() int
- type EntitlementLimits
- type EntitlementsAudit
- type EntitlementsAuditListResponse
- type EntitlementsChecksPerMinute
- type EntitlementsResponse
- type EntitlementsResponseSource
- type EntitlementsUsage
- type Error
- type ErrorCode
- type EscalationPolicy
- type EscalationPolicyListResponse
- type EscalationPolicyUidPath
- type EscalationStep
- type EscalationStepInput
- type EscalationTarget
- type EscalationTargetInput
- type Event
- type EventActorType
- type EventListResponse
- type ExportedDependency
- type ExportedDependencyKind
- type FileListResponse
- type FileResponse
- type FileUidPath
- type Forbidden
- type GenerateStatusPageKioskTokenResult
- func (r GenerateStatusPageKioskTokenResult) ContentType() string
- func (r GenerateStatusPageKioskTokenResult) GetBody() []byte
- func (r GenerateStatusPageKioskTokenResult) GetJSON201() ...
- func (r GenerateStatusPageKioskTokenResult) GetJSON401() *Unauthorized
- func (r GenerateStatusPageKioskTokenResult) GetJSON404() *NotFound
- func (r GenerateStatusPageKioskTokenResult) Status() string
- func (r GenerateStatusPageKioskTokenResult) StatusCode() int
- type GetActivationFunnelResult
- func (r GetActivationFunnelResult) ContentType() string
- func (r GetActivationFunnelResult) GetBody() []byte
- func (r GetActivationFunnelResult) GetJSON200() *ActivationFunnelResponse
- func (r GetActivationFunnelResult) GetJSON401() *Unauthorized
- func (r GetActivationFunnelResult) GetJSON403() *Forbidden
- func (r GetActivationFunnelResult) Status() string
- func (r GetActivationFunnelResult) StatusCode() int
- type GetAdminEntitlementsParams
- type GetAdminEntitlementsResult
- func (r GetAdminEntitlementsResult) ContentType() string
- func (r GetAdminEntitlementsResult) GetBody() []byte
- func (r GetAdminEntitlementsResult) GetJSON200() *AdminEntitlementsDetail
- func (r GetAdminEntitlementsResult) GetJSON401() *Unauthorized
- func (r GetAdminEntitlementsResult) GetJSON403() *Forbidden
- func (r GetAdminEntitlementsResult) GetJSON404() *NotFound
- func (r GetAdminEntitlementsResult) Status() string
- func (r GetAdminEntitlementsResult) StatusCode() int
- type GetAdminJobChainResult
- func (r GetAdminJobChainResult) ContentType() string
- func (r GetAdminJobChainResult) GetBody() []byte
- func (r GetAdminJobChainResult) GetJSON200() *AdminJobListResponse
- func (r GetAdminJobChainResult) GetJSON404() *NotFound
- func (r GetAdminJobChainResult) Status() string
- func (r GetAdminJobChainResult) StatusCode() int
- type GetAdminJobResult
- type GetBadgeParams
- type GetBadgeParamsFormat
- type GetBadgeParamsStyle
- type GetBadgeResult
- type GetChannelResult
- func (r GetChannelResult) ContentType() string
- func (r GetChannelResult) GetBody() []byte
- func (r GetChannelResult) GetJSON200() *Channel
- func (r GetChannelResult) GetJSON401() *Unauthorized
- func (r GetChannelResult) GetJSON404() *NotFound
- func (r GetChannelResult) Status() string
- func (r GetChannelResult) StatusCode() int
- type GetCheckAvailabilityBucketsParams
- type GetCheckAvailabilityBucketsResult
- func (r GetCheckAvailabilityBucketsResult) ContentType() string
- func (r GetCheckAvailabilityBucketsResult) GetBody() []byte
- func (r GetCheckAvailabilityBucketsResult) GetJSON200() *CheckAvailabilityBucketsResponse
- func (r GetCheckAvailabilityBucketsResult) GetJSON400() *Error
- func (r GetCheckAvailabilityBucketsResult) GetJSON401() *Unauthorized
- func (r GetCheckAvailabilityBucketsResult) GetJSON404() *NotFound
- func (r GetCheckAvailabilityBucketsResult) Status() string
- func (r GetCheckAvailabilityBucketsResult) StatusCode() int
- type GetCheckAvailabilityParams
- type GetCheckAvailabilityResult
- func (r GetCheckAvailabilityResult) ContentType() string
- func (r GetCheckAvailabilityResult) GetBody() []byte
- func (r GetCheckAvailabilityResult) GetJSON200() *CheckAvailabilityResponse
- func (r GetCheckAvailabilityResult) GetJSON400() *Error
- func (r GetCheckAvailabilityResult) GetJSON401() *Unauthorized
- func (r GetCheckAvailabilityResult) GetJSON404() *NotFound
- func (r GetCheckAvailabilityResult) Status() string
- func (r GetCheckAvailabilityResult) StatusCode() int
- type GetCheckGroupResult
- func (r GetCheckGroupResult) ContentType() string
- func (r GetCheckGroupResult) GetBody() []byte
- func (r GetCheckGroupResult) GetJSON200() *CheckGroup
- func (r GetCheckGroupResult) GetJSON401() *Unauthorized
- func (r GetCheckGroupResult) GetJSON404() *NotFound
- func (r GetCheckGroupResult) Status() string
- func (r GetCheckGroupResult) StatusCode() int
- type GetCheckJobResult
- type GetCheckParams
- type GetCheckResult
- type GetCheckStatsResult
- type GetCostDistributionParams
- type GetCostDistributionResult
- func (r GetCostDistributionResult) ContentType() string
- func (r GetCostDistributionResult) GetBody() []byte
- func (r GetCostDistributionResult) GetJSON200() *CostDistributionResponse
- func (r GetCostDistributionResult) GetJSON401() *Unauthorized
- func (r GetCostDistributionResult) GetJSON403() *Forbidden
- func (r GetCostDistributionResult) Status() string
- func (r GetCostDistributionResult) StatusCode() int
- type GetCurrentUserResult
- func (r GetCurrentUserResult) ContentType() string
- func (r GetCurrentUserResult) GetBody() []byte
- func (r GetCurrentUserResult) GetJSON200() *MeResponse
- func (r GetCurrentUserResult) GetJSON401() *Unauthorized
- func (r GetCurrentUserResult) Status() string
- func (r GetCurrentUserResult) StatusCode() int
- type GetDeviceConsentParams
- type GetDeviceConsentResult
- func (r GetDeviceConsentResult) ContentType() string
- func (r GetDeviceConsentResult) GetBody() []byte
- func (r GetDeviceConsentResult) GetJSON200() *DeviceConsentInfo
- func (r GetDeviceConsentResult) GetJSON404() *NotFound
- func (r GetDeviceConsentResult) Status() string
- func (r GetDeviceConsentResult) StatusCode() int
- type GetDiscoveryScanResult
- func (r GetDiscoveryScanResult) ContentType() string
- func (r GetDiscoveryScanResult) GetBody() []byte
- func (r GetDiscoveryScanResult) GetJSON200() ...
- func (r GetDiscoveryScanResult) GetJSON404() *NotFound
- func (r GetDiscoveryScanResult) Status() string
- func (r GetDiscoveryScanResult) StatusCode() int
- type GetEmailInboxConfigResult
- func (r GetEmailInboxConfigResult) ContentType() string
- func (r GetEmailInboxConfigResult) GetBody() []byte
- func (r GetEmailInboxConfigResult) GetJSON200() *EmailInboxConfigResponse
- func (r GetEmailInboxConfigResult) GetJSON401() *Unauthorized
- func (r GetEmailInboxConfigResult) GetJSON403() *Forbidden
- func (r GetEmailInboxConfigResult) Status() string
- func (r GetEmailInboxConfigResult) StatusCode() int
- type GetEmailInboxStatusResult
- func (r GetEmailInboxStatusResult) ContentType() string
- func (r GetEmailInboxStatusResult) GetBody() []byte
- func (r GetEmailInboxStatusResult) GetJSON200() *EmailInboxStatusResponse
- func (r GetEmailInboxStatusResult) GetJSON401() *Unauthorized
- func (r GetEmailInboxStatusResult) GetJSON403() *Forbidden
- func (r GetEmailInboxStatusResult) Status() string
- func (r GetEmailInboxStatusResult) StatusCode() int
- type GetEmbedWidgetV1Result
- type GetEntitlementsParams
- type GetEntitlementsResult
- func (r GetEntitlementsResult) ContentType() string
- func (r GetEntitlementsResult) GetBody() []byte
- func (r GetEntitlementsResult) GetJSON200() *EntitlementsResponse
- func (r GetEntitlementsResult) GetJSON401() *Unauthorized
- func (r GetEntitlementsResult) GetJSON403() *Forbidden
- func (r GetEntitlementsResult) GetJSON404() *NotFound
- func (r GetEntitlementsResult) Status() string
- func (r GetEntitlementsResult) StatusCode() int
- type GetEscalationPolicyResult
- func (r GetEscalationPolicyResult) ContentType() string
- func (r GetEscalationPolicyResult) GetBody() []byte
- func (r GetEscalationPolicyResult) GetJSON200() *EscalationPolicy
- func (r GetEscalationPolicyResult) GetJSON401() *Unauthorized
- func (r GetEscalationPolicyResult) GetJSON404() *NotFound
- func (r GetEscalationPolicyResult) Status() string
- func (r GetEscalationPolicyResult) StatusCode() int
- type GetFileResult
- func (r GetFileResult) ContentType() string
- func (r GetFileResult) GetBody() []byte
- func (r GetFileResult) GetJSON200() *FileResponse
- func (r GetFileResult) GetJSON401() *Unauthorized
- func (r GetFileResult) GetJSON403() *Forbidden
- func (r GetFileResult) GetJSON404() *NotFound
- func (r GetFileResult) Status() string
- func (r GetFileResult) StatusCode() int
- type GetHealthResult
- type GetIncidentNotificationResult
- func (r GetIncidentNotificationResult) ContentType() string
- func (r GetIncidentNotificationResult) GetBody() []byte
- func (r GetIncidentNotificationResult) GetJSON200() *NotificationDetail
- func (r GetIncidentNotificationResult) GetJSON401() *Unauthorized
- func (r GetIncidentNotificationResult) GetJSON404() *NotFound
- func (r GetIncidentNotificationResult) Status() string
- func (r GetIncidentNotificationResult) StatusCode() int
- type GetIncidentParams
- type GetIncidentResult
- func (r GetIncidentResult) ContentType() string
- func (r GetIncidentResult) GetBody() []byte
- func (r GetIncidentResult) GetJSON200() *IncidentDetail
- func (r GetIncidentResult) GetJSON401() *Unauthorized
- func (r GetIncidentResult) GetJSON404() *NotFound
- func (r GetIncidentResult) Status() string
- func (r GetIncidentResult) StatusCode() int
- type GetInviteResult
- type GetJobResult
- type GetJobStatsResult
- func (r GetJobStatsResult) ContentType() string
- func (r GetJobStatsResult) GetBody() []byte
- func (r GetJobStatsResult) GetJSON200() *JobsStatsResponse
- func (r GetJobStatsResult) GetJSON401() *Unauthorized
- func (r GetJobStatsResult) GetJSON403() *Forbidden
- func (r GetJobStatsResult) Status() string
- func (r GetJobStatsResult) StatusCode() int
- type GetLimitsResult
- type GetMaintenanceWindowResult
- func (r GetMaintenanceWindowResult) ContentType() string
- func (r GetMaintenanceWindowResult) GetBody() []byte
- func (r GetMaintenanceWindowResult) GetJSON200() *MaintenanceWindow
- func (r GetMaintenanceWindowResult) GetJSON401() *Unauthorized
- func (r GetMaintenanceWindowResult) GetJSON404() *NotFound
- func (r GetMaintenanceWindowResult) Status() string
- func (r GetMaintenanceWindowResult) StatusCode() int
- type GetMemberResult
- type GetMemoryParams
- type GetMemoryParamsGc
- type GetMemoryResult
- func (r GetMemoryResult) ContentType() string
- func (r GetMemoryResult) GetBody() []byte
- func (r GetMemoryResult) GetJSON200() *MemorySnapshotResponse
- func (r GetMemoryResult) GetJSON401() *Unauthorized
- func (r GetMemoryResult) GetJSON403() *Forbidden
- func (r GetMemoryResult) Status() string
- func (r GetMemoryResult) StatusCode() int
- type GetNotificationResult
- func (r GetNotificationResult) ContentType() string
- func (r GetNotificationResult) GetBody() []byte
- func (r GetNotificationResult) GetJSON200() *NotificationDetail
- func (r GetNotificationResult) GetJSON401() *Unauthorized
- func (r GetNotificationResult) GetJSON404() *NotFound
- func (r GetNotificationResult) Status() string
- func (r GetNotificationResult) StatusCode() int
- type GetOncallScheduleResult
- func (r GetOncallScheduleResult) ContentType() string
- func (r GetOncallScheduleResult) GetBody() []byte
- func (r GetOncallScheduleResult) GetJSON200() *OncallSchedule
- func (r GetOncallScheduleResult) GetJSON401() *Unauthorized
- func (r GetOncallScheduleResult) GetJSON404() *NotFound
- func (r GetOncallScheduleResult) Status() string
- func (r GetOncallScheduleResult) StatusCode() int
- type GetOrgDependencyGraphResult
- func (r GetOrgDependencyGraphResult) ContentType() string
- func (r GetOrgDependencyGraphResult) GetBody() []byte
- func (r GetOrgDependencyGraphResult) GetJSON200() *OrgDependencyGraphResponse
- func (r GetOrgDependencyGraphResult) GetJSON401() *Unauthorized
- func (r GetOrgDependencyGraphResult) GetJSON404() *NotFound
- func (r GetOrgDependencyGraphResult) Status() string
- func (r GetOrgDependencyGraphResult) StatusCode() int
- type GetOrgResultParams
- type GetOrgResultResponse
- type GetOrgResultResponseStatus
- type GetOrgResultResult
- func (r GetOrgResultResult) ContentType() string
- func (r GetOrgResultResult) GetBody() []byte
- func (r GetOrgResultResult) GetJSON200() *GetOrgResultResponse
- func (r GetOrgResultResult) GetJSON401() *Unauthorized
- func (r GetOrgResultResult) GetJSON404() *NotFound
- func (r GetOrgResultResult) Status() string
- func (r GetOrgResultResult) StatusCode() int
- type GetOrgSettingsResult
- func (r GetOrgSettingsResult) ContentType() string
- func (r GetOrgSettingsResult) GetBody() []byte
- func (r GetOrgSettingsResult) GetJSON200() *OrgSettingsResponse
- func (r GetOrgSettingsResult) GetJSON401() *Unauthorized
- func (r GetOrgSettingsResult) GetJSON403() *Forbidden
- func (r GetOrgSettingsResult) GetJSON404() *NotFound
- func (r GetOrgSettingsResult) Status() string
- func (r GetOrgSettingsResult) StatusCode() int
- type GetPublicConfigResult
- type GetRegionHealthResult
- func (r GetRegionHealthResult) ContentType() string
- func (r GetRegionHealthResult) GetBody() []byte
- func (r GetRegionHealthResult) GetJSON200() *RegionHealthReport
- func (r GetRegionHealthResult) GetJSON401() *Unauthorized
- func (r GetRegionHealthResult) GetJSON403() *Forbidden
- func (r GetRegionHealthResult) Status() string
- func (r GetRegionHealthResult) StatusCode() int
- type GetReportScheduleResult
- func (r GetReportScheduleResult) ContentType() string
- func (r GetReportScheduleResult) GetBody() []byte
- func (r GetReportScheduleResult) GetJSON200() *ReportSchedule
- func (r GetReportScheduleResult) GetJSON401() *Unauthorized
- func (r GetReportScheduleResult) GetJSON404() *NotFound
- func (r GetReportScheduleResult) Status() string
- func (r GetReportScheduleResult) StatusCode() int
- type GetSchedulingLaneLoadResult
- func (r GetSchedulingLaneLoadResult) ContentType() string
- func (r GetSchedulingLaneLoadResult) GetBody() []byte
- func (r GetSchedulingLaneLoadResult) GetJSON200() *LaneLoadResponse
- func (r GetSchedulingLaneLoadResult) GetJSON401() *Unauthorized
- func (r GetSchedulingLaneLoadResult) GetJSON403() *Forbidden
- func (r GetSchedulingLaneLoadResult) Status() string
- func (r GetSchedulingLaneLoadResult) StatusCode() int
- type GetSeverityResult
- func (r GetSeverityResult) ContentType() string
- func (r GetSeverityResult) GetBody() []byte
- func (r GetSeverityResult) GetJSON200() *Severity
- func (r GetSeverityResult) GetJSON401() *Unauthorized
- func (r GetSeverityResult) GetJSON404() *NotFound
- func (r GetSeverityResult) Status() string
- func (r GetSeverityResult) StatusCode() int
- type GetSloAlertPolicyResult
- func (r GetSloAlertPolicyResult) ContentType() string
- func (r GetSloAlertPolicyResult) GetBody() []byte
- func (r GetSloAlertPolicyResult) GetJSON200() *SLOAlertPolicy
- func (r GetSloAlertPolicyResult) GetJSON401() *Unauthorized
- func (r GetSloAlertPolicyResult) GetJSON404() *NotFound
- func (r GetSloAlertPolicyResult) Status() string
- func (r GetSloAlertPolicyResult) StatusCode() int
- type GetSloBurndownResult
- func (r GetSloBurndownResult) ContentType() string
- func (r GetSloBurndownResult) GetBody() []byte
- func (r GetSloBurndownResult) GetJSON200() *SLOBurndownResponse
- func (r GetSloBurndownResult) GetJSON401() *Unauthorized
- func (r GetSloBurndownResult) GetJSON404() *NotFound
- func (r GetSloBurndownResult) Status() string
- func (r GetSloBurndownResult) StatusCode() int
- type GetSloHistoryParams
- type GetSloHistoryResult
- func (r GetSloHistoryResult) ContentType() string
- func (r GetSloHistoryResult) GetBody() []byte
- func (r GetSloHistoryResult) GetJSON200() *SLOHistoryResponse
- func (r GetSloHistoryResult) GetJSON401() *Unauthorized
- func (r GetSloHistoryResult) GetJSON404() *NotFound
- func (r GetSloHistoryResult) Status() string
- func (r GetSloHistoryResult) StatusCode() int
- type GetSloResult
- type GetSloStatusResult
- func (r GetSloStatusResult) ContentType() string
- func (r GetSloStatusResult) GetBody() []byte
- func (r GetSloStatusResult) GetJSON200() *SLOStatusResponse
- func (r GetSloStatusResult) GetJSON401() *Unauthorized
- func (r GetSloStatusResult) GetJSON404() *NotFound
- func (r GetSloStatusResult) Status() string
- func (r GetSloStatusResult) StatusCode() int
- type GetStatusPageBadgeParams
- type GetStatusPageBadgeParamsStyle
- type GetStatusPageBadgeResult
- func (r GetStatusPageBadgeResult) ContentType() string
- func (r GetStatusPageBadgeResult) GetBody() []byte
- func (r GetStatusPageBadgeResult) GetJSON401() *StatusPageLocked
- func (r GetStatusPageBadgeResult) GetJSON404() *NotFound
- func (r GetStatusPageBadgeResult) Status() string
- func (r GetStatusPageBadgeResult) StatusCode() int
- type GetStatusPageIncidentResult
- func (r GetStatusPageIncidentResult) ContentType() string
- func (r GetStatusPageIncidentResult) GetBody() []byte
- func (r GetStatusPageIncidentResult) GetJSON200() *IncidentPublication
- func (r GetStatusPageIncidentResult) GetJSON401() *Unauthorized
- func (r GetStatusPageIncidentResult) GetJSON404() *NotFound
- func (r GetStatusPageIncidentResult) Status() string
- func (r GetStatusPageIncidentResult) StatusCode() int
- type GetStatusPageParams
- type GetStatusPageResult
- func (r GetStatusPageResult) ContentType() string
- func (r GetStatusPageResult) GetBody() []byte
- func (r GetStatusPageResult) GetJSON200() *StatusPage
- func (r GetStatusPageResult) GetJSON401() *Unauthorized
- func (r GetStatusPageResult) GetJSON404() *NotFound
- func (r GetStatusPageResult) Status() string
- func (r GetStatusPageResult) StatusCode() int
- type GetStatusPageSectionResult
- func (r GetStatusPageSectionResult) ContentType() string
- func (r GetStatusPageSectionResult) GetBody() []byte
- func (r GetStatusPageSectionResult) GetJSON200() *StatusPageSection
- func (r GetStatusPageSectionResult) GetJSON401() *Unauthorized
- func (r GetStatusPageSectionResult) GetJSON404() *NotFound
- func (r GetStatusPageSectionResult) Status() string
- func (r GetStatusPageSectionResult) StatusCode() int
- type GetStatusUpdateResult
- func (r GetStatusUpdateResult) ContentType() string
- func (r GetStatusUpdateResult) GetBody() []byte
- func (r GetStatusUpdateResult) GetJSON200() *StatusUpdate
- func (r GetStatusUpdateResult) GetJSON401() *Unauthorized
- func (r GetStatusUpdateResult) GetJSON404() *NotFound
- func (r GetStatusUpdateResult) Status() string
- func (r GetStatusUpdateResult) StatusCode() int
- type GetSupportThreadResult
- func (r GetSupportThreadResult) ContentType() string
- func (r GetSupportThreadResult) GetBody() []byte
- func (r GetSupportThreadResult) GetJSON200() *SupportThread
- func (r GetSupportThreadResult) GetJSON401() *Unauthorized
- func (r GetSupportThreadResult) GetJSON403() *Forbidden
- func (r GetSupportThreadResult) GetJSON404() *NotFound
- func (r GetSupportThreadResult) Status() string
- func (r GetSupportThreadResult) StatusCode() int
- type GetSystemCheckJobResult
- func (r GetSystemCheckJobResult) ContentType() string
- func (r GetSystemCheckJobResult) GetBody() []byte
- func (r GetSystemCheckJobResult) GetJSON200() *CheckJobResponse
- func (r GetSystemCheckJobResult) GetJSON404() *NotFound
- func (r GetSystemCheckJobResult) Status() string
- func (r GetSystemCheckJobResult) StatusCode() int
- type GetSystemJobChainResult
- func (r GetSystemJobChainResult) ContentType() string
- func (r GetSystemJobChainResult) GetBody() []byte
- func (r GetSystemJobChainResult) GetJSON200() *AdminJobListResponse
- func (r GetSystemJobChainResult) GetJSON404() *NotFound
- func (r GetSystemJobChainResult) Status() string
- func (r GetSystemJobChainResult) StatusCode() int
- type GetSystemJobResult
- type GetSystemJobStatsResult
- func (r GetSystemJobStatsResult) ContentType() string
- func (r GetSystemJobStatsResult) GetBody() []byte
- func (r GetSystemJobStatsResult) GetJSON200() *JobsStatsResponse
- func (r GetSystemJobStatsResult) GetJSON401() *Unauthorized
- func (r GetSystemJobStatsResult) GetJSON403() *Forbidden
- func (r GetSystemJobStatsResult) Status() string
- func (r GetSystemJobStatsResult) StatusCode() int
- type GetSystemParameterResult
- func (r GetSystemParameterResult) ContentType() string
- func (r GetSystemParameterResult) GetBody() []byte
- func (r GetSystemParameterResult) GetJSON200() *SystemParameter
- func (r GetSystemParameterResult) GetJSON401() *Unauthorized
- func (r GetSystemParameterResult) GetJSON403() *Forbidden
- func (r GetSystemParameterResult) GetJSON404() *NotFound
- func (r GetSystemParameterResult) Status() string
- func (r GetSystemParameterResult) StatusCode() int
- type GetVersionResult
- type HealthResponse
- type HealthResponseStatus
- type HeartbeatOptions
- type HttpRequestDoer
- type IdentityUserUidPath
- type IncidentAckRequest
- type IncidentActor
- type IncidentActorVia
- type IncidentAttachment
- type IncidentAttachmentKind
- type IncidentAttachmentTrigger
- type IncidentCheck
- type IncidentCommentRequest
- type IncidentDetail
- type IncidentDetailState
- type IncidentListResponse
- type IncidentPublication
- type IncidentPublicationListResponse
- type IncidentPublicationSeverity
- type IncidentPublicationState
- type IncidentSnoozeRequest
- type IncidentUidNamedPath
- type IncidentUidPath
- type IntegrationIdentity
- type IntegrationIdentityListResponse
- type IntegrationIdentitySource
- type IntegrationIdentityStatus
- type IntegrationIdentitySyncResponse
- type InvitationUidPath
- type InviteInfoResponse
- type InviteInfoResponseRole
- type InviteListItem
- type InviteListResponse
- type InviteResponse
- type Job
- type JobLimitQuery
- type JobListResponse
- type JobOffsetQuery
- type JobQueueStats
- type JobResponse
- type JobStatus
- type JobStatusQuery
- type JobTypeQuery
- type JobUidPath
- type JobsStats
- type JobsStatsResponse
- type KioskTokenQuery
- type LabelSuggestion
- type LabelSuggestionListResponse
- type LaneLoadResponse
- type LaneLoadStats
- type LastResult
- type LastResultListItem
- type LastResultListItemStatus
- type LastResultStatus
- type LimitsConcurrency
- type LimitsRateLimit
- type LimitsResponse
- type ListAdminEntitlementsParams
- type ListAdminEntitlementsResult
- func (r ListAdminEntitlementsResult) ContentType() string
- func (r ListAdminEntitlementsResult) GetBody() []byte
- func (r ListAdminEntitlementsResult) GetJSON200() *AdminEntitlementsListResponse
- func (r ListAdminEntitlementsResult) GetJSON401() *Unauthorized
- func (r ListAdminEntitlementsResult) GetJSON403() *Forbidden
- func (r ListAdminEntitlementsResult) Status() string
- func (r ListAdminEntitlementsResult) StatusCode() int
- type ListAdminJobsParams
- type ListAdminJobsResult
- func (r ListAdminJobsResult) ContentType() string
- func (r ListAdminJobsResult) GetBody() []byte
- func (r ListAdminJobsResult) GetJSON200() *AdminJobListResponse
- func (r ListAdminJobsResult) GetJSON401() *Unauthorized
- func (r ListAdminJobsResult) GetJSON403() *Forbidden
- func (r ListAdminJobsResult) Status() string
- func (r ListAdminJobsResult) StatusCode() int
- type ListAllTokensParams
- type ListAllTokensResult
- type ListAuthProvidersResult
- type ListChannelsParams
- type ListChannelsResult
- func (r ListChannelsResult) ContentType() string
- func (r ListChannelsResult) GetBody() []byte
- func (r ListChannelsResult) GetJSON200() *ChannelListResponse
- func (r ListChannelsResult) GetJSON401() *Unauthorized
- func (r ListChannelsResult) GetJSON404() *NotFound
- func (r ListChannelsResult) Status() string
- func (r ListChannelsResult) StatusCode() int
- type ListCheckChannelsResult
- func (r ListCheckChannelsResult) ContentType() string
- func (r ListCheckChannelsResult) GetBody() []byte
- func (r ListCheckChannelsResult) GetJSON200() *CheckChannelListResponse
- func (r ListCheckChannelsResult) GetJSON401() *Unauthorized
- func (r ListCheckChannelsResult) GetJSON404() *NotFound
- func (r ListCheckChannelsResult) Status() string
- func (r ListCheckChannelsResult) StatusCode() int
- type ListCheckDependenciesResult
- func (r ListCheckDependenciesResult) ContentType() string
- func (r ListCheckDependenciesResult) GetBody() []byte
- func (r ListCheckDependenciesResult) GetJSON200() *PerCheckDependenciesResponse
- func (r ListCheckDependenciesResult) GetJSON404() *NotFound
- func (r ListCheckDependenciesResult) Status() string
- func (r ListCheckDependenciesResult) StatusCode() int
- type ListCheckEventsParams
- type ListCheckEventsResult
- func (r ListCheckEventsResult) ContentType() string
- func (r ListCheckEventsResult) GetBody() []byte
- func (r ListCheckEventsResult) GetJSON200() *EventListResponse
- func (r ListCheckEventsResult) GetJSON401() *Unauthorized
- func (r ListCheckEventsResult) GetJSON404() *NotFound
- func (r ListCheckEventsResult) Status() string
- func (r ListCheckEventsResult) StatusCode() int
- type ListCheckGroupsResult
- func (r ListCheckGroupsResult) ContentType() string
- func (r ListCheckGroupsResult) GetBody() []byte
- func (r ListCheckGroupsResult) GetJSON200() *CheckGroupListResponse
- func (r ListCheckGroupsResult) GetJSON401() *Unauthorized
- func (r ListCheckGroupsResult) GetJSON404() *NotFound
- func (r ListCheckGroupsResult) Status() string
- func (r ListCheckGroupsResult) StatusCode() int
- type ListCheckJobsParams
- type ListCheckJobsResult
- func (r ListCheckJobsResult) ContentType() string
- func (r ListCheckJobsResult) GetBody() []byte
- func (r ListCheckJobsResult) GetJSON200() *CheckJobListResponse
- func (r ListCheckJobsResult) GetJSON401() *Unauthorized
- func (r ListCheckJobsResult) GetJSON403() *Forbidden
- func (r ListCheckJobsResult) Status() string
- func (r ListCheckJobsResult) StatusCode() int
- type ListCheckTypeSamplesParams
- type ListCheckTypeSamplesResult
- type ListCheckTypesResult
- type ListChecksParams
- type ListChecksParamsInternal
- type ListChecksParamsSort
- type ListChecksResult
- type ListDiscoveredChecksParams
- type ListDiscoveredChecksResult
- type ListDiscoveryScansResult
- type ListDiscoveryTypesResult
- type ListEmailSuppressionsResult
- func (r ListEmailSuppressionsResult) ContentType() string
- func (r ListEmailSuppressionsResult) GetBody() []byte
- func (r ListEmailSuppressionsResult) GetJSON200() *EmailSuppressionListResponse
- func (r ListEmailSuppressionsResult) GetJSON401() *Unauthorized
- func (r ListEmailSuppressionsResult) GetJSON403() *Forbidden
- func (r ListEmailSuppressionsResult) GetJSON404() *NotFound
- func (r ListEmailSuppressionsResult) Status() string
- func (r ListEmailSuppressionsResult) StatusCode() int
- type ListEntitlementsAuditsParams
- type ListEntitlementsAuditsResult
- func (r ListEntitlementsAuditsResult) ContentType() string
- func (r ListEntitlementsAuditsResult) GetBody() []byte
- func (r ListEntitlementsAuditsResult) GetJSON200() *EntitlementsAuditListResponse
- func (r ListEntitlementsAuditsResult) GetJSON401() *Unauthorized
- func (r ListEntitlementsAuditsResult) GetJSON403() *Forbidden
- func (r ListEntitlementsAuditsResult) GetJSON404() *NotFound
- func (r ListEntitlementsAuditsResult) Status() string
- func (r ListEntitlementsAuditsResult) StatusCode() int
- type ListEscalationPoliciesResult
- func (r ListEscalationPoliciesResult) ContentType() string
- func (r ListEscalationPoliciesResult) GetBody() []byte
- func (r ListEscalationPoliciesResult) GetJSON200() *EscalationPolicyListResponse
- func (r ListEscalationPoliciesResult) GetJSON401() *Unauthorized
- func (r ListEscalationPoliciesResult) GetJSON404() *NotFound
- func (r ListEscalationPoliciesResult) Status() string
- func (r ListEscalationPoliciesResult) StatusCode() int
- type ListEventsParams
- type ListEventsResult
- func (r ListEventsResult) ContentType() string
- func (r ListEventsResult) GetBody() []byte
- func (r ListEventsResult) GetJSON200() *EventListResponse
- func (r ListEventsResult) GetJSON400() *ValidationError
- func (r ListEventsResult) GetJSON401() *Unauthorized
- func (r ListEventsResult) GetJSON404() *NotFound
- func (r ListEventsResult) Status() string
- func (r ListEventsResult) StatusCode() int
- type ListFilesParams
- type ListFilesResult
- func (r ListFilesResult) ContentType() string
- func (r ListFilesResult) GetBody() []byte
- func (r ListFilesResult) GetJSON200() *FileListResponse
- func (r ListFilesResult) GetJSON401() *Unauthorized
- func (r ListFilesResult) GetJSON403() *Forbidden
- func (r ListFilesResult) GetJSON404() *NotFound
- func (r ListFilesResult) Status() string
- func (r ListFilesResult) StatusCode() int
- type ListIncidentEventsParams
- type ListIncidentEventsResult
- func (r ListIncidentEventsResult) ContentType() string
- func (r ListIncidentEventsResult) GetBody() []byte
- func (r ListIncidentEventsResult) GetJSON200() *EventListResponse
- func (r ListIncidentEventsResult) GetJSON401() *Unauthorized
- func (r ListIncidentEventsResult) GetJSON404() *NotFound
- func (r ListIncidentEventsResult) Status() string
- func (r ListIncidentEventsResult) StatusCode() int
- type ListIncidentNotificationsParams
- type ListIncidentNotificationsResult
- func (r ListIncidentNotificationsResult) ContentType() string
- func (r ListIncidentNotificationsResult) GetBody() []byte
- func (r ListIncidentNotificationsResult) GetJSON200() *NotificationListResponse
- func (r ListIncidentNotificationsResult) GetJSON401() *Unauthorized
- func (r ListIncidentNotificationsResult) GetJSON404() *NotFound
- func (r ListIncidentNotificationsResult) Status() string
- func (r ListIncidentNotificationsResult) StatusCode() int
- type ListIncidentPublicationsResult
- func (r ListIncidentPublicationsResult) ContentType() string
- func (r ListIncidentPublicationsResult) GetBody() []byte
- func (r ListIncidentPublicationsResult) GetJSON200() *IncidentPublicationListResponse
- func (r ListIncidentPublicationsResult) GetJSON401() *Unauthorized
- func (r ListIncidentPublicationsResult) GetJSON404() *NotFound
- func (r ListIncidentPublicationsResult) Status() string
- func (r ListIncidentPublicationsResult) StatusCode() int
- type ListIncidentsParams
- type ListIncidentsResult
- func (r ListIncidentsResult) ContentType() string
- func (r ListIncidentsResult) GetBody() []byte
- func (r ListIncidentsResult) GetJSON200() *IncidentListResponse
- func (r ListIncidentsResult) GetJSON401() *Unauthorized
- func (r ListIncidentsResult) GetJSON404() *NotFound
- func (r ListIncidentsResult) Status() string
- func (r ListIncidentsResult) StatusCode() int
- type ListIntegrationIdentitiesResult
- func (r ListIntegrationIdentitiesResult) ContentType() string
- func (r ListIntegrationIdentitiesResult) GetBody() []byte
- func (r ListIntegrationIdentitiesResult) GetJSON200() *IntegrationIdentityListResponse
- func (r ListIntegrationIdentitiesResult) GetJSON400() *ValidationError
- func (r ListIntegrationIdentitiesResult) GetJSON401() *Unauthorized
- func (r ListIntegrationIdentitiesResult) GetJSON404() *NotFound
- func (r ListIntegrationIdentitiesResult) Status() string
- func (r ListIntegrationIdentitiesResult) StatusCode() int
- type ListInvitationsResult
- func (r ListInvitationsResult) ContentType() string
- func (r ListInvitationsResult) GetBody() []byte
- func (r ListInvitationsResult) GetJSON200() *InviteListResponse
- func (r ListInvitationsResult) GetJSON401() *Unauthorized
- func (r ListInvitationsResult) GetJSON403() *Forbidden
- func (r ListInvitationsResult) Status() string
- func (r ListInvitationsResult) StatusCode() int
- type ListJobsParams
- type ListJobsResult
- type ListLabelsParams
- type ListLabelsResult
- func (r ListLabelsResult) ContentType() string
- func (r ListLabelsResult) GetBody() []byte
- func (r ListLabelsResult) GetJSON200() *LabelSuggestionListResponse
- func (r ListLabelsResult) GetJSON401() *Unauthorized
- func (r ListLabelsResult) GetJSON404() *NotFound
- func (r ListLabelsResult) Status() string
- func (r ListLabelsResult) StatusCode() int
- type ListMaintenanceWindowChecksResult
- func (r ListMaintenanceWindowChecksResult) ContentType() string
- func (r ListMaintenanceWindowChecksResult) GetBody() []byte
- func (r ListMaintenanceWindowChecksResult) GetJSON200() *MaintenanceWindowCheckListResponse
- func (r ListMaintenanceWindowChecksResult) GetJSON401() *Unauthorized
- func (r ListMaintenanceWindowChecksResult) GetJSON404() *NotFound
- func (r ListMaintenanceWindowChecksResult) Status() string
- func (r ListMaintenanceWindowChecksResult) StatusCode() int
- type ListMaintenanceWindowsParams
- type ListMaintenanceWindowsResult
- func (r ListMaintenanceWindowsResult) ContentType() string
- func (r ListMaintenanceWindowsResult) GetBody() []byte
- func (r ListMaintenanceWindowsResult) GetJSON200() *MaintenanceWindowListResponse
- func (r ListMaintenanceWindowsResult) GetJSON401() *Unauthorized
- func (r ListMaintenanceWindowsResult) GetJSON404() *NotFound
- func (r ListMaintenanceWindowsResult) Status() string
- func (r ListMaintenanceWindowsResult) StatusCode() int
- type ListMemberCoverageResult
- func (r ListMemberCoverageResult) ContentType() string
- func (r ListMemberCoverageResult) GetBody() []byte
- func (r ListMemberCoverageResult) GetJSON200() *MemberCoverageListResponse
- func (r ListMemberCoverageResult) GetJSON401() *Unauthorized
- func (r ListMemberCoverageResult) GetJSON403() *Forbidden
- func (r ListMemberCoverageResult) GetJSON404() *NotFound
- func (r ListMemberCoverageResult) Status() string
- func (r ListMemberCoverageResult) StatusCode() int
- type ListMembersResult
- func (r ListMembersResult) ContentType() string
- func (r ListMembersResult) GetBody() []byte
- func (r ListMembersResult) GetJSON200() *MemberListResponse
- func (r ListMembersResult) GetJSON401() *Unauthorized
- func (r ListMembersResult) GetJSON404() *NotFound
- func (r ListMembersResult) Status() string
- func (r ListMembersResult) StatusCode() int
- type ListMyMembershipRequestsResult
- func (r ListMyMembershipRequestsResult) ContentType() string
- func (r ListMyMembershipRequestsResult) GetBody() []byte
- func (r ListMyMembershipRequestsResult) GetJSON200() *MembershipRequestListResponse
- func (r ListMyMembershipRequestsResult) GetJSON401() *Unauthorized
- func (r ListMyMembershipRequestsResult) Status() string
- func (r ListMyMembershipRequestsResult) StatusCode() int
- type ListMyNotificationRoutesResult
- func (r ListMyNotificationRoutesResult) ContentType() string
- func (r ListMyNotificationRoutesResult) GetBody() []byte
- func (r ListMyNotificationRoutesResult) GetJSON200() *NotificationRouteListResponse
- func (r ListMyNotificationRoutesResult) GetJSON401() *Unauthorized
- func (r ListMyNotificationRoutesResult) GetJSON404() *NotFound
- func (r ListMyNotificationRoutesResult) Status() string
- func (r ListMyNotificationRoutesResult) StatusCode() int
- type ListMyNotificationsParams
- type ListMyNotificationsResult
- func (r ListMyNotificationsResult) ContentType() string
- func (r ListMyNotificationsResult) GetBody() []byte
- func (r ListMyNotificationsResult) GetJSON200() *NotificationListResponse
- func (r ListMyNotificationsResult) GetJSON401() *Unauthorized
- func (r ListMyNotificationsResult) GetJSON404() *NotFound
- func (r ListMyNotificationsResult) Status() string
- func (r ListMyNotificationsResult) StatusCode() int
- type ListNotificationsParams
- type ListNotificationsResult
- func (r ListNotificationsResult) ContentType() string
- func (r ListNotificationsResult) GetBody() []byte
- func (r ListNotificationsResult) GetJSON200() *NotificationListResponse
- func (r ListNotificationsResult) GetJSON400() *ValidationError
- func (r ListNotificationsResult) GetJSON401() *Unauthorized
- func (r ListNotificationsResult) GetJSON404() *NotFound
- func (r ListNotificationsResult) Status() string
- func (r ListNotificationsResult) StatusCode() int
- type ListOncallOverridesParams
- type ListOncallOverridesResult
- func (r ListOncallOverridesResult) ContentType() string
- func (r ListOncallOverridesResult) GetBody() []byte
- func (r ListOncallOverridesResult) GetJSON200() *OncallOverrideListResponse
- func (r ListOncallOverridesResult) GetJSON400() *ValidationError
- func (r ListOncallOverridesResult) GetJSON401() *Unauthorized
- func (r ListOncallOverridesResult) GetJSON404() *NotFound
- func (r ListOncallOverridesResult) Status() string
- func (r ListOncallOverridesResult) StatusCode() int
- type ListOncallSchedulesResult
- func (r ListOncallSchedulesResult) ContentType() string
- func (r ListOncallSchedulesResult) GetBody() []byte
- func (r ListOncallSchedulesResult) GetJSON200() *OncallScheduleListResponse
- func (r ListOncallSchedulesResult) GetJSON401() *Unauthorized
- func (r ListOncallSchedulesResult) GetJSON404() *NotFound
- func (r ListOncallSchedulesResult) Status() string
- func (r ListOncallSchedulesResult) StatusCode() int
- type ListOrgMembershipRequestsParams
- type ListOrgMembershipRequestsParamsStatus
- type ListOrgMembershipRequestsResult
- func (r ListOrgMembershipRequestsResult) ContentType() string
- func (r ListOrgMembershipRequestsResult) GetBody() []byte
- func (r ListOrgMembershipRequestsResult) GetJSON200() *MembershipRequestAdminListResponse
- func (r ListOrgMembershipRequestsResult) GetJSON401() *Unauthorized
- func (r ListOrgMembershipRequestsResult) GetJSON403() *Forbidden
- func (r ListOrgMembershipRequestsResult) GetJSON404() *NotFound
- func (r ListOrgMembershipRequestsResult) Status() string
- func (r ListOrgMembershipRequestsResult) StatusCode() int
- type ListOrgResultsParams
- type ListOrgResultsResult
- func (r ListOrgResultsResult) ContentType() string
- func (r ListOrgResultsResult) GetBody() []byte
- func (r ListOrgResultsResult) GetJSON200() *OrgResultListResponse
- func (r ListOrgResultsResult) GetJSON401() *Unauthorized
- func (r ListOrgResultsResult) GetJSON404() *NotFound
- func (r ListOrgResultsResult) Status() string
- func (r ListOrgResultsResult) StatusCode() int
- type ListOrgTokensParams
- type ListOrgTokensResult
- type ListRegionsResult
- func (r ListRegionsResult) ContentType() string
- func (r ListRegionsResult) GetBody() []byte
- func (r ListRegionsResult) GetJSON200() *OrgRegionListResponse
- func (r ListRegionsResult) GetJSON401() *Unauthorized
- func (r ListRegionsResult) GetJSON404() *NotFound
- func (r ListRegionsResult) Status() string
- func (r ListRegionsResult) StatusCode() int
- type ListReportSchedulesResult
- func (r ListReportSchedulesResult) ContentType() string
- func (r ListReportSchedulesResult) GetBody() []byte
- func (r ListReportSchedulesResult) GetJSON200() *ReportScheduleListResponse
- func (r ListReportSchedulesResult) GetJSON401() *Unauthorized
- func (r ListReportSchedulesResult) GetJSON404() *NotFound
- func (r ListReportSchedulesResult) Status() string
- func (r ListReportSchedulesResult) StatusCode() int
- type ListSeveritiesResult
- func (r ListSeveritiesResult) ContentType() string
- func (r ListSeveritiesResult) GetBody() []byte
- func (r ListSeveritiesResult) GetJSON200() *SeverityListResponse
- func (r ListSeveritiesResult) GetJSON401() *Unauthorized
- func (r ListSeveritiesResult) GetJSON404() *NotFound
- func (r ListSeveritiesResult) Status() string
- func (r ListSeveritiesResult) StatusCode() int
- type ListSloAlertPoliciesResult
- func (r ListSloAlertPoliciesResult) ContentType() string
- func (r ListSloAlertPoliciesResult) GetBody() []byte
- func (r ListSloAlertPoliciesResult) GetJSON200() *SLOAlertPolicyListResponse
- func (r ListSloAlertPoliciesResult) GetJSON401() *Unauthorized
- func (r ListSloAlertPoliciesResult) GetJSON404() *NotFound
- func (r ListSloAlertPoliciesResult) Status() string
- func (r ListSloAlertPoliciesResult) StatusCode() int
- type ListSlosParams
- type ListSlosResult
- func (r ListSlosResult) ContentType() string
- func (r ListSlosResult) GetBody() []byte
- func (r ListSlosResult) GetJSON200() *SLOListResponse
- func (r ListSlosResult) GetJSON401() *Unauthorized
- func (r ListSlosResult) GetJSON404() *NotFound
- func (r ListSlosResult) Status() string
- func (r ListSlosResult) StatusCode() int
- type ListStatusPageIncidentsParams
- type ListStatusPageIncidentsParamsState
- type ListStatusPageIncidentsResult
- func (r ListStatusPageIncidentsResult) ContentType() string
- func (r ListStatusPageIncidentsResult) GetBody() []byte
- func (r ListStatusPageIncidentsResult) GetJSON200() *IncidentPublicationListResponse
- func (r ListStatusPageIncidentsResult) GetJSON401() *Unauthorized
- func (r ListStatusPageIncidentsResult) GetJSON404() *NotFound
- func (r ListStatusPageIncidentsResult) Status() string
- func (r ListStatusPageIncidentsResult) StatusCode() int
- type ListStatusPageResourcesResult
- func (r ListStatusPageResourcesResult) ContentType() string
- func (r ListStatusPageResourcesResult) GetBody() []byte
- func (r ListStatusPageResourcesResult) GetJSON200() *StatusPageResourceListResponse
- func (r ListStatusPageResourcesResult) GetJSON401() *Unauthorized
- func (r ListStatusPageResourcesResult) GetJSON404() *NotFound
- func (r ListStatusPageResourcesResult) Status() string
- func (r ListStatusPageResourcesResult) StatusCode() int
- type ListStatusPageSectionsResult
- func (r ListStatusPageSectionsResult) ContentType() string
- func (r ListStatusPageSectionsResult) GetBody() []byte
- func (r ListStatusPageSectionsResult) GetJSON200() *StatusPageSectionListResponse
- func (r ListStatusPageSectionsResult) GetJSON401() *Unauthorized
- func (r ListStatusPageSectionsResult) GetJSON404() *NotFound
- func (r ListStatusPageSectionsResult) Status() string
- func (r ListStatusPageSectionsResult) StatusCode() int
- type ListStatusPageSubscribersResult
- func (r ListStatusPageSubscribersResult) ContentType() string
- func (r ListStatusPageSubscribersResult) GetBody() []byte
- func (r ListStatusPageSubscribersResult) GetJSON200() *StatusPageSubscriberListResponse
- func (r ListStatusPageSubscribersResult) GetJSON401() *Unauthorized
- func (r ListStatusPageSubscribersResult) GetJSON404() *NotFound
- func (r ListStatusPageSubscribersResult) Status() string
- func (r ListStatusPageSubscribersResult) StatusCode() int
- type ListStatusPagesResult
- func (r ListStatusPagesResult) ContentType() string
- func (r ListStatusPagesResult) GetBody() []byte
- func (r ListStatusPagesResult) GetJSON200() *StatusPageListResponse
- func (r ListStatusPagesResult) GetJSON401() *Unauthorized
- func (r ListStatusPagesResult) GetJSON404() *NotFound
- func (r ListStatusPagesResult) Status() string
- func (r ListStatusPagesResult) StatusCode() int
- type ListStatusUpdatesParams
- type ListStatusUpdatesResult
- func (r ListStatusUpdatesResult) ContentType() string
- func (r ListStatusUpdatesResult) GetBody() []byte
- func (r ListStatusUpdatesResult) GetJSON200() *StatusUpdateListResponse
- func (r ListStatusUpdatesResult) GetJSON400() *ValidationError
- func (r ListStatusUpdatesResult) GetJSON401() *Unauthorized
- func (r ListStatusUpdatesResult) GetJSON404() *NotFound
- func (r ListStatusUpdatesResult) Status() string
- func (r ListStatusUpdatesResult) StatusCode() int
- type ListSupportMessagesParams
- type ListSupportMessagesResult
- func (r ListSupportMessagesResult) ContentType() string
- func (r ListSupportMessagesResult) GetBody() []byte
- func (r ListSupportMessagesResult) GetJSON200() *SupportMessageListResponse
- func (r ListSupportMessagesResult) GetJSON401() *Unauthorized
- func (r ListSupportMessagesResult) GetJSON403() *Forbidden
- func (r ListSupportMessagesResult) GetJSON404() *NotFound
- func (r ListSupportMessagesResult) Status() string
- func (r ListSupportMessagesResult) StatusCode() int
- type ListSupportThreadsParams
- type ListSupportThreadsParamsChannel
- type ListSupportThreadsParamsStatus
- type ListSupportThreadsResult
- func (r ListSupportThreadsResult) ContentType() string
- func (r ListSupportThreadsResult) GetBody() []byte
- func (r ListSupportThreadsResult) GetJSON200() *SupportThreadListResponse
- func (r ListSupportThreadsResult) GetJSON400() *ValidationError
- func (r ListSupportThreadsResult) GetJSON401() *Unauthorized
- func (r ListSupportThreadsResult) GetJSON403() *Forbidden
- func (r ListSupportThreadsResult) Status() string
- func (r ListSupportThreadsResult) StatusCode() int
- type ListSystemCheckJobsParams
- type ListSystemCheckJobsResult
- func (r ListSystemCheckJobsResult) ContentType() string
- func (r ListSystemCheckJobsResult) GetBody() []byte
- func (r ListSystemCheckJobsResult) GetJSON200() *CheckJobListResponse
- func (r ListSystemCheckJobsResult) GetJSON401() *Unauthorized
- func (r ListSystemCheckJobsResult) GetJSON403() *Forbidden
- func (r ListSystemCheckJobsResult) Status() string
- func (r ListSystemCheckJobsResult) StatusCode() int
- type ListSystemJobsParams
- type ListSystemJobsResult
- func (r ListSystemJobsResult) ContentType() string
- func (r ListSystemJobsResult) GetBody() []byte
- func (r ListSystemJobsResult) GetJSON200() *AdminJobListResponse
- func (r ListSystemJobsResult) GetJSON401() *Unauthorized
- func (r ListSystemJobsResult) GetJSON403() *Forbidden
- func (r ListSystemJobsResult) Status() string
- func (r ListSystemJobsResult) StatusCode() int
- type ListSystemParametersResult
- func (r ListSystemParametersResult) ContentType() string
- func (r ListSystemParametersResult) GetBody() []byte
- func (r ListSystemParametersResult) GetJSON200() *SystemParameterListResponse
- func (r ListSystemParametersResult) GetJSON401() *Unauthorized
- func (r ListSystemParametersResult) GetJSON403() *Forbidden
- func (r ListSystemParametersResult) Status() string
- func (r ListSystemParametersResult) StatusCode() int
- type ListUserNotificationsParams
- type ListUserNotificationsResult
- func (r ListUserNotificationsResult) ContentType() string
- func (r ListUserNotificationsResult) GetBody() []byte
- func (r ListUserNotificationsResult) GetJSON200() *NotificationListResponse
- func (r ListUserNotificationsResult) GetJSON401() *Unauthorized
- func (r ListUserNotificationsResult) GetJSON403() *Forbidden
- func (r ListUserNotificationsResult) GetJSON404() *NotFound
- func (r ListUserNotificationsResult) Status() string
- func (r ListUserNotificationsResult) StatusCode() int
- type LoginJSONRequestBody
- type LoginRequest
- type LoginResponse
- type LoginResponseLoginAction
- type LoginResult
- type LogoutJSONRequestBody
- type LogoutRequest
- type LogoutResponse
- type LogoutResult
- type MaintenanceWindow
- type MaintenanceWindowCheck
- type MaintenanceWindowCheckListResponse
- type MaintenanceWindowListResponse
- type MaintenanceWindowOccurrence
- type MaintenanceWindowUidPath
- type MeResponse
- type Member
- type MemberChannelCoverage
- type MemberCoverage
- type MemberCoverageListResponse
- type MemberListResponse
- type MemberRole
- type MemberUidPath
- type MembershipRequestAdminListResponse
- type MembershipRequestAdminView
- type MembershipRequestAdminViewStatus
- type MembershipRequestListResponse
- type MembershipRequestSummary
- type MembershipRequestSummaryStatus
- type MembershipRequestUidPath
- type MembershipRequestUser
- type MemoryBuild
- type MemoryCgroup
- type MemoryDerived
- type MemoryProcStatus
- type MemoryProcess
- type MemoryRuntime
- type MemoryRuntimeClasses
- type MemorySample
- type MemorySampleMode
- type MemorySmapsRollup
- type MemorySnapshot
- type MemorySnapshotResponse
- type MemorySubsystems
- type MessageResponse
- type MigrateRegionJSONRequestBody
- type MigrateRegionResult
- func (r MigrateRegionResult) ContentType() string
- func (r MigrateRegionResult) GetBody() []byte
- func (r MigrateRegionResult) GetJSON200() *RegionMigrationReport
- func (r MigrateRegionResult) GetJSON401() *Unauthorized
- func (r MigrateRegionResult) GetJSON403() *Forbidden
- func (r MigrateRegionResult) GetJSON422() *ValidationError
- func (r MigrateRegionResult) Status() string
- func (r MigrateRegionResult) StatusCode() int
- type NotFound
- type Notification
- type NotificationBeforeQuery
- type NotificationConnection
- type NotificationConnectionUidQuery
- type NotificationContact
- type NotificationDetail
- type NotificationIncident
- type NotificationLimitQuery
- type NotificationListResponse
- type NotificationRoute
- type NotificationRouteListResponse
- type NotificationSlackSuggestion
- type NotificationStatusQuery
- type NotificationUidPath
- type NotificationUser
- type NotificationUserUidQuery
- type OncallIcalFeedResponse
- type OncallOverride
- type OncallOverrideListResponse
- type OncallOverrideUidPath
- type OncallPreviewResponse
- type OncallPreviewSlot
- type OncallSchedule
- type OncallScheduleListResponse
- type OncallScheduleUidPath
- type OncallUserRef
- type OrgDependencyGraphResponse
- type OrgLogoResponse
- type OrgPath
- type OrgProfileResponse
- type OrgRegionListResponse
- type OrgResponse
- type OrgResult
- type OrgResultListResponse
- type OrgResultStatus
- type OrgSettingsResponse
- type OrganizationMemberSummary
- type OrganizationMemberSummaryRole
- type OrganizationRef
- type OrganizationSummary
- type PatchEntitlementsJSONRequestBody
- type PatchEntitlementsResult
- func (r PatchEntitlementsResult) ContentType() string
- func (r PatchEntitlementsResult) GetBody() []byte
- func (r PatchEntitlementsResult) GetJSON200() *EntitlementsResponse
- func (r PatchEntitlementsResult) GetJSON400() *ValidationError
- func (r PatchEntitlementsResult) GetJSON401() *Unauthorized
- func (r PatchEntitlementsResult) GetJSON403() *Forbidden
- func (r PatchEntitlementsResult) GetJSON404() *NotFound
- func (r PatchEntitlementsResult) Status() string
- func (r PatchEntitlementsResult) StatusCode() int
- type PerCheckDependencies
- type PerCheckDependenciesResponse
- type PeriodIncidents
- type PollDeviceTokenJSONRequestBody
- type PollDeviceTokenResult
- func (r PollDeviceTokenResult) ContentType() string
- func (r PollDeviceTokenResult) GetBody() []byte
- func (r PollDeviceTokenResult) GetJSON200() *DeviceTokenResponse
- func (r PollDeviceTokenResult) GetJSON400() *DeviceTokenError
- func (r PollDeviceTokenResult) Status() string
- func (r PollDeviceTokenResult) StatusCode() int
- type PreviewOncallScheduleParams
- type PreviewOncallScheduleResult
- func (r PreviewOncallScheduleResult) ContentType() string
- func (r PreviewOncallScheduleResult) GetBody() []byte
- func (r PreviewOncallScheduleResult) GetJSON200() *OncallPreviewResponse
- func (r PreviewOncallScheduleResult) GetJSON400() *ValidationError
- func (r PreviewOncallScheduleResult) GetJSON401() *Unauthorized
- func (r PreviewOncallScheduleResult) GetJSON404() *NotFound
- func (r PreviewOncallScheduleResult) Status() string
- func (r PreviewOncallScheduleResult) StatusCode() int
- type PromoteChecksRequest
- type PromoteDiscoveredChecksJSONRequestBody
- type PromoteDiscoveredChecksResult
- func (r PromoteDiscoveredChecksResult) ContentType() string
- func (r PromoteDiscoveredChecksResult) GetBody() []byte
- func (r PromoteDiscoveredChecksResult) GetJSON201() ...
- func (r PromoteDiscoveredChecksResult) GetJSON403() *Forbidden
- func (r PromoteDiscoveredChecksResult) GetJSON404() *NotFound
- func (r PromoteDiscoveredChecksResult) GetJSON409() *Error
- func (r PromoteDiscoveredChecksResult) Status() string
- func (r PromoteDiscoveredChecksResult) StatusCode() int
- type PublicConfigResponse
- type PublicIncident
- type PublicIncidentListResponse
- type PublicIncidentSeverity
- type PublicIncidentState
- type PublicIncidentUpdate
- type PublicIncidentUpdateKind
- type PublicPostHogConfig
- type PublicTelegramConfig
- type PublicWhatsAppConfig
- type PublicationUidPath
- type PublicationUpdate
- type PublicationUpdateKind
- type PublishIncidentJSONRequestBody
- type PublishIncidentRequest
- type PublishIncidentRequestSeverity
- type PublishIncidentResult
- func (r PublishIncidentResult) ContentType() string
- func (r PublishIncidentResult) GetBody() []byte
- func (r PublishIncidentResult) GetJSON201() *IncidentPublication
- func (r PublishIncidentResult) GetJSON401() *Unauthorized
- func (r PublishIncidentResult) GetJSON404() *NotFound
- func (r PublishIncidentResult) GetJSON409() *Conflict
- func (r PublishIncidentResult) Status() string
- func (r PublishIncidentResult) StatusCode() int
- type RefreshRequest
- type RefreshResponse
- type RefreshTokenJSONRequestBody
- type RefreshTokenResult
- type Region
- type RegionCapabilities
- type RegionCapabilitiesBrowser
- type RegionCapabilitiesIpv4
- type RegionCapabilitiesIpv6
- type RegionHealthReport
- type RegionHealthRow
- type RegionMigrationReport
- type RegionMigrationRequest
- type RegisterJSONRequestBody
- type RegisterRequest
- type RegisterResult
- type RejectMembershipRequestJSONRequestBody
- type RejectMembershipRequestRequest
- type RejectMembershipRequestResult
- func (r RejectMembershipRequestResult) ContentType() string
- func (r RejectMembershipRequestResult) GetBody() []byte
- func (r RejectMembershipRequestResult) GetJSON401() *Unauthorized
- func (r RejectMembershipRequestResult) GetJSON403() *Forbidden
- func (r RejectMembershipRequestResult) GetJSON404() *NotFound
- func (r RejectMembershipRequestResult) Status() string
- func (r RejectMembershipRequestResult) StatusCode() int
- type ReleaseAdminEntitlementsResult
- func (r ReleaseAdminEntitlementsResult) ContentType() string
- func (r ReleaseAdminEntitlementsResult) GetBody() []byte
- func (r ReleaseAdminEntitlementsResult) GetJSON200() *AdminEntitlementsWriteResponse
- func (r ReleaseAdminEntitlementsResult) GetJSON401() *Unauthorized
- func (r ReleaseAdminEntitlementsResult) GetJSON403() *Forbidden
- func (r ReleaseAdminEntitlementsResult) GetJSON404() *NotFound
- func (r ReleaseAdminEntitlementsResult) Status() string
- func (r ReleaseAdminEntitlementsResult) StatusCode() int
- type RemoveCheckChannelResult
- func (r RemoveCheckChannelResult) ContentType() string
- func (r RemoveCheckChannelResult) GetBody() []byte
- func (r RemoveCheckChannelResult) GetJSON401() *Unauthorized
- func (r RemoveCheckChannelResult) GetJSON404() *NotFound
- func (r RemoveCheckChannelResult) Status() string
- func (r RemoveCheckChannelResult) StatusCode() int
- type RemoveMemberResult
- func (r RemoveMemberResult) ContentType() string
- func (r RemoveMemberResult) GetBody() []byte
- func (r RemoveMemberResult) GetJSON403() *Forbidden
- func (r RemoveMemberResult) GetJSON404() *NotFound
- func (r RemoveMemberResult) GetJSON409() *Error
- func (r RemoveMemberResult) Status() string
- func (r RemoveMemberResult) StatusCode() int
- type RemoveMyNotificationContactResult
- func (r RemoveMyNotificationContactResult) ContentType() string
- func (r RemoveMyNotificationContactResult) GetBody() []byte
- func (r RemoveMyNotificationContactResult) GetJSON401() *Unauthorized
- func (r RemoveMyNotificationContactResult) GetJSON404() *NotFound
- func (r RemoveMyNotificationContactResult) Status() string
- func (r RemoveMyNotificationContactResult) StatusCode() int
- type RemoveStatusPageSubscriberResult
- func (r RemoveStatusPageSubscriberResult) ContentType() string
- func (r RemoveStatusPageSubscriberResult) GetBody() []byte
- func (r RemoveStatusPageSubscriberResult) GetJSON401() *Unauthorized
- func (r RemoveStatusPageSubscriberResult) GetJSON404() *NotFound
- func (r RemoveStatusPageSubscriberResult) Status() string
- func (r RemoveStatusPageSubscriberResult) StatusCode() int
- type ReorderStatusPageResourcesJSONRequestBody
- type ReorderStatusPageResourcesResult
- func (r ReorderStatusPageResourcesResult) ContentType() string
- func (r ReorderStatusPageResourcesResult) GetBody() []byte
- func (r ReorderStatusPageResourcesResult) GetJSON400() *ValidationError
- func (r ReorderStatusPageResourcesResult) GetJSON401() *Unauthorized
- func (r ReorderStatusPageResourcesResult) GetJSON404() *NotFound
- func (r ReorderStatusPageResourcesResult) Status() string
- func (r ReorderStatusPageResourcesResult) StatusCode() int
- type ReorderStatusPageSectionsJSONRequestBody
- type ReorderStatusPageSectionsResult
- func (r ReorderStatusPageSectionsResult) ContentType() string
- func (r ReorderStatusPageSectionsResult) GetBody() []byte
- func (r ReorderStatusPageSectionsResult) GetJSON400() *ValidationError
- func (r ReorderStatusPageSectionsResult) GetJSON401() *Unauthorized
- func (r ReorderStatusPageSectionsResult) GetJSON404() *NotFound
- func (r ReorderStatusPageSectionsResult) Status() string
- func (r ReorderStatusPageSectionsResult) StatusCode() int
- type ReorderUidsRequest
- type ReportSchedule
- type ReportScheduleFrequency
- type ReportScheduleListResponse
- type ReportScheduleUidPath
- type RequestEditorFn
- type RequestPasswordResetJSONRequestBody
- type RequestPasswordResetRequest
- type RequestPasswordResetResult
- func (r RequestPasswordResetResult) ContentType() string
- func (r RequestPasswordResetResult) GetBody() []byte
- func (r RequestPasswordResetResult) GetJSON200() *MessageResponse
- func (r RequestPasswordResetResult) GetJSON429() *TooManyRequests
- func (r RequestPasswordResetResult) Status() string
- func (r RequestPasswordResetResult) StatusCode() int
- type ResendSupportMessageResult
- func (r ResendSupportMessageResult) ContentType() string
- func (r ResendSupportMessageResult) GetBody() []byte
- func (r ResendSupportMessageResult) GetJSON200() *SupportMessage
- func (r ResendSupportMessageResult) GetJSON202() *SupportMessage
- func (r ResendSupportMessageResult) GetJSON401() *Unauthorized
- func (r ResendSupportMessageResult) GetJSON403() *Forbidden
- func (r ResendSupportMessageResult) GetJSON404() *NotFound
- func (r ResendSupportMessageResult) GetJSON409() *Conflict
- func (r ResendSupportMessageResult) Status() string
- func (r ResendSupportMessageResult) StatusCode() int
- type ResetPasswordJSONRequestBody
- type ResetPasswordRequest
- type ResetPasswordResult
- func (r ResetPasswordResult) ContentType() string
- func (r ResetPasswordResult) GetBody() []byte
- func (r ResetPasswordResult) GetJSON200() *MessageResponse
- func (r ResetPasswordResult) GetJSON400() *ValidationError
- func (r ResetPasswordResult) GetJSON410() *Error
- func (r ResetPasswordResult) Status() string
- func (r ResetPasswordResult) StatusCode() int
- type ResolveIncidentJSONRequestBody
- type ResolveIncidentResult
- func (r ResolveIncidentResult) ContentType() string
- func (r ResolveIncidentResult) GetBody() []byte
- func (r ResolveIncidentResult) GetJSON200() *IncidentDetail
- func (r ResolveIncidentResult) GetJSON401() *Unauthorized
- func (r ResolveIncidentResult) GetJSON404() *NotFound
- func (r ResolveIncidentResult) Status() string
- func (r ResolveIncidentResult) StatusCode() int
- type ResourceUidPath
- type RespondToDeviceConsentJSONRequestBody
- type RespondToDeviceConsentResult
- func (r RespondToDeviceConsentResult) ContentType() string
- func (r RespondToDeviceConsentResult) GetBody() []byte
- func (r RespondToDeviceConsentResult) GetJSON200() *DeviceConsentResponse
- func (r RespondToDeviceConsentResult) GetJSON404() *NotFound
- func (r RespondToDeviceConsentResult) Status() string
- func (r RespondToDeviceConsentResult) StatusCode() int
- type ResultFallbackInfo
- type ResultFallbackInfoReason
- type ResultsCursorPagination
- type ResultsWindow
- type RevokeStatusPageKioskTokenResult
- func (r RevokeStatusPageKioskTokenResult) ContentType() string
- func (r RevokeStatusPageKioskTokenResult) GetBody() []byte
- func (r RevokeStatusPageKioskTokenResult) GetJSON401() *Unauthorized
- func (r RevokeStatusPageKioskTokenResult) GetJSON404() *NotFound
- func (r RevokeStatusPageKioskTokenResult) Status() string
- func (r RevokeStatusPageKioskTokenResult) StatusCode() int
- type RevokeTokenResult
- type RotateChannelSecretResult
- func (r RotateChannelSecretResult) ContentType() string
- func (r RotateChannelSecretResult) GetBody() []byte
- func (r RotateChannelSecretResult) GetJSON200() *Channel
- func (r RotateChannelSecretResult) GetJSON400() *ValidationError
- func (r RotateChannelSecretResult) GetJSON401() *Unauthorized
- func (r RotateChannelSecretResult) GetJSON404() *NotFound
- func (r RotateChannelSecretResult) Status() string
- func (r RotateChannelSecretResult) StatusCode() int
- type RotateHeartbeatTokenResult
- func (r RotateHeartbeatTokenResult) ContentType() string
- func (r RotateHeartbeatTokenResult) GetBody() []byte
- func (r RotateHeartbeatTokenResult) GetJSON200() *Check
- func (r RotateHeartbeatTokenResult) GetJSON400() *ValidationError
- func (r RotateHeartbeatTokenResult) GetJSON401() *Unauthorized
- func (r RotateHeartbeatTokenResult) GetJSON404() *NotFound
- func (r RotateHeartbeatTokenResult) Status() string
- func (r RotateHeartbeatTokenResult) StatusCode() int
- type RotateOncallIcalFeedResult
- func (r RotateOncallIcalFeedResult) ContentType() string
- func (r RotateOncallIcalFeedResult) GetBody() []byte
- func (r RotateOncallIcalFeedResult) GetJSON200() *OncallIcalFeedResponse
- func (r RotateOncallIcalFeedResult) GetJSON401() *Unauthorized
- func (r RotateOncallIcalFeedResult) GetJSON404() *NotFound
- func (r RotateOncallIcalFeedResult) Status() string
- func (r RotateOncallIcalFeedResult) StatusCode() int
- type RouteUidPath
- type SLO
- type SLOAlertPolicy
- type SLOAlertPolicyKind
- type SLOAlertPolicyListResponse
- type SLOAlertPolicySeverity
- type SLOAlertPolicyUidPath
- type SLOBurndownPoint
- type SLOBurndownResponse
- type SLOHistoryResponse
- type SLOListResponse
- type SLOStatusResponse
- type SLOStatusRow
- type SLOStatusRowState
- type SLOUidPath
- type SLOWindow
- type ScanJobUidPath
- type SectionUidPath
- type SendMemberPagingNudgeResult
- func (r SendMemberPagingNudgeResult) ContentType() string
- func (r SendMemberPagingNudgeResult) GetBody() []byte
- func (r SendMemberPagingNudgeResult) GetJSON400() *ValidationError
- func (r SendMemberPagingNudgeResult) GetJSON401() *Unauthorized
- func (r SendMemberPagingNudgeResult) GetJSON403() *Forbidden
- func (r SendMemberPagingNudgeResult) GetJSON404() *NotFound
- func (r SendMemberPagingNudgeResult) Status() string
- func (r SendMemberPagingNudgeResult) StatusCode() int
- type SendTestEmailJSONRequestBody
- type SendTestEmailResult
- func (r SendTestEmailResult) ContentType() string
- func (r SendTestEmailResult) GetBody() []byte
- func (r SendTestEmailResult) GetJSON200() *TestEmailResponse
- func (r SendTestEmailResult) GetJSON401() *Unauthorized
- func (r SendTestEmailResult) GetJSON403() *Forbidden
- func (r SendTestEmailResult) Status() string
- func (r SendTestEmailResult) StatusCode() int
- type SetAdminEntitlementsJSONRequestBody
- type SetAdminEntitlementsResult
- func (r SetAdminEntitlementsResult) ContentType() string
- func (r SetAdminEntitlementsResult) GetBody() []byte
- func (r SetAdminEntitlementsResult) GetJSON200() *AdminEntitlementsWriteResponse
- func (r SetAdminEntitlementsResult) GetJSON401() *Unauthorized
- func (r SetAdminEntitlementsResult) GetJSON403() *Forbidden
- func (r SetAdminEntitlementsResult) GetJSON404() *NotFound
- func (r SetAdminEntitlementsResult) GetJSON422() *ValidationError
- func (r SetAdminEntitlementsResult) Status() string
- func (r SetAdminEntitlementsResult) StatusCode() int
- type SetCheckChannelsJSONRequestBody
- type SetCheckChannelsRequest
- type SetCheckChannelsResult
- func (r SetCheckChannelsResult) ContentType() string
- func (r SetCheckChannelsResult) GetBody() []byte
- func (r SetCheckChannelsResult) GetJSON400() *ValidationError
- func (r SetCheckChannelsResult) GetJSON401() *Unauthorized
- func (r SetCheckChannelsResult) GetJSON404() *NotFound
- func (r SetCheckChannelsResult) Status() string
- func (r SetCheckChannelsResult) StatusCode() int
- type SetEntitlementsJSONRequestBody
- type SetEntitlementsRequest
- type SetEntitlementsResult
- func (r SetEntitlementsResult) ContentType() string
- func (r SetEntitlementsResult) GetBody() []byte
- func (r SetEntitlementsResult) GetJSON200() *EntitlementsResponse
- func (r SetEntitlementsResult) GetJSON400() *ValidationError
- func (r SetEntitlementsResult) GetJSON401() *Unauthorized
- func (r SetEntitlementsResult) GetJSON403() *Forbidden
- func (r SetEntitlementsResult) GetJSON404() *NotFound
- func (r SetEntitlementsResult) Status() string
- func (r SetEntitlementsResult) StatusCode() int
- type SetIntegrationIdentityJSONRequestBody
- type SetIntegrationIdentityRequest
- type SetIntegrationIdentityResult
- func (r SetIntegrationIdentityResult) ContentType() string
- func (r SetIntegrationIdentityResult) GetBody() []byte
- func (r SetIntegrationIdentityResult) GetJSON200() *IntegrationIdentity
- func (r SetIntegrationIdentityResult) GetJSON400() *ValidationError
- func (r SetIntegrationIdentityResult) GetJSON401() *Unauthorized
- func (r SetIntegrationIdentityResult) GetJSON403() *Forbidden
- func (r SetIntegrationIdentityResult) GetJSON404() *NotFound
- func (r SetIntegrationIdentityResult) Status() string
- func (r SetIntegrationIdentityResult) StatusCode() int
- type SetMaintenanceWindowChecksJSONRequestBody
- type SetMaintenanceWindowChecksRequest
- type SetMaintenanceWindowChecksResult
- func (r SetMaintenanceWindowChecksResult) ContentType() string
- func (r SetMaintenanceWindowChecksResult) GetBody() []byte
- func (r SetMaintenanceWindowChecksResult) GetJSON400() *ValidationError
- func (r SetMaintenanceWindowChecksResult) GetJSON401() *Unauthorized
- func (r SetMaintenanceWindowChecksResult) GetJSON404() *NotFound
- func (r SetMaintenanceWindowChecksResult) Status() string
- func (r SetMaintenanceWindowChecksResult) StatusCode() int
- type SetSystemParameterJSONRequestBody
- type SetSystemParameterRequest
- type SetSystemParameterResult
- func (r SetSystemParameterResult) ContentType() string
- func (r SetSystemParameterResult) GetBody() []byte
- func (r SetSystemParameterResult) GetJSON200() *SystemParameter
- func (r SetSystemParameterResult) GetJSON401() *Unauthorized
- func (r SetSystemParameterResult) GetJSON403() *Forbidden
- func (r SetSystemParameterResult) Status() string
- func (r SetSystemParameterResult) StatusCode() int
- type Severity
- type SeverityListResponse
- type SeverityUidPath
- type SnoozeIncidentJSONRequestBody
- type SnoozeIncidentResult
- func (r SnoozeIncidentResult) ContentType() string
- func (r SnoozeIncidentResult) GetBody() []byte
- func (r SnoozeIncidentResult) GetJSON200() *IncidentDetail
- func (r SnoozeIncidentResult) GetJSON400() *ValidationError
- func (r SnoozeIncidentResult) GetJSON401() *Unauthorized
- func (r SnoozeIncidentResult) GetJSON404() *NotFound
- func (r SnoozeIncidentResult) Status() string
- func (r SnoozeIncidentResult) StatusCode() int
- type SolidPingClient
- func (c *SolidPingClient) AddCheckDependency(ctx context.Context, org, child string, body CreateDependencyBody) (*DependencyEdge, error)
- func (c *SolidPingClient) ApplyChecks(ctx context.Context, org string, body []byte, contentType string, ...) (json.RawMessage, error)
- func (c *SolidPingClient) CreateToken(ctx context.Context, org, name string, expiresAt *time.Time) (*CreateTokenResponse, error)
- func (c *SolidPingClient) DeleteCheckDependency(ctx context.Context, org, child, depUID string) error
- func (c *SolidPingClient) ExportChecks(ctx context.Context, org string) (json.RawMessage, error)
- func (c *SolidPingClient) GetOnCallICalFeed(ctx context.Context, secret string) (string, error)
- func (c *SolidPingClient) GetTokens(ctx context.Context) (*TokenListResponse, error)
- func (c *SolidPingClient) ImportChecks(ctx context.Context, org string, body []byte, contentType string, dryRun bool) (json.RawMessage, error)
- func (c *SolidPingClient) ListCheckDependencies(ctx context.Context, org, check string) (*PerCheckDependencies, error)
- func (c *SolidPingClient) Login(ctx context.Context, org string, email, password string) (*LoginResponse, error)
- func (c *SolidPingClient) Logout(ctx context.Context, deleteAllTokens bool) (*LogoutResponse, error)
- func (c *SolidPingClient) Me(ctx context.Context) (*MeResponse, error)
- func (c *SolidPingClient) RawPutCheckBySlug(ctx context.Context, org, slug string, body map[string]any) (int, error)
- func (c *SolidPingClient) Refresh(ctx context.Context, refreshToken string) (*RefreshResponse, error)
- func (c *SolidPingClient) RevokeToken(ctx context.Context, tokenUID string) error
- func (c *SolidPingClient) SendHeartbeat(ctx context.Context, org, identifier string, opts HeartbeatOptions) error
- func (c *SolidPingClient) SessionRequiresPasswordChange(ctx context.Context) (bool, error)
- func (c *SolidPingClient) SetToken(token string)
- func (c *SolidPingClient) SwitchOrg(ctx context.Context, orgSlug string) (*LoginResponse, error)
- type StartDeviceAuthorizationJSONRequestBody
- type StartDeviceAuthorizationResult
- func (r StartDeviceAuthorizationResult) ContentType() string
- func (r StartDeviceAuthorizationResult) GetBody() []byte
- func (r StartDeviceAuthorizationResult) GetJSON200() *DeviceAuthorizationResponse
- func (r StartDeviceAuthorizationResult) GetJSON422() *ValidationError
- func (r StartDeviceAuthorizationResult) Status() string
- func (r StartDeviceAuthorizationResult) StatusCode() int
- type StartDiscoveryScanJSONRequestBody
- type StartDiscoveryScanRequest
- type StartDiscoveryScanResult
- func (r StartDiscoveryScanResult) ContentType() string
- func (r StartDiscoveryScanResult) GetBody() []byte
- func (r StartDiscoveryScanResult) GetJSON201() ...
- func (r StartDiscoveryScanResult) GetJSON400() *Error
- func (r StartDiscoveryScanResult) GetJSON403() *Forbidden
- func (r StartDiscoveryScanResult) GetJSON404() *Error
- func (r StartDiscoveryScanResult) GetJSON409() *Error
- func (r StartDiscoveryScanResult) GetJSON422() *Error
- func (r StartDiscoveryScanResult) Status() string
- func (r StartDiscoveryScanResult) StatusCode() int
- type StatusCounts
- type StatusPage
- type StatusPageAutoResolve
- type StatusPageCustomDomainCertStatus
- type StatusPageCustomDomainState
- type StatusPageCustomDomainStatus
- type StatusPageEndpointSubscriber
- type StatusPageEndpointSubscriberChannel
- type StatusPageFeedResult
- func (r StatusPageFeedResult) ContentType() string
- func (r StatusPageFeedResult) GetBody() []byte
- func (r StatusPageFeedResult) GetJSON401() *StatusPageLocked
- func (r StatusPageFeedResult) GetJSON404() *NotFound
- func (r StatusPageFeedResult) Status() string
- func (r StatusPageFeedResult) StatusCode() int
- type StatusPageListResponse
- type StatusPageLocked
- type StatusPageOverallStatus
- type StatusPageResource
- type StatusPageResourceListResponse
- type StatusPageSection
- type StatusPageSectionListResponse
- type StatusPageSectionSelector
- type StatusPageSettings
- type StatusPageSubscribeRequest
- type StatusPageSubscribeRequestChannel
- type StatusPageSubscribeRequestScope
- type StatusPageSubscriber
- type StatusPageSubscriberChannel
- type StatusPageSubscriberListResponse
- type StatusPageSummary
- type StatusPageSummaryStatus
- type StatusPageUidPath
- type StatusPageUnlockRequest
- type StatusPageVisibility
- type StatusUpdate
- type StatusUpdateListResponse
- type StatusUpdatePublic
- type StatusUpdateUidPath
- type SubscribeToStatusPageJSONRequestBody
- type SubscribeToStatusPageResult
- func (r SubscribeToStatusPageResult) ContentType() string
- func (r SubscribeToStatusPageResult) GetBody() []byte
- func (r SubscribeToStatusPageResult) GetJSON202() ...
- func (r SubscribeToStatusPageResult) GetJSON401() *StatusPageLocked
- func (r SubscribeToStatusPageResult) GetJSON404() *NotFound
- func (r SubscribeToStatusPageResult) GetJSON422() *ValidationError
- func (r SubscribeToStatusPageResult) Status() string
- func (r SubscribeToStatusPageResult) StatusCode() int
- type SubscriberUidPath
- type SupportMessage
- type SupportMessageDirection
- type SupportMessageListResponse
- type SupportMessageRawType
- type SupportReplyWindow
- type SupportThread
- type SupportThreadChannel
- type SupportThreadListResponse
- type SupportThreadStatus
- type SwitchOrgJSONRequestBody
- type SwitchOrgRequest
- type SwitchOrgResult
- type SyncEmailInboxResult
- func (r SyncEmailInboxResult) ContentType() string
- func (r SyncEmailInboxResult) GetBody() []byte
- func (r SyncEmailInboxResult) GetJSON200() *EmailInboxSyncResponse
- func (r SyncEmailInboxResult) GetJSON401() *Unauthorized
- func (r SyncEmailInboxResult) GetJSON403() *Forbidden
- func (r SyncEmailInboxResult) Status() string
- func (r SyncEmailInboxResult) StatusCode() int
- type SyncIntegrationIdentitiesResult
- func (r SyncIntegrationIdentitiesResult) ContentType() string
- func (r SyncIntegrationIdentitiesResult) GetBody() []byte
- func (r SyncIntegrationIdentitiesResult) GetJSON200() *IntegrationIdentitySyncResponse
- func (r SyncIntegrationIdentitiesResult) GetJSON400() *ValidationError
- func (r SyncIntegrationIdentitiesResult) GetJSON401() *Unauthorized
- func (r SyncIntegrationIdentitiesResult) GetJSON403() *Forbidden
- func (r SyncIntegrationIdentitiesResult) GetJSON404() *NotFound
- func (r SyncIntegrationIdentitiesResult) Status() string
- func (r SyncIntegrationIdentitiesResult) StatusCode() int
- type SystemParameter
- type SystemParameterListResponse
- type TelegramLinkResponse
- type TestChannelResult
- func (r TestChannelResult) ContentType() string
- func (r TestChannelResult) GetBody() []byte
- func (r TestChannelResult) GetJSON200() *ChannelTestResult
- func (r TestChannelResult) GetJSON400() *ValidationError
- func (r TestChannelResult) GetJSON401() *Unauthorized
- func (r TestChannelResult) GetJSON404() *NotFound
- func (r TestChannelResult) Status() string
- func (r TestChannelResult) StatusCode() int
- type TestEmailInboxResult
- func (r TestEmailInboxResult) ContentType() string
- func (r TestEmailInboxResult) GetBody() []byte
- func (r TestEmailInboxResult) GetJSON200() *EmailInboxTestResponse
- func (r TestEmailInboxResult) GetJSON401() *Unauthorized
- func (r TestEmailInboxResult) GetJSON403() *Forbidden
- func (r TestEmailInboxResult) Status() string
- func (r TestEmailInboxResult) StatusCode() int
- type TestEmailRequest
- type TestEmailResponse
- type TestMyNotificationRouteResult
- func (r TestMyNotificationRouteResult) ContentType() string
- func (r TestMyNotificationRouteResult) GetBody() []byte
- func (r TestMyNotificationRouteResult) GetJSON401() *Unauthorized
- func (r TestMyNotificationRouteResult) GetJSON404() *NotFound
- func (r TestMyNotificationRouteResult) GetJSON422() *ValidationError
- func (r TestMyNotificationRouteResult) Status() string
- func (r TestMyNotificationRouteResult) StatusCode() int
- type TestReportScheduleJSONBody
- type TestReportScheduleJSONRequestBody
- type TestReportScheduleResult
- func (r TestReportScheduleResult) ContentType() string
- func (r TestReportScheduleResult) GetBody() []byte
- func (r TestReportScheduleResult) GetJSON400() *ValidationError
- func (r TestReportScheduleResult) GetJSON401() *Unauthorized
- func (r TestReportScheduleResult) GetJSON404() *NotFound
- func (r TestReportScheduleResult) GetJSON409() *Conflict
- func (r TestReportScheduleResult) Status() string
- func (r TestReportScheduleResult) StatusCode() int
- type Token
- type TokenListResponse
- type TokenUidPath
- type TooManyRequests
- type UnacknowledgeIncidentResult
- func (r UnacknowledgeIncidentResult) ContentType() string
- func (r UnacknowledgeIncidentResult) GetBody() []byte
- func (r UnacknowledgeIncidentResult) GetJSON200() *IncidentDetail
- func (r UnacknowledgeIncidentResult) GetJSON401() *Unauthorized
- func (r UnacknowledgeIncidentResult) GetJSON404() *NotFound
- func (r UnacknowledgeIncidentResult) Status() string
- func (r UnacknowledgeIncidentResult) StatusCode() int
- type Unauthorized
- type UnlockDefaultStatusPageJSONRequestBody
- type UnlockDefaultStatusPageResult
- func (r UnlockDefaultStatusPageResult) ContentType() string
- func (r UnlockDefaultStatusPageResult) GetBody() []byte
- func (r UnlockDefaultStatusPageResult) GetJSON401() *Error
- func (r UnlockDefaultStatusPageResult) GetJSON404() *Error
- func (r UnlockDefaultStatusPageResult) GetJSON422() *ValidationError
- func (r UnlockDefaultStatusPageResult) GetJSON429() *TooManyRequests
- func (r UnlockDefaultStatusPageResult) Status() string
- func (r UnlockDefaultStatusPageResult) StatusCode() int
- type UnlockDefaultStatusPageResult204Headers
- type UnlockStatusPageJSONRequestBody
- type UnlockStatusPageResult
- func (r UnlockStatusPageResult) ContentType() string
- func (r UnlockStatusPageResult) GetBody() []byte
- func (r UnlockStatusPageResult) GetJSON401() *Error
- func (r UnlockStatusPageResult) GetJSON404() *Error
- func (r UnlockStatusPageResult) GetJSON422() *ValidationError
- func (r UnlockStatusPageResult) GetJSON429() *TooManyRequests
- func (r UnlockStatusPageResult) Status() string
- func (r UnlockStatusPageResult) StatusCode() int
- type UnlockStatusPageResult204Headers
- type UnpublishIncidentResult
- func (r UnpublishIncidentResult) ContentType() string
- func (r UnpublishIncidentResult) GetBody() []byte
- func (r UnpublishIncidentResult) GetJSON401() *Unauthorized
- func (r UnpublishIncidentResult) GetJSON404() *NotFound
- func (r UnpublishIncidentResult) Status() string
- func (r UnpublishIncidentResult) StatusCode() int
- type UnsnoozeIncidentResult
- func (r UnsnoozeIncidentResult) ContentType() string
- func (r UnsnoozeIncidentResult) GetBody() []byte
- func (r UnsnoozeIncidentResult) GetJSON200() *IncidentDetail
- func (r UnsnoozeIncidentResult) GetJSON401() *Unauthorized
- func (r UnsnoozeIncidentResult) GetJSON404() *NotFound
- func (r UnsnoozeIncidentResult) Status() string
- func (r UnsnoozeIncidentResult) StatusCode() int
- type UpdateChannelJSONRequestBody
- type UpdateChannelRequest
- type UpdateChannelResult
- func (r UpdateChannelResult) ContentType() string
- func (r UpdateChannelResult) GetBody() []byte
- func (r UpdateChannelResult) GetJSON200() *Channel
- func (r UpdateChannelResult) GetJSON400() *ValidationError
- func (r UpdateChannelResult) GetJSON401() *Unauthorized
- func (r UpdateChannelResult) GetJSON403() *Forbidden
- func (r UpdateChannelResult) GetJSON404() *NotFound
- func (r UpdateChannelResult) Status() string
- func (r UpdateChannelResult) StatusCode() int
- type UpdateCheckDependencyJSONRequestBody
- type UpdateCheckDependencyResult
- func (r UpdateCheckDependencyResult) ContentType() string
- func (r UpdateCheckDependencyResult) GetBody() []byte
- func (r UpdateCheckDependencyResult) GetJSON200() *Dependency
- func (r UpdateCheckDependencyResult) GetJSON404() *NotFound
- func (r UpdateCheckDependencyResult) Status() string
- func (r UpdateCheckDependencyResult) StatusCode() int
- type UpdateCheckGroupJSONRequestBody
- type UpdateCheckGroupRequest
- type UpdateCheckGroupResult
- func (r UpdateCheckGroupResult) ContentType() string
- func (r UpdateCheckGroupResult) GetBody() []byte
- func (r UpdateCheckGroupResult) GetJSON200() *CheckGroup
- func (r UpdateCheckGroupResult) GetJSON400() *ValidationError
- func (r UpdateCheckGroupResult) GetJSON401() *Unauthorized
- func (r UpdateCheckGroupResult) GetJSON404() *NotFound
- func (r UpdateCheckGroupResult) Status() string
- func (r UpdateCheckGroupResult) StatusCode() int
- type UpdateCheckJSONRequestBody
- type UpdateCheckRequest
- type UpdateCheckRequestTracerouteOnFailure
- type UpdateCheckResult
- func (r UpdateCheckResult) ContentType() string
- func (r UpdateCheckResult) GetBody() []byte
- func (r UpdateCheckResult) GetJSON200() *Check
- func (r UpdateCheckResult) GetJSON400() *Error
- func (r UpdateCheckResult) GetJSON404() *NotFound
- func (r UpdateCheckResult) Status() string
- func (r UpdateCheckResult) StatusCode() int
- type UpdateDependencyRequest
- type UpdateDependencyRequestKind
- type UpdateEscalationPolicyJSONRequestBody
- type UpdateEscalationPolicyRequest
- type UpdateEscalationPolicyResult
- func (r UpdateEscalationPolicyResult) ContentType() string
- func (r UpdateEscalationPolicyResult) GetBody() []byte
- func (r UpdateEscalationPolicyResult) GetJSON200() *EscalationPolicy
- func (r UpdateEscalationPolicyResult) GetJSON400() *ValidationError
- func (r UpdateEscalationPolicyResult) GetJSON401() *Unauthorized
- func (r UpdateEscalationPolicyResult) GetJSON404() *NotFound
- func (r UpdateEscalationPolicyResult) Status() string
- func (r UpdateEscalationPolicyResult) StatusCode() int
- type UpdateIncidentPublicationRequest
- type UpdateIncidentPublicationRequestState
- type UpdateMaintenanceWindowJSONRequestBody
- type UpdateMaintenanceWindowRequest
- type UpdateMaintenanceWindowResult
- func (r UpdateMaintenanceWindowResult) ContentType() string
- func (r UpdateMaintenanceWindowResult) GetBody() []byte
- func (r UpdateMaintenanceWindowResult) GetJSON200() *MaintenanceWindow
- func (r UpdateMaintenanceWindowResult) GetJSON400() *ValidationError
- func (r UpdateMaintenanceWindowResult) GetJSON401() *Unauthorized
- func (r UpdateMaintenanceWindowResult) GetJSON404() *NotFound
- func (r UpdateMaintenanceWindowResult) Status() string
- func (r UpdateMaintenanceWindowResult) StatusCode() int
- type UpdateMeJSONRequestBody
- type UpdateMeResult
- func (r UpdateMeResult) ContentType() string
- func (r UpdateMeResult) GetBody() []byte
- func (r UpdateMeResult) GetJSON200() *MeResponse
- func (r UpdateMeResult) GetJSON400() *ValidationError
- func (r UpdateMeResult) GetJSON401() *Unauthorized
- func (r UpdateMeResult) Status() string
- func (r UpdateMeResult) StatusCode() int
- type UpdateMemberJSONRequestBody
- type UpdateMemberRequest
- type UpdateMemberRequestRole
- type UpdateMemberResult
- func (r UpdateMemberResult) ContentType() string
- func (r UpdateMemberResult) GetBody() []byte
- func (r UpdateMemberResult) GetJSON200() *Member
- func (r UpdateMemberResult) GetJSON403() *Forbidden
- func (r UpdateMemberResult) GetJSON404() *NotFound
- func (r UpdateMemberResult) GetJSON409() *Error
- func (r UpdateMemberResult) Status() string
- func (r UpdateMemberResult) StatusCode() int
- type UpdateMyNotificationRouteJSONRequestBody
- type UpdateMyNotificationRouteResult
- func (r UpdateMyNotificationRouteResult) ContentType() string
- func (r UpdateMyNotificationRouteResult) GetBody() []byte
- func (r UpdateMyNotificationRouteResult) GetJSON200() *NotificationRoute
- func (r UpdateMyNotificationRouteResult) GetJSON400() *ValidationError
- func (r UpdateMyNotificationRouteResult) GetJSON401() *Unauthorized
- func (r UpdateMyNotificationRouteResult) GetJSON404() *NotFound
- func (r UpdateMyNotificationRouteResult) Status() string
- func (r UpdateMyNotificationRouteResult) StatusCode() int
- type UpdateNotificationRouteRequest
- type UpdateOncallScheduleJSONRequestBody
- type UpdateOncallScheduleRequest
- type UpdateOncallScheduleResult
- func (r UpdateOncallScheduleResult) ContentType() string
- func (r UpdateOncallScheduleResult) GetBody() []byte
- func (r UpdateOncallScheduleResult) GetJSON200() *OncallSchedule
- func (r UpdateOncallScheduleResult) GetJSON400() *ValidationError
- func (r UpdateOncallScheduleResult) GetJSON401() *Unauthorized
- func (r UpdateOncallScheduleResult) GetJSON404() *NotFound
- func (r UpdateOncallScheduleResult) Status() string
- func (r UpdateOncallScheduleResult) StatusCode() int
- type UpdateOrgProfileJSONRequestBody
- type UpdateOrgProfileRequest
- type UpdateOrgProfileResult
- func (r UpdateOrgProfileResult) ContentType() string
- func (r UpdateOrgProfileResult) GetBody() []byte
- func (r UpdateOrgProfileResult) GetJSON200() *OrgProfileResponse
- func (r UpdateOrgProfileResult) GetJSON401() *Unauthorized
- func (r UpdateOrgProfileResult) GetJSON403() *Forbidden
- func (r UpdateOrgProfileResult) GetJSON404() *NotFound
- func (r UpdateOrgProfileResult) GetJSON409() *Error
- func (r UpdateOrgProfileResult) GetJSON422() *ValidationError
- func (r UpdateOrgProfileResult) Status() string
- func (r UpdateOrgProfileResult) StatusCode() int
- type UpdateOrgSettingsJSONRequestBody
- type UpdateOrgSettingsRequest
- type UpdateOrgSettingsResult
- func (r UpdateOrgSettingsResult) ContentType() string
- func (r UpdateOrgSettingsResult) GetBody() []byte
- func (r UpdateOrgSettingsResult) GetJSON200() *OrgSettingsResponse
- func (r UpdateOrgSettingsResult) GetJSON400() *ValidationError
- func (r UpdateOrgSettingsResult) GetJSON401() *Unauthorized
- func (r UpdateOrgSettingsResult) GetJSON403() *Forbidden
- func (r UpdateOrgSettingsResult) GetJSON404() *NotFound
- func (r UpdateOrgSettingsResult) Status() string
- func (r UpdateOrgSettingsResult) StatusCode() int
- type UpdateProfileRequest
- type UpdateReportScheduleJSONRequestBody
- type UpdateReportScheduleRequest
- type UpdateReportScheduleResult
- func (r UpdateReportScheduleResult) ContentType() string
- func (r UpdateReportScheduleResult) GetBody() []byte
- func (r UpdateReportScheduleResult) GetJSON200() *ReportSchedule
- func (r UpdateReportScheduleResult) GetJSON400() *ValidationError
- func (r UpdateReportScheduleResult) GetJSON401() *Unauthorized
- func (r UpdateReportScheduleResult) GetJSON404() *NotFound
- func (r UpdateReportScheduleResult) Status() string
- func (r UpdateReportScheduleResult) StatusCode() int
- type UpdateSLOAlertPolicyRequest
- type UpdateSLOAlertPolicyRequestSeverity
- type UpdateSLORequest
- type UpdateSeverityJSONRequestBody
- type UpdateSeverityRequest
- type UpdateSeverityResult
- func (r UpdateSeverityResult) ContentType() string
- func (r UpdateSeverityResult) GetBody() []byte
- func (r UpdateSeverityResult) GetJSON200() *Severity
- func (r UpdateSeverityResult) GetJSON400() *ValidationError
- func (r UpdateSeverityResult) GetJSON401() *Unauthorized
- func (r UpdateSeverityResult) GetJSON404() *NotFound
- func (r UpdateSeverityResult) Status() string
- func (r UpdateSeverityResult) StatusCode() int
- type UpdateSloAlertPolicyJSONRequestBody
- type UpdateSloAlertPolicyResult
- func (r UpdateSloAlertPolicyResult) ContentType() string
- func (r UpdateSloAlertPolicyResult) GetBody() []byte
- func (r UpdateSloAlertPolicyResult) GetJSON200() *SLOAlertPolicy
- func (r UpdateSloAlertPolicyResult) GetJSON400() *ValidationError
- func (r UpdateSloAlertPolicyResult) GetJSON401() *Unauthorized
- func (r UpdateSloAlertPolicyResult) GetJSON404() *NotFound
- func (r UpdateSloAlertPolicyResult) Status() string
- func (r UpdateSloAlertPolicyResult) StatusCode() int
- type UpdateSloJSONRequestBody
- type UpdateSloResult
- func (r UpdateSloResult) ContentType() string
- func (r UpdateSloResult) GetBody() []byte
- func (r UpdateSloResult) GetJSON200() *SLO
- func (r UpdateSloResult) GetJSON400() *ValidationError
- func (r UpdateSloResult) GetJSON401() *Unauthorized
- func (r UpdateSloResult) GetJSON404() *NotFound
- func (r UpdateSloResult) Status() string
- func (r UpdateSloResult) StatusCode() int
- type UpdateStatusPageIncidentJSONRequestBody
- type UpdateStatusPageIncidentResult
- func (r UpdateStatusPageIncidentResult) ContentType() string
- func (r UpdateStatusPageIncidentResult) GetBody() []byte
- func (r UpdateStatusPageIncidentResult) GetJSON200() *IncidentPublication
- func (r UpdateStatusPageIncidentResult) GetJSON401() *Unauthorized
- func (r UpdateStatusPageIncidentResult) GetJSON404() *NotFound
- func (r UpdateStatusPageIncidentResult) Status() string
- func (r UpdateStatusPageIncidentResult) StatusCode() int
- type UpdateStatusPageJSONRequestBody
- type UpdateStatusPageRequest
- type UpdateStatusPageRequestAutoResolve
- type UpdateStatusPageRequestVisibility
- type UpdateStatusPageResourceJSONRequestBody
- type UpdateStatusPageResourceRequest
- type UpdateStatusPageResourceResult
- func (r UpdateStatusPageResourceResult) ContentType() string
- func (r UpdateStatusPageResourceResult) GetBody() []byte
- func (r UpdateStatusPageResourceResult) GetJSON200() *StatusPageResource
- func (r UpdateStatusPageResourceResult) GetJSON400() *ValidationError
- func (r UpdateStatusPageResourceResult) GetJSON401() *Unauthorized
- func (r UpdateStatusPageResourceResult) GetJSON404() *NotFound
- func (r UpdateStatusPageResourceResult) Status() string
- func (r UpdateStatusPageResourceResult) StatusCode() int
- type UpdateStatusPageResult
- func (r UpdateStatusPageResult) ContentType() string
- func (r UpdateStatusPageResult) GetBody() []byte
- func (r UpdateStatusPageResult) GetJSON200() *StatusPage
- func (r UpdateStatusPageResult) GetJSON400() *ValidationError
- func (r UpdateStatusPageResult) GetJSON401() *Unauthorized
- func (r UpdateStatusPageResult) GetJSON404() *NotFound
- func (r UpdateStatusPageResult) Status() string
- func (r UpdateStatusPageResult) StatusCode() int
- type UpdateStatusPageSectionJSONRequestBody
- type UpdateStatusPageSectionRequest
- type UpdateStatusPageSectionResult
- func (r UpdateStatusPageSectionResult) ContentType() string
- func (r UpdateStatusPageSectionResult) GetBody() []byte
- func (r UpdateStatusPageSectionResult) GetJSON200() *StatusPageSection
- func (r UpdateStatusPageSectionResult) GetJSON400() *ValidationError
- func (r UpdateStatusPageSectionResult) GetJSON401() *Unauthorized
- func (r UpdateStatusPageSectionResult) GetJSON404() *NotFound
- func (r UpdateStatusPageSectionResult) Status() string
- func (r UpdateStatusPageSectionResult) StatusCode() int
- type UpdateStatusUpdateJSONRequestBody
- type UpdateStatusUpdateRequest
- type UpdateStatusUpdateResult
- func (r UpdateStatusUpdateResult) ContentType() string
- func (r UpdateStatusUpdateResult) GetBody() []byte
- func (r UpdateStatusUpdateResult) GetJSON200() *StatusUpdate
- func (r UpdateStatusUpdateResult) GetJSON400() *ValidationError
- func (r UpdateStatusUpdateResult) GetJSON401() *Unauthorized
- func (r UpdateStatusUpdateResult) GetJSON404() *NotFound
- func (r UpdateStatusUpdateResult) Status() string
- func (r UpdateStatusUpdateResult) StatusCode() int
- type UpdateSupportThreadJSONRequestBody
- type UpdateSupportThreadRequest
- type UpdateSupportThreadRequestStatus
- type UpdateSupportThreadResult
- func (r UpdateSupportThreadResult) ContentType() string
- func (r UpdateSupportThreadResult) GetBody() []byte
- func (r UpdateSupportThreadResult) GetJSON200() *SupportThread
- func (r UpdateSupportThreadResult) GetJSON400() *ValidationError
- func (r UpdateSupportThreadResult) GetJSON401() *Unauthorized
- func (r UpdateSupportThreadResult) GetJSON403() *Forbidden
- func (r UpdateSupportThreadResult) GetJSON404() *NotFound
- func (r UpdateSupportThreadResult) Status() string
- func (r UpdateSupportThreadResult) StatusCode() int
- type UploadOrgLogoMultipartBody
- type UploadOrgLogoMultipartRequestBody
- type UploadOrgLogoResult
- func (r UploadOrgLogoResult) ContentType() string
- func (r UploadOrgLogoResult) GetBody() []byte
- func (r UploadOrgLogoResult) GetJSON200() *OrgLogoResponse
- func (r UploadOrgLogoResult) GetJSON401() *Unauthorized
- func (r UploadOrgLogoResult) GetJSON403() *Forbidden
- func (r UploadOrgLogoResult) GetJSON404() *NotFound
- func (r UploadOrgLogoResult) GetJSON413() *Error
- func (r UploadOrgLogoResult) GetJSON422() *ValidationError
- func (r UploadOrgLogoResult) Status() string
- func (r UploadOrgLogoResult) StatusCode() int
- type UpsertCheckJSONRequestBody
- type UpsertCheckRequest
- type UpsertCheckRequestTracerouteOnFailure
- type UpsertCheckRequestType
- type UpsertCheckResult
- func (r UpsertCheckResult) ContentType() string
- func (r UpsertCheckResult) GetBody() []byte
- func (r UpsertCheckResult) GetJSON200() *Check
- func (r UpsertCheckResult) GetJSON201() *Check
- func (r UpsertCheckResult) GetJSON422() *ValidationError
- func (r UpsertCheckResult) Status() string
- func (r UpsertCheckResult) StatusCode() int
- type UserSummary
- type UserSummaryRole
- type UserUidPath
- type ValidateCheckJSONRequestBody
- type ValidateCheckRequest
- type ValidateCheckResponse
- type ValidateCheckResult
- func (r ValidateCheckResult) ContentType() string
- func (r ValidateCheckResult) GetBody() []byte
- func (r ValidateCheckResult) GetJSON200() *ValidateCheckResponse
- func (r ValidateCheckResult) GetJSON401() *Unauthorized
- func (r ValidateCheckResult) GetJSON404() *NotFound
- func (r ValidateCheckResult) Status() string
- func (r ValidateCheckResult) StatusCode() int
- type ValidationError
- type ValidationErrorField
- type ValidationErrorFieldSeverity
- type VerifyMyNotificationContactResult
- func (r VerifyMyNotificationContactResult) ContentType() string
- func (r VerifyMyNotificationContactResult) GetBody() []byte
- func (r VerifyMyNotificationContactResult) GetJSON400() *ValidationError
- func (r VerifyMyNotificationContactResult) GetJSON401() *Unauthorized
- func (r VerifyMyNotificationContactResult) GetJSON404() *NotFound
- func (r VerifyMyNotificationContactResult) Status() string
- func (r VerifyMyNotificationContactResult) StatusCode() int
- type VerifyStatusPageCustomDomainResult
- func (r VerifyStatusPageCustomDomainResult) ContentType() string
- func (r VerifyStatusPageCustomDomainResult) GetBody() []byte
- func (r VerifyStatusPageCustomDomainResult) GetJSON200() *StatusPage
- func (r VerifyStatusPageCustomDomainResult) GetJSON400() *ValidationError
- func (r VerifyStatusPageCustomDomainResult) GetJSON401() *Unauthorized
- func (r VerifyStatusPageCustomDomainResult) GetJSON404() *NotFound
- func (r VerifyStatusPageCustomDomainResult) Status() string
- func (r VerifyStatusPageCustomDomainResult) StatusCode() int
- type VersionResponse
- type VersionResponseDeploymentMode
- type ViewDefaultStatusPageParams
- type ViewDefaultStatusPageResult
- func (r ViewDefaultStatusPageResult) ContentType() string
- func (r ViewDefaultStatusPageResult) GetBody() []byte
- func (r ViewDefaultStatusPageResult) GetJSON200() *StatusPage
- func (r ViewDefaultStatusPageResult) GetJSON401() *StatusPageLocked
- func (r ViewDefaultStatusPageResult) GetJSON404() *NotFound
- func (r ViewDefaultStatusPageResult) Status() string
- func (r ViewDefaultStatusPageResult) StatusCode() int
- type ViewPublicStatusPageIncidentsParams
- type ViewPublicStatusPageIncidentsResult
- func (r ViewPublicStatusPageIncidentsResult) ContentType() string
- func (r ViewPublicStatusPageIncidentsResult) GetBody() []byte
- func (r ViewPublicStatusPageIncidentsResult) GetJSON200() *PublicIncidentListResponse
- func (r ViewPublicStatusPageIncidentsResult) GetJSON401() *StatusPageLocked
- func (r ViewPublicStatusPageIncidentsResult) GetJSON404() *NotFound
- func (r ViewPublicStatusPageIncidentsResult) Status() string
- func (r ViewPublicStatusPageIncidentsResult) StatusCode() int
- type ViewStatusPageParams
- type ViewStatusPageResult
- func (r ViewStatusPageResult) ContentType() string
- func (r ViewStatusPageResult) GetBody() []byte
- func (r ViewStatusPageResult) GetJSON200() *StatusPage
- func (r ViewStatusPageResult) GetJSON401() *StatusPageLocked
- func (r ViewStatusPageResult) GetJSON404() *NotFound
- func (r ViewStatusPageResult) Status() string
- func (r ViewStatusPageResult) StatusCode() int
- type ViewStatusPageSummaryParams
- type ViewStatusPageSummaryResult
- func (r ViewStatusPageSummaryResult) ContentType() string
- func (r ViewStatusPageSummaryResult) GetBody() []byte
- func (r ViewStatusPageSummaryResult) GetJSON200() *StatusPageSummary
- func (r ViewStatusPageSummaryResult) GetJSON401() *StatusPageLocked
- func (r ViewStatusPageSummaryResult) GetJSON404() *NotFound
- func (r ViewStatusPageSummaryResult) Status() string
- func (r ViewStatusPageSummaryResult) StatusCode() int
- type WorkerLaneLoad
Constants ¶
This section is empty.
Variables ¶
var ( // ErrAuthenticationFailed is returned when authentication fails. ErrAuthenticationFailed = errors.New("authentication failed") ErrUnauthorized = errors.New("unauthorized") // ErrUnexpectedStatus is returned when an unexpected HTTP status is received. ErrUnexpectedStatus = errors.New("unexpected response status") // ErrTokenNotFound is returned when a token is not found. ErrTokenNotFound = errors.New("token not found") // ErrPasswordChangeRequired is returned when the server refuses a request // because the account must rotate its password first (HTTP 403 with code // PASSWORD_CHANGE_REQUIRED — spec 2026-08-23-04). Surfaced as its own // sentinel so the CLI can print what to do instead of an opaque // "unexpected response status: 403". ErrPasswordChangeRequired = errors.New( "password change required: this account must set a new password before it can be used\n" + " Sign in to the dashboard and complete the \"set a new password\" screen,\n" + " or POST /api/v1/auth/change-password with {\"currentPassword\":\"…\",\"newPassword\":\"…\"}.\n" + " A freshly installed server seeds its admin with a published default password " + "and forces this rotation on first login") )
Functions ¶
func NewAcceptInviteRequest ¶
func NewAcceptInviteRequest(server string, body AcceptInviteJSONRequestBody) (*http.Request, error)
NewAcceptInviteRequest calls the generic AcceptInvite builder with application/json body
func NewAcceptInviteRequestWithBody ¶
func NewAcceptInviteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAcceptInviteRequestWithBody constructs an http.Request for the AcceptInvite method, with any body, and a specified content type
func NewAcknowledgeIncidentRequest ¶
func NewAcknowledgeIncidentRequest(server string, org OrgPath, uid IncidentUidPath, body AcknowledgeIncidentJSONRequestBody) (*http.Request, error)
NewAcknowledgeIncidentRequest calls the generic AcknowledgeIncident builder with application/json body
func NewAcknowledgeIncidentRequestWithBody ¶
func NewAcknowledgeIncidentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader) (*http.Request, error)
NewAcknowledgeIncidentRequestWithBody constructs an http.Request for the AcknowledgeIncident method, with any body, and a specified content type
func NewAddCheckChannelRequest ¶
func NewAddCheckChannelRequest(server string, org OrgPath, check string, connection openapi_types.UUID) (*http.Request, error)
NewAddCheckChannelRequest constructs an http.Request for the AddCheckChannel method
func NewAddIncidentCommentRequest ¶
func NewAddIncidentCommentRequest(server string, org OrgPath, uid IncidentUidPath, body AddIncidentCommentJSONRequestBody) (*http.Request, error)
NewAddIncidentCommentRequest calls the generic AddIncidentComment builder with application/json body
func NewAddIncidentCommentRequestWithBody ¶
func NewAddIncidentCommentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader) (*http.Request, error)
NewAddIncidentCommentRequestWithBody constructs an http.Request for the AddIncidentComment method, with any body, and a specified content type
func NewAddMemberContactRequest ¶
func NewAddMemberContactRequest(server string, org OrgPath, uid MemberUidPath, body AddMemberContactJSONRequestBody) (*http.Request, error)
NewAddMemberContactRequest calls the generic AddMemberContact builder with application/json body
func NewAddMemberContactRequestWithBody ¶
func NewAddMemberContactRequestWithBody(server string, org OrgPath, uid MemberUidPath, contentType string, body io.Reader) (*http.Request, error)
NewAddMemberContactRequestWithBody constructs an http.Request for the AddMemberContact method, with any body, and a specified content type
func NewAddMemberRequest ¶
func NewAddMemberRequest(server string, org OrgPath, body AddMemberJSONRequestBody) (*http.Request, error)
NewAddMemberRequest calls the generic AddMember builder with application/json body
func NewAddMemberRequestWithBody ¶
func NewAddMemberRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewAddMemberRequestWithBody constructs an http.Request for the AddMember method, with any body, and a specified content type
func NewAddMyNotificationContactRequest ¶
func NewAddMyNotificationContactRequest(server string, org OrgPath, body AddMyNotificationContactJSONRequestBody) (*http.Request, error)
NewAddMyNotificationContactRequest calls the generic AddMyNotificationContact builder with application/json body
func NewAddMyNotificationContactRequestWithBody ¶
func NewAddMyNotificationContactRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewAddMyNotificationContactRequestWithBody constructs an http.Request for the AddMyNotificationContact method, with any body, and a specified content type
func NewApproveMembershipRequestRequest ¶
func NewApproveMembershipRequestRequest(server string, org OrgPath, uid MembershipRequestUidPath, body ApproveMembershipRequestJSONRequestBody) (*http.Request, error)
NewApproveMembershipRequestRequest calls the generic ApproveMembershipRequest builder with application/json body
func NewApproveMembershipRequestRequestWithBody ¶
func NewApproveMembershipRequestRequestWithBody(server string, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader) (*http.Request, error)
NewApproveMembershipRequestRequestWithBody constructs an http.Request for the ApproveMembershipRequest method, with any body, and a specified content type
func NewCancelDiscoveryScanRequest ¶
func NewCancelDiscoveryScanRequest(server string, org OrgPath, jobUid ScanJobUidPath) (*http.Request, error)
NewCancelDiscoveryScanRequest constructs an http.Request for the CancelDiscoveryScan method
func NewCancelJobRequest ¶
NewCancelJobRequest constructs an http.Request for the CancelJob method
func NewCancelMembershipRequestRequest ¶
func NewCancelMembershipRequestRequest(server string, uid MembershipRequestUidPath) (*http.Request, error)
NewCancelMembershipRequestRequest constructs an http.Request for the CancelMembershipRequest method
func NewChangePasswordRequest ¶
func NewChangePasswordRequest(server string, body ChangePasswordJSONRequestBody) (*http.Request, error)
NewChangePasswordRequest calls the generic ChangePassword builder with application/json body
func NewChangePasswordRequestWithBody ¶
func NewChangePasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewChangePasswordRequestWithBody constructs an http.Request for the ChangePassword method, with any body, and a specified content type
func NewCloneCheckRequest ¶
func NewCloneCheckRequest(server string, org OrgPath, checkUid CheckUidPath, body CloneCheckJSONRequestBody) (*http.Request, error)
NewCloneCheckRequest calls the generic CloneCheck builder with application/json body
func NewCloneCheckRequestWithBody ¶
func NewCloneCheckRequestWithBody(server string, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader) (*http.Request, error)
NewCloneCheckRequestWithBody constructs an http.Request for the CloneCheck method, with any body, and a specified content type
func NewConfirmMyNotificationContactRequest ¶
func NewConfirmMyNotificationContactRequest(server string, org OrgPath, contactUid ContactUidPath, body ConfirmMyNotificationContactJSONRequestBody) (*http.Request, error)
NewConfirmMyNotificationContactRequest calls the generic ConfirmMyNotificationContact builder with application/json body
func NewConfirmMyNotificationContactRequestWithBody ¶
func NewConfirmMyNotificationContactRequestWithBody(server string, org OrgPath, contactUid ContactUidPath, contentType string, body io.Reader) (*http.Request, error)
NewConfirmMyNotificationContactRequestWithBody constructs an http.Request for the ConfirmMyNotificationContact method, with any body, and a specified content type
func NewConfirmRegistrationRequest ¶
func NewConfirmRegistrationRequest(server string, body ConfirmRegistrationJSONRequestBody) (*http.Request, error)
NewConfirmRegistrationRequest calls the generic ConfirmRegistration builder with application/json body
func NewConfirmRegistrationRequestWithBody ¶
func NewConfirmRegistrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConfirmRegistrationRequestWithBody constructs an http.Request for the ConfirmRegistration method, with any body, and a specified content type
func NewCreateChannelRequest ¶
func NewCreateChannelRequest(server string, org OrgPath, body CreateChannelJSONRequestBody) (*http.Request, error)
NewCreateChannelRequest calls the generic CreateChannel builder with application/json body
func NewCreateChannelRequestWithBody ¶
func NewCreateChannelRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateChannelRequestWithBody constructs an http.Request for the CreateChannel method, with any body, and a specified content type
func NewCreateCheckDependencyRequest ¶
func NewCreateCheckDependencyRequest(server string, org OrgPath, check string, body CreateCheckDependencyJSONRequestBody) (*http.Request, error)
NewCreateCheckDependencyRequest calls the generic CreateCheckDependency builder with application/json body
func NewCreateCheckDependencyRequestWithBody ¶
func NewCreateCheckDependencyRequestWithBody(server string, org OrgPath, check string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCheckDependencyRequestWithBody constructs an http.Request for the CreateCheckDependency method, with any body, and a specified content type
func NewCreateCheckGroupRequest ¶
func NewCreateCheckGroupRequest(server string, org OrgPath, body CreateCheckGroupJSONRequestBody) (*http.Request, error)
NewCreateCheckGroupRequest calls the generic CreateCheckGroup builder with application/json body
func NewCreateCheckGroupRequestWithBody ¶
func NewCreateCheckGroupRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateCheckGroupRequestWithBody constructs an http.Request for the CreateCheckGroup method, with any body, and a specified content type
func NewCreateCheckRequest ¶
func NewCreateCheckRequest(server string, org OrgPath, body CreateCheckJSONRequestBody) (*http.Request, error)
NewCreateCheckRequest calls the generic CreateCheck builder with application/json body
func NewCreateCheckRequestWithBody ¶
func NewCreateCheckRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateCheckRequestWithBody constructs an http.Request for the CreateCheck method, with any body, and a specified content type
func NewCreateEscalationPolicyRequest ¶
func NewCreateEscalationPolicyRequest(server string, org OrgPath, body CreateEscalationPolicyJSONRequestBody) (*http.Request, error)
NewCreateEscalationPolicyRequest calls the generic CreateEscalationPolicy builder with application/json body
func NewCreateEscalationPolicyRequestWithBody ¶
func NewCreateEscalationPolicyRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateEscalationPolicyRequestWithBody constructs an http.Request for the CreateEscalationPolicy method, with any body, and a specified content type
func NewCreateInvitationRequest ¶
func NewCreateInvitationRequest(server string, org OrgPath, body CreateInvitationJSONRequestBody) (*http.Request, error)
NewCreateInvitationRequest calls the generic CreateInvitation builder with application/json body
func NewCreateInvitationRequestWithBody ¶
func NewCreateInvitationRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateInvitationRequestWithBody constructs an http.Request for the CreateInvitation method, with any body, and a specified content type
func NewCreateJobRequest ¶
func NewCreateJobRequest(server string, org OrgPath, body CreateJobJSONRequestBody) (*http.Request, error)
NewCreateJobRequest calls the generic CreateJob builder with application/json body
func NewCreateJobRequestWithBody ¶
func NewCreateJobRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateJobRequestWithBody constructs an http.Request for the CreateJob method, with any body, and a specified content type
func NewCreateMaintenanceWindowRequest ¶
func NewCreateMaintenanceWindowRequest(server string, org OrgPath, body CreateMaintenanceWindowJSONRequestBody) (*http.Request, error)
NewCreateMaintenanceWindowRequest calls the generic CreateMaintenanceWindow builder with application/json body
func NewCreateMaintenanceWindowRequestWithBody ¶
func NewCreateMaintenanceWindowRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateMaintenanceWindowRequestWithBody constructs an http.Request for the CreateMaintenanceWindow method, with any body, and a specified content type
func NewCreateMembershipRequestRequest ¶
func NewCreateMembershipRequestRequest(server string, body CreateMembershipRequestJSONRequestBody) (*http.Request, error)
NewCreateMembershipRequestRequest calls the generic CreateMembershipRequest builder with application/json body
func NewCreateMembershipRequestRequestWithBody ¶
func NewCreateMembershipRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMembershipRequestRequestWithBody constructs an http.Request for the CreateMembershipRequest method, with any body, and a specified content type
func NewCreateMyTelegramLinkRequest ¶
NewCreateMyTelegramLinkRequest constructs an http.Request for the CreateMyTelegramLink method
func NewCreateOncallOverrideRequest ¶
func NewCreateOncallOverrideRequest(server string, org OrgPath, uid OncallScheduleUidPath, body CreateOncallOverrideJSONRequestBody) (*http.Request, error)
NewCreateOncallOverrideRequest calls the generic CreateOncallOverride builder with application/json body
func NewCreateOncallOverrideRequestWithBody ¶
func NewCreateOncallOverrideRequestWithBody(server string, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateOncallOverrideRequestWithBody constructs an http.Request for the CreateOncallOverride method, with any body, and a specified content type
func NewCreateOncallScheduleRequest ¶
func NewCreateOncallScheduleRequest(server string, org OrgPath, body CreateOncallScheduleJSONRequestBody) (*http.Request, error)
NewCreateOncallScheduleRequest calls the generic CreateOncallSchedule builder with application/json body
func NewCreateOncallScheduleRequestWithBody ¶
func NewCreateOncallScheduleRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateOncallScheduleRequestWithBody constructs an http.Request for the CreateOncallSchedule method, with any body, and a specified content type
func NewCreateOrgRequest ¶
func NewCreateOrgRequest(server string, body CreateOrgJSONRequestBody) (*http.Request, error)
NewCreateOrgRequest calls the generic CreateOrg builder with application/json body
func NewCreateOrgRequestWithBody ¶
func NewCreateOrgRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrgRequestWithBody constructs an http.Request for the CreateOrg method, with any body, and a specified content type
func NewCreateReportScheduleRequest ¶
func NewCreateReportScheduleRequest(server string, org OrgPath, body CreateReportScheduleJSONRequestBody) (*http.Request, error)
NewCreateReportScheduleRequest calls the generic CreateReportSchedule builder with application/json body
func NewCreateReportScheduleRequestWithBody ¶
func NewCreateReportScheduleRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateReportScheduleRequestWithBody constructs an http.Request for the CreateReportSchedule method, with any body, and a specified content type
func NewCreateSeverityRequest ¶
func NewCreateSeverityRequest(server string, org OrgPath, body CreateSeverityJSONRequestBody) (*http.Request, error)
NewCreateSeverityRequest calls the generic CreateSeverity builder with application/json body
func NewCreateSeverityRequestWithBody ¶
func NewCreateSeverityRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateSeverityRequestWithBody constructs an http.Request for the CreateSeverity method, with any body, and a specified content type
func NewCreateSloRequest ¶
func NewCreateSloRequest(server string, org OrgPath, body CreateSloJSONRequestBody) (*http.Request, error)
NewCreateSloRequest calls the generic CreateSlo builder with application/json body
func NewCreateSloRequestWithBody ¶
func NewCreateSloRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateSloRequestWithBody constructs an http.Request for the CreateSlo method, with any body, and a specified content type
func NewCreateStatusPageEndpointSubscriberRequest ¶
func NewCreateStatusPageEndpointSubscriberRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageEndpointSubscriberJSONRequestBody) (*http.Request, error)
NewCreateStatusPageEndpointSubscriberRequest calls the generic CreateStatusPageEndpointSubscriber builder with application/json body
func NewCreateStatusPageEndpointSubscriberRequestWithBody ¶
func NewCreateStatusPageEndpointSubscriberRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageEndpointSubscriberRequestWithBody constructs an http.Request for the CreateStatusPageEndpointSubscriber method, with any body, and a specified content type
func NewCreateStatusPageIncidentRequest ¶
func NewCreateStatusPageIncidentRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageIncidentJSONRequestBody) (*http.Request, error)
NewCreateStatusPageIncidentRequest calls the generic CreateStatusPageIncident builder with application/json body
func NewCreateStatusPageIncidentRequestWithBody ¶
func NewCreateStatusPageIncidentRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageIncidentRequestWithBody constructs an http.Request for the CreateStatusPageIncident method, with any body, and a specified content type
func NewCreateStatusPageIncidentUpdateRequest ¶
func NewCreateStatusPageIncidentUpdateRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body CreateStatusPageIncidentUpdateJSONRequestBody) (*http.Request, error)
NewCreateStatusPageIncidentUpdateRequest calls the generic CreateStatusPageIncidentUpdate builder with application/json body
func NewCreateStatusPageIncidentUpdateRequestWithBody ¶
func NewCreateStatusPageIncidentUpdateRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageIncidentUpdateRequestWithBody constructs an http.Request for the CreateStatusPageIncidentUpdate method, with any body, and a specified content type
func NewCreateStatusPageRequest ¶
func NewCreateStatusPageRequest(server string, org OrgPath, body CreateStatusPageJSONRequestBody) (*http.Request, error)
NewCreateStatusPageRequest calls the generic CreateStatusPage builder with application/json body
func NewCreateStatusPageRequestWithBody ¶
func NewCreateStatusPageRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageRequestWithBody constructs an http.Request for the CreateStatusPage method, with any body, and a specified content type
func NewCreateStatusPageResourceRequest ¶
func NewCreateStatusPageResourceRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body CreateStatusPageResourceJSONRequestBody) (*http.Request, error)
NewCreateStatusPageResourceRequest calls the generic CreateStatusPageResource builder with application/json body
func NewCreateStatusPageResourceRequestWithBody ¶
func NewCreateStatusPageResourceRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageResourceRequestWithBody constructs an http.Request for the CreateStatusPageResource method, with any body, and a specified content type
func NewCreateStatusPageSectionRequest ¶
func NewCreateStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageSectionJSONRequestBody) (*http.Request, error)
NewCreateStatusPageSectionRequest calls the generic CreateStatusPageSection builder with application/json body
func NewCreateStatusPageSectionRequestWithBody ¶
func NewCreateStatusPageSectionRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusPageSectionRequestWithBody constructs an http.Request for the CreateStatusPageSection method, with any body, and a specified content type
func NewCreateStatusUpdateRequest ¶
func NewCreateStatusUpdateRequest(server string, org OrgPath, body CreateStatusUpdateJSONRequestBody) (*http.Request, error)
NewCreateStatusUpdateRequest calls the generic CreateStatusUpdate builder with application/json body
func NewCreateStatusUpdateRequestWithBody ¶
func NewCreateStatusUpdateRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateStatusUpdateRequestWithBody constructs an http.Request for the CreateStatusUpdate method, with any body, and a specified content type
func NewCreateSupportMessageRequest ¶
func NewCreateSupportMessageRequest(server string, uid string, body CreateSupportMessageJSONRequestBody) (*http.Request, error)
NewCreateSupportMessageRequest calls the generic CreateSupportMessage builder with application/json body
func NewCreateSupportMessageRequestWithBody ¶
func NewCreateSupportMessageRequestWithBody(server string, uid string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSupportMessageRequestWithBody constructs an http.Request for the CreateSupportMessage method, with any body, and a specified content type
func NewCreateTokenRequest ¶
func NewCreateTokenRequest(server string, org OrgPath, body CreateTokenJSONRequestBody) (*http.Request, error)
NewCreateTokenRequest calls the generic CreateToken builder with application/json body
func NewCreateTokenRequestWithBody ¶
func NewCreateTokenRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewCreateTokenRequestWithBody constructs an http.Request for the CreateToken method, with any body, and a specified content type
func NewCustomDomainAllowedRequest ¶
func NewCustomDomainAllowedRequest(server string, params *CustomDomainAllowedParams) (*http.Request, error)
NewCustomDomainAllowedRequest constructs an http.Request for the CustomDomainAllowed method
func NewDeleteChannelRequest ¶
NewDeleteChannelRequest constructs an http.Request for the DeleteChannel method
func NewDeleteCheckDependencyRequest ¶
func NewDeleteCheckDependencyRequest(server string, org OrgPath, check string, uid openapi_types.UUID) (*http.Request, error)
NewDeleteCheckDependencyRequest constructs an http.Request for the DeleteCheckDependency method
func NewDeleteCheckGroupRequest ¶
func NewDeleteCheckGroupRequest(server string, org OrgPath, uid CheckGroupUidPath) (*http.Request, error)
NewDeleteCheckGroupRequest constructs an http.Request for the DeleteCheckGroup method
func NewDeleteCheckRequest ¶
func NewDeleteCheckRequest(server string, org OrgPath, checkUid CheckUidPath) (*http.Request, error)
NewDeleteCheckRequest constructs an http.Request for the DeleteCheck method
func NewDeleteEmailSuppressionRequest ¶
func NewDeleteEmailSuppressionRequest(server string, org OrgPath, uid EmailSuppressionUidPath) (*http.Request, error)
NewDeleteEmailSuppressionRequest constructs an http.Request for the DeleteEmailSuppression method
func NewDeleteEscalationPolicyRequest ¶
func NewDeleteEscalationPolicyRequest(server string, org OrgPath, uid EscalationPolicyUidPath) (*http.Request, error)
NewDeleteEscalationPolicyRequest constructs an http.Request for the DeleteEscalationPolicy method
func NewDeleteFileRequest ¶
NewDeleteFileRequest constructs an http.Request for the DeleteFile method
func NewDeleteIntegrationIdentityRequest ¶
func NewDeleteIntegrationIdentityRequest(server string, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath) (*http.Request, error)
NewDeleteIntegrationIdentityRequest constructs an http.Request for the DeleteIntegrationIdentity method
func NewDeleteInvitationRequest ¶
func NewDeleteInvitationRequest(server string, org OrgPath, uid InvitationUidPath) (*http.Request, error)
NewDeleteInvitationRequest constructs an http.Request for the DeleteInvitation method
func NewDeleteMaintenanceWindowRequest ¶
func NewDeleteMaintenanceWindowRequest(server string, org OrgPath, uid MaintenanceWindowUidPath) (*http.Request, error)
NewDeleteMaintenanceWindowRequest constructs an http.Request for the DeleteMaintenanceWindow method
func NewDeleteOncallOverrideRequest ¶
func NewDeleteOncallOverrideRequest(server string, org OrgPath, uid OncallScheduleUidPath, overrideUid OncallOverrideUidPath) (*http.Request, error)
NewDeleteOncallOverrideRequest constructs an http.Request for the DeleteOncallOverride method
func NewDeleteOncallScheduleRequest ¶
func NewDeleteOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
NewDeleteOncallScheduleRequest constructs an http.Request for the DeleteOncallSchedule method
func NewDeleteOrgLogoRequest ¶
NewDeleteOrgLogoRequest constructs an http.Request for the DeleteOrgLogo method
func NewDeleteOrgRequest ¶
func NewDeleteOrgRequest(server string, org OrgPath, body DeleteOrgJSONRequestBody) (*http.Request, error)
NewDeleteOrgRequest calls the generic DeleteOrg builder with application/json body
func NewDeleteOrgRequestWithBody ¶
func NewDeleteOrgRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewDeleteOrgRequestWithBody constructs an http.Request for the DeleteOrg method, with any body, and a specified content type
func NewDeleteReportScheduleRequest ¶
func NewDeleteReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath) (*http.Request, error)
NewDeleteReportScheduleRequest constructs an http.Request for the DeleteReportSchedule method
func NewDeleteSeverityRequest ¶
func NewDeleteSeverityRequest(server string, org OrgPath, uid SeverityUidPath) (*http.Request, error)
NewDeleteSeverityRequest constructs an http.Request for the DeleteSeverity method
func NewDeleteSloRequest ¶
NewDeleteSloRequest constructs an http.Request for the DeleteSlo method
func NewDeleteStatusPageRequest ¶
func NewDeleteStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
NewDeleteStatusPageRequest constructs an http.Request for the DeleteStatusPage method
func NewDeleteStatusPageResourceRequest ¶
func NewDeleteStatusPageResourceRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath) (*http.Request, error)
NewDeleteStatusPageResourceRequest constructs an http.Request for the DeleteStatusPageResource method
func NewDeleteStatusPageSectionRequest ¶
func NewDeleteStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath) (*http.Request, error)
NewDeleteStatusPageSectionRequest constructs an http.Request for the DeleteStatusPageSection method
func NewDeleteStatusUpdateRequest ¶
func NewDeleteStatusUpdateRequest(server string, org OrgPath, uid StatusUpdateUidPath) (*http.Request, error)
NewDeleteStatusUpdateRequest constructs an http.Request for the DeleteStatusUpdate method
func NewDeleteSystemParameterRequest ¶
NewDeleteSystemParameterRequest constructs an http.Request for the DeleteSystemParameter method
func NewDisableOncallIcalFeedRequest ¶
func NewDisableOncallIcalFeedRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
NewDisableOncallIcalFeedRequest constructs an http.Request for the DisableOncallIcalFeed method
func NewDismissDiscoveredCheckRequest ¶
func NewDismissDiscoveredCheckRequest(server string, org OrgPath, uid string) (*http.Request, error)
NewDismissDiscoveredCheckRequest constructs an http.Request for the DismissDiscoveredCheck method
func NewDismissDiscoveredGroupRequest ¶
func NewDismissDiscoveredGroupRequest(server string, org OrgPath, params *DismissDiscoveredGroupParams) (*http.Request, error)
NewDismissDiscoveredGroupRequest constructs an http.Request for the DismissDiscoveredGroup method
func NewDownloadFileRequest ¶
NewDownloadFileRequest constructs an http.Request for the DownloadFile method
func NewEnableOncallIcalFeedRequest ¶
func NewEnableOncallIcalFeedRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
NewEnableOncallIcalFeedRequest constructs an http.Request for the EnableOncallIcalFeed method
func NewGenerateStatusPageKioskTokenRequest ¶
func NewGenerateStatusPageKioskTokenRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
NewGenerateStatusPageKioskTokenRequest constructs an http.Request for the GenerateStatusPageKioskToken method
func NewGetActivationFunnelRequest ¶
NewGetActivationFunnelRequest constructs an http.Request for the GetActivationFunnel method
func NewGetAdminEntitlementsRequest ¶
func NewGetAdminEntitlementsRequest(server string, org OrgPath, params *GetAdminEntitlementsParams) (*http.Request, error)
NewGetAdminEntitlementsRequest constructs an http.Request for the GetAdminEntitlements method
func NewGetAdminJobChainRequest ¶
NewGetAdminJobChainRequest constructs an http.Request for the GetAdminJobChain method
func NewGetAdminJobRequest ¶
NewGetAdminJobRequest constructs an http.Request for the GetAdminJob method
func NewGetBadgeRequest ¶
func NewGetBadgeRequest(server string, org OrgPath, check string, format GetBadgeParamsFormat, params *GetBadgeParams) (*http.Request, error)
NewGetBadgeRequest constructs an http.Request for the GetBadge method
func NewGetChannelRequest ¶
NewGetChannelRequest constructs an http.Request for the GetChannel method
func NewGetCheckAvailabilityBucketsRequest ¶
func NewGetCheckAvailabilityBucketsRequest(server string, org OrgPath, check string, params *GetCheckAvailabilityBucketsParams) (*http.Request, error)
NewGetCheckAvailabilityBucketsRequest constructs an http.Request for the GetCheckAvailabilityBuckets method
func NewGetCheckAvailabilityRequest ¶
func NewGetCheckAvailabilityRequest(server string, org OrgPath, check string, params *GetCheckAvailabilityParams) (*http.Request, error)
NewGetCheckAvailabilityRequest constructs an http.Request for the GetCheckAvailability method
func NewGetCheckGroupRequest ¶
func NewGetCheckGroupRequest(server string, org OrgPath, uid CheckGroupUidPath) (*http.Request, error)
NewGetCheckGroupRequest constructs an http.Request for the GetCheckGroup method
func NewGetCheckJobRequest ¶
NewGetCheckJobRequest constructs an http.Request for the GetCheckJob method
func NewGetCheckRequest ¶
func NewGetCheckRequest(server string, org OrgPath, checkUid CheckUidPath, params *GetCheckParams) (*http.Request, error)
NewGetCheckRequest constructs an http.Request for the GetCheck method
func NewGetCheckStatsRequest ¶
NewGetCheckStatsRequest constructs an http.Request for the GetCheckStats method
func NewGetCostDistributionRequest ¶
func NewGetCostDistributionRequest(server string, params *GetCostDistributionParams) (*http.Request, error)
NewGetCostDistributionRequest constructs an http.Request for the GetCostDistribution method
func NewGetCurrentUserRequest ¶
NewGetCurrentUserRequest constructs an http.Request for the GetCurrentUser method
func NewGetDeviceConsentRequest ¶
func NewGetDeviceConsentRequest(server string, params *GetDeviceConsentParams) (*http.Request, error)
NewGetDeviceConsentRequest constructs an http.Request for the GetDeviceConsent method
func NewGetDiscoveryScanRequest ¶
func NewGetDiscoveryScanRequest(server string, org OrgPath, jobUid ScanJobUidPath) (*http.Request, error)
NewGetDiscoveryScanRequest constructs an http.Request for the GetDiscoveryScan method
func NewGetEmailInboxConfigRequest ¶
NewGetEmailInboxConfigRequest constructs an http.Request for the GetEmailInboxConfig method
func NewGetEmailInboxStatusRequest ¶
NewGetEmailInboxStatusRequest constructs an http.Request for the GetEmailInboxStatus method
func NewGetEmbedWidgetV1Request ¶
NewGetEmbedWidgetV1Request constructs an http.Request for the GetEmbedWidgetV1 method
func NewGetEntitlementsRequest ¶
func NewGetEntitlementsRequest(server string, org OrgPath, params *GetEntitlementsParams) (*http.Request, error)
NewGetEntitlementsRequest constructs an http.Request for the GetEntitlements method
func NewGetEscalationPolicyRequest ¶
func NewGetEscalationPolicyRequest(server string, org OrgPath, uid EscalationPolicyUidPath) (*http.Request, error)
NewGetEscalationPolicyRequest constructs an http.Request for the GetEscalationPolicy method
func NewGetFileRequest ¶
NewGetFileRequest constructs an http.Request for the GetFile method
func NewGetHealthRequest ¶
NewGetHealthRequest constructs an http.Request for the GetHealth method
func NewGetIncidentNotificationRequest ¶
func NewGetIncidentNotificationRequest(server string, org OrgPath, uid IncidentUidPath, notifUid NotificationUidPath) (*http.Request, error)
NewGetIncidentNotificationRequest constructs an http.Request for the GetIncidentNotification method
func NewGetIncidentRequest ¶
func NewGetIncidentRequest(server string, org OrgPath, uid IncidentUidPath, params *GetIncidentParams) (*http.Request, error)
NewGetIncidentRequest constructs an http.Request for the GetIncident method
func NewGetInviteRequest ¶
NewGetInviteRequest constructs an http.Request for the GetInvite method
func NewGetJobRequest ¶
NewGetJobRequest constructs an http.Request for the GetJob method
func NewGetJobStatsRequest ¶
NewGetJobStatsRequest constructs an http.Request for the GetJobStats method
func NewGetLimitsRequest ¶
NewGetLimitsRequest constructs an http.Request for the GetLimits method
func NewGetMaintenanceWindowRequest ¶
func NewGetMaintenanceWindowRequest(server string, org OrgPath, uid MaintenanceWindowUidPath) (*http.Request, error)
NewGetMaintenanceWindowRequest constructs an http.Request for the GetMaintenanceWindow method
func NewGetMemberRequest ¶
NewGetMemberRequest constructs an http.Request for the GetMember method
func NewGetMemoryRequest ¶
func NewGetMemoryRequest(server string, params *GetMemoryParams) (*http.Request, error)
NewGetMemoryRequest constructs an http.Request for the GetMemory method
func NewGetNotificationRequest ¶
func NewGetNotificationRequest(server string, org OrgPath, notifUid NotificationUidPath) (*http.Request, error)
NewGetNotificationRequest constructs an http.Request for the GetNotification method
func NewGetOncallScheduleRequest ¶
func NewGetOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
NewGetOncallScheduleRequest constructs an http.Request for the GetOncallSchedule method
func NewGetOrgDependencyGraphRequest ¶
NewGetOrgDependencyGraphRequest constructs an http.Request for the GetOrgDependencyGraph method
func NewGetOrgResultRequest ¶
func NewGetOrgResultRequest(server string, org OrgPath, check string, uid openapi_types.UUID, params *GetOrgResultParams) (*http.Request, error)
NewGetOrgResultRequest constructs an http.Request for the GetOrgResult method
func NewGetOrgSettingsRequest ¶
NewGetOrgSettingsRequest constructs an http.Request for the GetOrgSettings method
func NewGetPublicConfigRequest ¶
NewGetPublicConfigRequest constructs an http.Request for the GetPublicConfig method
func NewGetRegionHealthRequest ¶
NewGetRegionHealthRequest constructs an http.Request for the GetRegionHealth method
func NewGetReportScheduleRequest ¶
func NewGetReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath) (*http.Request, error)
NewGetReportScheduleRequest constructs an http.Request for the GetReportSchedule method
func NewGetSchedulingLaneLoadRequest ¶
NewGetSchedulingLaneLoadRequest constructs an http.Request for the GetSchedulingLaneLoad method
func NewGetSeverityRequest ¶
NewGetSeverityRequest constructs an http.Request for the GetSeverity method
func NewGetSloAlertPolicyRequest ¶
func NewGetSloAlertPolicyRequest(server string, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath) (*http.Request, error)
NewGetSloAlertPolicyRequest constructs an http.Request for the GetSloAlertPolicy method
func NewGetSloBurndownRequest ¶
NewGetSloBurndownRequest constructs an http.Request for the GetSloBurndown method
func NewGetSloHistoryRequest ¶
func NewGetSloHistoryRequest(server string, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams) (*http.Request, error)
NewGetSloHistoryRequest constructs an http.Request for the GetSloHistory method
func NewGetSloRequest ¶
NewGetSloRequest constructs an http.Request for the GetSlo method
func NewGetSloStatusRequest ¶
NewGetSloStatusRequest constructs an http.Request for the GetSloStatus method
func NewGetStatusPageBadgeRequest ¶
func NewGetStatusPageBadgeRequest(server string, org OrgPath, slug string, params *GetStatusPageBadgeParams) (*http.Request, error)
NewGetStatusPageBadgeRequest constructs an http.Request for the GetStatusPageBadge method
func NewGetStatusPageIncidentRequest ¶
func NewGetStatusPageIncidentRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath) (*http.Request, error)
NewGetStatusPageIncidentRequest constructs an http.Request for the GetStatusPageIncident method
func NewGetStatusPageRequest ¶
func NewGetStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, params *GetStatusPageParams) (*http.Request, error)
NewGetStatusPageRequest constructs an http.Request for the GetStatusPage method
func NewGetStatusPageSectionRequest ¶
func NewGetStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath) (*http.Request, error)
NewGetStatusPageSectionRequest constructs an http.Request for the GetStatusPageSection method
func NewGetStatusUpdateRequest ¶
func NewGetStatusUpdateRequest(server string, org OrgPath, uid StatusUpdateUidPath) (*http.Request, error)
NewGetStatusUpdateRequest constructs an http.Request for the GetStatusUpdate method
func NewGetSupportThreadRequest ¶
NewGetSupportThreadRequest constructs an http.Request for the GetSupportThread method
func NewGetSystemCheckJobRequest ¶
func NewGetSystemCheckJobRequest(server string, uid CheckJobUidPath) (*http.Request, error)
NewGetSystemCheckJobRequest constructs an http.Request for the GetSystemCheckJob method
func NewGetSystemJobChainRequest ¶
func NewGetSystemJobChainRequest(server string, uid JobUidPath) (*http.Request, error)
NewGetSystemJobChainRequest constructs an http.Request for the GetSystemJobChain method
func NewGetSystemJobRequest ¶
func NewGetSystemJobRequest(server string, uid JobUidPath) (*http.Request, error)
NewGetSystemJobRequest constructs an http.Request for the GetSystemJob method
func NewGetSystemJobStatsRequest ¶
NewGetSystemJobStatsRequest constructs an http.Request for the GetSystemJobStats method
func NewGetSystemParameterRequest ¶
NewGetSystemParameterRequest constructs an http.Request for the GetSystemParameter method
func NewGetVersionRequest ¶
NewGetVersionRequest constructs an http.Request for the GetVersion method
func NewListAdminEntitlementsRequest ¶
func NewListAdminEntitlementsRequest(server string, params *ListAdminEntitlementsParams) (*http.Request, error)
NewListAdminEntitlementsRequest constructs an http.Request for the ListAdminEntitlements method
func NewListAdminJobsRequest ¶
func NewListAdminJobsRequest(server string, org OrgPath, params *ListAdminJobsParams) (*http.Request, error)
NewListAdminJobsRequest constructs an http.Request for the ListAdminJobs method
func NewListAllTokensRequest ¶
func NewListAllTokensRequest(server string, params *ListAllTokensParams) (*http.Request, error)
NewListAllTokensRequest constructs an http.Request for the ListAllTokens method
func NewListAuthProvidersRequest ¶
NewListAuthProvidersRequest constructs an http.Request for the ListAuthProviders method
func NewListChannelsRequest ¶
func NewListChannelsRequest(server string, org OrgPath, params *ListChannelsParams) (*http.Request, error)
NewListChannelsRequest constructs an http.Request for the ListChannels method
func NewListCheckChannelsRequest ¶
NewListCheckChannelsRequest constructs an http.Request for the ListCheckChannels method
func NewListCheckDependenciesRequest ¶
func NewListCheckDependenciesRequest(server string, org OrgPath, check string) (*http.Request, error)
NewListCheckDependenciesRequest constructs an http.Request for the ListCheckDependencies method
func NewListCheckEventsRequest ¶
func NewListCheckEventsRequest(server string, org OrgPath, checkUid CheckUidPath, params *ListCheckEventsParams) (*http.Request, error)
NewListCheckEventsRequest constructs an http.Request for the ListCheckEvents method
func NewListCheckGroupsRequest ¶
NewListCheckGroupsRequest constructs an http.Request for the ListCheckGroups method
func NewListCheckJobsRequest ¶
func NewListCheckJobsRequest(server string, org OrgPath, params *ListCheckJobsParams) (*http.Request, error)
NewListCheckJobsRequest constructs an http.Request for the ListCheckJobs method
func NewListCheckTypeSamplesRequest ¶
func NewListCheckTypeSamplesRequest(server string, params *ListCheckTypeSamplesParams) (*http.Request, error)
NewListCheckTypeSamplesRequest constructs an http.Request for the ListCheckTypeSamples method
func NewListCheckTypesRequest ¶
NewListCheckTypesRequest constructs an http.Request for the ListCheckTypes method
func NewListChecksRequest ¶
func NewListChecksRequest(server string, org OrgPath, params *ListChecksParams) (*http.Request, error)
NewListChecksRequest constructs an http.Request for the ListChecks method
func NewListDiscoveredChecksRequest ¶
func NewListDiscoveredChecksRequest(server string, org OrgPath, params *ListDiscoveredChecksParams) (*http.Request, error)
NewListDiscoveredChecksRequest constructs an http.Request for the ListDiscoveredChecks method
func NewListDiscoveryScansRequest ¶
NewListDiscoveryScansRequest constructs an http.Request for the ListDiscoveryScans method
func NewListDiscoveryTypesRequest ¶
NewListDiscoveryTypesRequest constructs an http.Request for the ListDiscoveryTypes method
func NewListEmailSuppressionsRequest ¶
NewListEmailSuppressionsRequest constructs an http.Request for the ListEmailSuppressions method
func NewListEntitlementsAuditsRequest ¶
func NewListEntitlementsAuditsRequest(server string, org OrgPath, params *ListEntitlementsAuditsParams) (*http.Request, error)
NewListEntitlementsAuditsRequest constructs an http.Request for the ListEntitlementsAudits method
func NewListEscalationPoliciesRequest ¶
NewListEscalationPoliciesRequest constructs an http.Request for the ListEscalationPolicies method
func NewListEventsRequest ¶
func NewListEventsRequest(server string, org OrgPath, params *ListEventsParams) (*http.Request, error)
NewListEventsRequest constructs an http.Request for the ListEvents method
func NewListFilesRequest ¶
func NewListFilesRequest(server string, org OrgPath, params *ListFilesParams) (*http.Request, error)
NewListFilesRequest constructs an http.Request for the ListFiles method
func NewListIncidentEventsRequest ¶
func NewListIncidentEventsRequest(server string, org OrgPath, uid IncidentUidPath, params *ListIncidentEventsParams) (*http.Request, error)
NewListIncidentEventsRequest constructs an http.Request for the ListIncidentEvents method
func NewListIncidentNotificationsRequest ¶
func NewListIncidentNotificationsRequest(server string, org OrgPath, uid IncidentUidPath, params *ListIncidentNotificationsParams) (*http.Request, error)
NewListIncidentNotificationsRequest constructs an http.Request for the ListIncidentNotifications method
func NewListIncidentPublicationsRequest ¶
func NewListIncidentPublicationsRequest(server string, org OrgPath, incidentUid IncidentUidNamedPath) (*http.Request, error)
NewListIncidentPublicationsRequest constructs an http.Request for the ListIncidentPublications method
func NewListIncidentsRequest ¶
func NewListIncidentsRequest(server string, org OrgPath, params *ListIncidentsParams) (*http.Request, error)
NewListIncidentsRequest constructs an http.Request for the ListIncidents method
func NewListIntegrationIdentitiesRequest ¶
func NewListIntegrationIdentitiesRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
NewListIntegrationIdentitiesRequest constructs an http.Request for the ListIntegrationIdentities method
func NewListInvitationsRequest ¶
NewListInvitationsRequest constructs an http.Request for the ListInvitations method
func NewListJobsRequest ¶
NewListJobsRequest constructs an http.Request for the ListJobs method
func NewListLabelsRequest ¶
func NewListLabelsRequest(server string, org OrgPath, params *ListLabelsParams) (*http.Request, error)
NewListLabelsRequest constructs an http.Request for the ListLabels method
func NewListMaintenanceWindowChecksRequest ¶
func NewListMaintenanceWindowChecksRequest(server string, org OrgPath, uid MaintenanceWindowUidPath) (*http.Request, error)
NewListMaintenanceWindowChecksRequest constructs an http.Request for the ListMaintenanceWindowChecks method
func NewListMaintenanceWindowsRequest ¶
func NewListMaintenanceWindowsRequest(server string, org OrgPath, params *ListMaintenanceWindowsParams) (*http.Request, error)
NewListMaintenanceWindowsRequest constructs an http.Request for the ListMaintenanceWindows method
func NewListMemberCoverageRequest ¶
NewListMemberCoverageRequest constructs an http.Request for the ListMemberCoverage method
func NewListMembersRequest ¶
NewListMembersRequest constructs an http.Request for the ListMembers method
func NewListMyMembershipRequestsRequest ¶
NewListMyMembershipRequestsRequest constructs an http.Request for the ListMyMembershipRequests method
func NewListMyNotificationRoutesRequest ¶
NewListMyNotificationRoutesRequest constructs an http.Request for the ListMyNotificationRoutes method
func NewListMyNotificationsRequest ¶
func NewListMyNotificationsRequest(server string, org OrgPath, params *ListMyNotificationsParams) (*http.Request, error)
NewListMyNotificationsRequest constructs an http.Request for the ListMyNotifications method
func NewListNotificationsRequest ¶
func NewListNotificationsRequest(server string, org OrgPath, params *ListNotificationsParams) (*http.Request, error)
NewListNotificationsRequest constructs an http.Request for the ListNotifications method
func NewListOncallOverridesRequest ¶
func NewListOncallOverridesRequest(server string, org OrgPath, uid OncallScheduleUidPath, params *ListOncallOverridesParams) (*http.Request, error)
NewListOncallOverridesRequest constructs an http.Request for the ListOncallOverrides method
func NewListOncallSchedulesRequest ¶
NewListOncallSchedulesRequest constructs an http.Request for the ListOncallSchedules method
func NewListOrgMembershipRequestsRequest ¶
func NewListOrgMembershipRequestsRequest(server string, org OrgPath, params *ListOrgMembershipRequestsParams) (*http.Request, error)
NewListOrgMembershipRequestsRequest constructs an http.Request for the ListOrgMembershipRequests method
func NewListOrgResultsRequest ¶
func NewListOrgResultsRequest(server string, org OrgPath, params *ListOrgResultsParams) (*http.Request, error)
NewListOrgResultsRequest constructs an http.Request for the ListOrgResults method
func NewListOrgTokensRequest ¶
func NewListOrgTokensRequest(server string, org OrgPath, params *ListOrgTokensParams) (*http.Request, error)
NewListOrgTokensRequest constructs an http.Request for the ListOrgTokens method
func NewListRegionsRequest ¶
NewListRegionsRequest constructs an http.Request for the ListRegions method
func NewListReportSchedulesRequest ¶
NewListReportSchedulesRequest constructs an http.Request for the ListReportSchedules method
func NewListSeveritiesRequest ¶
NewListSeveritiesRequest constructs an http.Request for the ListSeverities method
func NewListSloAlertPoliciesRequest ¶
func NewListSloAlertPoliciesRequest(server string, org OrgPath, uid SLOUidPath) (*http.Request, error)
NewListSloAlertPoliciesRequest constructs an http.Request for the ListSloAlertPolicies method
func NewListSlosRequest ¶
NewListSlosRequest constructs an http.Request for the ListSlos method
func NewListStatusPageIncidentsRequest ¶
func NewListStatusPageIncidentsRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, params *ListStatusPageIncidentsParams) (*http.Request, error)
NewListStatusPageIncidentsRequest constructs an http.Request for the ListStatusPageIncidents method
func NewListStatusPageResourcesRequest ¶
func NewListStatusPageResourcesRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath) (*http.Request, error)
NewListStatusPageResourcesRequest constructs an http.Request for the ListStatusPageResources method
func NewListStatusPageSectionsRequest ¶
func NewListStatusPageSectionsRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
NewListStatusPageSectionsRequest constructs an http.Request for the ListStatusPageSections method
func NewListStatusPageSubscribersRequest ¶
func NewListStatusPageSubscribersRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
NewListStatusPageSubscribersRequest constructs an http.Request for the ListStatusPageSubscribers method
func NewListStatusPagesRequest ¶
NewListStatusPagesRequest constructs an http.Request for the ListStatusPages method
func NewListStatusUpdatesRequest ¶
func NewListStatusUpdatesRequest(server string, org OrgPath, params *ListStatusUpdatesParams) (*http.Request, error)
NewListStatusUpdatesRequest constructs an http.Request for the ListStatusUpdates method
func NewListSupportMessagesRequest ¶
func NewListSupportMessagesRequest(server string, uid string, params *ListSupportMessagesParams) (*http.Request, error)
NewListSupportMessagesRequest constructs an http.Request for the ListSupportMessages method
func NewListSupportThreadsRequest ¶
func NewListSupportThreadsRequest(server string, params *ListSupportThreadsParams) (*http.Request, error)
NewListSupportThreadsRequest constructs an http.Request for the ListSupportThreads method
func NewListSystemCheckJobsRequest ¶
func NewListSystemCheckJobsRequest(server string, params *ListSystemCheckJobsParams) (*http.Request, error)
NewListSystemCheckJobsRequest constructs an http.Request for the ListSystemCheckJobs method
func NewListSystemJobsRequest ¶
func NewListSystemJobsRequest(server string, params *ListSystemJobsParams) (*http.Request, error)
NewListSystemJobsRequest constructs an http.Request for the ListSystemJobs method
func NewListSystemParametersRequest ¶
NewListSystemParametersRequest constructs an http.Request for the ListSystemParameters method
func NewListUserNotificationsRequest ¶
func NewListUserNotificationsRequest(server string, org OrgPath, uid UserUidPath, params *ListUserNotificationsParams) (*http.Request, error)
NewListUserNotificationsRequest constructs an http.Request for the ListUserNotifications method
func NewLoginRequest ¶
func NewLoginRequest(server string, body LoginJSONRequestBody) (*http.Request, error)
NewLoginRequest calls the generic Login builder with application/json body
func NewLoginRequestWithBody ¶
func NewLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLoginRequestWithBody constructs an http.Request for the Login method, with any body, and a specified content type
func NewLogoutRequest ¶
func NewLogoutRequest(server string, body LogoutJSONRequestBody) (*http.Request, error)
NewLogoutRequest calls the generic Logout builder with application/json body
func NewLogoutRequestWithBody ¶
func NewLogoutRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLogoutRequestWithBody constructs an http.Request for the Logout method, with any body, and a specified content type
func NewMigrateRegionRequest ¶
func NewMigrateRegionRequest(server string, body MigrateRegionJSONRequestBody) (*http.Request, error)
NewMigrateRegionRequest calls the generic MigrateRegion builder with application/json body
func NewMigrateRegionRequestWithBody ¶
func NewMigrateRegionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMigrateRegionRequestWithBody constructs an http.Request for the MigrateRegion method, with any body, and a specified content type
func NewPatchEntitlementsRequest ¶
func NewPatchEntitlementsRequest(server string, org OrgPath, body PatchEntitlementsJSONRequestBody) (*http.Request, error)
NewPatchEntitlementsRequest calls the generic PatchEntitlements builder with application/json body
func NewPatchEntitlementsRequestWithBody ¶
func NewPatchEntitlementsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewPatchEntitlementsRequestWithBody constructs an http.Request for the PatchEntitlements method, with any body, and a specified content type
func NewPollDeviceTokenRequest ¶
func NewPollDeviceTokenRequest(server string, body PollDeviceTokenJSONRequestBody) (*http.Request, error)
NewPollDeviceTokenRequest calls the generic PollDeviceToken builder with application/json body
func NewPollDeviceTokenRequestWithBody ¶
func NewPollDeviceTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPollDeviceTokenRequestWithBody constructs an http.Request for the PollDeviceToken method, with any body, and a specified content type
func NewPreviewOncallScheduleRequest ¶
func NewPreviewOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath, params *PreviewOncallScheduleParams) (*http.Request, error)
NewPreviewOncallScheduleRequest constructs an http.Request for the PreviewOncallSchedule method
func NewPromoteDiscoveredChecksRequest ¶
func NewPromoteDiscoveredChecksRequest(server string, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody) (*http.Request, error)
NewPromoteDiscoveredChecksRequest calls the generic PromoteDiscoveredChecks builder with application/json body
func NewPromoteDiscoveredChecksRequestWithBody ¶
func NewPromoteDiscoveredChecksRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewPromoteDiscoveredChecksRequestWithBody constructs an http.Request for the PromoteDiscoveredChecks method, with any body, and a specified content type
func NewPublishIncidentRequest ¶
func NewPublishIncidentRequest(server string, org OrgPath, incidentUid IncidentUidNamedPath, body PublishIncidentJSONRequestBody) (*http.Request, error)
NewPublishIncidentRequest calls the generic PublishIncident builder with application/json body
func NewPublishIncidentRequestWithBody ¶
func NewPublishIncidentRequestWithBody(server string, org OrgPath, incidentUid IncidentUidNamedPath, contentType string, body io.Reader) (*http.Request, error)
NewPublishIncidentRequestWithBody constructs an http.Request for the PublishIncident method, with any body, and a specified content type
func NewRefreshTokenRequest ¶
func NewRefreshTokenRequest(server string, body RefreshTokenJSONRequestBody) (*http.Request, error)
NewRefreshTokenRequest calls the generic RefreshToken builder with application/json body
func NewRefreshTokenRequestWithBody ¶
func NewRefreshTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRefreshTokenRequestWithBody constructs an http.Request for the RefreshToken method, with any body, and a specified content type
func NewRegisterRequest ¶
func NewRegisterRequest(server string, body RegisterJSONRequestBody) (*http.Request, error)
NewRegisterRequest calls the generic Register builder with application/json body
func NewRegisterRequestWithBody ¶
func NewRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRegisterRequestWithBody constructs an http.Request for the Register method, with any body, and a specified content type
func NewRejectMembershipRequestRequest ¶
func NewRejectMembershipRequestRequest(server string, org OrgPath, uid MembershipRequestUidPath, body RejectMembershipRequestJSONRequestBody) (*http.Request, error)
NewRejectMembershipRequestRequest calls the generic RejectMembershipRequest builder with application/json body
func NewRejectMembershipRequestRequestWithBody ¶
func NewRejectMembershipRequestRequestWithBody(server string, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader) (*http.Request, error)
NewRejectMembershipRequestRequestWithBody constructs an http.Request for the RejectMembershipRequest method, with any body, and a specified content type
func NewReleaseAdminEntitlementsRequest ¶
NewReleaseAdminEntitlementsRequest constructs an http.Request for the ReleaseAdminEntitlements method
func NewRemoveCheckChannelRequest ¶
func NewRemoveCheckChannelRequest(server string, org OrgPath, check string, connection openapi_types.UUID) (*http.Request, error)
NewRemoveCheckChannelRequest constructs an http.Request for the RemoveCheckChannel method
func NewRemoveMemberRequest ¶
NewRemoveMemberRequest constructs an http.Request for the RemoveMember method
func NewRemoveMyNotificationContactRequest ¶
func NewRemoveMyNotificationContactRequest(server string, org OrgPath, contactUid ContactUidPath) (*http.Request, error)
NewRemoveMyNotificationContactRequest constructs an http.Request for the RemoveMyNotificationContact method
func NewRemoveStatusPageSubscriberRequest ¶
func NewRemoveStatusPageSubscriberRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, uid SubscriberUidPath) (*http.Request, error)
NewRemoveStatusPageSubscriberRequest constructs an http.Request for the RemoveStatusPageSubscriber method
func NewReorderStatusPageResourcesRequest ¶
func NewReorderStatusPageResourcesRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body ReorderStatusPageResourcesJSONRequestBody) (*http.Request, error)
NewReorderStatusPageResourcesRequest calls the generic ReorderStatusPageResources builder with application/json body
func NewReorderStatusPageResourcesRequestWithBody ¶
func NewReorderStatusPageResourcesRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader) (*http.Request, error)
NewReorderStatusPageResourcesRequestWithBody constructs an http.Request for the ReorderStatusPageResources method, with any body, and a specified content type
func NewReorderStatusPageSectionsRequest ¶
func NewReorderStatusPageSectionsRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, body ReorderStatusPageSectionsJSONRequestBody) (*http.Request, error)
NewReorderStatusPageSectionsRequest calls the generic ReorderStatusPageSections builder with application/json body
func NewReorderStatusPageSectionsRequestWithBody ¶
func NewReorderStatusPageSectionsRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader) (*http.Request, error)
NewReorderStatusPageSectionsRequestWithBody constructs an http.Request for the ReorderStatusPageSections method, with any body, and a specified content type
func NewRequestPasswordResetRequest ¶
func NewRequestPasswordResetRequest(server string, body RequestPasswordResetJSONRequestBody) (*http.Request, error)
NewRequestPasswordResetRequest calls the generic RequestPasswordReset builder with application/json body
func NewRequestPasswordResetRequestWithBody ¶
func NewRequestPasswordResetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRequestPasswordResetRequestWithBody constructs an http.Request for the RequestPasswordReset method, with any body, and a specified content type
func NewResendSupportMessageRequest ¶
func NewResendSupportMessageRequest(server string, uid string, messageUid string) (*http.Request, error)
NewResendSupportMessageRequest constructs an http.Request for the ResendSupportMessage method
func NewResetPasswordRequest ¶
func NewResetPasswordRequest(server string, body ResetPasswordJSONRequestBody) (*http.Request, error)
NewResetPasswordRequest calls the generic ResetPassword builder with application/json body
func NewResetPasswordRequestWithBody ¶
func NewResetPasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewResetPasswordRequestWithBody constructs an http.Request for the ResetPassword method, with any body, and a specified content type
func NewResolveIncidentRequest ¶
func NewResolveIncidentRequest(server string, org OrgPath, uid IncidentUidPath, body ResolveIncidentJSONRequestBody) (*http.Request, error)
NewResolveIncidentRequest calls the generic ResolveIncident builder with application/json body
func NewResolveIncidentRequestWithBody ¶
func NewResolveIncidentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader) (*http.Request, error)
NewResolveIncidentRequestWithBody constructs an http.Request for the ResolveIncident method, with any body, and a specified content type
func NewRespondToDeviceConsentRequest ¶
func NewRespondToDeviceConsentRequest(server string, body RespondToDeviceConsentJSONRequestBody) (*http.Request, error)
NewRespondToDeviceConsentRequest calls the generic RespondToDeviceConsent builder with application/json body
func NewRespondToDeviceConsentRequestWithBody ¶
func NewRespondToDeviceConsentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRespondToDeviceConsentRequestWithBody constructs an http.Request for the RespondToDeviceConsent method, with any body, and a specified content type
func NewRevokeStatusPageKioskTokenRequest ¶
func NewRevokeStatusPageKioskTokenRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
NewRevokeStatusPageKioskTokenRequest constructs an http.Request for the RevokeStatusPageKioskToken method
func NewRevokeTokenRequest ¶
func NewRevokeTokenRequest(server string, tokenUid TokenUidPath) (*http.Request, error)
NewRevokeTokenRequest constructs an http.Request for the RevokeToken method
func NewRotateChannelSecretRequest ¶
func NewRotateChannelSecretRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
NewRotateChannelSecretRequest constructs an http.Request for the RotateChannelSecret method
func NewRotateHeartbeatTokenRequest ¶
func NewRotateHeartbeatTokenRequest(server string, org OrgPath, checkUid CheckUidPath) (*http.Request, error)
NewRotateHeartbeatTokenRequest constructs an http.Request for the RotateHeartbeatToken method
func NewRotateOncallIcalFeedRequest ¶
func NewRotateOncallIcalFeedRequest(server string, org OrgPath, uid OncallScheduleUidPath) (*http.Request, error)
NewRotateOncallIcalFeedRequest constructs an http.Request for the RotateOncallIcalFeed method
func NewSendMemberPagingNudgeRequest ¶
func NewSendMemberPagingNudgeRequest(server string, org OrgPath, uid MemberUidPath) (*http.Request, error)
NewSendMemberPagingNudgeRequest constructs an http.Request for the SendMemberPagingNudge method
func NewSendTestEmailRequest ¶
func NewSendTestEmailRequest(server string, body SendTestEmailJSONRequestBody) (*http.Request, error)
NewSendTestEmailRequest calls the generic SendTestEmail builder with application/json body
func NewSendTestEmailRequestWithBody ¶
func NewSendTestEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSendTestEmailRequestWithBody constructs an http.Request for the SendTestEmail method, with any body, and a specified content type
func NewSetAdminEntitlementsRequest ¶
func NewSetAdminEntitlementsRequest(server string, org OrgPath, body SetAdminEntitlementsJSONRequestBody) (*http.Request, error)
NewSetAdminEntitlementsRequest calls the generic SetAdminEntitlements builder with application/json body
func NewSetAdminEntitlementsRequestWithBody ¶
func NewSetAdminEntitlementsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewSetAdminEntitlementsRequestWithBody constructs an http.Request for the SetAdminEntitlements method, with any body, and a specified content type
func NewSetCheckChannelsRequest ¶
func NewSetCheckChannelsRequest(server string, org OrgPath, check string, body SetCheckChannelsJSONRequestBody) (*http.Request, error)
NewSetCheckChannelsRequest calls the generic SetCheckChannels builder with application/json body
func NewSetCheckChannelsRequestWithBody ¶
func NewSetCheckChannelsRequestWithBody(server string, org OrgPath, check string, contentType string, body io.Reader) (*http.Request, error)
NewSetCheckChannelsRequestWithBody constructs an http.Request for the SetCheckChannels method, with any body, and a specified content type
func NewSetEntitlementsRequest ¶
func NewSetEntitlementsRequest(server string, org OrgPath, body SetEntitlementsJSONRequestBody) (*http.Request, error)
NewSetEntitlementsRequest calls the generic SetEntitlements builder with application/json body
func NewSetEntitlementsRequestWithBody ¶
func NewSetEntitlementsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewSetEntitlementsRequestWithBody constructs an http.Request for the SetEntitlements method, with any body, and a specified content type
func NewSetIntegrationIdentityRequest ¶
func NewSetIntegrationIdentityRequest(server string, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, body SetIntegrationIdentityJSONRequestBody) (*http.Request, error)
NewSetIntegrationIdentityRequest calls the generic SetIntegrationIdentity builder with application/json body
func NewSetIntegrationIdentityRequestWithBody ¶
func NewSetIntegrationIdentityRequestWithBody(server string, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, contentType string, body io.Reader) (*http.Request, error)
NewSetIntegrationIdentityRequestWithBody constructs an http.Request for the SetIntegrationIdentity method, with any body, and a specified content type
func NewSetMaintenanceWindowChecksRequest ¶
func NewSetMaintenanceWindowChecksRequest(server string, org OrgPath, uid MaintenanceWindowUidPath, body SetMaintenanceWindowChecksJSONRequestBody) (*http.Request, error)
NewSetMaintenanceWindowChecksRequest calls the generic SetMaintenanceWindowChecks builder with application/json body
func NewSetMaintenanceWindowChecksRequestWithBody ¶
func NewSetMaintenanceWindowChecksRequestWithBody(server string, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader) (*http.Request, error)
NewSetMaintenanceWindowChecksRequestWithBody constructs an http.Request for the SetMaintenanceWindowChecks method, with any body, and a specified content type
func NewSetSystemParameterRequest ¶
func NewSetSystemParameterRequest(server string, key string, body SetSystemParameterJSONRequestBody) (*http.Request, error)
NewSetSystemParameterRequest calls the generic SetSystemParameter builder with application/json body
func NewSetSystemParameterRequestWithBody ¶
func NewSetSystemParameterRequestWithBody(server string, key string, contentType string, body io.Reader) (*http.Request, error)
NewSetSystemParameterRequestWithBody constructs an http.Request for the SetSystemParameter method, with any body, and a specified content type
func NewSnoozeIncidentRequest ¶
func NewSnoozeIncidentRequest(server string, org OrgPath, uid IncidentUidPath, body SnoozeIncidentJSONRequestBody) (*http.Request, error)
NewSnoozeIncidentRequest calls the generic SnoozeIncident builder with application/json body
func NewSnoozeIncidentRequestWithBody ¶
func NewSnoozeIncidentRequestWithBody(server string, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader) (*http.Request, error)
NewSnoozeIncidentRequestWithBody constructs an http.Request for the SnoozeIncident method, with any body, and a specified content type
func NewStartDeviceAuthorizationRequest ¶
func NewStartDeviceAuthorizationRequest(server string, body StartDeviceAuthorizationJSONRequestBody) (*http.Request, error)
NewStartDeviceAuthorizationRequest calls the generic StartDeviceAuthorization builder with application/json body
func NewStartDeviceAuthorizationRequestWithBody ¶
func NewStartDeviceAuthorizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStartDeviceAuthorizationRequestWithBody constructs an http.Request for the StartDeviceAuthorization method, with any body, and a specified content type
func NewStartDiscoveryScanRequest ¶
func NewStartDiscoveryScanRequest(server string, org OrgPath, body StartDiscoveryScanJSONRequestBody) (*http.Request, error)
NewStartDiscoveryScanRequest calls the generic StartDiscoveryScan builder with application/json body
func NewStartDiscoveryScanRequestWithBody ¶
func NewStartDiscoveryScanRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewStartDiscoveryScanRequestWithBody constructs an http.Request for the StartDiscoveryScan method, with any body, and a specified content type
func NewStatusPageFeedRequest ¶
NewStatusPageFeedRequest constructs an http.Request for the StatusPageFeed method
func NewSubscribeToStatusPageRequest ¶
func NewSubscribeToStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, body SubscribeToStatusPageJSONRequestBody) (*http.Request, error)
NewSubscribeToStatusPageRequest calls the generic SubscribeToStatusPage builder with application/json body
func NewSubscribeToStatusPageRequestWithBody ¶
func NewSubscribeToStatusPageRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader) (*http.Request, error)
NewSubscribeToStatusPageRequestWithBody constructs an http.Request for the SubscribeToStatusPage method, with any body, and a specified content type
func NewSwitchOrgRequest ¶
func NewSwitchOrgRequest(server string, body SwitchOrgJSONRequestBody) (*http.Request, error)
NewSwitchOrgRequest calls the generic SwitchOrg builder with application/json body
func NewSwitchOrgRequestWithBody ¶
func NewSwitchOrgRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSwitchOrgRequestWithBody constructs an http.Request for the SwitchOrg method, with any body, and a specified content type
func NewSyncEmailInboxRequest ¶
NewSyncEmailInboxRequest constructs an http.Request for the SyncEmailInbox method
func NewSyncIntegrationIdentitiesRequest ¶
func NewSyncIntegrationIdentitiesRequest(server string, org OrgPath, uid ChannelUidPath) (*http.Request, error)
NewSyncIntegrationIdentitiesRequest constructs an http.Request for the SyncIntegrationIdentities method
func NewTestChannelRequest ¶
NewTestChannelRequest constructs an http.Request for the TestChannel method
func NewTestEmailInboxRequest ¶
NewTestEmailInboxRequest constructs an http.Request for the TestEmailInbox method
func NewTestMyNotificationRouteRequest ¶
func NewTestMyNotificationRouteRequest(server string, org OrgPath, routeUid RouteUidPath) (*http.Request, error)
NewTestMyNotificationRouteRequest constructs an http.Request for the TestMyNotificationRoute method
func NewTestReportScheduleRequest ¶
func NewTestReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath, body TestReportScheduleJSONRequestBody) (*http.Request, error)
NewTestReportScheduleRequest calls the generic TestReportSchedule builder with application/json body
func NewTestReportScheduleRequestWithBody ¶
func NewTestReportScheduleRequestWithBody(server string, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader) (*http.Request, error)
NewTestReportScheduleRequestWithBody constructs an http.Request for the TestReportSchedule method, with any body, and a specified content type
func NewUnacknowledgeIncidentRequest ¶
func NewUnacknowledgeIncidentRequest(server string, org OrgPath, uid IncidentUidPath) (*http.Request, error)
NewUnacknowledgeIncidentRequest constructs an http.Request for the UnacknowledgeIncident method
func NewUnlockDefaultStatusPageRequest ¶
func NewUnlockDefaultStatusPageRequest(server string, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody) (*http.Request, error)
NewUnlockDefaultStatusPageRequest calls the generic UnlockDefaultStatusPage builder with application/json body
func NewUnlockDefaultStatusPageRequestWithBody ¶
func NewUnlockDefaultStatusPageRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewUnlockDefaultStatusPageRequestWithBody constructs an http.Request for the UnlockDefaultStatusPage method, with any body, and a specified content type
func NewUnlockStatusPageRequest ¶
func NewUnlockStatusPageRequest(server string, org OrgPath, slug string, body UnlockStatusPageJSONRequestBody) (*http.Request, error)
NewUnlockStatusPageRequest calls the generic UnlockStatusPage builder with application/json body
func NewUnlockStatusPageRequestWithBody ¶
func NewUnlockStatusPageRequestWithBody(server string, org OrgPath, slug string, contentType string, body io.Reader) (*http.Request, error)
NewUnlockStatusPageRequestWithBody constructs an http.Request for the UnlockStatusPage method, with any body, and a specified content type
func NewUnpublishIncidentRequest ¶
func NewUnpublishIncidentRequest(server string, org OrgPath, incidentUid IncidentUidNamedPath, uid PublicationUidPath) (*http.Request, error)
NewUnpublishIncidentRequest constructs an http.Request for the UnpublishIncident method
func NewUnsnoozeIncidentRequest ¶
func NewUnsnoozeIncidentRequest(server string, org OrgPath, uid IncidentUidPath) (*http.Request, error)
NewUnsnoozeIncidentRequest constructs an http.Request for the UnsnoozeIncident method
func NewUpdateChannelRequest ¶
func NewUpdateChannelRequest(server string, org OrgPath, uid ChannelUidPath, body UpdateChannelJSONRequestBody) (*http.Request, error)
NewUpdateChannelRequest calls the generic UpdateChannel builder with application/json body
func NewUpdateChannelRequestWithBody ¶
func NewUpdateChannelRequestWithBody(server string, org OrgPath, uid ChannelUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateChannelRequestWithBody constructs an http.Request for the UpdateChannel method, with any body, and a specified content type
func NewUpdateCheckDependencyRequest ¶
func NewUpdateCheckDependencyRequest(server string, org OrgPath, check string, uid openapi_types.UUID, body UpdateCheckDependencyJSONRequestBody) (*http.Request, error)
NewUpdateCheckDependencyRequest calls the generic UpdateCheckDependency builder with application/json body
func NewUpdateCheckDependencyRequestWithBody ¶
func NewUpdateCheckDependencyRequestWithBody(server string, org OrgPath, check string, uid openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCheckDependencyRequestWithBody constructs an http.Request for the UpdateCheckDependency method, with any body, and a specified content type
func NewUpdateCheckGroupRequest ¶
func NewUpdateCheckGroupRequest(server string, org OrgPath, uid CheckGroupUidPath, body UpdateCheckGroupJSONRequestBody) (*http.Request, error)
NewUpdateCheckGroupRequest calls the generic UpdateCheckGroup builder with application/json body
func NewUpdateCheckGroupRequestWithBody ¶
func NewUpdateCheckGroupRequestWithBody(server string, org OrgPath, uid CheckGroupUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCheckGroupRequestWithBody constructs an http.Request for the UpdateCheckGroup method, with any body, and a specified content type
func NewUpdateCheckRequest ¶
func NewUpdateCheckRequest(server string, org OrgPath, checkUid CheckUidPath, body UpdateCheckJSONRequestBody) (*http.Request, error)
NewUpdateCheckRequest calls the generic UpdateCheck builder with application/json body
func NewUpdateCheckRequestWithBody ¶
func NewUpdateCheckRequestWithBody(server string, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCheckRequestWithBody constructs an http.Request for the UpdateCheck method, with any body, and a specified content type
func NewUpdateEscalationPolicyRequest ¶
func NewUpdateEscalationPolicyRequest(server string, org OrgPath, uid EscalationPolicyUidPath, body UpdateEscalationPolicyJSONRequestBody) (*http.Request, error)
NewUpdateEscalationPolicyRequest calls the generic UpdateEscalationPolicy builder with application/json body
func NewUpdateEscalationPolicyRequestWithBody ¶
func NewUpdateEscalationPolicyRequestWithBody(server string, org OrgPath, uid EscalationPolicyUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEscalationPolicyRequestWithBody constructs an http.Request for the UpdateEscalationPolicy method, with any body, and a specified content type
func NewUpdateMaintenanceWindowRequest ¶
func NewUpdateMaintenanceWindowRequest(server string, org OrgPath, uid MaintenanceWindowUidPath, body UpdateMaintenanceWindowJSONRequestBody) (*http.Request, error)
NewUpdateMaintenanceWindowRequest calls the generic UpdateMaintenanceWindow builder with application/json body
func NewUpdateMaintenanceWindowRequestWithBody ¶
func NewUpdateMaintenanceWindowRequestWithBody(server string, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMaintenanceWindowRequestWithBody constructs an http.Request for the UpdateMaintenanceWindow method, with any body, and a specified content type
func NewUpdateMeRequest ¶
func NewUpdateMeRequest(server string, body UpdateMeJSONRequestBody) (*http.Request, error)
NewUpdateMeRequest calls the generic UpdateMe builder with application/json body
func NewUpdateMeRequestWithBody ¶
func NewUpdateMeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMeRequestWithBody constructs an http.Request for the UpdateMe method, with any body, and a specified content type
func NewUpdateMemberRequest ¶
func NewUpdateMemberRequest(server string, org OrgPath, uid MemberUidPath, body UpdateMemberJSONRequestBody) (*http.Request, error)
NewUpdateMemberRequest calls the generic UpdateMember builder with application/json body
func NewUpdateMemberRequestWithBody ¶
func NewUpdateMemberRequestWithBody(server string, org OrgPath, uid MemberUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMemberRequestWithBody constructs an http.Request for the UpdateMember method, with any body, and a specified content type
func NewUpdateMyNotificationRouteRequest ¶
func NewUpdateMyNotificationRouteRequest(server string, org OrgPath, routeUid RouteUidPath, body UpdateMyNotificationRouteJSONRequestBody) (*http.Request, error)
NewUpdateMyNotificationRouteRequest calls the generic UpdateMyNotificationRoute builder with application/json body
func NewUpdateMyNotificationRouteRequestWithBody ¶
func NewUpdateMyNotificationRouteRequestWithBody(server string, org OrgPath, routeUid RouteUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateMyNotificationRouteRequestWithBody constructs an http.Request for the UpdateMyNotificationRoute method, with any body, and a specified content type
func NewUpdateOncallScheduleRequest ¶
func NewUpdateOncallScheduleRequest(server string, org OrgPath, uid OncallScheduleUidPath, body UpdateOncallScheduleJSONRequestBody) (*http.Request, error)
NewUpdateOncallScheduleRequest calls the generic UpdateOncallSchedule builder with application/json body
func NewUpdateOncallScheduleRequestWithBody ¶
func NewUpdateOncallScheduleRequestWithBody(server string, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOncallScheduleRequestWithBody constructs an http.Request for the UpdateOncallSchedule method, with any body, and a specified content type
func NewUpdateOrgProfileRequest ¶
func NewUpdateOrgProfileRequest(server string, org OrgPath, body UpdateOrgProfileJSONRequestBody) (*http.Request, error)
NewUpdateOrgProfileRequest calls the generic UpdateOrgProfile builder with application/json body
func NewUpdateOrgProfileRequestWithBody ¶
func NewUpdateOrgProfileRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrgProfileRequestWithBody constructs an http.Request for the UpdateOrgProfile method, with any body, and a specified content type
func NewUpdateOrgSettingsRequest ¶
func NewUpdateOrgSettingsRequest(server string, org OrgPath, body UpdateOrgSettingsJSONRequestBody) (*http.Request, error)
NewUpdateOrgSettingsRequest calls the generic UpdateOrgSettings builder with application/json body
func NewUpdateOrgSettingsRequestWithBody ¶
func NewUpdateOrgSettingsRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateOrgSettingsRequestWithBody constructs an http.Request for the UpdateOrgSettings method, with any body, and a specified content type
func NewUpdateReportScheduleRequest ¶
func NewUpdateReportScheduleRequest(server string, org OrgPath, uid ReportScheduleUidPath, body UpdateReportScheduleJSONRequestBody) (*http.Request, error)
NewUpdateReportScheduleRequest calls the generic UpdateReportSchedule builder with application/json body
func NewUpdateReportScheduleRequestWithBody ¶
func NewUpdateReportScheduleRequestWithBody(server string, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateReportScheduleRequestWithBody constructs an http.Request for the UpdateReportSchedule method, with any body, and a specified content type
func NewUpdateSeverityRequest ¶
func NewUpdateSeverityRequest(server string, org OrgPath, uid SeverityUidPath, body UpdateSeverityJSONRequestBody) (*http.Request, error)
NewUpdateSeverityRequest calls the generic UpdateSeverity builder with application/json body
func NewUpdateSeverityRequestWithBody ¶
func NewUpdateSeverityRequestWithBody(server string, org OrgPath, uid SeverityUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSeverityRequestWithBody constructs an http.Request for the UpdateSeverity method, with any body, and a specified content type
func NewUpdateSloAlertPolicyRequest ¶
func NewUpdateSloAlertPolicyRequest(server string, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, body UpdateSloAlertPolicyJSONRequestBody) (*http.Request, error)
NewUpdateSloAlertPolicyRequest calls the generic UpdateSloAlertPolicy builder with application/json body
func NewUpdateSloAlertPolicyRequestWithBody ¶
func NewUpdateSloAlertPolicyRequestWithBody(server string, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSloAlertPolicyRequestWithBody constructs an http.Request for the UpdateSloAlertPolicy method, with any body, and a specified content type
func NewUpdateSloRequest ¶
func NewUpdateSloRequest(server string, org OrgPath, uid SLOUidPath, body UpdateSloJSONRequestBody) (*http.Request, error)
NewUpdateSloRequest calls the generic UpdateSlo builder with application/json body
func NewUpdateSloRequestWithBody ¶
func NewUpdateSloRequestWithBody(server string, org OrgPath, uid SLOUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSloRequestWithBody constructs an http.Request for the UpdateSlo method, with any body, and a specified content type
func NewUpdateStatusPageIncidentRequest ¶
func NewUpdateStatusPageIncidentRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body UpdateStatusPageIncidentJSONRequestBody) (*http.Request, error)
NewUpdateStatusPageIncidentRequest calls the generic UpdateStatusPageIncident builder with application/json body
func NewUpdateStatusPageIncidentRequestWithBody ¶
func NewUpdateStatusPageIncidentRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusPageIncidentRequestWithBody constructs an http.Request for the UpdateStatusPageIncident method, with any body, and a specified content type
func NewUpdateStatusPageRequest ¶
func NewUpdateStatusPageRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, body UpdateStatusPageJSONRequestBody) (*http.Request, error)
NewUpdateStatusPageRequest calls the generic UpdateStatusPage builder with application/json body
func NewUpdateStatusPageRequestWithBody ¶
func NewUpdateStatusPageRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusPageRequestWithBody constructs an http.Request for the UpdateStatusPage method, with any body, and a specified content type
func NewUpdateStatusPageResourceRequest ¶
func NewUpdateStatusPageResourceRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, body UpdateStatusPageResourceJSONRequestBody) (*http.Request, error)
NewUpdateStatusPageResourceRequest calls the generic UpdateStatusPageResource builder with application/json body
func NewUpdateStatusPageResourceRequestWithBody ¶
func NewUpdateStatusPageResourceRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusPageResourceRequestWithBody constructs an http.Request for the UpdateStatusPageResource method, with any body, and a specified content type
func NewUpdateStatusPageSectionRequest ¶
func NewUpdateStatusPageSectionRequest(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body UpdateStatusPageSectionJSONRequestBody) (*http.Request, error)
NewUpdateStatusPageSectionRequest calls the generic UpdateStatusPageSection builder with application/json body
func NewUpdateStatusPageSectionRequestWithBody ¶
func NewUpdateStatusPageSectionRequestWithBody(server string, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusPageSectionRequestWithBody constructs an http.Request for the UpdateStatusPageSection method, with any body, and a specified content type
func NewUpdateStatusUpdateRequest ¶
func NewUpdateStatusUpdateRequest(server string, org OrgPath, uid StatusUpdateUidPath, body UpdateStatusUpdateJSONRequestBody) (*http.Request, error)
NewUpdateStatusUpdateRequest calls the generic UpdateStatusUpdate builder with application/json body
func NewUpdateStatusUpdateRequestWithBody ¶
func NewUpdateStatusUpdateRequestWithBody(server string, org OrgPath, uid StatusUpdateUidPath, contentType string, body io.Reader) (*http.Request, error)
NewUpdateStatusUpdateRequestWithBody constructs an http.Request for the UpdateStatusUpdate method, with any body, and a specified content type
func NewUpdateSupportThreadRequest ¶
func NewUpdateSupportThreadRequest(server string, uid string, body UpdateSupportThreadJSONRequestBody) (*http.Request, error)
NewUpdateSupportThreadRequest calls the generic UpdateSupportThread builder with application/json body
func NewUpdateSupportThreadRequestWithBody ¶
func NewUpdateSupportThreadRequestWithBody(server string, uid string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSupportThreadRequestWithBody constructs an http.Request for the UpdateSupportThread method, with any body, and a specified content type
func NewUploadOrgLogoRequestWithBody ¶
func NewUploadOrgLogoRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewUploadOrgLogoRequestWithBody constructs an http.Request for the UploadOrgLogo method, with any body, and a specified content type
func NewUpsertCheckRequest ¶
func NewUpsertCheckRequest(server string, org OrgPath, slug string, body UpsertCheckJSONRequestBody) (*http.Request, error)
NewUpsertCheckRequest calls the generic UpsertCheck builder with application/json body
func NewUpsertCheckRequestWithBody ¶
func NewUpsertCheckRequestWithBody(server string, org OrgPath, slug string, contentType string, body io.Reader) (*http.Request, error)
NewUpsertCheckRequestWithBody constructs an http.Request for the UpsertCheck method, with any body, and a specified content type
func NewValidateCheckRequest ¶
func NewValidateCheckRequest(server string, org OrgPath, body ValidateCheckJSONRequestBody) (*http.Request, error)
NewValidateCheckRequest calls the generic ValidateCheck builder with application/json body
func NewValidateCheckRequestWithBody ¶
func NewValidateCheckRequestWithBody(server string, org OrgPath, contentType string, body io.Reader) (*http.Request, error)
NewValidateCheckRequestWithBody constructs an http.Request for the ValidateCheck method, with any body, and a specified content type
func NewVerifyMyNotificationContactRequest ¶
func NewVerifyMyNotificationContactRequest(server string, org OrgPath, contactUid ContactUidPath) (*http.Request, error)
NewVerifyMyNotificationContactRequest constructs an http.Request for the VerifyMyNotificationContact method
func NewVerifyStatusPageCustomDomainRequest ¶
func NewVerifyStatusPageCustomDomainRequest(server string, org OrgPath, statusPageUid StatusPageUidPath) (*http.Request, error)
NewVerifyStatusPageCustomDomainRequest constructs an http.Request for the VerifyStatusPageCustomDomain method
func NewViewDefaultStatusPageRequest ¶
func NewViewDefaultStatusPageRequest(server string, org OrgPath, params *ViewDefaultStatusPageParams) (*http.Request, error)
NewViewDefaultStatusPageRequest constructs an http.Request for the ViewDefaultStatusPage method
func NewViewPublicStatusPageIncidentsRequest ¶
func NewViewPublicStatusPageIncidentsRequest(server string, org OrgPath, slug string, params *ViewPublicStatusPageIncidentsParams) (*http.Request, error)
NewViewPublicStatusPageIncidentsRequest constructs an http.Request for the ViewPublicStatusPageIncidents method
func NewViewStatusPageRequest ¶
func NewViewStatusPageRequest(server string, org OrgPath, slug string, params *ViewStatusPageParams) (*http.Request, error)
NewViewStatusPageRequest constructs an http.Request for the ViewStatusPage method
func NewViewStatusPageSummaryRequest ¶
func NewViewStatusPageSummaryRequest(server string, org OrgPath, slug string, params *ViewStatusPageSummaryParams) (*http.Request, error)
NewViewStatusPageSummaryRequest constructs an http.Request for the ViewStatusPageSummary method
Types ¶
type AcceptInviteJSONRequestBody ¶
type AcceptInviteJSONRequestBody = AcceptInviteRequest
AcceptInviteJSONRequestBody defines body for AcceptInvite for application/json ContentType.
type AcceptInviteRequest ¶
type AcceptInviteRequest struct {
// Name Display name for a newly created user
Name *string `json:"name,omitempty"`
// Password Password for a newly created user (ignored if the user already exists)
Password *string `json:"password,omitempty"`
// Token Invitation token from the emailed link
Token string `json:"token"`
}
AcceptInviteRequest defines model for AcceptInviteRequest.
type AcceptInviteResult ¶
type AcceptInviteResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoginResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseAcceptInviteResult ¶
func ParseAcceptInviteResult(rsp *http.Response) (*AcceptInviteResult, error)
ParseAcceptInviteResult parses an HTTP response from a AcceptInviteWithResponse call
func (AcceptInviteResult) ContentType ¶
func (r AcceptInviteResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcceptInviteResult) GetBody ¶
func (r AcceptInviteResult) GetBody() []byte
GetBody returns the raw response body bytes
func (AcceptInviteResult) GetJSON200 ¶
func (r AcceptInviteResult) GetJSON200() *LoginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AcceptInviteResult) GetJSON400 ¶
func (r AcceptInviteResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AcceptInviteResult) GetJSON404 ¶
func (r AcceptInviteResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AcceptInviteResult) Status ¶
func (r AcceptInviteResult) Status() string
Status returns HTTPResponse.Status
func (AcceptInviteResult) StatusCode ¶
func (r AcceptInviteResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AcknowledgeIncidentJSONRequestBody ¶
type AcknowledgeIncidentJSONRequestBody = IncidentAckRequest
AcknowledgeIncidentJSONRequestBody defines body for AcknowledgeIncident for application/json ContentType.
type AcknowledgeIncidentResult ¶
type AcknowledgeIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseAcknowledgeIncidentResult ¶
func ParseAcknowledgeIncidentResult(rsp *http.Response) (*AcknowledgeIncidentResult, error)
ParseAcknowledgeIncidentResult parses an HTTP response from a AcknowledgeIncidentWithResponse call
func (AcknowledgeIncidentResult) ContentType ¶
func (r AcknowledgeIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AcknowledgeIncidentResult) GetBody ¶
func (r AcknowledgeIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (AcknowledgeIncidentResult) GetJSON200 ¶
func (r AcknowledgeIncidentResult) GetJSON200() *IncidentDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AcknowledgeIncidentResult) GetJSON401 ¶
func (r AcknowledgeIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AcknowledgeIncidentResult) GetJSON404 ¶
func (r AcknowledgeIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AcknowledgeIncidentResult) Status ¶
func (r AcknowledgeIncidentResult) Status() string
Status returns HTTPResponse.Status
func (AcknowledgeIncidentResult) StatusCode ¶
func (r AcknowledgeIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActivationFunnelResponse ¶
type ActivationFunnelResponse struct {
Data []ActivationFunnelRow `json:"data"`
}
ActivationFunnelResponse defines model for ActivationFunnelResponse.
type ActivationFunnelRow ¶
type ActivationFunnelRow struct {
FirstCheckAt *time.Time `json:"firstCheckAt,omitempty"`
FirstIncidentAt *time.Time `json:"firstIncidentAt,omitempty"`
FirstNotifierAt *time.Time `json:"firstNotifierAt,omitempty"`
FirstResultAt *time.Time `json:"firstResultAt,omitempty"`
Name string `json:"name"`
OrgCreatedAt time.Time `json:"orgCreatedAt"`
OrganizationUid string `json:"organizationUid"`
SignupAt *time.Time `json:"signupAt,omitempty"`
Slug string `json:"slug"`
}
ActivationFunnelRow Per-org timestamps for each activation milestone.
type AddCheckChannelResult ¶
type AddCheckChannelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseAddCheckChannelResult ¶
func ParseAddCheckChannelResult(rsp *http.Response) (*AddCheckChannelResult, error)
ParseAddCheckChannelResult parses an HTTP response from a AddCheckChannelWithResponse call
func (AddCheckChannelResult) ContentType ¶
func (r AddCheckChannelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddCheckChannelResult) GetBody ¶
func (r AddCheckChannelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (AddCheckChannelResult) GetJSON400 ¶
func (r AddCheckChannelResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AddCheckChannelResult) GetJSON401 ¶
func (r AddCheckChannelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AddCheckChannelResult) GetJSON404 ¶
func (r AddCheckChannelResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AddCheckChannelResult) Status ¶
func (r AddCheckChannelResult) Status() string
Status returns HTTPResponse.Status
func (AddCheckChannelResult) StatusCode ¶
func (r AddCheckChannelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddIncidentCommentJSONRequestBody ¶
type AddIncidentCommentJSONRequestBody = IncidentCommentRequest
AddIncidentCommentJSONRequestBody defines body for AddIncidentComment for application/json ContentType.
type AddIncidentCommentResult ¶
type AddIncidentCommentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Event
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseAddIncidentCommentResult ¶
func ParseAddIncidentCommentResult(rsp *http.Response) (*AddIncidentCommentResult, error)
ParseAddIncidentCommentResult parses an HTTP response from a AddIncidentCommentWithResponse call
func (AddIncidentCommentResult) ContentType ¶
func (r AddIncidentCommentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddIncidentCommentResult) GetBody ¶
func (r AddIncidentCommentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (AddIncidentCommentResult) GetJSON201 ¶
func (r AddIncidentCommentResult) GetJSON201() *Event
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AddIncidentCommentResult) GetJSON400 ¶
func (r AddIncidentCommentResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AddIncidentCommentResult) GetJSON401 ¶
func (r AddIncidentCommentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AddIncidentCommentResult) GetJSON404 ¶
func (r AddIncidentCommentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AddIncidentCommentResult) Status ¶
func (r AddIncidentCommentResult) Status() string
Status returns HTTPResponse.Status
func (AddIncidentCommentResult) StatusCode ¶
func (r AddIncidentCommentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddMemberContactJSONRequestBody ¶
type AddMemberContactJSONRequestBody = AddMemberContactRequest
AddMemberContactJSONRequestBody defines body for AddMemberContact for application/json ContentType.
type AddMemberContactRequest ¶
type AddMemberContactRequest struct {
Label *string `json:"label,omitempty"`
Type AddMemberContactRequestType `json:"type"`
// Value E.164 number (e.g. +15551234567)
Value string `json:"value"`
}
AddMemberContactRequest defines model for AddMemberContactRequest.
type AddMemberContactRequestType ¶
type AddMemberContactRequestType string
AddMemberContactRequestType defines model for AddMemberContactRequest.Type.
const ( AddMemberContactRequestTypePhone AddMemberContactRequestType = "phone" AddMemberContactRequestTypeWhatsapp AddMemberContactRequestType = "whatsapp" )
Defines values for AddMemberContactRequestType.
func (AddMemberContactRequestType) Valid ¶
func (e AddMemberContactRequestType) Valid() bool
Valid indicates whether the value is a known member of the AddMemberContactRequestType enum.
type AddMemberContactResult ¶
type AddMemberContactResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AdminMemberContact
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseAddMemberContactResult ¶
func ParseAddMemberContactResult(rsp *http.Response) (*AddMemberContactResult, error)
ParseAddMemberContactResult parses an HTTP response from a AddMemberContactWithResponse call
func (AddMemberContactResult) ContentType ¶
func (r AddMemberContactResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddMemberContactResult) GetBody ¶
func (r AddMemberContactResult) GetBody() []byte
GetBody returns the raw response body bytes
func (AddMemberContactResult) GetJSON201 ¶
func (r AddMemberContactResult) GetJSON201() *AdminMemberContact
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AddMemberContactResult) GetJSON400 ¶
func (r AddMemberContactResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AddMemberContactResult) GetJSON401 ¶
func (r AddMemberContactResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AddMemberContactResult) GetJSON403 ¶
func (r AddMemberContactResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (AddMemberContactResult) GetJSON404 ¶
func (r AddMemberContactResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AddMemberContactResult) Status ¶
func (r AddMemberContactResult) Status() string
Status returns HTTPResponse.Status
func (AddMemberContactResult) StatusCode ¶
func (r AddMemberContactResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddMemberJSONRequestBody ¶
type AddMemberJSONRequestBody = AddMemberRequest
AddMemberJSONRequestBody defines body for AddMember for application/json ContentType.
type AddMemberRequest ¶
type AddMemberRequest struct {
Email openapi_types.Email `json:"email"`
// Role Member role. `owner` may only be granted by a caller who is already an owner of the organization; anybody else gets 403 FORBIDDEN.
Role AddMemberRequestRole `json:"role"`
}
AddMemberRequest defines model for AddMemberRequest.
type AddMemberRequestRole ¶
type AddMemberRequestRole string
AddMemberRequestRole Member role. `owner` may only be granted by a caller who is already an owner of the organization; anybody else gets 403 FORBIDDEN.
const ( AddMemberRequestRoleAdmin AddMemberRequestRole = "admin" AddMemberRequestRoleOwner AddMemberRequestRole = "owner" AddMemberRequestRoleUser AddMemberRequestRole = "user" AddMemberRequestRoleViewer AddMemberRequestRole = "viewer" )
Defines values for AddMemberRequestRole.
func (AddMemberRequestRole) Valid ¶
func (e AddMemberRequestRole) Valid() bool
Valid indicates whether the value is a known member of the AddMemberRequestRole enum.
type AddMemberResult ¶
type AddMemberResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Member
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
}
func ParseAddMemberResult ¶
func ParseAddMemberResult(rsp *http.Response) (*AddMemberResult, error)
ParseAddMemberResult parses an HTTP response from a AddMemberWithResponse call
func (AddMemberResult) ContentType ¶
func (r AddMemberResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddMemberResult) GetBody ¶
func (r AddMemberResult) GetBody() []byte
GetBody returns the raw response body bytes
func (AddMemberResult) GetJSON201 ¶
func (r AddMemberResult) GetJSON201() *Member
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AddMemberResult) GetJSON400 ¶
func (r AddMemberResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AddMemberResult) GetJSON403 ¶
func (r AddMemberResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (AddMemberResult) GetJSON404 ¶
func (r AddMemberResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AddMemberResult) GetJSON409 ¶
func (r AddMemberResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (AddMemberResult) Status ¶
func (r AddMemberResult) Status() string
Status returns HTTPResponse.Status
func (AddMemberResult) StatusCode ¶
func (r AddMemberResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddMyNotificationContactJSONRequestBody ¶
type AddMyNotificationContactJSONRequestBody = AddNotificationContactRequest
AddMyNotificationContactJSONRequestBody defines body for AddMyNotificationContact for application/json ContentType.
type AddMyNotificationContactResult ¶
type AddMyNotificationContactResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *NotificationRoute
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseAddMyNotificationContactResult ¶
func ParseAddMyNotificationContactResult(rsp *http.Response) (*AddMyNotificationContactResult, error)
ParseAddMyNotificationContactResult parses an HTTP response from a AddMyNotificationContactWithResponse call
func (AddMyNotificationContactResult) ContentType ¶
func (r AddMyNotificationContactResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AddMyNotificationContactResult) GetBody ¶
func (r AddMyNotificationContactResult) GetBody() []byte
GetBody returns the raw response body bytes
func (AddMyNotificationContactResult) GetJSON201 ¶
func (r AddMyNotificationContactResult) GetJSON201() *NotificationRoute
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AddMyNotificationContactResult) GetJSON400 ¶
func (r AddMyNotificationContactResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (AddMyNotificationContactResult) GetJSON401 ¶
func (r AddMyNotificationContactResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (AddMyNotificationContactResult) GetJSON404 ¶
func (r AddMyNotificationContactResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (AddMyNotificationContactResult) Status ¶
func (r AddMyNotificationContactResult) Status() string
Status returns HTTPResponse.Status
func (AddMyNotificationContactResult) StatusCode ¶
func (r AddMyNotificationContactResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddNotificationContactRequest ¶
type AddNotificationContactRequest struct {
Label *string `json:"label,omitempty"`
// Type Contact type (email, phone, whatsapp, slack_user, webpush, ...). `whatsapp` is deliberately distinct from `phone` even for the same number: verification proves WhatsApp reachability specifically and is Meta's required opt-in record. WhatsApp values must be E.164.
// `telegram` is **rejected** here with `VALIDATION_ERROR`: a Telegram contact's value is a chat id and there is no verification round-trip to catch a wrong one, so accepting one from a request body would let any user page a stranger. Use the connect-link endpoint instead.
Type string `json:"type"`
Value string `json:"value"`
}
AddNotificationContactRequest defines model for AddNotificationContactRequest.
type AdminEntitlementsDetail ¶
type AdminEntitlementsDetail struct {
// Applied Present on write responses only. False when the precedence rule discarded the write — a billing push onto an admin override is accepted with 200 (billing must not error-loop) but changes nothing.
Applied *bool `json:"applied,omitempty"`
Audits []EntitlementsAudit `json:"audits"`
// ChecksPerMinute The organization's scheduled check-execution rate against its MaxChecksPerMinute cap, plus how many executions the rate gate actually skipped today. Always present (it is not behind `?with=usage`), because it drives the over-limit banner on pages that do not need the full usage roll-up. Omitted only when it could not be computed.
ChecksPerMinute *EntitlementsChecksPerMinute `json:"checksPerMinute,omitempty"`
// Defaults Per-org numeric limits; null/absent means unlimited
Defaults EntitlementLimits `json:"defaults"`
DisplayEmoji *string `json:"displayEmoji,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// Limits Per-org numeric limits; null/absent means unlimited
Limits EntitlementLimits `json:"limits"`
// Message Why the write was not applied, in words.
Message *string `json:"message,omitempty"`
Name string `json:"name"`
OrganizationUid string `json:"organizationUid"`
OverCheckRate *bool `json:"overCheckRate,omitempty"`
Slug string `json:"slug"`
// Source Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
Source AdminEntitlementsDetailSource `json:"source"`
Stale bool `json:"stale"`
// Stored The raw stored org_entitlements row. Absent entirely when the organization has never had one, which is exactly the "resolving to deployment defaults" state.
Stored *AdminEntitlementsStoredRow `json:"stored,omitempty"`
// SuppressedBy The entitlement source that won, when `applied` is false. Today always `admin`.
SuppressedBy *string `json:"suppressedBy,omitempty"`
UpgradeUrl *string `json:"upgradeUrl,omitempty"`
Usage *EntitlementsUsage `json:"usage,omitempty"`
}
AdminEntitlementsDetail defines model for AdminEntitlementsDetail.
type AdminEntitlementsDetailSource ¶
type AdminEntitlementsDetailSource string
AdminEntitlementsDetailSource Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
const ( AdminEntitlementsDetailSourceAdmin AdminEntitlementsDetailSource = "admin" AdminEntitlementsDetailSourceBillingService AdminEntitlementsDetailSource = "billing-service" AdminEntitlementsDetailSourceDefault AdminEntitlementsDetailSource = "default" AdminEntitlementsDetailSourceOrgAdmin AdminEntitlementsDetailSource = "org-admin" AdminEntitlementsDetailSourceSelfHosted AdminEntitlementsDetailSource = "self-hosted" )
Defines values for AdminEntitlementsDetailSource.
func (AdminEntitlementsDetailSource) Valid ¶
func (e AdminEntitlementsDetailSource) Valid() bool
Valid indicates whether the value is a known member of the AdminEntitlementsDetailSource enum.
type AdminEntitlementsListResponse ¶
type AdminEntitlementsListResponse struct {
Data []AdminEntitlementsRow `json:"data"`
// Total Organizations matching the search, before paging.
Total int `json:"total"`
}
AdminEntitlementsListResponse defines model for AdminEntitlementsListResponse.
type AdminEntitlementsRow ¶
type AdminEntitlementsRow struct {
// AdminOverrideSince When the current admin override was written. Absent unless the stored row is admin-sourced.
AdminOverrideSince *time.Time `json:"adminOverrideSince,omitempty"`
// Applied Present on write responses only. False when the precedence rule discarded the write — a billing push onto an admin override is accepted with 200 (billing must not error-loop) but changes nothing.
Applied *bool `json:"applied,omitempty"`
// ChecksPerMinute The organization's scheduled check-execution rate against its MaxChecksPerMinute cap, plus how many executions the rate gate actually skipped today. Always present (it is not behind `?with=usage`), because it drives the over-limit banner on pages that do not need the full usage roll-up. Omitted only when it could not be computed.
ChecksPerMinute *EntitlementsChecksPerMinute `json:"checksPerMinute,omitempty"`
DisplayEmoji *string `json:"displayEmoji,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// Limits Per-org numeric limits; null/absent means unlimited
Limits EntitlementLimits `json:"limits"`
// Message Why the write was not applied, in words.
Message *string `json:"message,omitempty"`
Name string `json:"name"`
OrganizationUid string `json:"organizationUid"`
// OverCheckRate Scheduled check demand exceeds the resolved MaxChecksPerMinute cap. An unlimited cap is never over.
OverCheckRate bool `json:"overCheckRate"`
Slug string `json:"slug"`
// Source Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
Source AdminEntitlementsRowSource `json:"source"`
Stale bool `json:"stale"`
// SuppressedBy The entitlement source that won, when `applied` is false. Today always `admin`.
SuppressedBy *string `json:"suppressedBy,omitempty"`
UpgradeUrl *string `json:"upgradeUrl,omitempty"`
Usage *EntitlementsUsage `json:"usage,omitempty"`
}
AdminEntitlementsRow One organization in the super-admin entitlements list.
type AdminEntitlementsRowSource ¶
type AdminEntitlementsRowSource string
AdminEntitlementsRowSource Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
const ( AdminEntitlementsRowSourceAdmin AdminEntitlementsRowSource = "admin" AdminEntitlementsRowSourceBillingService AdminEntitlementsRowSource = "billing-service" AdminEntitlementsRowSourceDefault AdminEntitlementsRowSource = "default" AdminEntitlementsRowSourceOrgAdmin AdminEntitlementsRowSource = "org-admin" AdminEntitlementsRowSourceSelfHosted AdminEntitlementsRowSource = "self-hosted" )
Defines values for AdminEntitlementsRowSource.
func (AdminEntitlementsRowSource) Valid ¶
func (e AdminEntitlementsRowSource) Valid() bool
Valid indicates whether the value is a known member of the AdminEntitlementsRowSource enum.
type AdminEntitlementsStoredRow ¶
type AdminEntitlementsStoredRow struct {
CreatedAt time.Time `json:"createdAt"`
DisplayEmoji *string `json:"displayEmoji,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
ExternalRef *string `json:"externalRef,omitempty"`
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// Limits Per-org numeric limits; null/absent means unlimited
Limits EntitlementLimits `json:"limits"`
Source string `json:"source"`
UpdatedAt time.Time `json:"updatedAt"`
}
AdminEntitlementsStoredRow The raw stored org_entitlements row. Absent entirely when the organization has never had one, which is exactly the "resolving to deployment defaults" state.
type AdminEntitlementsWriteResponse ¶
type AdminEntitlementsWriteResponse struct {
Applied bool `json:"applied"`
// ChecksPerMinute The organization's scheduled check-execution rate against its MaxChecksPerMinute cap, plus how many executions the rate gate actually skipped today. Always present (it is not behind `?with=usage`), because it drives the over-limit banner on pages that do not need the full usage roll-up. Omitted only when it could not be computed.
ChecksPerMinute *EntitlementsChecksPerMinute `json:"checksPerMinute,omitempty"`
DisplayEmoji *string `json:"displayEmoji,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// Limits Per-org numeric limits; null/absent means unlimited
Limits EntitlementLimits `json:"limits"`
// Message Why the write was not applied, in words.
Message *string `json:"message,omitempty"`
// Released A stored row was actually removed. False when releasing an organization that had no override.
Released *bool `json:"released,omitempty"`
// Source Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
Source AdminEntitlementsWriteResponseSource `json:"source"`
Stale bool `json:"stale"`
// SuppressedBy The entitlement source that won, when `applied` is false. Today always `admin`.
SuppressedBy *string `json:"suppressedBy,omitempty"`
UpgradeUrl *string `json:"upgradeUrl,omitempty"`
Usage *EntitlementsUsage `json:"usage,omitempty"`
}
AdminEntitlementsWriteResponse defines model for AdminEntitlementsWriteResponse.
type AdminEntitlementsWriteResponseSource ¶
type AdminEntitlementsWriteResponseSource string
AdminEntitlementsWriteResponseSource Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
const ( AdminEntitlementsWriteResponseSourceAdmin AdminEntitlementsWriteResponseSource = "admin" AdminEntitlementsWriteResponseSourceBillingService AdminEntitlementsWriteResponseSource = "billing-service" AdminEntitlementsWriteResponseSourceDefault AdminEntitlementsWriteResponseSource = "default" AdminEntitlementsWriteResponseSourceOrgAdmin AdminEntitlementsWriteResponseSource = "org-admin" AdminEntitlementsWriteResponseSourceSelfHosted AdminEntitlementsWriteResponseSource = "self-hosted" )
Defines values for AdminEntitlementsWriteResponseSource.
func (AdminEntitlementsWriteResponseSource) Valid ¶
func (e AdminEntitlementsWriteResponseSource) Valid() bool
Valid indicates whether the value is a known member of the AdminEntitlementsWriteResponseSource enum.
type AdminJob ¶
type AdminJob struct {
Config *map[string]interface{} `json:"config,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DeletedAt *time.Time `json:"deletedAt,omitempty"`
// OrganizationUid Owning org, or null for system jobs.
OrganizationUid *openapi_types.UUID `json:"organizationUid,omitempty"`
Output *map[string]interface{} `json:"output,omitempty"`
PreviousJobUid *openapi_types.UUID `json:"previousJobUid,omitempty"`
RetryCount *int `json:"retryCount,omitempty"`
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
Status *AdminJobStatus `json:"status,omitempty"`
Type *string `json:"type,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
AdminJob A background-jobs queue row as returned by the admin/system views.
type AdminJobListResponse ¶
type AdminJobListResponse struct {
Data *[]AdminJob `json:"data,omitempty"`
}
AdminJobListResponse defines model for AdminJobListResponse.
type AdminJobResponse ¶
type AdminJobResponse struct {
// Data A background-jobs queue row as returned by the admin/system views.
Data *AdminJob `json:"data,omitempty"`
}
AdminJobResponse defines model for AdminJobResponse.
type AdminJobStatus ¶
type AdminJobStatus string
AdminJobStatus defines model for AdminJob.Status.
const ( AdminJobStatusFailed AdminJobStatus = "failed" AdminJobStatusPending AdminJobStatus = "pending" AdminJobStatusRetried AdminJobStatus = "retried" AdminJobStatusRunning AdminJobStatus = "running" AdminJobStatusSuccess AdminJobStatus = "success" )
Defines values for AdminJobStatus.
func (AdminJobStatus) Valid ¶
func (e AdminJobStatus) Valid() bool
Valid indicates whether the value is a known member of the AdminJobStatus enum.
type AdminMemberContact ¶
type AdminMemberContact struct {
Label *string `json:"label,omitempty"`
Type string `json:"type"`
Uid openapi_types.UUID `json:"uid"`
UserUid openapi_types.UUID `json:"userUid"`
// Verified Always false — an admin can never create a verified contact.
Verified bool `json:"verified"`
}
AdminMemberContact defines model for AdminMemberContact.
type AppendPublicationUpdateRequest ¶
type AppendPublicationUpdateRequest struct {
BodyMarkdown string `json:"bodyMarkdown"`
// Kind The first four also advance the publication's state, so the header and the timeline can never disagree.
Kind AppendPublicationUpdateRequestKind `json:"kind"`
Title *string `json:"title,omitempty"`
}
AppendPublicationUpdateRequest Updates are APPEND-ONLY: there is deliberately no edit and no delete endpoint for them.
type AppendPublicationUpdateRequestKind ¶
type AppendPublicationUpdateRequestKind string
AppendPublicationUpdateRequestKind The first four also advance the publication's state, so the header and the timeline can never disagree.
const ( AppendPublicationUpdateRequestKindIdentified AppendPublicationUpdateRequestKind = "identified" AppendPublicationUpdateRequestKindInfo AppendPublicationUpdateRequestKind = "info" AppendPublicationUpdateRequestKindInvestigating AppendPublicationUpdateRequestKind = "investigating" AppendPublicationUpdateRequestKindMaintenance AppendPublicationUpdateRequestKind = "maintenance" AppendPublicationUpdateRequestKindMonitoring AppendPublicationUpdateRequestKind = "monitoring" AppendPublicationUpdateRequestKindResolved AppendPublicationUpdateRequestKind = "resolved" )
Defines values for AppendPublicationUpdateRequestKind.
func (AppendPublicationUpdateRequestKind) Valid ¶
func (e AppendPublicationUpdateRequestKind) Valid() bool
Valid indicates whether the value is a known member of the AppendPublicationUpdateRequestKind enum.
type ApplyOptions ¶
ApplyOptions mirrors the apply endpoint's query flags for the CLI.
type ApproveMembershipRequestJSONRequestBody ¶
type ApproveMembershipRequestJSONRequestBody = ApproveMembershipRequestRequest
ApproveMembershipRequestJSONRequestBody defines body for ApproveMembershipRequest for application/json ContentType.
type ApproveMembershipRequestRequest ¶
type ApproveMembershipRequestRequest struct {
// Role Role to grant the new member (default user)
Role *ApproveMembershipRequestRequestRole `json:"role,omitempty"`
}
ApproveMembershipRequestRequest defines model for ApproveMembershipRequestRequest.
type ApproveMembershipRequestRequestRole ¶
type ApproveMembershipRequestRequestRole string
ApproveMembershipRequestRequestRole Role to grant the new member (default user)
const ( ApproveMembershipRequestRequestRoleAdmin ApproveMembershipRequestRequestRole = "admin" ApproveMembershipRequestRequestRoleUser ApproveMembershipRequestRequestRole = "user" ApproveMembershipRequestRequestRoleViewer ApproveMembershipRequestRequestRole = "viewer" )
Defines values for ApproveMembershipRequestRequestRole.
func (ApproveMembershipRequestRequestRole) Valid ¶
func (e ApproveMembershipRequestRequestRole) Valid() bool
Valid indicates whether the value is a known member of the ApproveMembershipRequestRequestRole enum.
type ApproveMembershipRequestResult ¶
type ApproveMembershipRequestResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParseApproveMembershipRequestResult ¶
func ParseApproveMembershipRequestResult(rsp *http.Response) (*ApproveMembershipRequestResult, error)
ParseApproveMembershipRequestResult parses an HTTP response from a ApproveMembershipRequestWithResponse call
func (ApproveMembershipRequestResult) ContentType ¶
func (r ApproveMembershipRequestResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApproveMembershipRequestResult) GetBody ¶
func (r ApproveMembershipRequestResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ApproveMembershipRequestResult) GetJSON401 ¶
func (r ApproveMembershipRequestResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ApproveMembershipRequestResult) GetJSON403 ¶
func (r ApproveMembershipRequestResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ApproveMembershipRequestResult) GetJSON404 ¶
func (r ApproveMembershipRequestResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ApproveMembershipRequestResult) GetJSON409 ¶
func (r ApproveMembershipRequestResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ApproveMembershipRequestResult) Status ¶
func (r ApproveMembershipRequestResult) Status() string
Status returns HTTPResponse.Status
func (ApproveMembershipRequestResult) StatusCode ¶
func (r ApproveMembershipRequestResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthProvider ¶
type AuthProvider struct {
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
}
AuthProvider defines model for AuthProvider.
type AuthProvidersResponse ¶
type AuthProvidersResponse struct {
Data *[]AuthProvider `json:"data,omitempty"`
PasskeysEnabled *bool `json:"passkeysEnabled,omitempty"`
RegistrationEnabled *bool `json:"registrationEnabled,omitempty"`
}
AuthProvidersResponse defines model for AuthProvidersResponse.
type AvailabilityBucket ¶
type AvailabilityBucket struct {
// AvailabilityPct successfulChecks / totalChecks × 100. Null when totalChecks == 0 — no data is not 100%.
AvailabilityPct *float32 `json:"availabilityPct"`
// HasData False when the cell has no countable probes (then availabilityPct is null).
HasData bool `json:"hasData"`
// PeriodEnd End of the cell (exclusive).
PeriodEnd time.Time `json:"periodEnd"`
// PeriodStart Start of the cell (inclusive).
PeriodStart time.Time `json:"periodStart"`
// Status The shared availability colour vocabulary — the same classifier the public status page and the badge uptime bar use, including the small-bucket guard (a cell with exactly one failed sample is never "down").
Status AvailabilityBucketStatus `json:"status"`
// SuccessfulChecks Probes counted as up (up + warning).
SuccessfulChecks int `json:"successfulChecks"`
// TotalChecks Countable probes in the cell.
TotalChecks int `json:"totalChecks"`
}
AvailabilityBucket defines model for AvailabilityBucket.
type AvailabilityBucketStatus ¶
type AvailabilityBucketStatus string
AvailabilityBucketStatus The shared availability colour vocabulary — the same classifier the public status page and the badge uptime bar use, including the small-bucket guard (a cell with exactly one failed sample is never "down").
const ( AvailabilityBucketStatusDegraded AvailabilityBucketStatus = "degraded" AvailabilityBucketStatusDown AvailabilityBucketStatus = "down" AvailabilityBucketStatusNoData AvailabilityBucketStatus = "noData" AvailabilityBucketStatusUp AvailabilityBucketStatus = "up" )
Defines values for AvailabilityBucketStatus.
func (AvailabilityBucketStatus) Valid ¶
func (e AvailabilityBucketStatus) Valid() bool
Valid indicates whether the value is a known member of the AvailabilityBucketStatus enum.
type AvailabilityPeriod ¶
type AvailabilityPeriod struct {
// AvailabilityPct Probe-ratio availability (successfulChecks / totalChecks × 100). Null when totalChecks == 0 — no data is not 100%.
AvailabilityPct *float32 `json:"availabilityPct,omitempty"`
// DowntimeSeconds Probe-time downtime: (1 − availabilityPct/100) × monitoredSeconds.
DowntimeSeconds *int64 `json:"downtimeSeconds,omitempty"`
// HasData False when the window has no countable probes (then availabilityPct is null).
HasData *bool `json:"hasData,omitempty"`
// Incidents Confirmed-outage (wall-clock) stats for the window, built from incidents whose started_at falls inside it, clamped to the window edges (an unresolved incident runs to now).
Incidents *PeriodIncidents `json:"incidents,omitempty"`
// MonitoredSeconds min(windowLength, now − check.createdAt). Time before the check existed is not measured (and not downtime).
MonitoredSeconds *int64 `json:"monitoredSeconds,omitempty"`
// Partial True when the check is younger than the window, so it was monitored for only part of it.
Partial *bool `json:"partial,omitempty"`
// Period The requested period token, echoed back.
//
// Example: 7d
Period *string `json:"period,omitempty"`
// SuccessfulChecks Probes counted as up (up + warning).
SuccessfulChecks *int `json:"successfulChecks,omitempty"`
// TotalChecks Total countable probes in the window.
TotalChecks *int `json:"totalChecks,omitempty"`
// WindowEnd End of the resolved window (exclusive) — always "now".
WindowEnd *time.Time `json:"windowEnd,omitempty"`
// WindowStart Start of the resolved window (inclusive).
WindowStart *time.Time `json:"windowStart,omitempty"`
}
AvailabilityPeriod defines model for AvailabilityPeriod.
type AvailabilitySettings ¶
type AvailabilitySettings struct {
// ThresholdDegraded Amber floor — pct >= this (and < thresholdUp) renders "degraded"; below it renders "down", subject to the small-bucket calibration guard (a single failed sample never renders down). Default 99.0.
ThresholdDegraded *float64 `json:"thresholdDegraded,omitempty"`
// ThresholdUp Green floor — pct >= this renders "up". Default 99.9.
ThresholdUp *float64 `json:"thresholdUp,omitempty"`
}
AvailabilitySettings Customizes the green/amber/red availability thresholds rendered on a status page's bars. Omitted fields fall back to the platform defaults (thresholdUp 99.9, thresholdDegraded 99.0).
type AvailabilityThresholds ¶
type AvailabilityThresholds struct {
ThresholdDegraded float64 `json:"thresholdDegraded"`
ThresholdUp float64 `json:"thresholdUp"`
}
AvailabilityThresholds defines model for AvailabilityThresholds.
type CancelDiscoveryScanResult ¶
type CancelDiscoveryScanResult struct {
Body []byte
HTTPResponse *http.Response
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCancelDiscoveryScanResult ¶
func ParseCancelDiscoveryScanResult(rsp *http.Response) (*CancelDiscoveryScanResult, error)
ParseCancelDiscoveryScanResult parses an HTTP response from a CancelDiscoveryScanWithResponse call
func (CancelDiscoveryScanResult) ContentType ¶
func (r CancelDiscoveryScanResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelDiscoveryScanResult) GetBody ¶
func (r CancelDiscoveryScanResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelDiscoveryScanResult) GetJSON403 ¶
func (r CancelDiscoveryScanResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CancelDiscoveryScanResult) GetJSON404 ¶
func (r CancelDiscoveryScanResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CancelDiscoveryScanResult) Status ¶
func (r CancelDiscoveryScanResult) Status() string
Status returns HTTPResponse.Status
func (CancelDiscoveryScanResult) StatusCode ¶
func (r CancelDiscoveryScanResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelJobResult ¶
type CancelJobResult struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCancelJobResult ¶
func ParseCancelJobResult(rsp *http.Response) (*CancelJobResult, error)
ParseCancelJobResult parses an HTTP response from a CancelJobWithResponse call
func (CancelJobResult) ContentType ¶
func (r CancelJobResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelJobResult) GetBody ¶
func (r CancelJobResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelJobResult) GetJSON404 ¶
func (r CancelJobResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CancelJobResult) Status ¶
func (r CancelJobResult) Status() string
Status returns HTTPResponse.Status
func (CancelJobResult) StatusCode ¶
func (r CancelJobResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelMembershipRequestResult ¶
type CancelMembershipRequestResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCancelMembershipRequestResult ¶
func ParseCancelMembershipRequestResult(rsp *http.Response) (*CancelMembershipRequestResult, error)
ParseCancelMembershipRequestResult parses an HTTP response from a CancelMembershipRequestWithResponse call
func (CancelMembershipRequestResult) ContentType ¶
func (r CancelMembershipRequestResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelMembershipRequestResult) GetBody ¶
func (r CancelMembershipRequestResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelMembershipRequestResult) GetJSON401 ¶
func (r CancelMembershipRequestResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CancelMembershipRequestResult) GetJSON404 ¶
func (r CancelMembershipRequestResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CancelMembershipRequestResult) Status ¶
func (r CancelMembershipRequestResult) Status() string
Status returns HTTPResponse.Status
func (CancelMembershipRequestResult) StatusCode ¶
func (r CancelMembershipRequestResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ChangePasswordJSONRequestBody ¶
type ChangePasswordJSONRequestBody = ChangePasswordRequest
ChangePasswordJSONRequestBody defines body for ChangePassword for application/json ContentType.
type ChangePasswordRequest ¶
type ChangePasswordRequest struct {
// CurrentPassword The password currently on the account. Required unless the account has no password yet (SSO-only sign-up), in which case it is ignored.
CurrentPassword *string `json:"currentPassword,omitempty"`
// NewPassword Must differ from the current password.
NewPassword string `json:"newPassword"`
}
ChangePasswordRequest defines model for ChangePasswordRequest.
type ChangePasswordResult ¶
type ChangePasswordResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Error
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *TooManyRequests
}
func ParseChangePasswordResult ¶
func ParseChangePasswordResult(rsp *http.Response) (*ChangePasswordResult, error)
ParseChangePasswordResult parses an HTTP response from a ChangePasswordWithResponse call
func (ChangePasswordResult) ContentType ¶
func (r ChangePasswordResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ChangePasswordResult) GetBody ¶
func (r ChangePasswordResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ChangePasswordResult) GetJSON200 ¶
func (r ChangePasswordResult) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ChangePasswordResult) GetJSON400 ¶
func (r ChangePasswordResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ChangePasswordResult) GetJSON401 ¶
func (r ChangePasswordResult) GetJSON401() *Error
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ChangePasswordResult) GetJSON404 ¶
func (r ChangePasswordResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ChangePasswordResult) GetJSON429 ¶
func (r ChangePasswordResult) GetJSON429() *TooManyRequests
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (ChangePasswordResult) Status ¶
func (r ChangePasswordResult) Status() string
Status returns HTTPResponse.Status
func (ChangePasswordResult) StatusCode ¶
func (r ChangePasswordResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Channel ¶
type Channel struct {
CreatedAt time.Time `json:"createdAt"`
Enabled bool `json:"enabled"`
IsDefault bool `json:"isDefault"`
Name string `json:"name"`
// Settings Public (non-secret) settings for the channel
Settings *map[string]interface{} `json:"settings,omitempty"`
// SettingsPrivateKeys Names of settings stored encrypted (values omitted)
SettingsPrivateKeys *[]string `json:"settingsPrivateKeys,omitempty"`
// Type Channel type (slack, discord, webhook, email, ...)
Type string `json:"type"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt time.Time `json:"updatedAt"`
}
Channel defines model for Channel.
type ChannelListResponse ¶
type ChannelListResponse struct {
Data *[]Channel `json:"data,omitempty"`
}
ChannelListResponse defines model for ChannelListResponse.
type ChannelTestResult ¶
type ChannelTestResult struct {
// Detail Optional human-readable success note
Detail *string `json:"detail,omitempty"`
DurationMs int64 `json:"durationMs"`
Error *string `json:"error,omitempty"`
// StatusCode HTTP status for HTTP-based channels; 0 otherwise
StatusCode int `json:"statusCode"`
Success bool `json:"success"`
}
ChannelTestResult defines model for ChannelTestResult.
type ChannelUidPath ¶
type ChannelUidPath = openapi_types.UUID
ChannelUidPath defines model for ChannelUidPath.
type Check ¶
type Check struct {
// CheckGroupUid Group this check belongs to, or null.
CheckGroupUid *openapi_types.UUID `json:"checkGroupUid,omitempty"`
// Config Check-specific configuration; the fields accepted depend on `type`. HTTP checks additionally accept `verifySsl` (boolean, default true — set false to skip TLS certificate verification), `followRedirects` (boolean, default true — set false to stop at the first response instead of following redirects) and `capture_failure_response` (boolean, default false — when true a FAILING execution keeps what the probe received: status line, redacted response headers and a 16 KiB-capped body, stored on the incident it opens as `details.failureResponse`. Opt-in because a response body can contain PII; never exposed on a status page). See wiki/conventions/checker-config.md for the full per-type field reference.
Config *map[string]interface{} `json:"config,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Optional documentation describing what this check monitors
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// EscalationPolicyUid Escalation policy assigned directly to this check. When null, the check inherits its group's policy, then the org default, then none (resolved once at incident-open). Assigning a zero-step policy is the "explicitly silent" convention.
EscalationPolicyUid *openapi_types.UUID `json:"escalationPolicyUid,omitempty"`
// FlapBackoffFactor Each flap multiplies the required recovery time by this factor. 1 = off (constant recovery period).
FlapBackoffFactor *int `json:"flapBackoffFactor,omitempty"`
// FlapState Live adaptive-recovery (flapping) state — the effective, lazy-reset-aware counterpart of flappingWindowSeconds / flapBackoffFactor / maxRecoveryMultiplier above. Omitted when the flapping feature is off for this check, or when no flap state has accumulated (no outage yet, or the rolling window has since lapsed).
FlapState *struct {
// EffectiveRecoveryPeriodSeconds Stability currently required before an open incident on this check auto-resolves, given flapCount.
EffectiveRecoveryPeriodSeconds *int `json:"effectiveRecoveryPeriodSeconds,omitempty"`
// FlapCount Number of outages counted inside the current rolling flapping window. 1 means the 2nd outage within the window — the first one that actually counts as a flap.
FlapCount *int `json:"flapCount,omitempty"`
// LastOutageAt Wall-clock of the most recent outage onset that counted against the window.
LastOutageAt *time.Time `json:"lastOutageAt,omitempty"`
} `json:"flapState,omitempty"`
// FlappingWindowSeconds Flapping (adaptive recovery) window. If a check flaps repeatedly within this rolling window, it must stay stable progressively longer before each auto-resolve. 0 = adaptive recovery off (constant recovery period).
FlappingWindowSeconds *int `json:"flappingWindowSeconds,omitempty"`
// Internal Whether this check is internal (hidden from default listings). READ-ONLY: `internal` marks server-created plumbing (worker self-stat checks) and is what exempts a check from `maxChecks`, from the checks-per-minute demand figure and from the per-org execution rate limit. A create, update, upsert or import that carries it is refused with a `VALIDATION_ERROR` naming the field.
Internal *bool `json:"internal,omitempty"`
// Labels Key-value pairs for organizing and filtering checks
//
// Example: {"app":"api","env":"prod"}
Labels *map[string]string `json:"labels,omitempty"`
// LastResult Full last-execution result. Present only on the check DETAIL response (GET/POST/PUT/PATCH by uid/slug) — the detail page renders output, metrics, and the SSL-chain card from these fields. List responses (GET /checks) use the slimmer LastResultListItem instead, which omits output/metrics: no list consumer (checks table, org dashboard, status dashboard) reads them, and they can be large (SSL cert chains, DNSBL details).
LastResult *LastResult `json:"lastResult,omitempty"`
// LastStatusChange When the check's status last changed, and what it changed to (only included when with=last_status_change). This is the *derived* check status — the same value as the `status` field, which respects the confirmation and recovery periods and the flapping backoff — so a single unconfirmed failed probe does not reset the timer.
//
// Absent for checks that have never recorded a status transition: there is no fallback to the creation time and no fallback to the raw probe history.
LastStatusChange *struct {
// Status The status that the check transitioned to
Status *CheckLastStatusChangeStatus `json:"status,omitempty"`
// Time ISO 8601 timestamp of when the status change occurred
Time *time.Time `json:"time,omitempty"`
} `json:"lastStatusChange,omitempty"`
// MaxRecoveryMultiplier Cap on the adaptive recovery period: required recovery never exceeds this multiple of the base recovery period (also hard-capped at 30 minutes).
MaxRecoveryMultiplier *int `json:"maxRecoveryMultiplier,omitempty"`
Name *string `json:"name,omitempty"`
// Period Interval duration (e.g., "00:01:00" for 1 minute)
Period *string `json:"period,omitempty"`
// RegionSpread Optional inter-region scheduling offset (e.g., "00:00:20"). Every selected region runs the check at the full period; this staggers their phases. Null uses the default of period ÷ region count. Must satisfy 0 <= regionSpread < period.
RegionSpread *string `json:"regionSpread,omitempty"`
// Scheduling Read-only scheduling telemetry, derived from the check's per-region scheduler jobs (max across regions). Present only on the check DETAIL response (GET by uid/slug) — never on list responses — and omitted until the check's first run produces a cost signal.
Scheduling *CheckScheduling `json:"scheduling,omitempty"`
Slug *string `json:"slug,omitempty"`
// TargetHost Derived, read-time-only host this check probes: the config's `host` field when present, else the hostname parsed from `url`, else `target`; null when none apply (e.g. heartbeat/email passive checks). Not stored — renaming a host in a check's config moves it to a different value on the next read. Use `?sort=targetHost` on the list endpoint to order checks by it.
TargetHost *string `json:"targetHost,omitempty"`
// TracerouteOnFailure Per-check path-trace policy. When a network-reachability failure (connect timeout, refusal, ICMP loss, TLS handshake stall) opens or reopens an incident for this check, an MTR-style traceroute is captured and attached. `inherit` defers to the organization default (itself on unless an admin turned it off); `on` and `off` decide for this check. Application-level failures (HTTP 5xx, keyword mismatch, certificate expiry) never trigger a trace, whatever this is set to.
TracerouteOnFailure *CheckTracerouteOnFailure `json:"tracerouteOnFailure,omitempty"`
Type *CheckType `json:"type,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Warnings Advisory notes attached to a SUCCESSFUL create or update — the check was written and will run. Today the only one is "you pinned `ipVersion: ipv6` in a region whose live workers report no IPv6 egress". Absent on read paths.
Warnings *[]ValidationErrorField `json:"warnings,omitempty"`
}
Check defines model for Check.
type CheckAvailabilityBucketsResponse ¶
type CheckAvailabilityBucketsResponse struct {
// BucketSeconds The resolved cell width in seconds (always a multiple of 3600).
//
// Example: 21600
BucketSeconds int `json:"bucketSeconds"`
// Data The cell series, oldest first, aligned to bucketSeconds boundaries.
Data []AvailabilityBucket `json:"data"`
// Region The region filter, omitted when the read summed every region.
Region *string `json:"region,omitempty"`
// Window The whole-window fold over exactly [from, to) — NOT the sum of the cells, which are aligned outward and can span more time than was requested.
Window AvailabilityBucket `json:"window"`
// WindowEnd The requested window end, echoed back.
WindowEnd time.Time `json:"windowEnd"`
// WindowStart The requested window start, echoed back.
WindowStart time.Time `json:"windowStart"`
}
CheckAvailabilityBucketsResponse defines model for CheckAvailabilityBucketsResponse.
type CheckAvailabilityResponse ¶
type CheckAvailabilityResponse struct {
Data *[]AvailabilityPeriod `json:"data,omitempty"`
}
CheckAvailabilityResponse defines model for CheckAvailabilityResponse.
type CheckChannel ¶
type CheckChannel struct {
Enabled bool `json:"enabled"`
IsDefault bool `json:"isDefault"`
Name string `json:"name"`
Type string `json:"type"`
Uid openapi_types.UUID `json:"uid"`
}
CheckChannel defines model for CheckChannel.
type CheckChannelListResponse ¶
type CheckChannelListResponse struct {
Data *[]CheckChannel `json:"data,omitempty"`
}
CheckChannelListResponse defines model for CheckChannelListResponse.
type CheckGroup ¶
type CheckGroup struct {
CheckCount int `json:"checkCount"`
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description,omitempty"`
// EscalationPolicyUid Group-level escalation policy that member checks inherit when they have no policy of their own. Null = no group policy.
EscalationPolicyUid *openapi_types.UUID `json:"escalationPolicyUid,omitempty"`
// MemberStatusCounts Count of enabled member checks per status (wire status name -> count), omitting statuses with zero members.
//
// Example: {"down":1,"up":3}
MemberStatusCounts *map[string]int `json:"memberStatusCounts,omitempty"`
Name string `json:"name"`
Slug string `json:"slug"`
SortOrder int `json:"sortOrder"`
// Status Derived, read-time rollup of the group's enabled member checks: "down" if all considered members are down, "degraded" if some (not all) are down, "warning" if none are down but at least one is warning, "validating" if none are down/warning but at least one is validating, "up" if at least one is up, otherwise "created" (no considered members, or only just-created ones). Never stored — recomputed on every read.
Status CheckGroupStatus `json:"status"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt time.Time `json:"updatedAt"`
}
CheckGroup defines model for CheckGroup.
type CheckGroupListResponse ¶
type CheckGroupListResponse struct {
Data *[]CheckGroup `json:"data,omitempty"`
}
CheckGroupListResponse defines model for CheckGroupListResponse.
type CheckGroupStatus ¶
type CheckGroupStatus string
CheckGroupStatus Derived, read-time rollup of the group's enabled member checks: "down" if all considered members are down, "degraded" if some (not all) are down, "warning" if none are down but at least one is warning, "validating" if none are down/warning but at least one is validating, "up" if at least one is up, otherwise "created" (no considered members, or only just-created ones). Never stored — recomputed on every read.
const ( CheckGroupStatusCreated CheckGroupStatus = "created" CheckGroupStatusDegraded CheckGroupStatus = "degraded" CheckGroupStatusDown CheckGroupStatus = "down" CheckGroupStatusUp CheckGroupStatus = "up" CheckGroupStatusValidating CheckGroupStatus = "validating" CheckGroupStatusWarning CheckGroupStatus = "warning" )
Defines values for CheckGroupStatus.
func (CheckGroupStatus) Valid ¶
func (e CheckGroupStatus) Valid() bool
Valid indicates whether the value is a known member of the CheckGroupStatus enum.
type CheckGroupUidPath ¶
type CheckGroupUidPath = string
CheckGroupUidPath defines model for CheckGroupUidPath.
type CheckJobListResponse ¶
type CheckJobListResponse struct {
Data *[]CheckJobView `json:"data,omitempty"`
}
CheckJobListResponse defines model for CheckJobListResponse.
type CheckJobResponse ¶
type CheckJobResponse struct {
// Data A redacted check_jobs scheduler row. Secret values are never included, only encrypted key names.
Data *CheckJobView `json:"data,omitempty"`
}
CheckJobResponse defines model for CheckJobResponse.
type CheckJobUidPath ¶
type CheckJobUidPath = openapi_types.UUID
CheckJobUidPath defines model for CheckJobUidPath.
type CheckJobView ¶
type CheckJobView struct {
CheckName *string `json:"checkName,omitempty"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
Config *map[string]interface{} `json:"config,omitempty"`
Encrypted *bool `json:"encrypted,omitempty"`
EncryptedKeys *[]string `json:"encryptedKeys,omitempty"`
LeaseExpiresAt *time.Time `json:"leaseExpiresAt,omitempty"`
LeaseStarts *int `json:"leaseStarts,omitempty"`
LeaseWorkerUid *string `json:"leaseWorkerUid,omitempty"`
OrganizationUid *openapi_types.UUID `json:"organizationUid,omitempty"`
PeriodSeconds *int64 `json:"periodSeconds,omitempty"`
Region *string `json:"region,omitempty"`
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
State *CheckJobViewState `json:"state,omitempty"`
Type *string `json:"type,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
CheckJobView A redacted check_jobs scheduler row. Secret values are never included, only encrypted key names.
type CheckJobViewState ¶
type CheckJobViewState string
CheckJobViewState defines model for CheckJobView.State.
const ( CheckJobViewStateCrashLooping CheckJobViewState = "crashLooping" CheckJobViewStateIdle CheckJobViewState = "idle" CheckJobViewStateInFlight CheckJobViewState = "inFlight" CheckJobViewStateStalled CheckJobViewState = "stalled" )
Defines values for CheckJobViewState.
func (CheckJobViewState) Valid ¶
func (e CheckJobViewState) Valid() bool
Valid indicates whether the value is a known member of the CheckJobViewState enum.
type CheckLastStatusChangeStatus ¶
type CheckLastStatusChangeStatus string
CheckLastStatusChangeStatus The status that the check transitioned to
const ( CheckLastStatusChangeStatusCREATED CheckLastStatusChangeStatus = "CREATED" CheckLastStatusChangeStatusDEGRADED CheckLastStatusChangeStatus = "DEGRADED" CheckLastStatusChangeStatusDOWN CheckLastStatusChangeStatus = "DOWN" CheckLastStatusChangeStatusUNKNOWN CheckLastStatusChangeStatus = "UNKNOWN" CheckLastStatusChangeStatusUP CheckLastStatusChangeStatus = "UP" CheckLastStatusChangeStatusVALIDATING CheckLastStatusChangeStatus = "VALIDATING" CheckLastStatusChangeStatusWARNING CheckLastStatusChangeStatus = "WARNING" )
Defines values for CheckLastStatusChangeStatus.
func (CheckLastStatusChangeStatus) Valid ¶
func (e CheckLastStatusChangeStatus) Valid() bool
Valid indicates whether the value is a known member of the CheckLastStatusChangeStatus enum.
type CheckListItem ¶
type CheckListItem struct {
// CheckGroupUid Group this check belongs to, or null.
CheckGroupUid *openapi_types.UUID `json:"checkGroupUid,omitempty"`
// Config Check-specific configuration; the fields accepted depend on `type`. HTTP checks additionally accept `verifySsl` (boolean, default true — set false to skip TLS certificate verification), `followRedirects` (boolean, default true — set false to stop at the first response instead of following redirects) and `capture_failure_response` (boolean, default false — when true a FAILING execution keeps what the probe received: status line, redacted response headers and a 16 KiB-capped body, stored on the incident it opens as `details.failureResponse`. Opt-in because a response body can contain PII; never exposed on a status page). See wiki/conventions/checker-config.md for the full per-type field reference.
Config *map[string]interface{} `json:"config,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Description Optional documentation describing what this check monitors
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// EscalationPolicyUid Escalation policy assigned directly to this check. When null, the check inherits its group's policy, then the org default, then none (resolved once at incident-open). Assigning a zero-step policy is the "explicitly silent" convention.
EscalationPolicyUid *openapi_types.UUID `json:"escalationPolicyUid,omitempty"`
// FlapBackoffFactor Each flap multiplies the required recovery time by this factor. 1 = off (constant recovery period).
FlapBackoffFactor *int `json:"flapBackoffFactor,omitempty"`
// FlapState Live adaptive-recovery (flapping) state — the effective, lazy-reset-aware counterpart of flappingWindowSeconds / flapBackoffFactor / maxRecoveryMultiplier above. Omitted when the flapping feature is off for this check, or when no flap state has accumulated (no outage yet, or the rolling window has since lapsed).
FlapState *struct {
// EffectiveRecoveryPeriodSeconds Stability currently required before an open incident on this check auto-resolves, given flapCount.
EffectiveRecoveryPeriodSeconds *int `json:"effectiveRecoveryPeriodSeconds,omitempty"`
// FlapCount Number of outages counted inside the current rolling flapping window. 1 means the 2nd outage within the window — the first one that actually counts as a flap.
FlapCount *int `json:"flapCount,omitempty"`
// LastOutageAt Wall-clock of the most recent outage onset that counted against the window.
LastOutageAt *time.Time `json:"lastOutageAt,omitempty"`
} `json:"flapState,omitempty"`
// FlappingWindowSeconds Flapping (adaptive recovery) window. If a check flaps repeatedly within this rolling window, it must stay stable progressively longer before each auto-resolve. 0 = adaptive recovery off (constant recovery period).
FlappingWindowSeconds *int `json:"flappingWindowSeconds,omitempty"`
// Internal Whether this check is internal (hidden from default listings). READ-ONLY: `internal` marks server-created plumbing (worker self-stat checks) and is what exempts a check from `maxChecks`, from the checks-per-minute demand figure and from the per-org execution rate limit. A create, update, upsert or import that carries it is refused with a `VALIDATION_ERROR` naming the field.
Internal *bool `json:"internal,omitempty"`
// Labels Key-value pairs for organizing and filtering checks
//
// Example: {"app":"api","env":"prod"}
Labels *map[string]string `json:"labels,omitempty"`
// LastResult Slim last-execution result used on list responses (GET /checks) — {uid, status, timestamp, durationMs} only. See LastResult for the full detail-response shape.
LastResult *LastResultListItem `json:"lastResult,omitempty"`
// LastStatusChange When the check's status last changed, and what it changed to (only included when with=last_status_change). This is the *derived* check status — the same value as the `status` field, which respects the confirmation and recovery periods and the flapping backoff — so a single unconfirmed failed probe does not reset the timer.
//
// Absent for checks that have never recorded a status transition: there is no fallback to the creation time and no fallback to the raw probe history.
LastStatusChange *struct {
// Status The status that the check transitioned to
Status *CheckListItemLastStatusChangeStatus `json:"status,omitempty"`
// Time ISO 8601 timestamp of when the status change occurred
Time *time.Time `json:"time,omitempty"`
} `json:"lastStatusChange,omitempty"`
// MaxRecoveryMultiplier Cap on the adaptive recovery period: required recovery never exceeds this multiple of the base recovery period (also hard-capped at 30 minutes).
MaxRecoveryMultiplier *int `json:"maxRecoveryMultiplier,omitempty"`
Name *string `json:"name,omitempty"`
// Period Interval duration (e.g., "00:01:00" for 1 minute)
Period *string `json:"period,omitempty"`
// RegionSpread Optional inter-region scheduling offset (e.g., "00:00:20"). Every selected region runs the check at the full period; this staggers their phases. Null uses the default of period ÷ region count. Must satisfy 0 <= regionSpread < period.
RegionSpread *string `json:"regionSpread,omitempty"`
// Scheduling Read-only scheduling telemetry, derived from the check's per-region scheduler jobs (max across regions). Present only on the check DETAIL response (GET by uid/slug) — never on list responses — and omitted until the check's first run produces a cost signal.
Scheduling *CheckScheduling `json:"scheduling,omitempty"`
Slug *string `json:"slug,omitempty"`
// TargetHost Derived, read-time-only host this check probes: the config's `host` field when present, else the hostname parsed from `url`, else `target`; null when none apply (e.g. heartbeat/email passive checks). Not stored — renaming a host in a check's config moves it to a different value on the next read. Use `?sort=targetHost` on the list endpoint to order checks by it.
TargetHost *string `json:"targetHost,omitempty"`
// TracerouteOnFailure Per-check path-trace policy. When a network-reachability failure (connect timeout, refusal, ICMP loss, TLS handshake stall) opens or reopens an incident for this check, an MTR-style traceroute is captured and attached. `inherit` defers to the organization default (itself on unless an admin turned it off); `on` and `off` decide for this check. Application-level failures (HTTP 5xx, keyword mismatch, certificate expiry) never trigger a trace, whatever this is set to.
TracerouteOnFailure *CheckListItemTracerouteOnFailure `json:"tracerouteOnFailure,omitempty"`
Type *CheckListItemType `json:"type,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Warnings Advisory notes attached to a SUCCESSFUL create or update — the check was written and will run. Today the only one is "you pinned `ipVersion: ipv6` in a region whose live workers report no IPv6 egress". Absent on read paths.
Warnings *[]ValidationErrorField `json:"warnings,omitempty"`
}
CheckListItem A check as it appears on the list endpoint (GET /checks) — identical to Check except lastResult is the slim LastResultListItem shape and scheduling is never present (detail-only, see CheckScheduling).
type CheckListItemLastStatusChangeStatus ¶
type CheckListItemLastStatusChangeStatus string
CheckListItemLastStatusChangeStatus The status that the check transitioned to
const ( CheckListItemLastStatusChangeStatusCREATED CheckListItemLastStatusChangeStatus = "CREATED" CheckListItemLastStatusChangeStatusDEGRADED CheckListItemLastStatusChangeStatus = "DEGRADED" CheckListItemLastStatusChangeStatusDOWN CheckListItemLastStatusChangeStatus = "DOWN" CheckListItemLastStatusChangeStatusUNKNOWN CheckListItemLastStatusChangeStatus = "UNKNOWN" CheckListItemLastStatusChangeStatusUP CheckListItemLastStatusChangeStatus = "UP" CheckListItemLastStatusChangeStatusVALIDATING CheckListItemLastStatusChangeStatus = "VALIDATING" CheckListItemLastStatusChangeStatusWARNING CheckListItemLastStatusChangeStatus = "WARNING" )
Defines values for CheckListItemLastStatusChangeStatus.
func (CheckListItemLastStatusChangeStatus) Valid ¶
func (e CheckListItemLastStatusChangeStatus) Valid() bool
Valid indicates whether the value is a known member of the CheckListItemLastStatusChangeStatus enum.
type CheckListItemTracerouteOnFailure ¶
type CheckListItemTracerouteOnFailure string
CheckListItemTracerouteOnFailure Per-check path-trace policy. When a network-reachability failure (connect timeout, refusal, ICMP loss, TLS handshake stall) opens or reopens an incident for this check, an MTR-style traceroute is captured and attached. `inherit` defers to the organization default (itself on unless an admin turned it off); `on` and `off` decide for this check. Application-level failures (HTTP 5xx, keyword mismatch, certificate expiry) never trigger a trace, whatever this is set to.
const ( CheckListItemTracerouteOnFailureInherit CheckListItemTracerouteOnFailure = "inherit" CheckListItemTracerouteOnFailureOff CheckListItemTracerouteOnFailure = "off" CheckListItemTracerouteOnFailureOn CheckListItemTracerouteOnFailure = "on" )
Defines values for CheckListItemTracerouteOnFailure.
func (CheckListItemTracerouteOnFailure) Valid ¶
func (e CheckListItemTracerouteOnFailure) Valid() bool
Valid indicates whether the value is a known member of the CheckListItemTracerouteOnFailure enum.
type CheckListItemType ¶
type CheckListItemType string
CheckListItemType defines model for CheckListItem.Type.
const ( CheckListItemTypeDns CheckListItemType = "dns" CheckListItemTypeDomain CheckListItemType = "domain" CheckListItemTypeHttp CheckListItemType = "http" CheckListItemTypeIcmp CheckListItemType = "icmp" CheckListItemTypeSsl CheckListItemType = "ssl" CheckListItemTypeTcp CheckListItemType = "tcp" )
Defines values for CheckListItemType.
func (CheckListItemType) Valid ¶
func (e CheckListItemType) Valid() bool
Valid indicates whether the value is a known member of the CheckListItemType enum.
type CheckListResponse ¶
type CheckListResponse struct {
Data *[]CheckListItem `json:"data,omitempty"`
}
CheckListResponse defines model for CheckListResponse.
type CheckRef ¶
type CheckRef struct {
Name string `json:"name"`
Slug string `json:"slug"`
Uid openapi_types.UUID `json:"uid"`
}
CheckRef defines model for CheckRef.
type CheckScheduleStats ¶
type CheckScheduleStats struct {
CrashLooping *int `json:"crashLooping,omitempty"`
DueNow *int `json:"dueNow,omitempty"`
InFlight *int `json:"inFlight,omitempty"`
Stalled *int `json:"stalled,omitempty"`
Total *int `json:"total,omitempty"`
}
CheckScheduleStats Check-schedule counts derived from lease state.
type CheckScheduling ¶
type CheckScheduling struct {
// CostEwmaMs Smoothed execution cost in milliseconds (EWMA).
CostEwmaMs float32 `json:"costEwmaMs"`
// DelayEwmaMs Smoothed start lateness in milliseconds (EWMA, pure telemetry).
DelayEwmaMs float32 `json:"delayEwmaMs"`
// DutyCyclePct round(100 × costEwmaMs / period in ms) — the share of a runner slot this check permanently occupies. 100 means the check takes as long to run as its period (a full-time slot).
DutyCyclePct int `json:"dutyCyclePct"`
}
CheckScheduling Read-only scheduling telemetry, derived from the check's per-region scheduler jobs (max across regions). Present only on the check DETAIL response (GET by uid/slug) — never on list responses — and omitted until the check's first run produces a cost signal.
type CheckStats ¶
type CheckStats struct {
// Availability24h 100 * successful / total over the trailing 24h window, combining `hour` rollup rows and `raw` result rows (successful = up + warning; lifecycle markers and reaped/abandoned raw rows are excluded from both sides). `null` when the window has no countable data (an empty or brand-new org) — never a fabricated 100.
//
// Example: 99.97
Availability24h *float32 `json:"availability24h"`
// ByStatus Count per check status. Every known status key (created, up, down, validating, degraded, warning, unknown) is always present, with 0 when empty, so clients can index it without guards. Keys are the same tokens the list endpoint's `status` field carries.
//
// Example: {"created":2,"degraded":2,"down":6,"unknown":0,"up":240,"validating":0,"warning":0}
ByStatus map[string]int `json:"byStatus"`
// Disabled Checks with enabled = false.
//
// Example: 12
Disabled int `json:"disabled"`
// Down Checks the dashboard renders as failing (status down, error or timeout). `error` and `timeout` are result-level statuses a check status never holds, so in practice this equals byStatus.down.
//
// Example: 6
Down int `json:"down"`
// Enabled Checks with enabled = true.
//
// Example: 250
Enabled int `json:"enabled"`
// HardDown Checks failing hard (status down or error), i.e. down excluding timeouts.
//
// Example: 6
HardDown int `json:"hardDown"`
// Total Every in-scope check — enabled plus disabled.
//
// Example: 262
Total int `json:"total"`
}
CheckStats defines model for CheckStats.
type CheckTracerouteOnFailure ¶
type CheckTracerouteOnFailure string
CheckTracerouteOnFailure Per-check path-trace policy. When a network-reachability failure (connect timeout, refusal, ICMP loss, TLS handshake stall) opens or reopens an incident for this check, an MTR-style traceroute is captured and attached. `inherit` defers to the organization default (itself on unless an admin turned it off); `on` and `off` decide for this check. Application-level failures (HTTP 5xx, keyword mismatch, certificate expiry) never trigger a trace, whatever this is set to.
const ( CheckTracerouteOnFailureInherit CheckTracerouteOnFailure = "inherit" CheckTracerouteOnFailureOff CheckTracerouteOnFailure = "off" CheckTracerouteOnFailureOn CheckTracerouteOnFailure = "on" )
Defines values for CheckTracerouteOnFailure.
func (CheckTracerouteOnFailure) Valid ¶
func (e CheckTracerouteOnFailure) Valid() bool
Valid indicates whether the value is a known member of the CheckTracerouteOnFailure enum.
type CheckType ¶
type CheckType string
CheckType defines model for Check.Type.
type CheckTypeInfo ¶
type CheckTypeInfo struct {
DefaultPeriodSeconds *int `json:"defaultPeriodSeconds,omitempty"`
Description string `json:"description"`
DisabledReason *string `json:"disabledReason,omitempty"`
Enabled bool `json:"enabled"`
Labels []string `json:"labels"`
MaxPeriodSeconds *int `json:"maxPeriodSeconds,omitempty"`
MinPeriodSeconds *int `json:"minPeriodSeconds,omitempty"`
Type string `json:"type"`
}
CheckTypeInfo defines model for CheckTypeInfo.
type CheckTypeListResponse ¶
type CheckTypeListResponse struct {
Data *[]CheckTypeInfo `json:"data,omitempty"`
}
CheckTypeListResponse defines model for CheckTypeListResponse.
type CheckTypeSampleConfig ¶
type CheckTypeSampleConfig struct {
Config map[string]interface{} `json:"config"`
Name string `json:"name"`
PeriodSeconds int `json:"periodSeconds"`
Slug string `json:"slug"`
}
CheckTypeSampleConfig defines model for CheckTypeSampleConfig.
type CheckTypeSamples ¶
type CheckTypeSamples struct {
CheckType string `json:"checkType"`
Samples []CheckTypeSampleConfig `json:"samples"`
}
CheckTypeSamples defines model for CheckTypeSamples.
type CheckTypeSamplesListResponse ¶
type CheckTypeSamplesListResponse struct {
Data *[]CheckTypeSamples `json:"data,omitempty"`
}
CheckTypeSamplesListResponse defines model for CheckTypeSamplesListResponse.
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) AcceptInvite ¶
func (c *Client) AcceptInvite(ctx context.Context, body AcceptInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptInvite Accept an invitation
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
func (*Client) AcceptInviteWithBody ¶
func (c *Client) AcceptInviteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcceptInviteWithBody Accept an invitation
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
func (*Client) AcknowledgeIncident ¶
func (c *Client) AcknowledgeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, body AcknowledgeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AcknowledgeIncident Acknowledge an incident
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
func (*Client) AcknowledgeIncidentWithBody ¶
func (c *Client) AcknowledgeIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AcknowledgeIncidentWithBody Acknowledge an incident
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
func (*Client) AddCheckChannel ¶
func (c *Client) AddCheckChannel(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
AddCheckChannel Bind a single channel to a check
Corresponds with POST /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `AddCheckChannel` operationId).
func (*Client) AddIncidentComment ¶
func (c *Client) AddIncidentComment(ctx context.Context, org OrgPath, uid IncidentUidPath, body AddIncidentCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddIncidentComment Add a comment to an incident
Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
func (*Client) AddIncidentCommentWithBody ¶
func (c *Client) AddIncidentCommentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddIncidentCommentWithBody Add a comment to an incident
Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
func (*Client) AddMember ¶
func (c *Client) AddMember(ctx context.Context, org OrgPath, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMember Add member to organization
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
func (*Client) AddMemberContact ¶
func (c *Client) AddMemberContact(ctx context.Context, org OrgPath, uid MemberUidPath, body AddMemberContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMemberContact Pre-provision an unverified paging contact for a member
Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
func (*Client) AddMemberContactWithBody ¶
func (c *Client) AddMemberContactWithBody(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMemberContactWithBody Pre-provision an unverified paging contact for a member
Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
func (*Client) AddMemberWithBody ¶
func (c *Client) AddMemberWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMemberWithBody Add member to organization
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
func (*Client) AddMyNotificationContact ¶
func (c *Client) AddMyNotificationContact(ctx context.Context, org OrgPath, body AddMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMyNotificationContact Add a notification contact (and its route) for the caller
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
func (*Client) AddMyNotificationContactWithBody ¶
func (c *Client) AddMyNotificationContactWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMyNotificationContactWithBody Add a notification contact (and its route) for the caller
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
func (*Client) ApproveMembershipRequest ¶
func (c *Client) ApproveMembershipRequest(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body ApproveMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ApproveMembershipRequest Approve a membership request
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
func (*Client) ApproveMembershipRequestWithBody ¶
func (c *Client) ApproveMembershipRequestWithBody(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApproveMembershipRequestWithBody Approve a membership request
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
func (*Client) CancelDiscoveryScan ¶
func (c *Client) CancelDiscoveryScan(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelDiscoveryScan Cancel a discovery scan
Admin only. Cancels the scan and drops every pending fan-out child chunk. Children already running finish naturally.
Corresponds with POST /api/v1/orgs/{org}/discovery/scans/{jobUid}/cancel (the `CancelDiscoveryScan` operationId).
func (*Client) CancelJob ¶
func (c *Client) CancelJob(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelJob Cancel a pending job
Corresponds with DELETE /api/v1/orgs/{org}/jobs/{uid} (the `CancelJob` operationId).
func (*Client) CancelMembershipRequest ¶
func (c *Client) CancelMembershipRequest(ctx context.Context, uid MembershipRequestUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelMembershipRequest Cancel one of the caller's membership requests
Corresponds with DELETE /api/v1/auth/membership-requests/{uid} (the `CancelMembershipRequest` operationId).
func (*Client) ChangePassword ¶
func (c *Client) ChangePassword(ctx context.Context, body ChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangePassword Change (or set) the authenticated user's password
Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
func (*Client) ChangePasswordWithBody ¶
func (c *Client) ChangePasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ChangePasswordWithBody Change (or set) the authenticated user's password
Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
func (*Client) CloneCheck ¶
func (c *Client) CloneCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, body CloneCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CloneCheck Clone an existing check
Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
func (*Client) CloneCheckWithBody ¶
func (c *Client) CloneCheckWithBody(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CloneCheckWithBody Clone an existing check
Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
func (*Client) ConfirmMyNotificationContact ¶
func (c *Client) ConfirmMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, body ConfirmMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfirmMyNotificationContact Confirm a phone contact with its verification code
Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
func (*Client) ConfirmMyNotificationContactWithBody ¶
func (c *Client) ConfirmMyNotificationContactWithBody(ctx context.Context, org OrgPath, contactUid ContactUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfirmMyNotificationContactWithBody Confirm a phone contact with its verification code
Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
func (*Client) ConfirmRegistration ¶
func (c *Client) ConfirmRegistration(ctx context.Context, body ConfirmRegistrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfirmRegistration Confirm a pending registration with an emailed token
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
func (*Client) ConfirmRegistrationWithBody ¶
func (c *Client) ConfirmRegistrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConfirmRegistrationWithBody Confirm a pending registration with an emailed token
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
func (*Client) CreateChannel ¶
func (c *Client) CreateChannel(ctx context.Context, org OrgPath, body CreateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateChannel Create a notification channel
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
func (*Client) CreateChannelWithBody ¶
func (c *Client) CreateChannelWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateChannelWithBody Create a notification channel
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
func (*Client) CreateCheck ¶
func (c *Client) CreateCheck(ctx context.Context, org OrgPath, body CreateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCheck Create monitoring check
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
func (*Client) CreateCheckDependency ¶
func (c *Client) CreateCheckDependency(ctx context.Context, org OrgPath, check string, body CreateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCheckDependency Add a dependency edge to a check
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
func (*Client) CreateCheckDependencyWithBody ¶
func (c *Client) CreateCheckDependencyWithBody(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCheckDependencyWithBody Add a dependency edge to a check
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
func (*Client) CreateCheckGroup ¶
func (c *Client) CreateCheckGroup(ctx context.Context, org OrgPath, body CreateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCheckGroup Create a check group
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
func (*Client) CreateCheckGroupWithBody ¶
func (c *Client) CreateCheckGroupWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCheckGroupWithBody Create a check group
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
func (*Client) CreateCheckWithBody ¶
func (c *Client) CreateCheckWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCheckWithBody Create monitoring check
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
func (*Client) CreateEscalationPolicy ¶
func (c *Client) CreateEscalationPolicy(ctx context.Context, org OrgPath, body CreateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEscalationPolicy Create an escalation policy
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
func (*Client) CreateEscalationPolicyWithBody ¶
func (c *Client) CreateEscalationPolicyWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEscalationPolicyWithBody Create an escalation policy
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
func (*Client) CreateInvitation ¶
func (c *Client) CreateInvitation(ctx context.Context, org OrgPath, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInvitation Create an invitation
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
func (*Client) CreateInvitationWithBody ¶
func (c *Client) CreateInvitationWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInvitationWithBody Create an invitation
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
func (*Client) CreateJob ¶
func (c *Client) CreateJob(ctx context.Context, org OrgPath, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateJob Create a job (org admin, allowlisted types only)
Enqueues a background job. **Requires org admin** — a member with the `user` or `viewer` role is refused with 403.
Only allowlisted job types may be created through this endpoint, and the allowlist currently contains **`sleep`** alone. Every other type (`email`, `webhook`, `aggregation`, `notification`, the discovery family, …) is refused with 403: they are internal plumbing enqueued by SolidPing itself, and exposing them would hand any caller an arbitrary mail sender (`email`) and arbitrary server-side HTTP requests (`webhook`).
An unknown job type, or a `config` that is invalid for the requested type, is a 400 — never a 500.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
func (*Client) CreateJobWithBody ¶
func (c *Client) CreateJobWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateJobWithBody Create a job (org admin, allowlisted types only)
Enqueues a background job. **Requires org admin** — a member with the `user` or `viewer` role is refused with 403.
Only allowlisted job types may be created through this endpoint, and the allowlist currently contains **`sleep`** alone. Every other type (`email`, `webhook`, `aggregation`, `notification`, the discovery family, …) is refused with 403: they are internal plumbing enqueued by SolidPing itself, and exposing them would hand any caller an arbitrary mail sender (`email`) and arbitrary server-side HTTP requests (`webhook`).
An unknown job type, or a `config` that is invalid for the requested type, is a 400 — never a 500.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
func (*Client) CreateMaintenanceWindow ¶
func (c *Client) CreateMaintenanceWindow(ctx context.Context, org OrgPath, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMaintenanceWindow Create a maintenance window
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
func (*Client) CreateMaintenanceWindowWithBody ¶
func (c *Client) CreateMaintenanceWindowWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMaintenanceWindowWithBody Create a maintenance window
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
func (*Client) CreateMembershipRequest ¶
func (c *Client) CreateMembershipRequest(ctx context.Context, body CreateMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMembershipRequest Request to join an organization
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
func (*Client) CreateMembershipRequestWithBody ¶
func (c *Client) CreateMembershipRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMembershipRequestWithBody Request to join an organization
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
func (*Client) CreateMyTelegramLink ¶
func (c *Client) CreateMyTelegramLink(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMyTelegramLink Mint a single-use Telegram connect link for the caller
Returns a `https://t.me/<botUsername>?start=<token>` deep link carrying a single-use, high-entropy token (TTL 15 minutes).
Nothing is created by this call. The Telegram contact only comes into existence when the user actually presses **Start** in Telegram and the resulting `/start <token>` reaches the instance webhook — pressing Start is both the proof of reachability and the opt-in, which is why this channel has no verification code round-trip.
A replayed token is a no-op, not a second contact. Poll `GET /api/v1/orgs/{org}/users/me/notification-routes` to observe the new contact appear.
Corresponds with POST /api/v1/orgs/{org}/users/me/telegram/link (the `CreateMyTelegramLink` operationId).
func (*Client) CreateOncallOverride ¶
func (c *Client) CreateOncallOverride(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body CreateOncallOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOncallOverride Create an override on an on-call schedule
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
func (*Client) CreateOncallOverrideWithBody ¶
func (c *Client) CreateOncallOverrideWithBody(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOncallOverrideWithBody Create an override on an on-call schedule
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
func (*Client) CreateOncallSchedule ¶
func (c *Client) CreateOncallSchedule(ctx context.Context, org OrgPath, body CreateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOncallSchedule Create an on-call schedule
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
func (*Client) CreateOncallScheduleWithBody ¶
func (c *Client) CreateOncallScheduleWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOncallScheduleWithBody Create an on-call schedule
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
func (*Client) CreateOrg ¶
func (c *Client) CreateOrg(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrg Create a new organization
Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
func (*Client) CreateOrgWithBody ¶
func (c *Client) CreateOrgWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrgWithBody Create a new organization
Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
func (*Client) CreateReportSchedule ¶
func (c *Client) CreateReportSchedule(ctx context.Context, org OrgPath, body CreateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateReportSchedule Create a scheduled uptime report
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
func (*Client) CreateReportScheduleWithBody ¶
func (c *Client) CreateReportScheduleWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateReportScheduleWithBody Create a scheduled uptime report
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
func (*Client) CreateSeverity ¶
func (c *Client) CreateSeverity(ctx context.Context, org OrgPath, body CreateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSeverity Create a severity
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
func (*Client) CreateSeverityWithBody ¶
func (c *Client) CreateSeverityWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSeverityWithBody Create a severity
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
func (*Client) CreateSlo ¶
func (c *Client) CreateSlo(ctx context.Context, org OrgPath, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSlo Create a service-level objective
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
func (*Client) CreateSloWithBody ¶
func (c *Client) CreateSloWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSloWithBody Create a service-level objective
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
func (*Client) CreateStatusPage ¶
func (c *Client) CreateStatusPage(ctx context.Context, org OrgPath, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPage Create a status page
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
func (*Client) CreateStatusPageEndpointSubscriber ¶
func (c *Client) CreateStatusPageEndpointSubscriber(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageEndpointSubscriberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageEndpointSubscriber Register a webhook or Slack delivery for a status page
AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
func (*Client) CreateStatusPageEndpointSubscriberWithBody ¶
func (c *Client) CreateStatusPageEndpointSubscriberWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageEndpointSubscriberWithBody Register a webhook or Slack delivery for a status page
AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
func (*Client) CreateStatusPageIncident ¶
func (c *Client) CreateStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageIncident Publish a hand-written incident on a status page
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
func (*Client) CreateStatusPageIncidentUpdate ¶
func (c *Client) CreateStatusPageIncidentUpdate(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageIncidentUpdate Append a narrative update to a published incident
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
func (*Client) CreateStatusPageIncidentUpdateWithBody ¶
func (c *Client) CreateStatusPageIncidentUpdateWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageIncidentUpdateWithBody Append a narrative update to a published incident
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
func (*Client) CreateStatusPageIncidentWithBody ¶
func (c *Client) CreateStatusPageIncidentWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageIncidentWithBody Publish a hand-written incident on a status page
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
func (*Client) CreateStatusPageResource ¶
func (c *Client) CreateStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body CreateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageResource Add a check as a resource to a section
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
func (*Client) CreateStatusPageResourceWithBody ¶
func (c *Client) CreateStatusPageResourceWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageResourceWithBody Add a check as a resource to a section
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
func (*Client) CreateStatusPageSection ¶
func (c *Client) CreateStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageSection Create a section
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
func (*Client) CreateStatusPageSectionWithBody ¶
func (c *Client) CreateStatusPageSectionWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageSectionWithBody Create a section
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
func (*Client) CreateStatusPageWithBody ¶
func (c *Client) CreateStatusPageWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusPageWithBody Create a status page
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
func (*Client) CreateStatusUpdate ¶
func (c *Client) CreateStatusUpdate(ctx context.Context, org OrgPath, body CreateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusUpdate Create a status update
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
func (*Client) CreateStatusUpdateWithBody ¶
func (c *Client) CreateStatusUpdateWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStatusUpdateWithBody Create a status update
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
func (*Client) CreateSupportMessage ¶
func (c *Client) CreateSupportMessage(ctx context.Context, uid string, body CreateSupportMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSupportMessage Reply to a support thread
Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
func (*Client) CreateSupportMessageWithBody ¶
func (c *Client) CreateSupportMessageWithBody(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSupportMessageWithBody Reply to a support thread
Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
func (*Client) CreateToken ¶
func (c *Client) CreateToken(ctx context.Context, org OrgPath, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateToken Create Personal Access Token for organization
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
func (*Client) CreateTokenWithBody ¶
func (c *Client) CreateTokenWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTokenWithBody Create Personal Access Token for organization
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
func (*Client) CustomDomainAllowed ¶
func (c *Client) CustomDomainAllowed(ctx context.Context, params *CustomDomainAllowedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
CustomDomainAllowed Edge-TLS custom-domain check (public)
Returns 204 when the queried domain currently resolves to a verified, enabled, public status page, and 404 otherwise. No body. This is the contract for Caddy on_demand_tls / cert-manager gating on an external TLS edge; it is unchanged by, and independent of, the server's own in-server ACME support (config acme.enabled).
Corresponds with GET /api/v1/public/custom-domains/allowed (the `CustomDomainAllowed` operationId).
func (*Client) DeleteChannel ¶
func (c *Client) DeleteChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteChannel Delete a notification channel
Corresponds with DELETE /api/v1/orgs/{org}/channels/{uid} (the `DeleteChannel` operationId).
func (*Client) DeleteCheck ¶
func (c *Client) DeleteCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCheck Soft delete check
Corresponds with DELETE /api/v1/orgs/{org}/checks/{checkUid} (the `DeleteCheck` operationId).
func (*Client) DeleteCheckDependency ¶
func (c *Client) DeleteCheckDependency(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCheckDependency Remove a dependency edge
Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `DeleteCheckDependency` operationId).
func (*Client) DeleteCheckGroup ¶
func (c *Client) DeleteCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteCheckGroup Delete a check group
Corresponds with DELETE /api/v1/orgs/{org}/check-groups/{uid} (the `DeleteCheckGroup` operationId).
func (*Client) DeleteEmailSuppression ¶
func (c *Client) DeleteEmailSuppression(ctx context.Context, org OrgPath, uid EmailSuppressionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEmailSuppression Remove an email suppression (re-subscribe)
Corresponds with DELETE /api/v1/orgs/{org}/email-suppressions/{uid} (the `DeleteEmailSuppression` operationId).
func (*Client) DeleteEscalationPolicy ¶
func (c *Client) DeleteEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEscalationPolicy Delete an escalation policy
Corresponds with DELETE /api/v1/orgs/{org}/escalation-policies/{uid} (the `DeleteEscalationPolicy` operationId).
func (*Client) DeleteFile ¶
func (c *Client) DeleteFile(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteFile Delete a file
Corresponds with DELETE /api/v1/orgs/{org}/files/{uid} (the `DeleteFile` operationId).
func (*Client) DeleteIntegrationIdentity ¶
func (c *Client) DeleteIntegrationIdentity(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteIntegrationIdentity Clear a member's identity on an integration
Corresponds with DELETE /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `DeleteIntegrationIdentity` operationId).
func (*Client) DeleteInvitation ¶
func (c *Client) DeleteInvitation(ctx context.Context, org OrgPath, uid InvitationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteInvitation Revoke a pending invitation
Corresponds with DELETE /api/v1/orgs/{org}/invitations/{uid} (the `DeleteInvitation` operationId).
func (*Client) DeleteMaintenanceWindow ¶
func (c *Client) DeleteMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteMaintenanceWindow Delete a maintenance window
Corresponds with DELETE /api/v1/orgs/{org}/maintenance-windows/{uid} (the `DeleteMaintenanceWindow` operationId).
func (*Client) DeleteOncallOverride ¶
func (c *Client) DeleteOncallOverride(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, overrideUid OncallOverrideUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOncallOverride Delete an override
Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides/{overrideUid} (the `DeleteOncallOverride` operationId).
func (*Client) DeleteOncallSchedule ¶
func (c *Client) DeleteOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOncallSchedule Delete an on-call schedule
Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid} (the `DeleteOncallSchedule` operationId).
func (*Client) DeleteOrg ¶
func (c *Client) DeleteOrg(ctx context.Context, org OrgPath, body DeleteOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrg Delete an organization
Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
Takes a body of the `application/json` content type.
Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
func (*Client) DeleteOrgLogo ¶
func (c *Client) DeleteOrgLogo(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrgLogo Clear the organization logo
Removes the organization's logo. **Owner only.** An uploaded image is retired at the same time, so its public URL stops resolving.
Corresponds with DELETE /api/v1/orgs/{org}/logo (the `DeleteOrgLogo` operationId).
func (*Client) DeleteOrgWithBody ¶
func (c *Client) DeleteOrgWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteOrgWithBody Delete an organization
Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
Takes any type of body and a specified content type.
Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
func (*Client) DeleteReportSchedule ¶
func (c *Client) DeleteReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteReportSchedule Delete a scheduled uptime report
Corresponds with DELETE /api/v1/orgs/{org}/report-schedules/{uid} (the `DeleteReportSchedule` operationId).
func (*Client) DeleteSeverity ¶
func (c *Client) DeleteSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSeverity Delete a severity
Corresponds with DELETE /api/v1/orgs/{org}/severities/{uid} (the `DeleteSeverity` operationId).
func (*Client) DeleteSlo ¶
func (c *Client) DeleteSlo(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSlo Delete a service-level objective
Corresponds with DELETE /api/v1/orgs/{org}/slos/{uid} (the `DeleteSlo` operationId).
func (*Client) DeleteStatusPage ¶
func (c *Client) DeleteStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteStatusPage Delete a status page
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `DeleteStatusPage` operationId).
func (*Client) DeleteStatusPageResource ¶
func (c *Client) DeleteStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteStatusPageResource Remove a resource from a section
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `DeleteStatusPageResource` operationId).
func (*Client) DeleteStatusPageSection ¶
func (c *Client) DeleteStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteStatusPageSection Delete a section
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `DeleteStatusPageSection` operationId).
func (*Client) DeleteStatusUpdate ¶
func (c *Client) DeleteStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteStatusUpdate Delete a status update
Corresponds with DELETE /api/v1/orgs/{org}/status-updates/{uid} (the `DeleteStatusUpdate` operationId).
func (*Client) DeleteSystemParameter ¶
func (c *Client) DeleteSystemParameter(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSystemParameter Delete a system parameter
Soft-deletes a system parameter.
Corresponds with DELETE /api/v1/system/parameters/{key} (the `DeleteSystemParameter` operationId).
func (*Client) DisableOncallIcalFeed ¶
func (c *Client) DisableOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DisableOncallIcalFeed Disable the iCal feed for an on-call schedule
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/disable (the `DisableOncallIcalFeed` operationId).
func (*Client) DismissDiscoveredCheck ¶
func (c *Client) DismissDiscoveredCheck(ctx context.Context, org OrgPath, uid string, reqEditors ...RequestEditorFn) (*http.Response, error)
DismissDiscoveredCheck Dismiss a single discovered check
Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks/{uid} (the `DismissDiscoveredCheck` operationId).
func (*Client) DismissDiscoveredGroup ¶
func (c *Client) DismissDiscoveredGroup(ctx context.Context, org OrgPath, params *DismissDiscoveredGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DismissDiscoveredGroup Dismiss a whole group of discovered checks
Admin only. Soft-deletes every check in the given group (optionally scoped to one scan).
Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks (the `DismissDiscoveredGroup` operationId).
func (*Client) DownloadFile ¶
func (c *Client) DownloadFile(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadFile Download file content
Corresponds with GET /api/v1/orgs/{org}/files/{uid}/content (the `DownloadFile` operationId).
func (*Client) EnableOncallIcalFeed ¶
func (c *Client) EnableOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
EnableOncallIcalFeed Enable the iCal feed for an on-call schedule
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/enable (the `EnableOncallIcalFeed` operationId).
func (*Client) GenerateStatusPageKioskToken ¶
func (c *Client) GenerateStatusPageKioskToken(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GenerateStatusPageKioskToken Mint or regenerate a status page's kiosk (TV mode) token
Mints the page's single kiosk token — a long-lived, revocable, per-page secret a wallboard presents as a `kiosk` query parameter so an office TV can render a `password` or `private` page unattended. It grants READ-ONLY view of this one page and nothing else.
The plaintext is returned HERE AND NOWHERE ELSE: only its sha256 is stored, so an operator who loses it regenerates rather than recovers. Calling this on a page that already has a token REPLACES it, which immediately invalidates the screen using the old one.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `GenerateStatusPageKioskToken` operationId).
func (*Client) GetActivationFunnel ¶
func (c *Client) GetActivationFunnel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetActivationFunnel Organization activation funnel
Returns one row per organization with the timestamps for each activation milestone (signup, first check, first result, first notification, first incident). Super-admin only.
Corresponds with GET /api/v1/system/activation (the `GetActivationFunnel` operationId).
func (*Client) GetAdminEntitlements ¶
func (c *Client) GetAdminEntitlements(ctx context.Context, org OrgPath, params *GetAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdminEntitlements Get one organization's entitlements and audit trail (super admin)
Corresponds with GET /api/v1/system/entitlements/{org} (the `GetAdminEntitlements` operationId).
func (*Client) GetAdminJob ¶
func (c *Client) GetAdminJob(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdminJob Get a background job (admin)
Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid} (the `GetAdminJob` operationId).
func (*Client) GetAdminJobChain ¶
func (c *Client) GetAdminJobChain(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetAdminJobChain Get a job's retry chain (admin)
Ordered chain of jobs linked via previousJobUid, earliest ancestor to latest descendant.
Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid}/chain (the `GetAdminJobChain` operationId).
func (*Client) GetBadge ¶
func (c *Client) GetBadge(ctx context.Context, org OrgPath, check string, format GetBadgeParamsFormat, params *GetBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBadge Get status badge for a check
Returns an SVG badge showing the check's current status. No authentication required.
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/badges/{format} (the `GetBadge` operationId).
func (*Client) GetChannel ¶
func (c *Client) GetChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetChannel Get a notification channel
Corresponds with GET /api/v1/orgs/{org}/channels/{uid} (the `GetChannel` operationId).
func (*Client) GetCheck ¶
func (c *Client) GetCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *GetCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCheck Get check details
Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid} (the `GetCheck` operationId).
func (*Client) GetCheckAvailability ¶
func (c *Client) GetCheckAvailability(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCheckAvailability Per-period availability statistics for a single check
Returns real, server-measured availability for each requested period (replacing the old client-side estimate). availabilityPct and downtimeSeconds are probe-ratio (the share of probes that succeeded); the incidents block reports confirmed-outage wall-clock time. A period with no data has availabilityPct=null and hasData=false (no data is not 100%).
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability (the `GetCheckAvailability` operationId).
func (*Client) GetCheckAvailabilityBuckets ¶
func (c *Client) GetCheckAvailabilityBuckets(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCheckAvailabilityBuckets Bucketed availability over an arbitrary window for a single check
Cuts [from, to) into uniform, hour-aligned availability cells — the data behind the check-detail chart's availability strip. Deliberately a separate route from /api/v1/orgs/{org}/checks/{check}/availability, which speaks trailing calendar tokens with a tz, has no from/to at all and is capped at 12 periods.
Counting is the shared engine's: lifecycle markers and abandoned attempts are excluded from BOTH numerator and denominator, warning counts as up, and maintenance probes count exactly like any other (maintenance exclusion is SLO-only). A cell with no countable probes has hasData=false, availabilityPct=null and status="noData" — no data is not 100%.
Cells are aligned OUTWARD to bucket boundaries, so the series may start before `from` and end after `to`. The `window` object is the exact [from, to) fold (it also includes the month tier, which is deliberately never attributed to a single cell) and is what a client renders when the window is too short for a legible strip.
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability/buckets (the `GetCheckAvailabilityBuckets` operationId).
func (*Client) GetCheckGroup ¶
func (c *Client) GetCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCheckGroup Get a check group
Corresponds with GET /api/v1/orgs/{org}/check-groups/{uid} (the `GetCheckGroup` operationId).
func (*Client) GetCheckJob ¶
func (c *Client) GetCheckJob(ctx context.Context, org OrgPath, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCheckJob Get a check-schedule job (admin)
Corresponds with GET /api/v1/orgs/{org}/check-jobs/{uid} (the `GetCheckJob` operationId).
func (*Client) GetCheckStats ¶
func (c *Client) GetCheckStats(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCheckStats Aggregate check counters for an organization
Org-wide check counters computed server-side with a single SQL aggregation, so they are unaffected by the list endpoint's 100-row page clamp. Scope is the same set the list endpoint shows by default: non-deleted, non-internal checks. `total`, `byStatus`, `down` and `hardDown` span enabled and disabled checks alike; `enabled` and `disabled` partition the same set.
The response is served from a per-organization in-memory cache with a 1-minute TTL, so it can lag a check create/delete or a status flip by up to that long. Clients needing an exact, immediately consistent count should read `pagination.total` from the list endpoint instead.
Corresponds with GET /api/v1/orgs/{org}/checks/stats (the `GetCheckStats` operationId).
func (*Client) GetCostDistribution ¶
func (c *Client) GetCostDistribution(ctx context.Context, params *GetCostDistributionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCostDistribution Scheduler cost/delay distribution
Returns an aggregate, low-cardinality distribution of the scheduler's per-job cost_ewma_ms and delay_ewma_ms across all check_jobs, plus fast/slow job counts at a candidate threshold. Read-only and super-admin guarded. Used to decide whether fast/slow scheduling lanes are warranted.
Corresponds with GET /api/mgmt/scheduling/cost-distribution (the `GetCostDistribution` operationId).
func (*Client) GetCurrentUser ¶
func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCurrentUser Get current user info
Corresponds with GET /api/v1/auth/me (the `GetCurrentUser` operationId).
func (*Client) GetDeviceConsent ¶
func (c *Client) GetDeviceConsent(ctx context.Context, params *GetDeviceConsentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDeviceConsent Look up a pending device authorization request by user code
Corresponds with GET /api/v1/auth/device/consent (the `GetDeviceConsent` operationId).
func (*Client) GetDiscoveryScan ¶
func (c *Client) GetDiscoveryScan(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDiscoveryScan Get a discovery scan with progress
Returns the scan job plus a uniform progress block for every scan type (chunked scans roll up their children; non-chunked scans report totalChunks=1).
Corresponds with GET /api/v1/orgs/{org}/discovery/scans/{jobUid} (the `GetDiscoveryScan` operationId).
func (*Client) GetEmailInboxConfig ¶
func (c *Client) GetEmailInboxConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEmailInboxConfig Get the email-inbox (JMAP) configuration
Returns the saved JMAP inbox configuration with the password elided. Super-admin only.
Corresponds with GET /api/v1/system/email-inbox/config (the `GetEmailInboxConfig` operationId).
func (*Client) GetEmailInboxStatus ¶
func (c *Client) GetEmailInboxStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEmailInboxStatus Get the email-inbox connection status
Reports whether the email inbox is enabled and connected, the mode, the last sync time, the last error and the address domain. Super-admin only.
Corresponds with GET /api/v1/system/email-inbox/status (the `GetEmailInboxStatus` operationId).
func (*Client) GetEmbedWidgetV1 ¶
func (c *Client) GetEmbedWidgetV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEmbedWidgetV1 Embeddable live status widget script
Self-contained JavaScript (IIFE) that renders a live status pill on a third-party site. It is loaded by an async script tag carrying data-page="org/slug", and configured entirely through data-attributes: data-mode (inline|floating), data-position (bottom-right|bottom-left), data-theme (light|dark|auto), data-size (sm|md|lg), per-state label overrides data-label-operational|degraded|down|maintenance|unknown, and data-force-status (operational|degraded|down|maintenance|unknown) to render a status statically without polling. The widget polls the status page summary endpoint every 60 s with an uncredentialed request and renders into a shadow root; a failed request or an unknown page renders nothing. Everything under /embed/v1/ is a frozen public contract — behavior changes ship under /embed/v2/, but additive, backward-compatible data-attributes may land within v1. Response carries Cache-Control: public, max-age=3600. No authentication required.
Corresponds with GET /embed/v1/widget.js (the `GetEmbedWidgetV1` operationId).
func (*Client) GetEntitlements ¶
func (c *Client) GetEntitlements(ctx context.Context, org OrgPath, params *GetEntitlementsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEntitlements Get resolved entitlements for an organization
Corresponds with GET /api/v1/orgs/{org}/entitlements (the `GetEntitlements` operationId).
func (*Client) GetEscalationPolicy ¶
func (c *Client) GetEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetEscalationPolicy Get an escalation policy
Corresponds with GET /api/v1/orgs/{org}/escalation-policies/{uid} (the `GetEscalationPolicy` operationId).
func (*Client) GetFile ¶
func (c *Client) GetFile(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetFile Get file metadata
Corresponds with GET /api/v1/orgs/{org}/files/{uid} (the `GetFile` operationId).
func (*Client) GetHealth ¶
func (c *Client) GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetHealth System health check
Corresponds with GET /api/mgmt/health (the `GetHealth` operationId).
func (*Client) GetIncident ¶
func (c *Client) GetIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, params *GetIncidentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIncident Get incident details
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid} (the `GetIncident` operationId).
func (*Client) GetIncidentNotification ¶
func (c *Client) GetIncidentNotification(ctx context.Context, org OrgPath, uid IncidentUidPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetIncidentNotification Get an incident notification delivery by UID
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications/{notifUid} (the `GetIncidentNotification` operationId).
func (*Client) GetInvite ¶
func (c *Client) GetInvite(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetInvite Inspect an invitation by token
Corresponds with GET /api/v1/auth/invite/{token} (the `GetInvite` operationId).
func (*Client) GetJob ¶
func (c *Client) GetJob(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetJob Get job details
Corresponds with GET /api/v1/orgs/{org}/jobs/{uid} (the `GetJob` operationId).
func (*Client) GetJobStats ¶
func (c *Client) GetJobStats(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetJobStats Job & check-schedule stats
Aggregate counts over the background-jobs queue and the check schedule for the org.
Corresponds with GET /api/v1/orgs/{org}/jobs/stats (the `GetJobStats` operationId).
func (*Client) GetLimits ¶
func (c *Client) GetLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetLimits Rate-limit and concurrency introspection
Returns the server's rate-limit and concurrency configuration together with the calling client's live counters (remaining tokens, in-flight requests), the resolved caller IP and which bucket ("ip" or "token") the caller's traffic is accounted against. Public, no authentication.
Corresponds with GET /api/mgmt/limits (the `GetLimits` operationId).
func (*Client) GetMaintenanceWindow ¶
func (c *Client) GetMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMaintenanceWindow Get a maintenance window
Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid} (the `GetMaintenanceWindow` operationId).
func (*Client) GetMember ¶
func (c *Client) GetMember(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMember Get member details
Corresponds with GET /api/v1/orgs/{org}/members/{uid} (the `GetMember` operationId).
func (*Client) GetMemory ¶
func (c *Client) GetMemory(ctx context.Context, params *GetMemoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMemory Runtime memory snapshot
Returns a JSON snapshot of runtime memory (heap / stack / goroutines / GC and the runtime/metrics memory classes), the process RSS breakdown from /proc (anon / file / shmem split, peak, threads, smaps_rollup Pss), the container's own cgroup accounting, the derived off-heap gap, suspect-subsystem cardinalities (DEK cache, rate-limit entries, event listeners) and build facts (cgo, SQLite driver, Go version). Linux-only sections report `present: false` on other platforms rather than failing. Super-admin only; the raw pprof surface stays on the localhost-bound profiler server.
Corresponds with GET /api/mgmt/memory (the `GetMemory` operationId).
func (*Client) GetNotification ¶
func (c *Client) GetNotification(ctx context.Context, org OrgPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNotification Get a notification delivery by UID
Corresponds with GET /api/v1/orgs/{org}/notifications/{notifUid} (the `GetNotification` operationId).
func (*Client) GetOncallSchedule ¶
func (c *Client) GetOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOncallSchedule Get an on-call schedule
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid} (the `GetOncallSchedule` operationId).
func (*Client) GetOrgDependencyGraph ¶
func (c *Client) GetOrgDependencyGraph(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrgDependencyGraph Org-wide check dependency graph
Returns every check (node) and every dependency edge in the organization.
Corresponds with GET /api/v1/orgs/{org}/dependencies (the `GetOrgDependencyGraph` operationId).
func (*Client) GetOrgResult ¶
func (c *Client) GetOrgResult(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, params *GetOrgResultParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrgResult Get a single result, with chronological neighbor UIDs
Returns one result row by UID. When the raw row has been rolled up into an aggregation (see retention/aggregation), falls back to the smallest-period aggregation covering the requested UID's embedded UUIDv7 timestamp and includes a `fallback` block describing the substitution. previousUid/nextUid identify the next-older/next-newer row in the same check + periodType series (the covering aggregation's series when a fallback applies), omitted at either boundary. Two rows sharing periodStart are ordered by uid, so stepping across them never skips or repeats.
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/results/{uid} (the `GetOrgResult` operationId).
func (*Client) GetOrgSettings ¶
func (c *Client) GetOrgSettings(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetOrgSettings Get organization settings
Corresponds with GET /api/v1/orgs/{org}/settings (the `GetOrgSettings` operationId).
func (*Client) GetPublicConfig ¶
func (c *Client) GetPublicConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublicConfig Public browser-safe configuration
Unauthenticated configuration blob the dashboard reads at boot, before any login. Contains **only** non-secret, browser-safe values; no parameter marked `secret` in the system-parameter registry is ever exposed here (in particular `posthog.personal_api_key` is not).
When a feature is disabled its configuration fields are **omitted** rather than returned empty — e.g. with PostHog unconfigured the response is exactly `{"posthog": {"enabled": false}}`. The same rule applies to `whatsapp` and `telegram`: `whatsapp` is a single resolved boolean, and `telegram` emits its public bot username only while it is enabled.
Corresponds with GET /api/v1/config (the `GetPublicConfig` operationId).
func (*Client) GetRegionHealth ¶
func (c *Client) GetRegionHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRegionHealth Ghost-region detection report
One row per region slug seen anywhere — in the declared `regions` system parameter, in a check's `regions` array, in a `check_jobs.region`, or in a live or previously-live worker's announced region — so the caller gets the ghosts and the healthy baseline in one call.
A **ghost** is a slug something depends on (a job or a check reference) that nothing live can serve: `(jobs > 0 || checksReferencing > 0) && liveWorkers == 0`. A declared region with zero live workers and zero references is dark but unused, not a ghost — the alarm condition is work assigned to nobody, not an idle region.
`liveWorkers` reuses the exact prefix rule the scheduler claims jobs with (`workerRegion` has the slug as a prefix, so a `us` job is served by a `us-1` worker) and the same liveness window as the region capability report. `lastWorkerSeenAt` spans every matching worker, soft-deleted included, so it dates when the region actually went dark. NULL-region (any-region) jobs never count toward any row — they are claimable by every cloud worker by construction.
Read-side companion of `POST /system/regions/migrate`: its output names exactly the `from` slugs a migration should target. Cheap and unpaginated — a handful of bounded scans, not a query per region. Super-admin only.
Corresponds with GET /api/v1/system/regions/health (the `GetRegionHealth` operationId).
func (*Client) GetReportSchedule ¶
func (c *Client) GetReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetReportSchedule Get a scheduled uptime report
Corresponds with GET /api/v1/orgs/{org}/report-schedules/{uid} (the `GetReportSchedule` operationId).
func (*Client) GetSchedulingLaneLoad ¶
func (c *Client) GetSchedulingLaneLoad(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSchedulingLaneLoad Per-worker check-lane load statistics
Computes, server-side, each worker's offered check load per scheduling lane (fast / slow): eligible job counts, summed cost and delay EWMAs, and the summed duty cycle (100 × cost EWMA / period, i.e. how many runner slots the lane's steady-state demand occupies). "Offered" means every enabled job the worker is eligible to claim — jobs without a region count for every worker, region-scoped jobs count for workers whose region has the job's region as a prefix — so workers sharing a region report the same load. Super-admin only.
Corresponds with GET /api/v1/system/scheduling/lane-load (the `GetSchedulingLaneLoad` operationId).
func (*Client) GetSeverity ¶
func (c *Client) GetSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSeverity Get a severity
Corresponds with GET /api/v1/orgs/{org}/severities/{uid} (the `GetSeverity` operationId).
func (*Client) GetSlo ¶
func (c *Client) GetSlo(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSlo Get a service-level objective
Corresponds with GET /api/v1/orgs/{org}/slos/{uid} (the `GetSlo` operationId).
func (*Client) GetSloAlertPolicy ¶
func (c *Client) GetSloAlertPolicy(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSloAlertPolicy Get one burn-rate alert policy
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `GetSloAlertPolicy` operationId).
func (*Client) GetSloBurndown ¶
func (c *Client) GetSloBurndown(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSloBurndown Error-budget burn-down for the current window
Cumulative series. Consumption is accrued per step and summed forward, so `budgetRemainingSeconds` is monotonically non-increasing by construction — it cannot climb back up when probe density changes. It is not clamped at zero: an overspent budget reports a negative remainder. A step with no countable probe spends nothing (no data is not downtime).
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/burndown (the `GetSloBurndown` operationId).
func (*Client) GetSloHistory ¶
func (c *Client) GetSloHistory(ctx context.Context, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSloHistory Past monthly windows for an objective
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/history (the `GetSloHistory` operationId).
func (*Client) GetSloStatus ¶
func (c *Client) GetSloStatus(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSloStatus Evaluate an objective over the current calendar window
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/status (the `GetSloStatus` operationId).
func (*Client) GetStatusPage ¶
func (c *Client) GetStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *GetStatusPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStatusPage Get a status page
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `GetStatusPage` operationId).
func (*Client) GetStatusPageBadge ¶
func (c *Client) GetStatusPageBadge(ctx context.Context, org OrgPath, slug string, params *GetStatusPageBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStatusPageBadge SVG badge for a status page's overall status
Public SVG badge (shields.io style) reflecting the page-level rollup status — the static, script-free sibling of the JS embed widget, for contexts like GitHub READMEs where scripts can't run. Same visibility gate as the full view and the summary endpoint: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one — the badge renders the rollup status of a page the requester may not be entitled to see. No authentication required.
Corresponds with GET /api/v1/status-pages/{org}/{slug}/badge (the `GetStatusPageBadge` operationId).
func (*Client) GetStatusPageIncident ¶
func (c *Client) GetStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStatusPageIncident Get one incident publication with its narrative
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `GetStatusPageIncident` operationId).
func (*Client) GetStatusPageSection ¶
func (c *Client) GetStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStatusPageSection Get a section
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `GetStatusPageSection` operationId).
func (*Client) GetStatusUpdate ¶
func (c *Client) GetStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStatusUpdate Get a status update
Corresponds with GET /api/v1/orgs/{org}/status-updates/{uid} (the `GetStatusUpdate` operationId).
func (*Client) GetSupportThread ¶
func (c *Client) GetSupportThread(ctx context.Context, uid string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSupportThread Get one support thread
Returns the thread, marking it read. Super-admin only.
Corresponds with GET /api/v1/support/threads/{uid} (the `GetSupportThread` operationId).
func (*Client) GetSystemCheckJob ¶
func (c *Client) GetSystemCheckJob(ctx context.Context, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSystemCheckJob Get a check-schedule job (all orgs)
Corresponds with GET /api/v1/system/check-jobs/{uid} (the `GetSystemCheckJob` operationId).
func (*Client) GetSystemJob ¶
func (c *Client) GetSystemJob(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSystemJob Get a background job (all orgs)
Corresponds with GET /api/v1/system/jobs/{uid} (the `GetSystemJob` operationId).
func (*Client) GetSystemJobChain ¶
func (c *Client) GetSystemJobChain(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSystemJobChain Get a job's retry chain (all orgs)
Corresponds with GET /api/v1/system/jobs/{uid}/chain (the `GetSystemJobChain` operationId).
func (*Client) GetSystemJobStats ¶
func (c *Client) GetSystemJobStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSystemJobStats Job & check-schedule stats (all orgs)
Aggregate job and check-schedule counts across every org (super-admin).
Corresponds with GET /api/v1/system/jobs/stats (the `GetSystemJobStats` operationId).
func (*Client) GetSystemParameter ¶
func (c *Client) GetSystemParameter(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSystemParameter Get a system parameter
Returns a single system parameter by key. Secret values are masked.
Corresponds with GET /api/v1/system/parameters/{key} (the `GetSystemParameter` operationId).
func (*Client) GetVersion ¶
func (c *Client) GetVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetVersion Get system version
Corresponds with GET /api/mgmt/version (the `GetVersion` operationId).
func (*Client) ListAdminEntitlements ¶
func (c *Client) ListAdminEntitlements(ctx context.Context, params *ListAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminEntitlements List organizations with their resolved entitlements (super admin)
One row per organization: resolved limits, their source, plan display identity, and the checks-per-minute demand/cap pair so orgs currently over their execution cap can be spotted without opening each one.
Corresponds with GET /api/v1/system/entitlements (the `ListAdminEntitlements` operationId).
func (*Client) ListAdminJobs ¶
func (c *Client) ListAdminJobs(ctx context.Context, org OrgPath, params *ListAdminJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAdminJobs List background jobs (admin)
Admin-gated list of background jobs for the org, most-recent first.
Corresponds with GET /api/v1/orgs/{org}/admin/jobs (the `ListAdminJobs` operationId).
func (*Client) ListAllTokens ¶
func (c *Client) ListAllTokens(ctx context.Context, params *ListAllTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAllTokens List all user's tokens across orgs
Corresponds with GET /api/v1/auth/tokens (the `ListAllTokens` operationId).
func (*Client) ListAuthProviders ¶
func (c *Client) ListAuthProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListAuthProviders List configured auth providers
Corresponds with GET /api/v1/auth/providers (the `ListAuthProviders` operationId).
func (*Client) ListChannels ¶
func (c *Client) ListChannels(ctx context.Context, org OrgPath, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListChannels List notification channels
Corresponds with GET /api/v1/orgs/{org}/channels (the `ListChannels` operationId).
func (*Client) ListCheckChannels ¶
func (c *Client) ListCheckChannels(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCheckChannels List channels bound to a check
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/channels (the `ListCheckChannels` operationId).
func (*Client) ListCheckDependencies ¶
func (c *Client) ListCheckDependencies(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCheckDependencies List dependencies for a check
Returns the dependsOn (parents) and dependedOnBy (children) edges of the given check.
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/dependencies (the `ListCheckDependencies` operationId).
func (*Client) ListCheckEvents ¶
func (c *Client) ListCheckEvents(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *ListCheckEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCheckEvents List events for a check
Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid}/events (the `ListCheckEvents` operationId).
func (*Client) ListCheckGroups ¶
func (c *Client) ListCheckGroups(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCheckGroups List check groups
Corresponds with GET /api/v1/orgs/{org}/check-groups (the `ListCheckGroups` operationId).
func (*Client) ListCheckJobs ¶
func (c *Client) ListCheckJobs(ctx context.Context, org OrgPath, params *ListCheckJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCheckJobs List check-schedule jobs (admin)
Admin-gated list of the check_jobs scheduler rows. Encrypted secret values are never returned.
Corresponds with GET /api/v1/orgs/{org}/check-jobs (the `ListCheckJobs` operationId).
func (*Client) ListCheckTypeSamples ¶
func (c *Client) ListCheckTypeSamples(ctx context.Context, params *ListCheckTypeSamplesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCheckTypeSamples List sample configurations grouped by check type
Corresponds with GET /api/v1/check-types/samples (the `ListCheckTypeSamples` operationId).
func (*Client) ListCheckTypes ¶
func (c *Client) ListCheckTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCheckTypes List check types with server-level activation status
Corresponds with GET /api/v1/check-types (the `ListCheckTypes` operationId).
func (*Client) ListChecks ¶
func (c *Client) ListChecks(ctx context.Context, org OrgPath, params *ListChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListChecks List monitoring checks
Corresponds with GET /api/v1/orgs/{org}/checks (the `ListChecks` operationId).
func (*Client) ListDiscoveredChecks ¶
func (c *Client) ListDiscoveredChecks(ctx context.Context, org OrgPath, params *ListDiscoveredChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDiscoveredChecks List discovered (suggested) checks
Returns suggested checks for the org, ordered by group then slug so clients can render them grouped by groupKey.
Corresponds with GET /api/v1/orgs/{org}/discovery/checks (the `ListDiscoveredChecks` operationId).
func (*Client) ListDiscoveryScans ¶
func (c *Client) ListDiscoveryScans(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDiscoveryScans List discovery scans
Corresponds with GET /api/v1/orgs/{org}/discovery/scans (the `ListDiscoveryScans` operationId).
func (*Client) ListDiscoveryTypes ¶
func (c *Client) ListDiscoveryTypes(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDiscoveryTypes List registered discovery types
Returns the discovery types (lan, freebox, …) available to drive a scan, so a client can build its type picker without hard-coding the set.
Corresponds with GET /api/v1/orgs/{org}/discovery/types (the `ListDiscoveryTypes` operationId).
func (*Client) ListEmailSuppressions ¶
func (c *Client) ListEmailSuppressions(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListEmailSuppressions List email suppressions
Corresponds with GET /api/v1/orgs/{org}/email-suppressions (the `ListEmailSuppressions` operationId).
func (*Client) ListEntitlementsAudits ¶
func (c *Client) ListEntitlementsAudits(ctx context.Context, org OrgPath, params *ListEntitlementsAuditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListEntitlementsAudits List entitlement change audits
Corresponds with GET /api/v1/orgs/{org}/entitlements/audits (the `ListEntitlementsAudits` operationId).
func (*Client) ListEscalationPolicies ¶
func (c *Client) ListEscalationPolicies(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListEscalationPolicies List escalation policies
Corresponds with GET /api/v1/orgs/{org}/escalation-policies (the `ListEscalationPolicies` operationId).
func (*Client) ListEvents ¶
func (c *Client) ListEvents(ctx context.Context, org OrgPath, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListEvents List events
Corresponds with GET /api/v1/orgs/{org}/events (the `ListEvents` operationId).
func (*Client) ListFiles ¶
func (c *Client) ListFiles(ctx context.Context, org OrgPath, params *ListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListFiles List stored files
Corresponds with GET /api/v1/orgs/{org}/files (the `ListFiles` operationId).
func (*Client) ListIncidentEvents ¶
func (c *Client) ListIncidentEvents(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListIncidentEvents List events for an incident
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/events (the `ListIncidentEvents` operationId).
func (*Client) ListIncidentNotifications ¶
func (c *Client) ListIncidentNotifications(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListIncidentNotifications List notification deliveries for an incident
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications (the `ListIncidentNotifications` operationId).
func (*Client) ListIncidentPublications ¶
func (c *Client) ListIncidentPublications(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListIncidentPublications List every status page this incident is published on
Corresponds with GET /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `ListIncidentPublications` operationId).
func (*Client) ListIncidents ¶
func (c *Client) ListIncidents(ctx context.Context, org OrgPath, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListIncidents List incidents
Corresponds with GET /api/v1/orgs/{org}/incidents (the `ListIncidents` operationId).
func (*Client) ListIntegrationIdentities ¶
func (c *Client) ListIntegrationIdentities(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListIntegrationIdentities List member identity mappings for an integration
Returns every organization member together with their identity on this integration (e.g. their Slack user id on the connected workspace). Identities are used to mention the on-call person in channel alerts; they are never used for paging. Read-only and cheap: this never calls out to the provider. Slack-only — other integration types return 400.
Corresponds with GET /api/v1/orgs/{org}/integrations/{uid}/identities (the `ListIntegrationIdentities` operationId).
func (*Client) ListInvitations ¶
func (c *Client) ListInvitations(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListInvitations List pending invitations
Corresponds with GET /api/v1/orgs/{org}/invitations (the `ListInvitations` operationId).
func (*Client) ListJobs ¶
func (c *Client) ListJobs(ctx context.Context, org OrgPath, params *ListJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListJobs List jobs
Corresponds with GET /api/v1/orgs/{org}/jobs (the `ListJobs` operationId).
func (*Client) ListLabels ¶
func (c *Client) ListLabels(ctx context.Context, org OrgPath, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListLabels List label key/value suggestions
Returns distinct label keys, or distinct values for a given key when the "key" query parameter is set, with usage counts for popularity sort.
Corresponds with GET /api/v1/orgs/{org}/labels (the `ListLabels` operationId).
func (*Client) ListMaintenanceWindowChecks ¶
func (c *Client) ListMaintenanceWindowChecks(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMaintenanceWindowChecks List the checks covered by a maintenance window
Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `ListMaintenanceWindowChecks` operationId).
func (*Client) ListMaintenanceWindows ¶
func (c *Client) ListMaintenanceWindows(ctx context.Context, org OrgPath, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMaintenanceWindows List maintenance windows
Corresponds with GET /api/v1/orgs/{org}/maintenance-windows (the `ListMaintenanceWindows` operationId).
func (*Client) ListMemberCoverage ¶
func (c *Client) ListMemberCoverage(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMemberCoverage List per-member paging coverage
Per-member notification coverage for the organization. Exposes channel TYPES and verified/enabled flags only — never a contact value, since per-user contacts belong to the member and are otherwise `users/me` scoped. `emailFallbackOnly` marks members nothing but email can reach. Admin only.
Corresponds with GET /api/v1/orgs/{org}/members/coverage (the `ListMemberCoverage` operationId).
func (*Client) ListMembers ¶
func (c *Client) ListMembers(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMembers List organization members
Corresponds with GET /api/v1/orgs/{org}/members (the `ListMembers` operationId).
func (*Client) ListMyMembershipRequests ¶
func (c *Client) ListMyMembershipRequests(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMyMembershipRequests List the caller's own membership requests
Corresponds with GET /api/v1/auth/membership-requests (the `ListMyMembershipRequests` operationId).
func (*Client) ListMyNotificationRoutes ¶
func (c *Client) ListMyNotificationRoutes(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMyNotificationRoutes List the caller's notification routes
Corresponds with GET /api/v1/orgs/{org}/users/me/notification-routes (the `ListMyNotificationRoutes` operationId).
func (*Client) ListMyNotifications ¶
func (c *Client) ListMyNotifications(ctx context.Context, org OrgPath, params *ListMyNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListMyNotifications List the caller's notification deliveries
Corresponds with GET /api/v1/orgs/{org}/me/notifications (the `ListMyNotifications` operationId).
func (*Client) ListNotifications ¶
func (c *Client) ListNotifications(ctx context.Context, org OrgPath, params *ListNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListNotifications List notification deliveries by connection
Lists notification delivery audit rows for the org, filtered by a connection (channel). `connectionUid` is required.
Corresponds with GET /api/v1/orgs/{org}/notifications (the `ListNotifications` operationId).
func (*Client) ListOncallOverrides ¶
func (c *Client) ListOncallOverrides(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *ListOncallOverridesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOncallOverrides List overrides on an on-call schedule
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `ListOncallOverrides` operationId).
func (*Client) ListOncallSchedules ¶
func (c *Client) ListOncallSchedules(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOncallSchedules List on-call schedules
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules (the `ListOncallSchedules` operationId).
func (*Client) ListOrgMembershipRequests ¶
func (c *Client) ListOrgMembershipRequests(ctx context.Context, org OrgPath, params *ListOrgMembershipRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOrgMembershipRequests List an organization's membership requests
Corresponds with GET /api/v1/orgs/{org}/membership-requests (the `ListOrgMembershipRequests` operationId).
func (*Client) ListOrgResults ¶
func (c *Client) ListOrgResults(ctx context.Context, org OrgPath, params *ListOrgResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOrgResults List results across all checks in organization
Corresponds with GET /api/v1/orgs/{org}/results (the `ListOrgResults` operationId).
func (*Client) ListOrgTokens ¶
func (c *Client) ListOrgTokens(ctx context.Context, org OrgPath, params *ListOrgTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListOrgTokens List user's tokens for an organization
Corresponds with GET /api/v1/orgs/{org}/tokens (the `ListOrgTokens` operationId).
func (*Client) ListRegions ¶
func (c *Client) ListRegions(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRegions List regions available to an organization
Corresponds with GET /api/v1/orgs/{org}/regions (the `ListRegions` operationId).
func (*Client) ListReportSchedules ¶
func (c *Client) ListReportSchedules(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListReportSchedules List scheduled uptime reports
Corresponds with GET /api/v1/orgs/{org}/report-schedules (the `ListReportSchedules` operationId).
func (*Client) ListSeverities ¶
func (c *Client) ListSeverities(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSeverities List severities
Corresponds with GET /api/v1/orgs/{org}/severities (the `ListSeverities` operationId).
func (*Client) ListSloAlertPolicies ¶
func (c *Client) ListSloAlertPolicies(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSloAlertPolicies List an objective's burn-rate alert policies
Two built-in multiwindow burn-rate policies (`fast` and `slow`), materialized on demand so an objective created before the feature existed answers exactly like a new one. Both start disabled — alerting is opt-in. `longBurnRate` / `shortBurnRate` are recomputed for the request rather than read back from the stored readout, and are null (never 0) when a window carries no countable probe.
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies (the `ListSloAlertPolicies` operationId).
func (*Client) ListSlos ¶
func (c *Client) ListSlos(ctx context.Context, org OrgPath, params *ListSlosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSlos List service-level objectives
Corresponds with GET /api/v1/orgs/{org}/slos (the `ListSlos` operationId).
func (*Client) ListStatusPageIncidents ¶
func (c *Client) ListStatusPageIncidents(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListStatusPageIncidents List the incident publications on a status page
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `ListStatusPageIncidents` operationId).
func (*Client) ListStatusPageResources ¶
func (c *Client) ListStatusPageResources(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListStatusPageResources List resources of a section
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `ListStatusPageResources` operationId).
func (*Client) ListStatusPageSections ¶
func (c *Client) ListStatusPageSections(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListStatusPageSections List sections of a status page
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `ListStatusPageSections` operationId).
func (*Client) ListStatusPageSubscribers ¶
func (c *Client) ListStatusPageSubscribers(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListStatusPageSubscribers List subscribers of a status page
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `ListStatusPageSubscribers` operationId).
func (*Client) ListStatusPages ¶
func (c *Client) ListStatusPages(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ListStatusPages List status pages
Corresponds with GET /api/v1/orgs/{org}/status-pages (the `ListStatusPages` operationId).
func (*Client) ListStatusUpdates ¶
func (c *Client) ListStatusUpdates(ctx context.Context, org OrgPath, params *ListStatusUpdatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListStatusUpdates List status updates
Corresponds with GET /api/v1/orgs/{org}/status-updates (the `ListStatusUpdates` operationId).
func (*Client) ListSupportMessages ¶
func (c *Client) ListSupportMessages(ctx context.Context, uid string, params *ListSupportMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSupportMessages List a thread's messages
Chronological order, oldest first. Super-admin only.
Corresponds with GET /api/v1/support/threads/{uid}/messages (the `ListSupportMessages` operationId).
func (*Client) ListSupportThreads ¶
func (c *Client) ListSupportThreads(ctx context.Context, params *ListSupportThreadsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSupportThreads List support threads
Returns captured support conversations, most recent activity first. Super-admin only.
Corresponds with GET /api/v1/support/threads (the `ListSupportThreads` operationId).
func (*Client) ListSystemCheckJobs ¶
func (c *Client) ListSystemCheckJobs(ctx context.Context, params *ListSystemCheckJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSystemCheckJobs List check-schedule jobs (all orgs)
Super-admin list of the check_jobs scheduler rows across every org. Secrets are never returned.
Corresponds with GET /api/v1/system/check-jobs (the `ListSystemCheckJobs` operationId).
func (*Client) ListSystemJobs ¶
func (c *Client) ListSystemJobs(ctx context.Context, params *ListSystemJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSystemJobs List background jobs (all orgs)
Super-admin list of background jobs across all orgs, including system jobs (null org).
Corresponds with GET /api/v1/system/jobs (the `ListSystemJobs` operationId).
func (*Client) ListSystemParameters ¶
func (c *Client) ListSystemParameters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSystemParameters List all system parameters
Returns all system-wide configuration parameters. Secret values are masked.
Corresponds with GET /api/v1/system/parameters (the `ListSystemParameters` operationId).
func (*Client) ListUserNotifications ¶
func (c *Client) ListUserNotifications(ctx context.Context, org OrgPath, uid UserUidPath, params *ListUserNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListUserNotifications List a user's notification deliveries
Admins may query any user; non-admin members may only query themselves (403 otherwise).
Corresponds with GET /api/v1/orgs/{org}/users/{uid}/notifications (the `ListUserNotifications` operationId).
func (*Client) Login ¶
func (c *Client) Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
Login Login with email/password
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/login (the `Login` operationId).
func (*Client) LoginWithBody ¶
func (c *Client) LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoginWithBody Login with email/password
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/login (the `Login` operationId).
func (*Client) Logout ¶
func (c *Client) Logout(ctx context.Context, body LogoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
Logout Logout current session
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
func (*Client) LogoutWithBody ¶
func (c *Client) LogoutWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LogoutWithBody Logout current session
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
func (*Client) MigrateRegion ¶
func (c *Client) MigrateRegion(ctx context.Context, body MigrateRegionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
MigrateRegion Migrate every reference to a region slug
Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
`to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
func (*Client) MigrateRegionWithBody ¶
func (c *Client) MigrateRegionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MigrateRegionWithBody Migrate every reference to a region slug
Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
`to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
func (*Client) PatchEntitlements ¶
func (c *Client) PatchEntitlements(ctx context.Context, org OrgPath, body PatchEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchEntitlements Partially update an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
func (*Client) PatchEntitlementsWithBody ¶
func (c *Client) PatchEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchEntitlementsWithBody Partially update an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
func (*Client) PollDeviceToken ¶
func (c *Client) PollDeviceToken(ctx context.Context, body PollDeviceTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PollDeviceToken Poll for the device authorization result (RFC 8628 token endpoint)
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
func (*Client) PollDeviceTokenWithBody ¶
func (c *Client) PollDeviceTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PollDeviceTokenWithBody Poll for the device authorization result (RFC 8628 token endpoint)
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
func (*Client) PreviewOncallSchedule ¶
func (c *Client) PreviewOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *PreviewOncallScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewOncallSchedule Preview the on-call rotation over a window
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/preview (the `PreviewOncallSchedule` operationId).
func (*Client) PromoteDiscoveredChecks ¶
func (c *Client) PromoteDiscoveredChecks(ctx context.Context, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PromoteDiscoveredChecks Promote discovered checks into real checks
Admin only. Creates one real check per referenced discovered-check row (config/name/slug already on the row; `overrides` may adjust name/period). Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
func (*Client) PromoteDiscoveredChecksWithBody ¶
func (c *Client) PromoteDiscoveredChecksWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PromoteDiscoveredChecksWithBody Promote discovered checks into real checks
Admin only. Creates one real check per referenced discovered-check row (config/name/slug already on the row; `overrides` may adjust name/period). Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
func (*Client) PublishIncident ¶
func (c *Client) PublishIncident(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, body PublishIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PublishIncident Publish this incident on a status page
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
func (*Client) PublishIncidentWithBody ¶
func (c *Client) PublishIncidentWithBody(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PublishIncidentWithBody Publish this incident on a status page
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
func (*Client) RefreshToken ¶
func (c *Client) RefreshToken(ctx context.Context, body RefreshTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RefreshToken Refresh access token
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
func (*Client) RefreshTokenWithBody ¶
func (c *Client) RefreshTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RefreshTokenWithBody Refresh access token
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
func (*Client) Register ¶
func (c *Client) Register(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
Register Self-service account registration
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/register (the `Register` operationId).
func (*Client) RegisterWithBody ¶
func (c *Client) RegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RegisterWithBody Self-service account registration
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/register (the `Register` operationId).
func (*Client) RejectMembershipRequest ¶
func (c *Client) RejectMembershipRequest(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body RejectMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RejectMembershipRequest Reject a membership request
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
func (*Client) RejectMembershipRequestWithBody ¶
func (c *Client) RejectMembershipRequestWithBody(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RejectMembershipRequestWithBody Reject a membership request
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
func (*Client) ReleaseAdminEntitlements ¶
func (c *Client) ReleaseAdminEntitlements(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
ReleaseAdminEntitlements Release an organization back to billing (super admin)
Drops the stored entitlements row. The organization immediately resolves to the deployment-mode defaults, and the next billing push is applied normally. Releasing an organization that has no stored row is a no-op (`released: false`), not an error.
Corresponds with DELETE /api/v1/system/entitlements/{org} (the `ReleaseAdminEntitlements` operationId).
func (*Client) RemoveCheckChannel ¶
func (c *Client) RemoveCheckChannel(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveCheckChannel Unbind a single channel from a check
Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `RemoveCheckChannel` operationId).
func (*Client) RemoveMember ¶
func (c *Client) RemoveMember(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveMember Remove member from organization
Corresponds with DELETE /api/v1/orgs/{org}/members/{uid} (the `RemoveMember` operationId).
func (*Client) RemoveMyNotificationContact ¶
func (c *Client) RemoveMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveMyNotificationContact Remove one of the caller's notification contacts
Corresponds with DELETE /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid} (the `RemoveMyNotificationContact` operationId).
func (*Client) RemoveStatusPageSubscriber ¶
func (c *Client) RemoveStatusPageSubscriber(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid SubscriberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveStatusPageSubscriber Remove a subscriber from a status page
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/{uid} (the `RemoveStatusPageSubscriber` operationId).
func (*Client) ReorderStatusPageResources ¶
func (c *Client) ReorderStatusPageResources(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body ReorderStatusPageResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReorderStatusPageResources Reorder the resources of a section
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
func (*Client) ReorderStatusPageResourcesWithBody ¶
func (c *Client) ReorderStatusPageResourcesWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReorderStatusPageResourcesWithBody Reorder the resources of a section
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
func (*Client) ReorderStatusPageSections ¶
func (c *Client) ReorderStatusPageSections(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body ReorderStatusPageSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ReorderStatusPageSections Reorder the sections of a status page
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
func (*Client) ReorderStatusPageSectionsWithBody ¶
func (c *Client) ReorderStatusPageSectionsWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReorderStatusPageSectionsWithBody Reorder the sections of a status page
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
func (*Client) RequestPasswordReset ¶
func (c *Client) RequestPasswordReset(ctx context.Context, body RequestPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestPasswordReset Request a password reset email
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
func (*Client) RequestPasswordResetWithBody ¶
func (c *Client) RequestPasswordResetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RequestPasswordResetWithBody Request a password reset email
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
func (*Client) ResendSupportMessage ¶
func (c *Client) ResendSupportMessage(ctx context.Context, uid string, messageUid string, reqEditors ...RequestEditorFn) (*http.Response, error)
ResendSupportMessage Resend a failed outbound reply
Re-runs the reply pre-flight (window, then routing) and the provider send for an outbound message whose delivery failed, rewriting that message's delivery record in place rather than appending a second copy. Only a failed outbound message qualifies — resending a delivered reply would send the same text to a customer twice. Returns 409 when the thread still cannot be replied to, and 202 when the provider rejected the retry as well. Super-admin only.
Corresponds with POST /api/v1/support/threads/{uid}/messages/{messageUid}/resend (the `ResendSupportMessage` operationId).
func (*Client) ResetPassword ¶
func (c *Client) ResetPassword(ctx context.Context, body ResetPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetPassword Set a new password using a reset token
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
func (*Client) ResetPasswordWithBody ¶
func (c *Client) ResetPasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResetPasswordWithBody Set a new password using a reset token
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
func (*Client) ResolveIncident ¶
func (c *Client) ResolveIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, body ResolveIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveIncident Resolve an incident
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
func (*Client) ResolveIncidentWithBody ¶
func (c *Client) ResolveIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveIncidentWithBody Resolve an incident
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
func (*Client) RespondToDeviceConsent ¶
func (c *Client) RespondToDeviceConsent(ctx context.Context, body RespondToDeviceConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RespondToDeviceConsent Approve or deny a pending device authorization request
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
func (*Client) RespondToDeviceConsentWithBody ¶
func (c *Client) RespondToDeviceConsentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RespondToDeviceConsentWithBody Approve or deny a pending device authorization request
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
func (*Client) RevokeStatusPageKioskToken ¶
func (c *Client) RevokeStatusPageKioskToken(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeStatusPageKioskToken Revoke a status page's kiosk token
Clears the stored hash. Any screen still presenting the old token falls straight back to the page's ordinary visibility rules — 401 for a `password` page, 404 for a `private` one — with no distinguishable "revoked" answer. Idempotent: revoking a page that has no token succeeds.
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `RevokeStatusPageKioskToken` operationId).
func (*Client) RevokeToken ¶
func (c *Client) RevokeToken(ctx context.Context, tokenUid TokenUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RevokeToken Revoke API token
Corresponds with DELETE /api/v1/auth/tokens/{tokenUid} (the `RevokeToken` operationId).
func (*Client) RotateChannelSecret ¶
func (c *Client) RotateChannelSecret(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RotateChannelSecret Rotate a webhook channel's signing secret
Rotates the per-channel signing secret (webhook channels only). The current secret becomes the previous one (valid for a 24 h grace window) and a fresh secret is generated. Returns 400 for non-webhook channels.
Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/rotate-secret (the `RotateChannelSecret` operationId).
func (*Client) RotateHeartbeatToken ¶
func (c *Client) RotateHeartbeatToken(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RotateHeartbeatToken Rotate a heartbeat check's ping token
Mints a fresh ping token for a heartbeat check (heartbeat checks only) and persists it, invalidating every previously issued ping URL immediately — unlike webhook signing-secret rotation, there is no grace period, since heartbeat pings are frequent and the operator is expected to update the sender right away. Returns 400 for non-heartbeat checks.
Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/rotate-token (the `RotateHeartbeatToken` operationId).
func (*Client) RotateOncallIcalFeed ¶
func (c *Client) RotateOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
RotateOncallIcalFeed Rotate the iCal feed secret for an on-call schedule
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/rotate (the `RotateOncallIcalFeed` operationId).
func (*Client) SendMemberPagingNudge ¶
func (c *Client) SendMemberPagingNudge(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
SendMemberPagingNudge Email a member asking them to set up their paging
Sends a "set up your alert notifications" email with a link to the member's own notification settings. Carries no contact data and no verification code. Admin only.
Corresponds with POST /api/v1/orgs/{org}/members/{uid}/paging-nudge (the `SendMemberPagingNudge` operationId).
func (*Client) SendTestEmail ¶
func (c *Client) SendTestEmail(ctx context.Context, body SendTestEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SendTestEmail Send a test email
Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
func (*Client) SendTestEmailWithBody ¶
func (c *Client) SendTestEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendTestEmailWithBody Send a test email
Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
func (*Client) SetAdminEntitlements ¶
func (c *Client) SetAdminEntitlements(ctx context.Context, org OrgPath, body SetAdminEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAdminEntitlements Write an organization's entitlements as an admin override (super admin)
Writes a complete admin-sourced row (whole-row only; there are no per-field overrides). The request body's `source` is ignored — a super admin write is always `admin`, so a body claiming to be the billing service cannot launder itself past the precedence rule.
Because the row is complete, an `admin` row resolves whole-row: a `null` cap means **unlimited**, not "inherit the deployment default". That is what makes the editor's Unlimited switch mean what it says on a SaaS deployment, where every default is a real number. `whiteLabel` is the exception — being a boolean, its `null` keeps meaning "use the deployment default".
While the stored row is admin-sourced, billing pushes to `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT applied (`applied: false`, `suppressedBy: admin`) and recorded in the audit log. Use `DELETE` on this path to release the override.
An optional `X-Entitlements-Reason` header is stored on the audit row.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
func (*Client) SetAdminEntitlementsWithBody ¶
func (c *Client) SetAdminEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetAdminEntitlementsWithBody Write an organization's entitlements as an admin override (super admin)
Writes a complete admin-sourced row (whole-row only; there are no per-field overrides). The request body's `source` is ignored — a super admin write is always `admin`, so a body claiming to be the billing service cannot launder itself past the precedence rule.
Because the row is complete, an `admin` row resolves whole-row: a `null` cap means **unlimited**, not "inherit the deployment default". That is what makes the editor's Unlimited switch mean what it says on a SaaS deployment, where every default is a real number. `whiteLabel` is the exception — being a boolean, its `null` keeps meaning "use the deployment default".
While the stored row is admin-sourced, billing pushes to `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT applied (`applied: false`, `suppressedBy: admin`) and recorded in the audit log. Use `DELETE` on this path to release the override.
An optional `X-Entitlements-Reason` header is stored on the audit row.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
func (*Client) SetCheckChannels ¶
func (c *Client) SetCheckChannels(ctx context.Context, org OrgPath, check string, body SetCheckChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetCheckChannels Replace the full set of channels bound to a check
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
func (*Client) SetCheckChannelsWithBody ¶
func (c *Client) SetCheckChannelsWithBody(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetCheckChannelsWithBody Replace the full set of channels bound to a check
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
func (*Client) SetEntitlements ¶
func (c *Client) SetEntitlements(ctx context.Context, org OrgPath, body SetEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetEntitlements Replace an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
func (*Client) SetEntitlementsWithBody ¶
func (c *Client) SetEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetEntitlementsWithBody Replace an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
func (*Client) SetIntegrationIdentity ¶
func (c *Client) SetIntegrationIdentity(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, body SetIntegrationIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetIntegrationIdentity Set a member's identity on an integration
Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
func (*Client) SetIntegrationIdentityWithBody ¶
func (c *Client) SetIntegrationIdentityWithBody(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetIntegrationIdentityWithBody Set a member's identity on an integration
Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
func (*Client) SetMaintenanceWindowChecks ¶
func (c *Client) SetMaintenanceWindowChecks(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body SetMaintenanceWindowChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMaintenanceWindowChecks Set the checks covered by a maintenance window
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
func (*Client) SetMaintenanceWindowChecksWithBody ¶
func (c *Client) SetMaintenanceWindowChecksWithBody(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMaintenanceWindowChecksWithBody Set the checks covered by a maintenance window
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
func (*Client) SetSystemParameter ¶
func (c *Client) SetSystemParameter(ctx context.Context, key string, body SetSystemParameterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SetSystemParameter Set a system parameter
Creates or updates a system parameter value.
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
func (*Client) SetSystemParameterWithBody ¶
func (c *Client) SetSystemParameterWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetSystemParameterWithBody Set a system parameter
Creates or updates a system parameter value.
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
func (*Client) SnoozeIncident ¶
func (c *Client) SnoozeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, body SnoozeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SnoozeIncident Snooze an incident
Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
func (*Client) SnoozeIncidentWithBody ¶
func (c *Client) SnoozeIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SnoozeIncidentWithBody Snooze an incident
Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
func (*Client) StartDeviceAuthorization ¶
func (c *Client) StartDeviceAuthorization(ctx context.Context, body StartDeviceAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartDeviceAuthorization Start a device authorization request (RFC 8628)
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
func (*Client) StartDeviceAuthorizationWithBody ¶
func (c *Client) StartDeviceAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartDeviceAuthorizationWithBody Start a device authorization request (RFC 8628)
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
func (*Client) StartDiscoveryScan ¶
func (c *Client) StartDiscoveryScan(ctx context.Context, org OrgPath, body StartDiscoveryScanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
StartDiscoveryScan Start a discovery scan
Admin only. The generic body is `{type, parameters}`; the discovery-type registry validates the parameters and resolves the job to enqueue. For LAN, parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox, `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes, `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a stored Kubernetes cluster connection (empty `namespaces` scans every visible namespace).
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
func (*Client) StartDiscoveryScanWithBody ¶
func (c *Client) StartDiscoveryScanWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartDiscoveryScanWithBody Start a discovery scan
Admin only. The generic body is `{type, parameters}`; the discovery-type registry validates the parameters and resolves the job to enqueue. For LAN, parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox, `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes, `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a stored Kubernetes cluster connection (empty `namespaces` scans every visible namespace).
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
func (*Client) StatusPageFeed ¶
func (c *Client) StatusPageFeed(ctx context.Context, org OrgPath, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
StatusPageFeed Atom feed of a status page's status-update timeline
Public Atom/RSS feed of the page's recent status updates (incident posts and manual updates). Same visibility gate as the full page view, and the same visibility-driven caching: Cache-Control: public, max-age=300 for a `public` page, private, no-store for a `password` or `private` one — the feed quotes update titles and bodies verbatim. No authentication required.
Corresponds with GET /api/v1/status-pages/{org}/{slug}/feed.xml (the `StatusPageFeed` operationId).
func (*Client) SubscribeToStatusPage ¶
func (c *Client) SubscribeToStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body SubscribeToStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SubscribeToStatusPage Subscribe an email address to a status page
PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
func (*Client) SubscribeToStatusPageWithBody ¶
func (c *Client) SubscribeToStatusPageWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SubscribeToStatusPageWithBody Subscribe an email address to a status page
PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
func (*Client) SwitchOrg ¶
func (c *Client) SwitchOrg(ctx context.Context, body SwitchOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SwitchOrg Switch organization context
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
func (*Client) SwitchOrgWithBody ¶
func (c *Client) SwitchOrgWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SwitchOrgWithBody Switch organization context
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
func (*Client) SyncEmailInbox ¶
func (c *Client) SyncEmailInbox(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
SyncEmailInbox Trigger an email-inbox sync
Runs one immediate sync pass over the configured JMAP inbox. Super-admin only.
Corresponds with POST /api/v1/system/email-inbox/sync (the `SyncEmailInbox` operationId).
func (*Client) SyncIntegrationIdentities ¶
func (c *Client) SyncIntegrationIdentities(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
SyncIntegrationIdentities Re-run the member identity auto-match
Looks every organization member up in the connected Slack workspace by email (`users.lookupByEmail`) and records the matches. Manual overrides are never overwritten, and a workspace account that two members both resolve to is reported ambiguous and written nowhere. Admin only.
Corresponds with POST /api/v1/orgs/{org}/integrations/{uid}/identities/sync (the `SyncIntegrationIdentities` operationId).
func (*Client) TestChannel ¶
func (c *Client) TestChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
TestChannel Send a sample notification through a channel
Sends a sample notification through the channel to verify it is wired correctly. Always returns 200 for a notifiable channel; inspect the `success` field to know whether delivery worked. Returns 400 for data-source-only channel types.
Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/test (the `TestChannel` operationId).
func (*Client) TestEmailInbox ¶
func (c *Client) TestEmailInbox(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
TestEmailInbox Test the email-inbox connection
Connects to the configured JMAP inbox and lists its resolved mailboxes. Super-admin only.
Corresponds with POST /api/v1/system/email-inbox/test (the `TestEmailInbox` operationId).
func (*Client) TestMyNotificationRoute ¶
func (c *Client) TestMyNotificationRoute(ctx context.Context, org OrgPath, routeUid RouteUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
TestMyNotificationRoute Send a test notification through one of the caller's routes
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-routes/{routeUid}/test (the `TestMyNotificationRoute` operationId).
func (*Client) TestReportSchedule ¶
func (c *Client) TestReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body TestReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TestReportSchedule Send the report immediately to the caller
Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
func (*Client) TestReportScheduleWithBody ¶
func (c *Client) TestReportScheduleWithBody(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TestReportScheduleWithBody Send the report immediately to the caller
Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
func (*Client) UnacknowledgeIncident ¶
func (c *Client) UnacknowledgeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
UnacknowledgeIncident Remove acknowledgement from an incident
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unack (the `UnacknowledgeIncident` operationId).
func (*Client) UnlockDefaultStatusPage ¶
func (c *Client) UnlockDefaultStatusPage(ctx context.Context, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UnlockDefaultStatusPage Unlock an organization's password-protected default status page
Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
func (*Client) UnlockDefaultStatusPageWithBody ¶
func (c *Client) UnlockDefaultStatusPageWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UnlockDefaultStatusPageWithBody Unlock an organization's password-protected default status page
Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
func (*Client) UnlockStatusPage ¶
func (c *Client) UnlockStatusPage(ctx context.Context, org OrgPath, slug string, body UnlockStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UnlockStatusPage Unlock a password-protected status page
Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
Attempts are rate limited per (client IP, page).
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
func (*Client) UnlockStatusPageWithBody ¶
func (c *Client) UnlockStatusPageWithBody(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UnlockStatusPageWithBody Unlock a password-protected status page
Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
Attempts are rate limited per (client IP, page).
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
func (*Client) UnpublishIncident ¶
func (c *Client) UnpublishIncident(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
UnpublishIncident Unpublish this incident from a status page
Corresponds with DELETE /api/v1/orgs/{org}/incidents/{incidentUid}/publications/{uid} (the `UnpublishIncident` operationId).
func (*Client) UnsnoozeIncident ¶
func (c *Client) UnsnoozeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
UnsnoozeIncident Clear an incident snooze
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unsnooze (the `UnsnoozeIncident` operationId).
func (*Client) UpdateChannel ¶
func (c *Client) UpdateChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, body UpdateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateChannel Update a notification channel
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
func (*Client) UpdateChannelWithBody ¶
func (c *Client) UpdateChannelWithBody(ctx context.Context, org OrgPath, uid ChannelUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateChannelWithBody Update a notification channel
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
func (*Client) UpdateCheck ¶
func (c *Client) UpdateCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, body UpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCheck Update monitoring check
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
func (*Client) UpdateCheckDependency ¶
func (c *Client) UpdateCheckDependency(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, body UpdateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCheckDependency Update a dependency edge
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
func (*Client) UpdateCheckDependencyWithBody ¶
func (c *Client) UpdateCheckDependencyWithBody(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCheckDependencyWithBody Update a dependency edge
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
func (*Client) UpdateCheckGroup ¶
func (c *Client) UpdateCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, body UpdateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCheckGroup Update a check group
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
func (*Client) UpdateCheckGroupWithBody ¶
func (c *Client) UpdateCheckGroupWithBody(ctx context.Context, org OrgPath, uid CheckGroupUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCheckGroupWithBody Update a check group
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
func (*Client) UpdateCheckWithBody ¶
func (c *Client) UpdateCheckWithBody(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCheckWithBody Update monitoring check
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
func (*Client) UpdateEscalationPolicy ¶
func (c *Client) UpdateEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, body UpdateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEscalationPolicy Update an escalation policy
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
func (*Client) UpdateEscalationPolicyWithBody ¶
func (c *Client) UpdateEscalationPolicyWithBody(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEscalationPolicyWithBody Update an escalation policy
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
func (*Client) UpdateMaintenanceWindow ¶
func (c *Client) UpdateMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMaintenanceWindow Update a maintenance window
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
func (*Client) UpdateMaintenanceWindowWithBody ¶
func (c *Client) UpdateMaintenanceWindowWithBody(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMaintenanceWindowWithBody Update a maintenance window
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
func (*Client) UpdateMe ¶
func (c *Client) UpdateMe(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMe Update the authenticated user's profile
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
func (*Client) UpdateMeWithBody ¶
func (c *Client) UpdateMeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMeWithBody Update the authenticated user's profile
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
func (*Client) UpdateMember ¶
func (c *Client) UpdateMember(ctx context.Context, org OrgPath, uid MemberUidPath, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMember Update member role
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
func (*Client) UpdateMemberWithBody ¶
func (c *Client) UpdateMemberWithBody(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMemberWithBody Update member role
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
func (*Client) UpdateMyNotificationRoute ¶
func (c *Client) UpdateMyNotificationRoute(ctx context.Context, org OrgPath, routeUid RouteUidPath, body UpdateMyNotificationRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMyNotificationRoute Update one of the caller's notification routes
Toggle the enabled flag and/or reorder the full route list.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
func (*Client) UpdateMyNotificationRouteWithBody ¶
func (c *Client) UpdateMyNotificationRouteWithBody(ctx context.Context, org OrgPath, routeUid RouteUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateMyNotificationRouteWithBody Update one of the caller's notification routes
Toggle the enabled flag and/or reorder the full route list.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
func (*Client) UpdateOncallSchedule ¶
func (c *Client) UpdateOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body UpdateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOncallSchedule Update an on-call schedule
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
func (*Client) UpdateOncallScheduleWithBody ¶
func (c *Client) UpdateOncallScheduleWithBody(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOncallScheduleWithBody Update an on-call schedule
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
func (*Client) UpdateOrgProfile ¶
func (c *Client) UpdateOrgProfile(ctx context.Context, org OrgPath, body UpdateOrgProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgProfile Update the organization profile
Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
func (*Client) UpdateOrgProfileWithBody ¶
func (c *Client) UpdateOrgProfileWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgProfileWithBody Update the organization profile
Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
func (*Client) UpdateOrgSettings ¶
func (c *Client) UpdateOrgSettings(ctx context.Context, org OrgPath, body UpdateOrgSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgSettings Update organization settings
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
func (*Client) UpdateOrgSettingsWithBody ¶
func (c *Client) UpdateOrgSettingsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateOrgSettingsWithBody Update organization settings
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
func (*Client) UpdateReportSchedule ¶
func (c *Client) UpdateReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body UpdateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateReportSchedule Update a scheduled uptime report
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
func (*Client) UpdateReportScheduleWithBody ¶
func (c *Client) UpdateReportScheduleWithBody(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateReportScheduleWithBody Update a scheduled uptime report
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
func (*Client) UpdateSeverity ¶
func (c *Client) UpdateSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, body UpdateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSeverity Update a severity
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
func (*Client) UpdateSeverityWithBody ¶
func (c *Client) UpdateSeverityWithBody(ctx context.Context, org OrgPath, uid SeverityUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSeverityWithBody Update a severity
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
func (*Client) UpdateSlo ¶
func (c *Client) UpdateSlo(ctx context.Context, org OrgPath, uid SLOUidPath, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSlo Update a service-level objective
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
func (*Client) UpdateSloAlertPolicy ¶
func (c *Client) UpdateSloAlertPolicy(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, body UpdateSloAlertPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSloAlertPolicy Tune a burn-rate alert policy
`kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
func (*Client) UpdateSloAlertPolicyWithBody ¶
func (c *Client) UpdateSloAlertPolicyWithBody(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSloAlertPolicyWithBody Tune a burn-rate alert policy
`kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
func (*Client) UpdateSloWithBody ¶
func (c *Client) UpdateSloWithBody(ctx context.Context, org OrgPath, uid SLOUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSloWithBody Update a service-level objective
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
func (*Client) UpdateStatusPage ¶
func (c *Client) UpdateStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPage Update a status page
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
func (*Client) UpdateStatusPageIncident ¶
func (c *Client) UpdateStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageIncident Edit a publication's title, severity or state
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
func (*Client) UpdateStatusPageIncidentWithBody ¶
func (c *Client) UpdateStatusPageIncidentWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageIncidentWithBody Edit a publication's title, severity or state
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
func (*Client) UpdateStatusPageResource ¶
func (c *Client) UpdateStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, body UpdateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageResource Update a resource
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
func (*Client) UpdateStatusPageResourceWithBody ¶
func (c *Client) UpdateStatusPageResourceWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageResourceWithBody Update a resource
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
func (*Client) UpdateStatusPageSection ¶
func (c *Client) UpdateStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body UpdateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageSection Update a section
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
func (*Client) UpdateStatusPageSectionWithBody ¶
func (c *Client) UpdateStatusPageSectionWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageSectionWithBody Update a section
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
func (*Client) UpdateStatusPageWithBody ¶
func (c *Client) UpdateStatusPageWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusPageWithBody Update a status page
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
func (*Client) UpdateStatusUpdate ¶
func (c *Client) UpdateStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, body UpdateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusUpdate Update a status update
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
func (*Client) UpdateStatusUpdateWithBody ¶
func (c *Client) UpdateStatusUpdateWithBody(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateStatusUpdateWithBody Update a status update
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
func (*Client) UpdateSupportThread ¶
func (c *Client) UpdateSupportThread(ctx context.Context, uid string, body UpdateSupportThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSupportThread Update a support thread
Change the operator-set status or the subject. Super-admin only.
Takes a body of the `application/json` content type.
Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
func (*Client) UpdateSupportThreadWithBody ¶
func (c *Client) UpdateSupportThreadWithBody(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSupportThreadWithBody Update a support thread
Change the operator-set status or the subject. Super-admin only.
Takes any type of body and a specified content type.
Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
func (*Client) UploadOrgLogoWithBody ¶
func (c *Client) UploadOrgLogoWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadOrgLogoWithBody Upload the organization logo
Stores an uploaded image as the organization's logo and points `logoUrl` at its public URL. **Owner only.**
Accepted content types are `image/png`, `image/jpeg`, `image/webp`, `image/gif` and `image/svg+xml`, up to 1 MB. Anything else is a 422 VALIDATION_ERROR; an oversized body is a 413.
The content type is the one the client declares in the multipart part header — the bytes are never sniffed or checked against it. The declared value is clamped to the allowlist and is what gets stored and echoed back as `Content-Type`, so an SVG uploaded as `image/png` is stored and served as `image/png`. The serving rules below never assume the type is harmless, which is what makes that safe.
The resulting URL (`/pub/assets/{fileUid}`) is unsigned and stable, but authorized by the stored file's attachment topic: only a file attached under `organizations/{orgUid}/logo` is served there, and only while that file row is live — so replacing or clearing the logo un-publishes the previous image immediately. Uploaded SVGs are always served with `Content-Disposition: attachment` and `X-Content-Type-Options: nosniff` so they cannot execute as a document on the application's origin; they still render normally in an `img` element.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/logo (the `UploadOrgLogo` operationId).
func (*Client) UpsertCheck ¶
func (c *Client) UpsertCheck(ctx context.Context, org OrgPath, slug string, body UpsertCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertCheck Create or update check by slug (upsert)
Takes a body of the `application/json` content type.
Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
func (*Client) UpsertCheckWithBody ¶
func (c *Client) UpsertCheckWithBody(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpsertCheckWithBody Create or update check by slug (upsert)
Takes any type of body and a specified content type.
Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
func (*Client) ValidateCheck ¶
func (c *Client) ValidateCheck(ctx context.Context, org OrgPath, body ValidateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidateCheck Validate a check configuration without persisting it
Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
Takes a body of the `application/json` content type.
Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
func (*Client) ValidateCheckWithBody ¶
func (c *Client) ValidateCheckWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidateCheckWithBody Validate a check configuration without persisting it
Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
Takes any type of body and a specified content type.
Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
func (*Client) VerifyMyNotificationContact ¶
func (c *Client) VerifyMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyMyNotificationContact Send a verification code to a phone contact
Issues a 6-digit code (10-minute expiry, rate-limited to 3/hour per contact) and sends it via the organization's default Twilio connection. Only phone contacts can be verified.
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify (the `VerifyMyNotificationContact` operationId).
func (*Client) VerifyStatusPageCustomDomain ¶
func (c *Client) VerifyStatusPageCustomDomain(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyStatusPageCustomDomain Verify a status page's custom domain
Resolves the domain's CNAME and compares it against the expected target for the configured mode (server.custom_domain_cname_mode: "shared" uses the installation target, "token" uses the page-specific "<token>.cname.<target>" host — there is no dual-accept). Stamps the result. Rate-limited per organization.
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/custom-domain/verify (the `VerifyStatusPageCustomDomain` operationId).
func (*Client) ViewDefaultStatusPage ¶
func (c *Client) ViewDefaultStatusPage(ctx context.Context, org OrgPath, params *ViewDefaultStatusPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ViewDefaultStatusPage View an organization's default public status page
Renders the same payload as GET /api/v1/status-pages/{org}/{slug}, resolved to the organization's default page. No authentication required.
Corresponds with GET /api/v1/status-pages/{org} (the `ViewDefaultStatusPage` operationId).
func (*Client) ViewPublicStatusPageIncidents ¶
func (c *Client) ViewPublicStatusPageIncidents(ctx context.Context, org OrgPath, slug string, params *ViewPublicStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ViewPublicStatusPageIncidents Public incident history for a status page
The customer-facing incidents published on this page (spec 2026-08-19-08). Without `active`, returns the page's history window; with `active=true`, only the incidents that are still open — the same set the full page view embeds as `activeIncidents[]`. Same visibility gate as the full page view: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too — Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not), since this payload quotes incident titles and update bodies verbatim. No authentication required. Every field is operator-authored or templated from the page's own public resource names. Probe output, error strings and internal hostnames are structurally unable to reach this payload.
Corresponds with GET /api/v1/status-pages/{org}/{slug}/incidents (the `ViewPublicStatusPageIncidents` operationId).
func (*Client) ViewStatusPage ¶
func (c *Client) ViewStatusPage(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ViewStatusPage View a public status page
Full public rendering of a status page: sections, per-resource live status, and (when enabled) availability/response-time history. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required. Caching follows the page's visibility: a `public` page carries Cache-Control: public, max-age=60, while a `password` or `private` page — and every 401/404 answer — carries Cache-Control: private, no-store, so a shared cache can never retain a gated page's body. Holding a valid unlock cookie does not change that: it authorizes the visitor, not the CDN in front of them. Public responses carry Vary: X-Forwarded-Proto (the header the absolute URLs in these payloads derive their scheme from); gated ones add Cookie.
Corresponds with GET /api/v1/status-pages/{org}/{slug} (the `ViewStatusPage` operationId).
func (*Client) ViewStatusPageSummary ¶
func (c *Client) ViewStatusPageSummary(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ViewStatusPageSummary Lightweight status summary for a status page
Cheap "is it up?" companion to the full page view: overall status, per-category counts, page identity, and the canonical public URL — no sections, no per-resource history. Same visibility gate AND the same caching rule as the full page view: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not) and for every 401/404 answer. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required.
Corresponds with GET /api/v1/status-pages/{org}/{slug}/summary (the `ViewStatusPageSummary` operationId).
type ClientInterface ¶
type ClientInterface interface {
// GetHealth System health check
//
// Corresponds with GET /api/mgmt/health (the `GetHealth` operationId).
GetHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLimits Rate-limit and concurrency introspection
//
// Returns the server's rate-limit and concurrency configuration together with the calling client's live counters (remaining tokens, in-flight requests), the resolved caller IP and which bucket ("ip" or "token") the caller's traffic is accounted against. Public, no authentication.
//
// Corresponds with GET /api/mgmt/limits (the `GetLimits` operationId).
GetLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMemory Runtime memory snapshot
//
// Returns a JSON snapshot of runtime memory (heap / stack / goroutines / GC and the runtime/metrics memory classes), the process RSS breakdown from /proc (anon / file / shmem split, peak, threads, smaps_rollup Pss), the container's own cgroup accounting, the derived off-heap gap, suspect-subsystem cardinalities (DEK cache, rate-limit entries, event listeners) and build facts (cgo, SQLite driver, Go version). Linux-only sections report `present: false` on other platforms rather than failing. Super-admin only; the raw pprof surface stays on the localhost-bound profiler server.
//
// Corresponds with GET /api/mgmt/memory (the `GetMemory` operationId).
GetMemory(ctx context.Context, params *GetMemoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCostDistribution Scheduler cost/delay distribution
//
// Returns an aggregate, low-cardinality distribution of the scheduler's per-job cost_ewma_ms and delay_ewma_ms across all check_jobs, plus fast/slow job counts at a candidate threshold. Read-only and super-admin guarded. Used to decide whether fast/slow scheduling lanes are warranted.
//
// Corresponds with GET /api/mgmt/scheduling/cost-distribution (the `GetCostDistribution` operationId).
GetCostDistribution(ctx context.Context, params *GetCostDistributionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetVersion Get system version
//
// Corresponds with GET /api/mgmt/version (the `GetVersion` operationId).
GetVersion(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptInviteWithBody Accept an invitation
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
AcceptInviteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcceptInvite Accept an invitation
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
AcceptInvite(ctx context.Context, body AcceptInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangePasswordWithBody Change (or set) the authenticated user's password
//
// Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
ChangePasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ChangePassword Change (or set) the authenticated user's password
//
// Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
ChangePassword(ctx context.Context, body ChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfirmRegistrationWithBody Confirm a pending registration with an emailed token
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
ConfirmRegistrationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfirmRegistration Confirm a pending registration with an emailed token
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
ConfirmRegistration(ctx context.Context, body ConfirmRegistrationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartDeviceAuthorizationWithBody Start a device authorization request (RFC 8628)
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
StartDeviceAuthorizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartDeviceAuthorization Start a device authorization request (RFC 8628)
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
StartDeviceAuthorization(ctx context.Context, body StartDeviceAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDeviceConsent Look up a pending device authorization request by user code
//
// Corresponds with GET /api/v1/auth/device/consent (the `GetDeviceConsent` operationId).
GetDeviceConsent(ctx context.Context, params *GetDeviceConsentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RespondToDeviceConsentWithBody Approve or deny a pending device authorization request
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
RespondToDeviceConsentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RespondToDeviceConsent Approve or deny a pending device authorization request
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
RespondToDeviceConsent(ctx context.Context, body RespondToDeviceConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PollDeviceTokenWithBody Poll for the device authorization result (RFC 8628 token endpoint)
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
PollDeviceTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PollDeviceToken Poll for the device authorization result (RFC 8628 token endpoint)
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
PollDeviceToken(ctx context.Context, body PollDeviceTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInvite Inspect an invitation by token
//
// Corresponds with GET /api/v1/auth/invite/{token} (the `GetInvite` operationId).
GetInvite(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoginWithBody Login with email/password
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/login (the `Login` operationId).
LoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// Login Login with email/password
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/login (the `Login` operationId).
Login(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogoutWithBody Logout current session
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
LogoutWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// Logout Logout current session
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
Logout(ctx context.Context, body LogoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCurrentUser Get current user info
//
// Corresponds with GET /api/v1/auth/me (the `GetCurrentUser` operationId).
GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMeWithBody Update the authenticated user's profile
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
UpdateMeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMe Update the authenticated user's profile
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
UpdateMe(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMyMembershipRequests List the caller's own membership requests
//
// Corresponds with GET /api/v1/auth/membership-requests (the `ListMyMembershipRequests` operationId).
ListMyMembershipRequests(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMembershipRequestWithBody Request to join an organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
CreateMembershipRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMembershipRequest Request to join an organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
CreateMembershipRequest(ctx context.Context, body CreateMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelMembershipRequest Cancel one of the caller's membership requests
//
// Corresponds with DELETE /api/v1/auth/membership-requests/{uid} (the `CancelMembershipRequest` operationId).
CancelMembershipRequest(ctx context.Context, uid MembershipRequestUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAuthProviders List configured auth providers
//
// Corresponds with GET /api/v1/auth/providers (the `ListAuthProviders` operationId).
ListAuthProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshTokenWithBody Refresh access token
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
RefreshTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefreshToken Refresh access token
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
RefreshToken(ctx context.Context, body RefreshTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegisterWithBody Self-service account registration
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/register (the `Register` operationId).
RegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// Register Self-service account registration
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/register (the `Register` operationId).
Register(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestPasswordResetWithBody Request a password reset email
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
RequestPasswordResetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RequestPasswordReset Request a password reset email
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
RequestPasswordReset(ctx context.Context, body RequestPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetPasswordWithBody Set a new password using a reset token
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
ResetPasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResetPassword Set a new password using a reset token
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
ResetPassword(ctx context.Context, body ResetPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SwitchOrgWithBody Switch organization context
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
SwitchOrgWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SwitchOrg Switch organization context
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
SwitchOrg(ctx context.Context, body SwitchOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAllTokens List all user's tokens across orgs
//
// Corresponds with GET /api/v1/auth/tokens (the `ListAllTokens` operationId).
ListAllTokens(ctx context.Context, params *ListAllTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeToken Revoke API token
//
// Corresponds with DELETE /api/v1/auth/tokens/{tokenUid} (the `RevokeToken` operationId).
RevokeToken(ctx context.Context, tokenUid TokenUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCheckTypes List check types with server-level activation status
//
// Corresponds with GET /api/v1/check-types (the `ListCheckTypes` operationId).
ListCheckTypes(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCheckTypeSamples List sample configurations grouped by check type
//
// Corresponds with GET /api/v1/check-types/samples (the `ListCheckTypeSamples` operationId).
ListCheckTypeSamples(ctx context.Context, params *ListCheckTypeSamplesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicConfig Public browser-safe configuration
//
// Unauthenticated configuration blob the dashboard reads at boot, before
// any login. Contains **only** non-secret, browser-safe values; no
// parameter marked `secret` in the system-parameter registry is ever
// exposed here (in particular `posthog.personal_api_key` is not).
//
// When a feature is disabled its configuration fields are **omitted**
// rather than returned empty — e.g. with PostHog unconfigured the
// response is exactly `{"posthog": {"enabled": false}}`. The same rule
// applies to `whatsapp` and `telegram`: `whatsapp` is a single resolved
// boolean, and `telegram` emits its public bot username only while it is
// enabled.
//
// Corresponds with GET /api/v1/config (the `GetPublicConfig` operationId).
GetPublicConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrgWithBody Create a new organization
//
// Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
CreateOrgWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrg Create a new organization
//
// Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
CreateOrg(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrgWithBody Delete an organization
//
// Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
//
// Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
//
// Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
//
// Takes any type of body and a specified content type.
//
// Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
DeleteOrgWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrg Delete an organization
//
// Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
//
// Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
//
// Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
DeleteOrg(ctx context.Context, org OrgPath, body DeleteOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgProfileWithBody Update the organization profile
//
// Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
//
// Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
//
// Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
UpdateOrgProfileWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgProfile Update the organization profile
//
// Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
//
// Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
//
// Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
UpdateOrgProfile(ctx context.Context, org OrgPath, body UpdateOrgProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminJobs List background jobs (admin)
//
// Admin-gated list of background jobs for the org, most-recent first.
//
// Corresponds with GET /api/v1/orgs/{org}/admin/jobs (the `ListAdminJobs` operationId).
ListAdminJobs(ctx context.Context, org OrgPath, params *ListAdminJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdminJob Get a background job (admin)
//
// Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid} (the `GetAdminJob` operationId).
GetAdminJob(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdminJobChain Get a job's retry chain (admin)
//
// Ordered chain of jobs linked via previousJobUid, earliest ancestor to latest descendant.
//
// Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid}/chain (the `GetAdminJobChain` operationId).
GetAdminJobChain(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListChannels List notification channels
//
// Corresponds with GET /api/v1/orgs/{org}/channels (the `ListChannels` operationId).
ListChannels(ctx context.Context, org OrgPath, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateChannelWithBody Create a notification channel
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
CreateChannelWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateChannel Create a notification channel
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
CreateChannel(ctx context.Context, org OrgPath, body CreateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteChannel Delete a notification channel
//
// Corresponds with DELETE /api/v1/orgs/{org}/channels/{uid} (the `DeleteChannel` operationId).
DeleteChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannel Get a notification channel
//
// Corresponds with GET /api/v1/orgs/{org}/channels/{uid} (the `GetChannel` operationId).
GetChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateChannelWithBody Update a notification channel
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
UpdateChannelWithBody(ctx context.Context, org OrgPath, uid ChannelUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateChannel Update a notification channel
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
UpdateChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, body UpdateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateChannelSecret Rotate a webhook channel's signing secret
//
// Rotates the per-channel signing secret (webhook channels only). The current secret becomes the previous one (valid for a 24 h grace window) and a fresh secret is generated. Returns 400 for non-webhook channels.
//
// Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/rotate-secret (the `RotateChannelSecret` operationId).
RotateChannelSecret(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestChannel Send a sample notification through a channel
//
// Sends a sample notification through the channel to verify it is wired correctly. Always returns 200 for a notifiable channel; inspect the `success` field to know whether delivery worked. Returns 400 for data-source-only channel types.
//
// Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/test (the `TestChannel` operationId).
TestChannel(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCheckGroups List check groups
//
// Corresponds with GET /api/v1/orgs/{org}/check-groups (the `ListCheckGroups` operationId).
ListCheckGroups(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCheckGroupWithBody Create a check group
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
CreateCheckGroupWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCheckGroup Create a check group
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
CreateCheckGroup(ctx context.Context, org OrgPath, body CreateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCheckGroup Delete a check group
//
// Corresponds with DELETE /api/v1/orgs/{org}/check-groups/{uid} (the `DeleteCheckGroup` operationId).
DeleteCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCheckGroup Get a check group
//
// Corresponds with GET /api/v1/orgs/{org}/check-groups/{uid} (the `GetCheckGroup` operationId).
GetCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCheckGroupWithBody Update a check group
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
UpdateCheckGroupWithBody(ctx context.Context, org OrgPath, uid CheckGroupUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCheckGroup Update a check group
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
UpdateCheckGroup(ctx context.Context, org OrgPath, uid CheckGroupUidPath, body UpdateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCheckJobs List check-schedule jobs (admin)
//
// Admin-gated list of the check_jobs scheduler rows. Encrypted secret values are never returned.
//
// Corresponds with GET /api/v1/orgs/{org}/check-jobs (the `ListCheckJobs` operationId).
ListCheckJobs(ctx context.Context, org OrgPath, params *ListCheckJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCheckJob Get a check-schedule job (admin)
//
// Corresponds with GET /api/v1/orgs/{org}/check-jobs/{uid} (the `GetCheckJob` operationId).
GetCheckJob(ctx context.Context, org OrgPath, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListChecks List monitoring checks
//
// Corresponds with GET /api/v1/orgs/{org}/checks (the `ListChecks` operationId).
ListChecks(ctx context.Context, org OrgPath, params *ListChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCheckWithBody Create monitoring check
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
CreateCheckWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCheck Create monitoring check
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
CreateCheck(ctx context.Context, org OrgPath, body CreateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCheckStats Aggregate check counters for an organization
//
// Org-wide check counters computed server-side with a single SQL aggregation, so they are unaffected by the list endpoint's 100-row page clamp. Scope is the same set the list endpoint shows by default: non-deleted, non-internal checks. `total`, `byStatus`, `down` and `hardDown` span enabled and disabled checks alike; `enabled` and `disabled` partition the same set.
//
// The response is served from a per-organization in-memory cache with a 1-minute TTL, so it can lag a check create/delete or a status flip by up to that long. Clients needing an exact, immediately consistent count should read `pagination.total` from the list endpoint instead.
//
// Corresponds with GET /api/v1/orgs/{org}/checks/stats (the `GetCheckStats` operationId).
GetCheckStats(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidateCheckWithBody Validate a check configuration without persisting it
//
// Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
ValidateCheckWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidateCheck Validate a check configuration without persisting it
//
// Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
ValidateCheck(ctx context.Context, org OrgPath, body ValidateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCheck Soft delete check
//
// Corresponds with DELETE /api/v1/orgs/{org}/checks/{checkUid} (the `DeleteCheck` operationId).
DeleteCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCheck Get check details
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid} (the `GetCheck` operationId).
GetCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *GetCheckParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCheckWithBody Update monitoring check
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
UpdateCheckWithBody(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCheck Update monitoring check
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
UpdateCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, body UpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CloneCheckWithBody Clone an existing check
//
// Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
CloneCheckWithBody(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CloneCheck Clone an existing check
//
// Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
CloneCheck(ctx context.Context, org OrgPath, checkUid CheckUidPath, body CloneCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCheckEvents List events for a check
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid}/events (the `ListCheckEvents` operationId).
ListCheckEvents(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *ListCheckEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateHeartbeatToken Rotate a heartbeat check's ping token
//
// Mints a fresh ping token for a heartbeat check (heartbeat checks only) and persists it, invalidating every previously issued ping URL immediately — unlike webhook signing-secret rotation, there is no grace period, since heartbeat pings are frequent and the operator is expected to update the sender right away. Returns 400 for non-heartbeat checks.
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/rotate-token (the `RotateHeartbeatToken` operationId).
RotateHeartbeatToken(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCheckAvailability Per-period availability statistics for a single check
//
// Returns real, server-measured availability for each requested period (replacing the old client-side estimate). availabilityPct and downtimeSeconds are probe-ratio (the share of probes that succeeded); the incidents block reports confirmed-outage wall-clock time. A period with no data has availabilityPct=null and hasData=false (no data is not 100%).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability (the `GetCheckAvailability` operationId).
GetCheckAvailability(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCheckAvailabilityBuckets Bucketed availability over an arbitrary window for a single check
//
// Cuts [from, to) into uniform, hour-aligned availability cells — the data behind the check-detail chart's availability strip. Deliberately a separate route from /api/v1/orgs/{org}/checks/{check}/availability, which speaks trailing calendar tokens with a tz, has no from/to at all and is capped at 12 periods.
//
// Counting is the shared engine's: lifecycle markers and abandoned attempts are excluded from BOTH numerator and denominator, warning counts as up, and maintenance probes count exactly like any other (maintenance exclusion is SLO-only). A cell with no countable probes has hasData=false, availabilityPct=null and status="noData" — no data is not 100%.
//
// Cells are aligned OUTWARD to bucket boundaries, so the series may start before `from` and end after `to`. The `window` object is the exact [from, to) fold (it also includes the month tier, which is deliberately never attributed to a single cell) and is what a client renders when the window is too short for a legible strip.
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability/buckets (the `GetCheckAvailabilityBuckets` operationId).
GetCheckAvailabilityBuckets(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityBucketsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBadge Get status badge for a check
//
// Returns an SVG badge showing the check's current status. No authentication required.
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/badges/{format} (the `GetBadge` operationId).
GetBadge(ctx context.Context, org OrgPath, check string, format GetBadgeParamsFormat, params *GetBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCheckChannels List channels bound to a check
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/channels (the `ListCheckChannels` operationId).
ListCheckChannels(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetCheckChannelsWithBody Replace the full set of channels bound to a check
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
SetCheckChannelsWithBody(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetCheckChannels Replace the full set of channels bound to a check
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
SetCheckChannels(ctx context.Context, org OrgPath, check string, body SetCheckChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveCheckChannel Unbind a single channel from a check
//
// Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `RemoveCheckChannel` operationId).
RemoveCheckChannel(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddCheckChannel Bind a single channel to a check
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `AddCheckChannel` operationId).
AddCheckChannel(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCheckDependencies List dependencies for a check
//
// Returns the dependsOn (parents) and dependedOnBy (children) edges of the given check.
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/dependencies (the `ListCheckDependencies` operationId).
ListCheckDependencies(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCheckDependencyWithBody Add a dependency edge to a check
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
CreateCheckDependencyWithBody(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCheckDependency Add a dependency edge to a check
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
CreateCheckDependency(ctx context.Context, org OrgPath, check string, body CreateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCheckDependency Remove a dependency edge
//
// Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `DeleteCheckDependency` operationId).
DeleteCheckDependency(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCheckDependencyWithBody Update a dependency edge
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
UpdateCheckDependencyWithBody(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCheckDependency Update a dependency edge
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
UpdateCheckDependency(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, body UpdateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrgResult Get a single result, with chronological neighbor UIDs
//
// Returns one result row by UID. When the raw row has been rolled up into an aggregation (see retention/aggregation), falls back to the smallest-period aggregation covering the requested UID's embedded UUIDv7 timestamp and includes a `fallback` block describing the substitution. previousUid/nextUid identify the next-older/next-newer row in the same check + periodType series (the covering aggregation's series when a fallback applies), omitted at either boundary. Two rows sharing periodStart are ordered by uid, so stepping across them never skips or repeats.
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/results/{uid} (the `GetOrgResult` operationId).
GetOrgResult(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, params *GetOrgResultParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertCheckWithBody Create or update check by slug (upsert)
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
UpsertCheckWithBody(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpsertCheck Create or update check by slug (upsert)
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
UpsertCheck(ctx context.Context, org OrgPath, slug string, body UpsertCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrgDependencyGraph Org-wide check dependency graph
//
// Returns every check (node) and every dependency edge in the organization.
//
// Corresponds with GET /api/v1/orgs/{org}/dependencies (the `GetOrgDependencyGraph` operationId).
GetOrgDependencyGraph(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// DismissDiscoveredGroup Dismiss a whole group of discovered checks
//
// Admin only. Soft-deletes every check in the given group (optionally scoped to one scan).
//
// Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks (the `DismissDiscoveredGroup` operationId).
DismissDiscoveredGroup(ctx context.Context, org OrgPath, params *DismissDiscoveredGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDiscoveredChecks List discovered (suggested) checks
//
// Returns suggested checks for the org, ordered by group then slug so clients can render them grouped by groupKey.
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/checks (the `ListDiscoveredChecks` operationId).
ListDiscoveredChecks(ctx context.Context, org OrgPath, params *ListDiscoveredChecksParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PromoteDiscoveredChecksWithBody Promote discovered checks into real checks
//
// Admin only. Creates one real check per referenced discovered-check row
// (config/name/slug already on the row; `overrides` may adjust name/period).
// Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
PromoteDiscoveredChecksWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PromoteDiscoveredChecks Promote discovered checks into real checks
//
// Admin only. Creates one real check per referenced discovered-check row
// (config/name/slug already on the row; `overrides` may adjust name/period).
// Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
PromoteDiscoveredChecks(ctx context.Context, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DismissDiscoveredCheck Dismiss a single discovered check
//
// Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks/{uid} (the `DismissDiscoveredCheck` operationId).
DismissDiscoveredCheck(ctx context.Context, org OrgPath, uid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDiscoveryScans List discovery scans
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/scans (the `ListDiscoveryScans` operationId).
ListDiscoveryScans(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartDiscoveryScanWithBody Start a discovery scan
//
// Admin only. The generic body is `{type, parameters}`; the discovery-type
// registry validates the parameters and resolves the job to enqueue. For LAN,
// parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox,
// `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a
// Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes,
// `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a
// stored Kubernetes cluster connection (empty `namespaces` scans every
// visible namespace).
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
StartDiscoveryScanWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartDiscoveryScan Start a discovery scan
//
// Admin only. The generic body is `{type, parameters}`; the discovery-type
// registry validates the parameters and resolves the job to enqueue. For LAN,
// parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox,
// `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a
// Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes,
// `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a
// stored Kubernetes cluster connection (empty `namespaces` scans every
// visible namespace).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
StartDiscoveryScan(ctx context.Context, org OrgPath, body StartDiscoveryScanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDiscoveryScan Get a discovery scan with progress
//
// Returns the scan job plus a uniform progress block for every scan type (chunked scans roll up their children; non-chunked scans report totalChunks=1).
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/scans/{jobUid} (the `GetDiscoveryScan` operationId).
GetDiscoveryScan(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelDiscoveryScan Cancel a discovery scan
//
// Admin only. Cancels the scan and drops every pending fan-out child chunk. Children already running finish naturally.
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/scans/{jobUid}/cancel (the `CancelDiscoveryScan` operationId).
CancelDiscoveryScan(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDiscoveryTypes List registered discovery types
//
// Returns the discovery types (lan, freebox, …) available to drive a scan, so a client can build its type picker without hard-coding the set.
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/types (the `ListDiscoveryTypes` operationId).
ListDiscoveryTypes(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEmailSuppressions List email suppressions
//
// Corresponds with GET /api/v1/orgs/{org}/email-suppressions (the `ListEmailSuppressions` operationId).
ListEmailSuppressions(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEmailSuppression Remove an email suppression (re-subscribe)
//
// Corresponds with DELETE /api/v1/orgs/{org}/email-suppressions/{uid} (the `DeleteEmailSuppression` operationId).
DeleteEmailSuppression(ctx context.Context, org OrgPath, uid EmailSuppressionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEntitlements Get resolved entitlements for an organization
//
// Corresponds with GET /api/v1/orgs/{org}/entitlements (the `GetEntitlements` operationId).
GetEntitlements(ctx context.Context, org OrgPath, params *GetEntitlementsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchEntitlementsWithBody Partially update an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
PatchEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchEntitlements Partially update an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
PatchEntitlements(ctx context.Context, org OrgPath, body PatchEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetEntitlementsWithBody Replace an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
SetEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetEntitlements Replace an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
SetEntitlements(ctx context.Context, org OrgPath, body SetEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEntitlementsAudits List entitlement change audits
//
// Corresponds with GET /api/v1/orgs/{org}/entitlements/audits (the `ListEntitlementsAudits` operationId).
ListEntitlementsAudits(ctx context.Context, org OrgPath, params *ListEntitlementsAuditsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEscalationPolicies List escalation policies
//
// Corresponds with GET /api/v1/orgs/{org}/escalation-policies (the `ListEscalationPolicies` operationId).
ListEscalationPolicies(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEscalationPolicyWithBody Create an escalation policy
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
CreateEscalationPolicyWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEscalationPolicy Create an escalation policy
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
CreateEscalationPolicy(ctx context.Context, org OrgPath, body CreateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEscalationPolicy Delete an escalation policy
//
// Corresponds with DELETE /api/v1/orgs/{org}/escalation-policies/{uid} (the `DeleteEscalationPolicy` operationId).
DeleteEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEscalationPolicy Get an escalation policy
//
// Corresponds with GET /api/v1/orgs/{org}/escalation-policies/{uid} (the `GetEscalationPolicy` operationId).
GetEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEscalationPolicyWithBody Update an escalation policy
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
UpdateEscalationPolicyWithBody(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEscalationPolicy Update an escalation policy
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
UpdateEscalationPolicy(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, body UpdateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEvents List events
//
// Corresponds with GET /api/v1/orgs/{org}/events (the `ListEvents` operationId).
ListEvents(ctx context.Context, org OrgPath, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFiles List stored files
//
// Corresponds with GET /api/v1/orgs/{org}/files (the `ListFiles` operationId).
ListFiles(ctx context.Context, org OrgPath, params *ListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFile Delete a file
//
// Corresponds with DELETE /api/v1/orgs/{org}/files/{uid} (the `DeleteFile` operationId).
DeleteFile(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFile Get file metadata
//
// Corresponds with GET /api/v1/orgs/{org}/files/{uid} (the `GetFile` operationId).
GetFile(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadFile Download file content
//
// Corresponds with GET /api/v1/orgs/{org}/files/{uid}/content (the `DownloadFile` operationId).
DownloadFile(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidents List incidents
//
// Corresponds with GET /api/v1/orgs/{org}/incidents (the `ListIncidents` operationId).
ListIncidents(ctx context.Context, org OrgPath, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentPublications List every status page this incident is published on
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `ListIncidentPublications` operationId).
ListIncidentPublications(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// PublishIncidentWithBody Publish this incident on a status page
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
PublishIncidentWithBody(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PublishIncident Publish this incident on a status page
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
PublishIncident(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, body PublishIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnpublishIncident Unpublish this incident from a status page
//
// Corresponds with DELETE /api/v1/orgs/{org}/incidents/{incidentUid}/publications/{uid} (the `UnpublishIncident` operationId).
UnpublishIncident(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncident Get incident details
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid} (the `GetIncident` operationId).
GetIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, params *GetIncidentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcknowledgeIncidentWithBody Acknowledge an incident
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
AcknowledgeIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AcknowledgeIncident Acknowledge an incident
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
AcknowledgeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, body AcknowledgeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddIncidentCommentWithBody Add a comment to an incident
//
// Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
AddIncidentCommentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddIncidentComment Add a comment to an incident
//
// Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
AddIncidentComment(ctx context.Context, org OrgPath, uid IncidentUidPath, body AddIncidentCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentEvents List events for an incident
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/events (the `ListIncidentEvents` operationId).
ListIncidentEvents(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIncidentNotifications List notification deliveries for an incident
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications (the `ListIncidentNotifications` operationId).
ListIncidentNotifications(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIncidentNotification Get an incident notification delivery by UID
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications/{notifUid} (the `GetIncidentNotification` operationId).
GetIncidentNotification(ctx context.Context, org OrgPath, uid IncidentUidPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveIncidentWithBody Resolve an incident
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
ResolveIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveIncident Resolve an incident
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
ResolveIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, body ResolveIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SnoozeIncidentWithBody Snooze an incident
//
// Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
SnoozeIncidentWithBody(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SnoozeIncident Snooze an incident
//
// Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
SnoozeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, body SnoozeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnacknowledgeIncident Remove acknowledgement from an incident
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unack (the `UnacknowledgeIncident` operationId).
UnacknowledgeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnsnoozeIncident Clear an incident snooze
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unsnooze (the `UnsnoozeIncident` operationId).
UnsnoozeIncident(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIntegrationIdentities List member identity mappings for an integration
//
// Returns every organization member together with their identity on this integration (e.g. their Slack user id on the connected workspace). Identities are used to mention the on-call person in channel alerts; they are never used for paging. Read-only and cheap: this never calls out to the provider. Slack-only — other integration types return 400.
//
// Corresponds with GET /api/v1/orgs/{org}/integrations/{uid}/identities (the `ListIntegrationIdentities` operationId).
ListIntegrationIdentities(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyncIntegrationIdentities Re-run the member identity auto-match
//
// Looks every organization member up in the connected Slack workspace by email (`users.lookupByEmail`) and records the matches. Manual overrides are never overwritten, and a workspace account that two members both resolve to is reported ambiguous and written nowhere. Admin only.
//
// Corresponds with POST /api/v1/orgs/{org}/integrations/{uid}/identities/sync (the `SyncIntegrationIdentities` operationId).
SyncIntegrationIdentities(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIntegrationIdentity Clear a member's identity on an integration
//
// Corresponds with DELETE /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `DeleteIntegrationIdentity` operationId).
DeleteIntegrationIdentity(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetIntegrationIdentityWithBody Set a member's identity on an integration
//
// Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
SetIntegrationIdentityWithBody(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetIntegrationIdentity Set a member's identity on an integration
//
// Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
SetIntegrationIdentity(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, body SetIntegrationIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInvitations List pending invitations
//
// Corresponds with GET /api/v1/orgs/{org}/invitations (the `ListInvitations` operationId).
ListInvitations(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInvitationWithBody Create an invitation
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
CreateInvitationWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInvitation Create an invitation
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
CreateInvitation(ctx context.Context, org OrgPath, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInvitation Revoke a pending invitation
//
// Corresponds with DELETE /api/v1/orgs/{org}/invitations/{uid} (the `DeleteInvitation` operationId).
DeleteInvitation(ctx context.Context, org OrgPath, uid InvitationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListJobs List jobs
//
// Corresponds with GET /api/v1/orgs/{org}/jobs (the `ListJobs` operationId).
ListJobs(ctx context.Context, org OrgPath, params *ListJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateJobWithBody Create a job (org admin, allowlisted types only)
//
// Enqueues a background job. **Requires org admin** — a member with the
// `user` or `viewer` role is refused with 403.
//
// Only allowlisted job types may be created through this endpoint, and
// the allowlist currently contains **`sleep`** alone. Every other type
// (`email`, `webhook`, `aggregation`, `notification`, the discovery
// family, …) is refused with 403: they are internal plumbing enqueued by
// SolidPing itself, and exposing them would hand any caller an arbitrary
// mail sender (`email`) and arbitrary server-side HTTP requests
// (`webhook`).
//
// An unknown job type, or a `config` that is invalid for the requested
// type, is a 400 — never a 500.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
CreateJobWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateJob Create a job (org admin, allowlisted types only)
//
// Enqueues a background job. **Requires org admin** — a member with the
// `user` or `viewer` role is refused with 403.
//
// Only allowlisted job types may be created through this endpoint, and
// the allowlist currently contains **`sleep`** alone. Every other type
// (`email`, `webhook`, `aggregation`, `notification`, the discovery
// family, …) is refused with 403: they are internal plumbing enqueued by
// SolidPing itself, and exposing them would hand any caller an arbitrary
// mail sender (`email`) and arbitrary server-side HTTP requests
// (`webhook`).
//
// An unknown job type, or a `config` that is invalid for the requested
// type, is a 400 — never a 500.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
CreateJob(ctx context.Context, org OrgPath, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJobStats Job & check-schedule stats
//
// Aggregate counts over the background-jobs queue and the check schedule for the org.
//
// Corresponds with GET /api/v1/orgs/{org}/jobs/stats (the `GetJobStats` operationId).
GetJobStats(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelJob Cancel a pending job
//
// Corresponds with DELETE /api/v1/orgs/{org}/jobs/{uid} (the `CancelJob` operationId).
CancelJob(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJob Get job details
//
// Corresponds with GET /api/v1/orgs/{org}/jobs/{uid} (the `GetJob` operationId).
GetJob(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListLabels List label key/value suggestions
//
// Returns distinct label keys, or distinct values for a given key when the "key" query parameter is set, with usage counts for popularity sort.
//
// Corresponds with GET /api/v1/orgs/{org}/labels (the `ListLabels` operationId).
ListLabels(ctx context.Context, org OrgPath, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOrgLogo Clear the organization logo
//
// Removes the organization's logo. **Owner only.** An uploaded image is retired at the same time, so its public URL stops resolving.
//
// Corresponds with DELETE /api/v1/orgs/{org}/logo (the `DeleteOrgLogo` operationId).
DeleteOrgLogo(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadOrgLogoWithBody Upload the organization logo
//
// Stores an uploaded image as the organization's logo and points `logoUrl` at its public URL. **Owner only.**
//
// Accepted content types are `image/png`, `image/jpeg`, `image/webp`, `image/gif` and `image/svg+xml`, up to 1 MB. Anything else is a 422 VALIDATION_ERROR; an oversized body is a 413.
//
// The content type is the one the client declares in the multipart part header — the bytes are never sniffed or checked against it. The declared value is clamped to the allowlist and is what gets stored and echoed back as `Content-Type`, so an SVG uploaded as `image/png` is stored and served as `image/png`. The serving rules below never assume the type is harmless, which is what makes that safe.
//
// The resulting URL (`/pub/assets/{fileUid}`) is unsigned and stable, but authorized by the stored file's attachment topic: only a file attached under `organizations/{orgUid}/logo` is served there, and only while that file row is live — so replacing or clearing the logo un-publishes the previous image immediately. Uploaded SVGs are always served with `Content-Disposition: attachment` and `X-Content-Type-Options: nosniff` so they cannot execute as a document on the application's origin; they still render normally in an `img` element.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/logo (the `UploadOrgLogo` operationId).
UploadOrgLogoWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMaintenanceWindows List maintenance windows
//
// Corresponds with GET /api/v1/orgs/{org}/maintenance-windows (the `ListMaintenanceWindows` operationId).
ListMaintenanceWindows(ctx context.Context, org OrgPath, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMaintenanceWindowWithBody Create a maintenance window
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
CreateMaintenanceWindowWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMaintenanceWindow Create a maintenance window
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
CreateMaintenanceWindow(ctx context.Context, org OrgPath, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMaintenanceWindow Delete a maintenance window
//
// Corresponds with DELETE /api/v1/orgs/{org}/maintenance-windows/{uid} (the `DeleteMaintenanceWindow` operationId).
DeleteMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMaintenanceWindow Get a maintenance window
//
// Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid} (the `GetMaintenanceWindow` operationId).
GetMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMaintenanceWindowWithBody Update a maintenance window
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
UpdateMaintenanceWindowWithBody(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMaintenanceWindow Update a maintenance window
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
UpdateMaintenanceWindow(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMaintenanceWindowChecks List the checks covered by a maintenance window
//
// Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `ListMaintenanceWindowChecks` operationId).
ListMaintenanceWindowChecks(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMaintenanceWindowChecksWithBody Set the checks covered by a maintenance window
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
SetMaintenanceWindowChecksWithBody(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMaintenanceWindowChecks Set the checks covered by a maintenance window
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
SetMaintenanceWindowChecks(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body SetMaintenanceWindowChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMyNotifications List the caller's notification deliveries
//
// Corresponds with GET /api/v1/orgs/{org}/me/notifications (the `ListMyNotifications` operationId).
ListMyNotifications(ctx context.Context, org OrgPath, params *ListMyNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMembers List organization members
//
// Corresponds with GET /api/v1/orgs/{org}/members (the `ListMembers` operationId).
ListMembers(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMemberWithBody Add member to organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
AddMemberWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMember Add member to organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
AddMember(ctx context.Context, org OrgPath, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMemberCoverage List per-member paging coverage
//
// Per-member notification coverage for the organization. Exposes channel TYPES and verified/enabled flags only — never a contact value, since per-user contacts belong to the member and are otherwise `users/me` scoped. `emailFallbackOnly` marks members nothing but email can reach. Admin only.
//
// Corresponds with GET /api/v1/orgs/{org}/members/coverage (the `ListMemberCoverage` operationId).
ListMemberCoverage(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveMember Remove member from organization
//
// Corresponds with DELETE /api/v1/orgs/{org}/members/{uid} (the `RemoveMember` operationId).
RemoveMember(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMember Get member details
//
// Corresponds with GET /api/v1/orgs/{org}/members/{uid} (the `GetMember` operationId).
GetMember(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMemberWithBody Update member role
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
UpdateMemberWithBody(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMember Update member role
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
UpdateMember(ctx context.Context, org OrgPath, uid MemberUidPath, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMemberContactWithBody Pre-provision an unverified paging contact for a member
//
// Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
AddMemberContactWithBody(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMemberContact Pre-provision an unverified paging contact for a member
//
// Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
AddMemberContact(ctx context.Context, org OrgPath, uid MemberUidPath, body AddMemberContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendMemberPagingNudge Email a member asking them to set up their paging
//
// Sends a "set up your alert notifications" email with a link to the member's own notification settings. Carries no contact data and no verification code. Admin only.
//
// Corresponds with POST /api/v1/orgs/{org}/members/{uid}/paging-nudge (the `SendMemberPagingNudge` operationId).
SendMemberPagingNudge(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOrgMembershipRequests List an organization's membership requests
//
// Corresponds with GET /api/v1/orgs/{org}/membership-requests (the `ListOrgMembershipRequests` operationId).
ListOrgMembershipRequests(ctx context.Context, org OrgPath, params *ListOrgMembershipRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApproveMembershipRequestWithBody Approve a membership request
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
ApproveMembershipRequestWithBody(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApproveMembershipRequest Approve a membership request
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
ApproveMembershipRequest(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body ApproveMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RejectMembershipRequestWithBody Reject a membership request
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
RejectMembershipRequestWithBody(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RejectMembershipRequest Reject a membership request
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
RejectMembershipRequest(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body RejectMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListNotifications List notification deliveries by connection
//
// Lists notification delivery audit rows for the org, filtered by a connection (channel). `connectionUid` is required.
//
// Corresponds with GET /api/v1/orgs/{org}/notifications (the `ListNotifications` operationId).
ListNotifications(ctx context.Context, org OrgPath, params *ListNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNotification Get a notification delivery by UID
//
// Corresponds with GET /api/v1/orgs/{org}/notifications/{notifUid} (the `GetNotification` operationId).
GetNotification(ctx context.Context, org OrgPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOncallSchedules List on-call schedules
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules (the `ListOncallSchedules` operationId).
ListOncallSchedules(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOncallScheduleWithBody Create an on-call schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
CreateOncallScheduleWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOncallSchedule Create an on-call schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
CreateOncallSchedule(ctx context.Context, org OrgPath, body CreateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOncallSchedule Delete an on-call schedule
//
// Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid} (the `DeleteOncallSchedule` operationId).
DeleteOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOncallSchedule Get an on-call schedule
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid} (the `GetOncallSchedule` operationId).
GetOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOncallScheduleWithBody Update an on-call schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
UpdateOncallScheduleWithBody(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOncallSchedule Update an on-call schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
UpdateOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body UpdateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisableOncallIcalFeed Disable the iCal feed for an on-call schedule
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/disable (the `DisableOncallIcalFeed` operationId).
DisableOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnableOncallIcalFeed Enable the iCal feed for an on-call schedule
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/enable (the `EnableOncallIcalFeed` operationId).
EnableOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateOncallIcalFeed Rotate the iCal feed secret for an on-call schedule
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/rotate (the `RotateOncallIcalFeed` operationId).
RotateOncallIcalFeed(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOncallOverrides List overrides on an on-call schedule
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `ListOncallOverrides` operationId).
ListOncallOverrides(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *ListOncallOverridesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOncallOverrideWithBody Create an override on an on-call schedule
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
CreateOncallOverrideWithBody(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOncallOverride Create an override on an on-call schedule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
CreateOncallOverride(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body CreateOncallOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteOncallOverride Delete an override
//
// Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides/{overrideUid} (the `DeleteOncallOverride` operationId).
DeleteOncallOverride(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, overrideUid OncallOverrideUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewOncallSchedule Preview the on-call rotation over a window
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/preview (the `PreviewOncallSchedule` operationId).
PreviewOncallSchedule(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *PreviewOncallScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRegions List regions available to an organization
//
// Corresponds with GET /api/v1/orgs/{org}/regions (the `ListRegions` operationId).
ListRegions(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListReportSchedules List scheduled uptime reports
//
// Corresponds with GET /api/v1/orgs/{org}/report-schedules (the `ListReportSchedules` operationId).
ListReportSchedules(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateReportScheduleWithBody Create a scheduled uptime report
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
CreateReportScheduleWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateReportSchedule Create a scheduled uptime report
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
CreateReportSchedule(ctx context.Context, org OrgPath, body CreateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteReportSchedule Delete a scheduled uptime report
//
// Corresponds with DELETE /api/v1/orgs/{org}/report-schedules/{uid} (the `DeleteReportSchedule` operationId).
DeleteReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetReportSchedule Get a scheduled uptime report
//
// Corresponds with GET /api/v1/orgs/{org}/report-schedules/{uid} (the `GetReportSchedule` operationId).
GetReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateReportScheduleWithBody Update a scheduled uptime report
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
UpdateReportScheduleWithBody(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateReportSchedule Update a scheduled uptime report
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
UpdateReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body UpdateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestReportScheduleWithBody Send the report immediately to the caller
//
// Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
TestReportScheduleWithBody(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestReportSchedule Send the report immediately to the caller
//
// Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
TestReportSchedule(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body TestReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOrgResults List results across all checks in organization
//
// Corresponds with GET /api/v1/orgs/{org}/results (the `ListOrgResults` operationId).
ListOrgResults(ctx context.Context, org OrgPath, params *ListOrgResultsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrgSettings Get organization settings
//
// Corresponds with GET /api/v1/orgs/{org}/settings (the `GetOrgSettings` operationId).
GetOrgSettings(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgSettingsWithBody Update organization settings
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
UpdateOrgSettingsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateOrgSettings Update organization settings
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
UpdateOrgSettings(ctx context.Context, org OrgPath, body UpdateOrgSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSeverities List severities
//
// Corresponds with GET /api/v1/orgs/{org}/severities (the `ListSeverities` operationId).
ListSeverities(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSeverityWithBody Create a severity
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
CreateSeverityWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSeverity Create a severity
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
CreateSeverity(ctx context.Context, org OrgPath, body CreateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSeverity Delete a severity
//
// Corresponds with DELETE /api/v1/orgs/{org}/severities/{uid} (the `DeleteSeverity` operationId).
DeleteSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSeverity Get a severity
//
// Corresponds with GET /api/v1/orgs/{org}/severities/{uid} (the `GetSeverity` operationId).
GetSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSeverityWithBody Update a severity
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
UpdateSeverityWithBody(ctx context.Context, org OrgPath, uid SeverityUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSeverity Update a severity
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
UpdateSeverity(ctx context.Context, org OrgPath, uid SeverityUidPath, body UpdateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSlos List service-level objectives
//
// Corresponds with GET /api/v1/orgs/{org}/slos (the `ListSlos` operationId).
ListSlos(ctx context.Context, org OrgPath, params *ListSlosParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSloWithBody Create a service-level objective
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
CreateSloWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSlo Create a service-level objective
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
CreateSlo(ctx context.Context, org OrgPath, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSlo Delete a service-level objective
//
// Corresponds with DELETE /api/v1/orgs/{org}/slos/{uid} (the `DeleteSlo` operationId).
DeleteSlo(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSlo Get a service-level objective
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid} (the `GetSlo` operationId).
GetSlo(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSloWithBody Update a service-level objective
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
UpdateSloWithBody(ctx context.Context, org OrgPath, uid SLOUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSlo Update a service-level objective
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
UpdateSlo(ctx context.Context, org OrgPath, uid SLOUidPath, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSloAlertPolicies List an objective's burn-rate alert policies
//
// Two built-in multiwindow burn-rate policies (`fast` and `slow`), materialized on demand so an objective created before the feature existed answers exactly like a new one. Both start disabled — alerting is opt-in. `longBurnRate` / `shortBurnRate` are recomputed for the request rather than read back from the stored readout, and are null (never 0) when a window carries no countable probe.
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies (the `ListSloAlertPolicies` operationId).
ListSloAlertPolicies(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSloAlertPolicy Get one burn-rate alert policy
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `GetSloAlertPolicy` operationId).
GetSloAlertPolicy(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSloAlertPolicyWithBody Tune a burn-rate alert policy
//
// `kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
UpdateSloAlertPolicyWithBody(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSloAlertPolicy Tune a burn-rate alert policy
//
// `kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
UpdateSloAlertPolicy(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, body UpdateSloAlertPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSloBurndown Error-budget burn-down for the current window
//
// Cumulative series. Consumption is accrued per step and summed forward, so `budgetRemainingSeconds` is monotonically non-increasing by construction — it cannot climb back up when probe density changes. It is not clamped at zero: an overspent budget reports a negative remainder. A step with no countable probe spends nothing (no data is not downtime).
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/burndown (the `GetSloBurndown` operationId).
GetSloBurndown(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSloHistory Past monthly windows for an objective
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/history (the `GetSloHistory` operationId).
GetSloHistory(ctx context.Context, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSloStatus Evaluate an objective over the current calendar window
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/status (the `GetSloStatus` operationId).
GetSloStatus(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPages List status pages
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages (the `ListStatusPages` operationId).
ListStatusPages(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageWithBody Create a status page
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
CreateStatusPageWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPage Create a status page
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
CreateStatusPage(ctx context.Context, org OrgPath, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPage Delete a status page
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `DeleteStatusPage` operationId).
DeleteStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPage Get a status page
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `GetStatusPage` operationId).
GetStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *GetStatusPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageWithBody Update a status page
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
UpdateStatusPageWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPage Update a status page
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
UpdateStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyStatusPageCustomDomain Verify a status page's custom domain
//
// Resolves the domain's CNAME and compares it against the expected target for the configured mode (server.custom_domain_cname_mode: "shared" uses the installation target, "token" uses the page-specific "<token>.cname.<target>" host — there is no dual-accept). Stamps the result. Rate-limited per organization.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/custom-domain/verify (the `VerifyStatusPageCustomDomain` operationId).
VerifyStatusPageCustomDomain(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPageIncidents List the incident publications on a status page
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `ListStatusPageIncidents` operationId).
ListStatusPageIncidents(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageIncidentWithBody Publish a hand-written incident on a status page
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
CreateStatusPageIncidentWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageIncident Publish a hand-written incident on a status page
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
CreateStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageIncident Get one incident publication with its narrative
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `GetStatusPageIncident` operationId).
GetStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageIncidentWithBody Edit a publication's title, severity or state
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
UpdateStatusPageIncidentWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageIncident Edit a publication's title, severity or state
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
UpdateStatusPageIncident(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageIncidentUpdateWithBody Append a narrative update to a published incident
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
CreateStatusPageIncidentUpdateWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageIncidentUpdate Append a narrative update to a published incident
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
CreateStatusPageIncidentUpdate(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeStatusPageKioskToken Revoke a status page's kiosk token
//
// Clears the stored hash. Any screen still presenting the old token falls straight back to the page's ordinary visibility rules — 401 for a `password` page, 404 for a `private` one — with no distinguishable "revoked" answer. Idempotent: revoking a page that has no token succeeds.
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `RevokeStatusPageKioskToken` operationId).
RevokeStatusPageKioskToken(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GenerateStatusPageKioskToken Mint or regenerate a status page's kiosk (TV mode) token
//
// Mints the page's single kiosk token — a long-lived, revocable, per-page secret a wallboard presents as a `kiosk` query parameter so an office TV can render a `password` or `private` page unattended. It grants READ-ONLY view of this one page and nothing else.
//
// The plaintext is returned HERE AND NOWHERE ELSE: only its sha256 is stored, so an operator who loses it regenerates rather than recovers. Calling this on a page that already has a token REPLACES it, which immediately invalidates the screen using the old one.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `GenerateStatusPageKioskToken` operationId).
GenerateStatusPageKioskToken(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPageSections List sections of a status page
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `ListStatusPageSections` operationId).
ListStatusPageSections(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageSectionWithBody Create a section
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
CreateStatusPageSectionWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageSection Create a section
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
CreateStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReorderStatusPageSectionsWithBody Reorder the sections of a status page
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
ReorderStatusPageSectionsWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReorderStatusPageSections Reorder the sections of a status page
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
ReorderStatusPageSections(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body ReorderStatusPageSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPageSection Delete a section
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `DeleteStatusPageSection` operationId).
DeleteStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageSection Get a section
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `GetStatusPageSection` operationId).
GetStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageSectionWithBody Update a section
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
UpdateStatusPageSectionWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageSection Update a section
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
UpdateStatusPageSection(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body UpdateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPageResources List resources of a section
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `ListStatusPageResources` operationId).
ListStatusPageResources(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageResourceWithBody Add a check as a resource to a section
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
CreateStatusPageResourceWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageResource Add a check as a resource to a section
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
CreateStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body CreateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReorderStatusPageResourcesWithBody Reorder the resources of a section
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
ReorderStatusPageResourcesWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReorderStatusPageResources Reorder the resources of a section
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
ReorderStatusPageResources(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body ReorderStatusPageResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusPageResource Remove a resource from a section
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `DeleteStatusPageResource` operationId).
DeleteStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageResourceWithBody Update a resource
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
UpdateStatusPageResourceWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusPageResource Update a resource
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
UpdateStatusPageResource(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, body UpdateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusPageSubscribers List subscribers of a status page
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `ListStatusPageSubscribers` operationId).
ListStatusPageSubscribers(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// SubscribeToStatusPageWithBody Subscribe an email address to a status page
//
// PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
//
// Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
SubscribeToStatusPageWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SubscribeToStatusPage Subscribe an email address to a status page
//
// PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
//
// Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
SubscribeToStatusPage(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body SubscribeToStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageEndpointSubscriberWithBody Register a webhook or Slack delivery for a status page
//
// AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
//
// The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
//
// Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
//
// The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
CreateStatusPageEndpointSubscriberWithBody(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusPageEndpointSubscriber Register a webhook or Slack delivery for a status page
//
// AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
//
// The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
//
// Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
//
// The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
CreateStatusPageEndpointSubscriber(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageEndpointSubscriberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveStatusPageSubscriber Remove a subscriber from a status page
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/{uid} (the `RemoveStatusPageSubscriber` operationId).
RemoveStatusPageSubscriber(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid SubscriberUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListStatusUpdates List status updates
//
// Corresponds with GET /api/v1/orgs/{org}/status-updates (the `ListStatusUpdates` operationId).
ListStatusUpdates(ctx context.Context, org OrgPath, params *ListStatusUpdatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusUpdateWithBody Create a status update
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
CreateStatusUpdateWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStatusUpdate Create a status update
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
CreateStatusUpdate(ctx context.Context, org OrgPath, body CreateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteStatusUpdate Delete a status update
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-updates/{uid} (the `DeleteStatusUpdate` operationId).
DeleteStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusUpdate Get a status update
//
// Corresponds with GET /api/v1/orgs/{org}/status-updates/{uid} (the `GetStatusUpdate` operationId).
GetStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusUpdateWithBody Update a status update
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
UpdateStatusUpdateWithBody(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateStatusUpdate Update a status update
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
UpdateStatusUpdate(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, body UpdateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOrgTokens List user's tokens for an organization
//
// Corresponds with GET /api/v1/orgs/{org}/tokens (the `ListOrgTokens` operationId).
ListOrgTokens(ctx context.Context, org OrgPath, params *ListOrgTokensParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTokenWithBody Create Personal Access Token for organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
CreateTokenWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateToken Create Personal Access Token for organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
CreateToken(ctx context.Context, org OrgPath, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMyNotificationContactWithBody Add a notification contact (and its route) for the caller
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
AddMyNotificationContactWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMyNotificationContact Add a notification contact (and its route) for the caller
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
AddMyNotificationContact(ctx context.Context, org OrgPath, body AddMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveMyNotificationContact Remove one of the caller's notification contacts
//
// Corresponds with DELETE /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid} (the `RemoveMyNotificationContact` operationId).
RemoveMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyMyNotificationContact Send a verification code to a phone contact
//
// Issues a 6-digit code (10-minute expiry, rate-limited to 3/hour per contact) and sends it via the organization's default Twilio connection. Only phone contacts can be verified.
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify (the `VerifyMyNotificationContact` operationId).
VerifyMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfirmMyNotificationContactWithBody Confirm a phone contact with its verification code
//
// Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
ConfirmMyNotificationContactWithBody(ctx context.Context, org OrgPath, contactUid ContactUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConfirmMyNotificationContact Confirm a phone contact with its verification code
//
// Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
ConfirmMyNotificationContact(ctx context.Context, org OrgPath, contactUid ContactUidPath, body ConfirmMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMyNotificationRoutes List the caller's notification routes
//
// Corresponds with GET /api/v1/orgs/{org}/users/me/notification-routes (the `ListMyNotificationRoutes` operationId).
ListMyNotificationRoutes(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMyNotificationRouteWithBody Update one of the caller's notification routes
//
// Toggle the enabled flag and/or reorder the full route list.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
UpdateMyNotificationRouteWithBody(ctx context.Context, org OrgPath, routeUid RouteUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateMyNotificationRoute Update one of the caller's notification routes
//
// Toggle the enabled flag and/or reorder the full route list.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
UpdateMyNotificationRoute(ctx context.Context, org OrgPath, routeUid RouteUidPath, body UpdateMyNotificationRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestMyNotificationRoute Send a test notification through one of the caller's routes
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-routes/{routeUid}/test (the `TestMyNotificationRoute` operationId).
TestMyNotificationRoute(ctx context.Context, org OrgPath, routeUid RouteUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMyTelegramLink Mint a single-use Telegram connect link for the caller
//
// Returns a `https://t.me/<botUsername>?start=<token>` deep link carrying
// a single-use, high-entropy token (TTL 15 minutes).
//
// Nothing is created by this call. The Telegram contact only comes into
// existence when the user actually presses **Start** in Telegram and the
// resulting `/start <token>` reaches the instance webhook — pressing Start
// is both the proof of reachability and the opt-in, which is why this
// channel has no verification code round-trip.
//
// A replayed token is a no-op, not a second contact. Poll
// `GET /api/v1/orgs/{org}/users/me/notification-routes` to observe the new
// contact appear.
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/telegram/link (the `CreateMyTelegramLink` operationId).
CreateMyTelegramLink(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUserNotifications List a user's notification deliveries
//
// Admins may query any user; non-admin members may only query themselves (403 otherwise).
//
// Corresponds with GET /api/v1/orgs/{org}/users/{uid}/notifications (the `ListUserNotifications` operationId).
ListUserNotifications(ctx context.Context, org OrgPath, uid UserUidPath, params *ListUserNotificationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CustomDomainAllowed Edge-TLS custom-domain check (public)
//
// Returns 204 when the queried domain currently resolves to a verified, enabled, public status page, and 404 otherwise. No body. This is the contract for Caddy on_demand_tls / cert-manager gating on an external TLS edge; it is unchanged by, and independent of, the server's own in-server ACME support (config acme.enabled).
//
// Corresponds with GET /api/v1/public/custom-domains/allowed (the `CustomDomainAllowed` operationId).
CustomDomainAllowed(ctx context.Context, params *CustomDomainAllowedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ViewDefaultStatusPage View an organization's default public status page
//
// Renders the same payload as GET /api/v1/status-pages/{org}/{slug}, resolved to the organization's default page. No authentication required.
//
// Corresponds with GET /api/v1/status-pages/{org} (the `ViewDefaultStatusPage` operationId).
ViewDefaultStatusPage(ctx context.Context, org OrgPath, params *ViewDefaultStatusPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlockDefaultStatusPageWithBody Unlock an organization's password-protected default status page
//
// Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
UnlockDefaultStatusPageWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlockDefaultStatusPage Unlock an organization's password-protected default status page
//
// Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
UnlockDefaultStatusPage(ctx context.Context, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ViewStatusPage View a public status page
//
// Full public rendering of a status page: sections, per-resource live status, and (when enabled) availability/response-time history. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required. Caching follows the page's visibility: a `public` page carries Cache-Control: public, max-age=60, while a `password` or `private` page — and every 401/404 answer — carries Cache-Control: private, no-store, so a shared cache can never retain a gated page's body. Holding a valid unlock cookie does not change that: it authorizes the visitor, not the CDN in front of them. Public responses carry Vary: X-Forwarded-Proto (the header the absolute URLs in these payloads derive their scheme from); gated ones add Cookie.
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug} (the `ViewStatusPage` operationId).
ViewStatusPage(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStatusPageBadge SVG badge for a status page's overall status
//
// Public SVG badge (shields.io style) reflecting the page-level rollup status — the static, script-free sibling of the JS embed widget, for contexts like GitHub READMEs where scripts can't run. Same visibility gate as the full view and the summary endpoint: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one — the badge renders the rollup status of a page the requester may not be entitled to see. No authentication required.
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/badge (the `GetStatusPageBadge` operationId).
GetStatusPageBadge(ctx context.Context, org OrgPath, slug string, params *GetStatusPageBadgeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// StatusPageFeed Atom feed of a status page's status-update timeline
//
// Public Atom/RSS feed of the page's recent status updates (incident posts and manual updates). Same visibility gate as the full page view, and the same visibility-driven caching: Cache-Control: public, max-age=300 for a `public` page, private, no-store for a `password` or `private` one — the feed quotes update titles and bodies verbatim. No authentication required.
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/feed.xml (the `StatusPageFeed` operationId).
StatusPageFeed(ctx context.Context, org OrgPath, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ViewPublicStatusPageIncidents Public incident history for a status page
//
// The customer-facing incidents published on this page (spec 2026-08-19-08). Without `active`, returns the page's history window; with `active=true`, only the incidents that are still open — the same set the full page view embeds as `activeIncidents[]`.
// Same visibility gate as the full page view: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too — Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not), since this payload quotes incident titles and update bodies verbatim. No authentication required.
// Every field is operator-authored or templated from the page's own public resource names. Probe output, error strings and internal hostnames are structurally unable to reach this payload.
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/incidents (the `ViewPublicStatusPageIncidents` operationId).
ViewPublicStatusPageIncidents(ctx context.Context, org OrgPath, slug string, params *ViewPublicStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ViewStatusPageSummary Lightweight status summary for a status page
//
// Cheap "is it up?" companion to the full page view: overall status, per-category counts, page identity, and the canonical public URL — no sections, no per-resource history. Same visibility gate AND the same caching rule as the full page view: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not) and for every 401/404 answer. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required.
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/summary (the `ViewStatusPageSummary` operationId).
ViewStatusPageSummary(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlockStatusPageWithBody Unlock a password-protected status page
//
// Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
//
// The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
//
// Attempts are rate limited per (client IP, page).
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
UnlockStatusPageWithBody(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlockStatusPage Unlock a password-protected status page
//
// Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
//
// The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
//
// Attempts are rate limited per (client IP, page).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
UnlockStatusPage(ctx context.Context, org OrgPath, slug string, body UnlockStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSupportThreads List support threads
//
// Returns captured support conversations, most recent activity first. Super-admin only.
//
// Corresponds with GET /api/v1/support/threads (the `ListSupportThreads` operationId).
ListSupportThreads(ctx context.Context, params *ListSupportThreadsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSupportThread Get one support thread
//
// Returns the thread, marking it read. Super-admin only.
//
// Corresponds with GET /api/v1/support/threads/{uid} (the `GetSupportThread` operationId).
GetSupportThread(ctx context.Context, uid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSupportThreadWithBody Update a support thread
//
// Change the operator-set status or the subject. Super-admin only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
UpdateSupportThreadWithBody(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSupportThread Update a support thread
//
// Change the operator-set status or the subject. Super-admin only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
UpdateSupportThread(ctx context.Context, uid string, body UpdateSupportThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSupportMessages List a thread's messages
//
// Chronological order, oldest first. Super-admin only.
//
// Corresponds with GET /api/v1/support/threads/{uid}/messages (the `ListSupportMessages` operationId).
ListSupportMessages(ctx context.Context, uid string, params *ListSupportMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSupportMessageWithBody Reply to a support thread
//
// Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
CreateSupportMessageWithBody(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSupportMessage Reply to a support thread
//
// Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
CreateSupportMessage(ctx context.Context, uid string, body CreateSupportMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResendSupportMessage Resend a failed outbound reply
//
// Re-runs the reply pre-flight (window, then routing) and the provider send for an outbound message whose delivery failed, rewriting that message's delivery record in place rather than appending a second copy. Only a failed outbound message qualifies — resending a delivered reply would send the same text to a customer twice. Returns 409 when the thread still cannot be replied to, and 202 when the provider rejected the retry as well. Super-admin only.
//
// Corresponds with POST /api/v1/support/threads/{uid}/messages/{messageUid}/resend (the `ResendSupportMessage` operationId).
ResendSupportMessage(ctx context.Context, uid string, messageUid string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivationFunnel Organization activation funnel
//
// Returns one row per organization with the timestamps for each activation milestone (signup, first check, first result, first notification, first incident). Super-admin only.
//
// Corresponds with GET /api/v1/system/activation (the `GetActivationFunnel` operationId).
GetActivationFunnel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSystemCheckJobs List check-schedule jobs (all orgs)
//
// Super-admin list of the check_jobs scheduler rows across every org. Secrets are never returned.
//
// Corresponds with GET /api/v1/system/check-jobs (the `ListSystemCheckJobs` operationId).
ListSystemCheckJobs(ctx context.Context, params *ListSystemCheckJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSystemCheckJob Get a check-schedule job (all orgs)
//
// Corresponds with GET /api/v1/system/check-jobs/{uid} (the `GetSystemCheckJob` operationId).
GetSystemCheckJob(ctx context.Context, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEmailInboxConfig Get the email-inbox (JMAP) configuration
//
// Returns the saved JMAP inbox configuration with the password elided. Super-admin only.
//
// Corresponds with GET /api/v1/system/email-inbox/config (the `GetEmailInboxConfig` operationId).
GetEmailInboxConfig(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEmailInboxStatus Get the email-inbox connection status
//
// Reports whether the email inbox is enabled and connected, the mode, the last sync time, the last error and the address domain. Super-admin only.
//
// Corresponds with GET /api/v1/system/email-inbox/status (the `GetEmailInboxStatus` operationId).
GetEmailInboxStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SyncEmailInbox Trigger an email-inbox sync
//
// Runs one immediate sync pass over the configured JMAP inbox. Super-admin only.
//
// Corresponds with POST /api/v1/system/email-inbox/sync (the `SyncEmailInbox` operationId).
SyncEmailInbox(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestEmailInbox Test the email-inbox connection
//
// Connects to the configured JMAP inbox and lists its resolved mailboxes. Super-admin only.
//
// Corresponds with POST /api/v1/system/email-inbox/test (the `TestEmailInbox` operationId).
TestEmailInbox(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdminEntitlements List organizations with their resolved entitlements (super admin)
//
// One row per organization: resolved limits, their source, plan display
// identity, and the checks-per-minute demand/cap pair so orgs currently
// over their execution cap can be spotted without opening each one.
//
// Corresponds with GET /api/v1/system/entitlements (the `ListAdminEntitlements` operationId).
ListAdminEntitlements(ctx context.Context, params *ListAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReleaseAdminEntitlements Release an organization back to billing (super admin)
//
// Drops the stored entitlements row. The organization immediately
// resolves to the deployment-mode defaults, and the next billing push is
// applied normally. Releasing an organization that has no stored row is a
// no-op (`released: false`), not an error.
//
// Corresponds with DELETE /api/v1/system/entitlements/{org} (the `ReleaseAdminEntitlements` operationId).
ReleaseAdminEntitlements(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdminEntitlements Get one organization's entitlements and audit trail (super admin)
//
// Corresponds with GET /api/v1/system/entitlements/{org} (the `GetAdminEntitlements` operationId).
GetAdminEntitlements(ctx context.Context, org OrgPath, params *GetAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAdminEntitlementsWithBody Write an organization's entitlements as an admin override (super admin)
//
// Writes a complete admin-sourced row (whole-row only; there are no
// per-field overrides). The request body's `source` is ignored — a super
// admin write is always `admin`, so a body claiming to be the billing
// service cannot launder itself past the precedence rule.
//
// Because the row is complete, an `admin` row resolves whole-row: a
// `null` cap means **unlimited**, not "inherit the deployment default".
// That is what makes the editor's Unlimited switch mean what it says on a
// SaaS deployment, where every default is a real number. `whiteLabel` is
// the exception — being a boolean, its `null` keeps meaning "use the
// deployment default".
//
// While the stored row is admin-sourced, billing pushes to
// `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT
// applied (`applied: false`, `suppressedBy: admin`) and recorded in the
// audit log. Use `DELETE` on this path to release the override.
//
// An optional `X-Entitlements-Reason` header is stored on the audit row.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
SetAdminEntitlementsWithBody(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetAdminEntitlements Write an organization's entitlements as an admin override (super admin)
//
// Writes a complete admin-sourced row (whole-row only; there are no
// per-field overrides). The request body's `source` is ignored — a super
// admin write is always `admin`, so a body claiming to be the billing
// service cannot launder itself past the precedence rule.
//
// Because the row is complete, an `admin` row resolves whole-row: a
// `null` cap means **unlimited**, not "inherit the deployment default".
// That is what makes the editor's Unlimited switch mean what it says on a
// SaaS deployment, where every default is a real number. `whiteLabel` is
// the exception — being a boolean, its `null` keeps meaning "use the
// deployment default".
//
// While the stored row is admin-sourced, billing pushes to
// `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT
// applied (`applied: false`, `suppressedBy: admin`) and recorded in the
// audit log. Use `DELETE` on this path to release the override.
//
// An optional `X-Entitlements-Reason` header is stored on the audit row.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
SetAdminEntitlements(ctx context.Context, org OrgPath, body SetAdminEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSystemJobs List background jobs (all orgs)
//
// Super-admin list of background jobs across all orgs, including system jobs (null org).
//
// Corresponds with GET /api/v1/system/jobs (the `ListSystemJobs` operationId).
ListSystemJobs(ctx context.Context, params *ListSystemJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSystemJobStats Job & check-schedule stats (all orgs)
//
// Aggregate job and check-schedule counts across every org (super-admin).
//
// Corresponds with GET /api/v1/system/jobs/stats (the `GetSystemJobStats` operationId).
GetSystemJobStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSystemJob Get a background job (all orgs)
//
// Corresponds with GET /api/v1/system/jobs/{uid} (the `GetSystemJob` operationId).
GetSystemJob(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSystemJobChain Get a job's retry chain (all orgs)
//
// Corresponds with GET /api/v1/system/jobs/{uid}/chain (the `GetSystemJobChain` operationId).
GetSystemJobChain(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSystemParameters List all system parameters
//
// Returns all system-wide configuration parameters. Secret values are masked.
//
// Corresponds with GET /api/v1/system/parameters (the `ListSystemParameters` operationId).
ListSystemParameters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSystemParameter Delete a system parameter
//
// Soft-deletes a system parameter.
//
// Corresponds with DELETE /api/v1/system/parameters/{key} (the `DeleteSystemParameter` operationId).
DeleteSystemParameter(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSystemParameter Get a system parameter
//
// Returns a single system parameter by key. Secret values are masked.
//
// Corresponds with GET /api/v1/system/parameters/{key} (the `GetSystemParameter` operationId).
GetSystemParameter(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetSystemParameterWithBody Set a system parameter
//
// Creates or updates a system parameter value.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
SetSystemParameterWithBody(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetSystemParameter Set a system parameter
//
// Creates or updates a system parameter value.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
SetSystemParameter(ctx context.Context, key string, body SetSystemParameterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRegionHealth Ghost-region detection report
//
// One row per region slug seen anywhere — in the declared `regions` system parameter, in a check's `regions` array, in a `check_jobs.region`, or in a live or previously-live worker's announced region — so the caller gets the ghosts and the healthy baseline in one call.
//
// A **ghost** is a slug something depends on (a job or a check reference) that nothing live can serve: `(jobs > 0 || checksReferencing > 0) && liveWorkers == 0`. A declared region with zero live workers and zero references is dark but unused, not a ghost — the alarm condition is work assigned to nobody, not an idle region.
//
// `liveWorkers` reuses the exact prefix rule the scheduler claims jobs with (`workerRegion` has the slug as a prefix, so a `us` job is served by a `us-1` worker) and the same liveness window as the region capability report. `lastWorkerSeenAt` spans every matching worker, soft-deleted included, so it dates when the region actually went dark. NULL-region (any-region) jobs never count toward any row — they are claimable by every cloud worker by construction.
//
// Read-side companion of `POST /system/regions/migrate`: its output names exactly the `from` slugs a migration should target. Cheap and unpaginated — a handful of bounded scans, not a query per region. Super-admin only.
//
// Corresponds with GET /api/v1/system/regions/health (the `GetRegionHealth` operationId).
GetRegionHealth(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MigrateRegionWithBody Migrate every reference to a region slug
//
// Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
//
// This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
//
// `to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
//
// Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
MigrateRegionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// MigrateRegion Migrate every reference to a region slug
//
// Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
//
// This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
//
// `to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
//
// Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
MigrateRegion(ctx context.Context, body MigrateRegionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSchedulingLaneLoad Per-worker check-lane load statistics
//
// Computes, server-side, each worker's offered check load per scheduling lane (fast / slow): eligible job counts, summed cost and delay EWMAs, and the summed duty cycle (100 × cost EWMA / period, i.e. how many runner slots the lane's steady-state demand occupies). "Offered" means every enabled job the worker is eligible to claim — jobs without a region count for every worker, region-scoped jobs count for workers whose region has the job's region as a prefix — so workers sharing a region report the same load. Super-admin only.
//
// Corresponds with GET /api/v1/system/scheduling/lane-load (the `GetSchedulingLaneLoad` operationId).
GetSchedulingLaneLoad(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendTestEmailWithBody Send a test email
//
// Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
SendTestEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendTestEmail Send a test email
//
// Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
SendTestEmail(ctx context.Context, body SendTestEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetEmbedWidgetV1 Embeddable live status widget script
//
// Self-contained JavaScript (IIFE) that renders a live status pill on a third-party site. It is loaded by an async script tag carrying data-page="org/slug", and configured entirely through data-attributes: data-mode (inline|floating), data-position (bottom-right|bottom-left), data-theme (light|dark|auto), data-size (sm|md|lg), per-state label overrides data-label-operational|degraded|down|maintenance|unknown, and data-force-status (operational|degraded|down|maintenance|unknown) to render a status statically without polling. The widget polls the status page summary endpoint every 60 s with an uncredentialed request and renders into a shadow root; a failed request or an unknown page renders nothing. Everything under /embed/v1/ is a frozen public contract — behavior changes ship under /embed/v2/, but additive, backward-compatible data-attributes may land within v1. Response carries Cache-Control: public, max-age=3600. No authentication required.
//
// Corresponds with GET /embed/v1/widget.js (the `GetEmbedWidgetV1` operationId).
GetEmbedWidgetV1(ctx context.Context, 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) AcceptInviteWithBodyWithResponse ¶
func (c *ClientWithResponses) AcceptInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInviteResult, error)
AcceptInviteWithBodyWithResponse Accept an invitation
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
func (*ClientWithResponses) AcceptInviteWithResponse ¶
func (c *ClientWithResponses) AcceptInviteWithResponse(ctx context.Context, body AcceptInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInviteResult, error)
AcceptInviteWithResponse Accept an invitation
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
func (*ClientWithResponses) AcknowledgeIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) AcknowledgeIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcknowledgeIncidentResult, error)
AcknowledgeIncidentWithBodyWithResponse Acknowledge an incident
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
func (*ClientWithResponses) AcknowledgeIncidentWithResponse ¶
func (c *ClientWithResponses) AcknowledgeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body AcknowledgeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*AcknowledgeIncidentResult, error)
AcknowledgeIncidentWithResponse Acknowledge an incident
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
func (*ClientWithResponses) AddCheckChannelWithResponse ¶
func (c *ClientWithResponses) AddCheckChannelWithResponse(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*AddCheckChannelResult, error)
AddCheckChannelWithResponse Bind a single channel to a check
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `AddCheckChannel` operationId).
func (*ClientWithResponses) AddIncidentCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) AddIncidentCommentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddIncidentCommentResult, error)
AddIncidentCommentWithBodyWithResponse Add a comment to an incident
Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
func (*ClientWithResponses) AddIncidentCommentWithResponse ¶
func (c *ClientWithResponses) AddIncidentCommentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body AddIncidentCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*AddIncidentCommentResult, error)
AddIncidentCommentWithResponse Add a comment to an incident
Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
func (*ClientWithResponses) AddMemberContactWithBodyWithResponse ¶
func (c *ClientWithResponses) AddMemberContactWithBodyWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMemberContactResult, error)
AddMemberContactWithBodyWithResponse Pre-provision an unverified paging contact for a member
Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
func (*ClientWithResponses) AddMemberContactWithResponse ¶
func (c *ClientWithResponses) AddMemberContactWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, body AddMemberContactJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMemberContactResult, error)
AddMemberContactWithResponse Pre-provision an unverified paging contact for a member
Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
func (*ClientWithResponses) AddMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) AddMemberWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMemberResult, error)
AddMemberWithBodyWithResponse Add member to organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
func (*ClientWithResponses) AddMemberWithResponse ¶
func (c *ClientWithResponses) AddMemberWithResponse(ctx context.Context, org OrgPath, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMemberResult, error)
AddMemberWithResponse Add member to organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
func (*ClientWithResponses) AddMyNotificationContactWithBodyWithResponse ¶
func (c *ClientWithResponses) AddMyNotificationContactWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMyNotificationContactResult, error)
AddMyNotificationContactWithBodyWithResponse Add a notification contact (and its route) for the caller
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
func (*ClientWithResponses) AddMyNotificationContactWithResponse ¶
func (c *ClientWithResponses) AddMyNotificationContactWithResponse(ctx context.Context, org OrgPath, body AddMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMyNotificationContactResult, error)
AddMyNotificationContactWithResponse Add a notification contact (and its route) for the caller
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
func (*ClientWithResponses) ApproveMembershipRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) ApproveMembershipRequestWithBodyWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveMembershipRequestResult, error)
ApproveMembershipRequestWithBodyWithResponse Approve a membership request
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
func (*ClientWithResponses) ApproveMembershipRequestWithResponse ¶
func (c *ClientWithResponses) ApproveMembershipRequestWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body ApproveMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveMembershipRequestResult, error)
ApproveMembershipRequestWithResponse Approve a membership request
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
func (*ClientWithResponses) CancelDiscoveryScanWithResponse ¶
func (c *ClientWithResponses) CancelDiscoveryScanWithResponse(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*CancelDiscoveryScanResult, error)
CancelDiscoveryScanWithResponse Cancel a discovery scan
Admin only. Cancels the scan and drops every pending fan-out child chunk. Children already running finish naturally.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/discovery/scans/{jobUid}/cancel (the `CancelDiscoveryScan` operationId).
func (*ClientWithResponses) CancelJobWithResponse ¶
func (c *ClientWithResponses) CancelJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*CancelJobResult, error)
CancelJobWithResponse Cancel a pending job
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/jobs/{uid} (the `CancelJob` operationId).
func (*ClientWithResponses) CancelMembershipRequestWithResponse ¶
func (c *ClientWithResponses) CancelMembershipRequestWithResponse(ctx context.Context, uid MembershipRequestUidPath, reqEditors ...RequestEditorFn) (*CancelMembershipRequestResult, error)
CancelMembershipRequestWithResponse Cancel one of the caller's membership requests
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/auth/membership-requests/{uid} (the `CancelMembershipRequest` operationId).
func (*ClientWithResponses) ChangePasswordWithBodyWithResponse ¶
func (c *ClientWithResponses) ChangePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangePasswordResult, error)
ChangePasswordWithBodyWithResponse Change (or set) the authenticated user's password
Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
func (*ClientWithResponses) ChangePasswordWithResponse ¶
func (c *ClientWithResponses) ChangePasswordWithResponse(ctx context.Context, body ChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangePasswordResult, error)
ChangePasswordWithResponse Change (or set) the authenticated user's password
Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
func (*ClientWithResponses) CloneCheckWithBodyWithResponse ¶
func (c *ClientWithResponses) CloneCheckWithBodyWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloneCheckResult, error)
CloneCheckWithBodyWithResponse Clone an existing check
Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
func (*ClientWithResponses) CloneCheckWithResponse ¶
func (c *ClientWithResponses) CloneCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, body CloneCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*CloneCheckResult, error)
CloneCheckWithResponse Clone an existing check
Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
func (*ClientWithResponses) ConfirmMyNotificationContactWithBodyWithResponse ¶
func (c *ClientWithResponses) ConfirmMyNotificationContactWithBodyWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmMyNotificationContactResult, error)
ConfirmMyNotificationContactWithBodyWithResponse Confirm a phone contact with its verification code
Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
func (*ClientWithResponses) ConfirmMyNotificationContactWithResponse ¶
func (c *ClientWithResponses) ConfirmMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, body ConfirmMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmMyNotificationContactResult, error)
ConfirmMyNotificationContactWithResponse Confirm a phone contact with its verification code
Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
func (*ClientWithResponses) ConfirmRegistrationWithBodyWithResponse ¶
func (c *ClientWithResponses) ConfirmRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmRegistrationResult, error)
ConfirmRegistrationWithBodyWithResponse Confirm a pending registration with an emailed token
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
func (*ClientWithResponses) ConfirmRegistrationWithResponse ¶
func (c *ClientWithResponses) ConfirmRegistrationWithResponse(ctx context.Context, body ConfirmRegistrationJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmRegistrationResult, error)
ConfirmRegistrationWithResponse Confirm a pending registration with an emailed token
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
func (*ClientWithResponses) CreateChannelWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateChannelWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChannelResult, error)
CreateChannelWithBodyWithResponse Create a notification channel
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
func (*ClientWithResponses) CreateChannelWithResponse ¶
func (c *ClientWithResponses) CreateChannelWithResponse(ctx context.Context, org OrgPath, body CreateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChannelResult, error)
CreateChannelWithResponse Create a notification channel
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
func (*ClientWithResponses) CreateCheckDependencyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCheckDependencyWithBodyWithResponse(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCheckDependencyResult, error)
CreateCheckDependencyWithBodyWithResponse Add a dependency edge to a check
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
func (*ClientWithResponses) CreateCheckDependencyWithResponse ¶
func (c *ClientWithResponses) CreateCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, body CreateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCheckDependencyResult, error)
CreateCheckDependencyWithResponse Add a dependency edge to a check
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
func (*ClientWithResponses) CreateCheckGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCheckGroupWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCheckGroupResult, error)
CreateCheckGroupWithBodyWithResponse Create a check group
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
func (*ClientWithResponses) CreateCheckGroupWithResponse ¶
func (c *ClientWithResponses) CreateCheckGroupWithResponse(ctx context.Context, org OrgPath, body CreateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCheckGroupResult, error)
CreateCheckGroupWithResponse Create a check group
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
func (*ClientWithResponses) CreateCheckWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCheckResult, error)
CreateCheckWithBodyWithResponse Create monitoring check
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
func (*ClientWithResponses) CreateCheckWithResponse ¶
func (c *ClientWithResponses) CreateCheckWithResponse(ctx context.Context, org OrgPath, body CreateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCheckResult, error)
CreateCheckWithResponse Create monitoring check
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
func (*ClientWithResponses) CreateEscalationPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEscalationPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEscalationPolicyResult, error)
CreateEscalationPolicyWithBodyWithResponse Create an escalation policy
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
func (*ClientWithResponses) CreateEscalationPolicyWithResponse ¶
func (c *ClientWithResponses) CreateEscalationPolicyWithResponse(ctx context.Context, org OrgPath, body CreateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEscalationPolicyResult, error)
CreateEscalationPolicyWithResponse Create an escalation policy
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
func (*ClientWithResponses) CreateInvitationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInvitationWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationResult, error)
CreateInvitationWithBodyWithResponse Create an invitation
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
func (*ClientWithResponses) CreateInvitationWithResponse ¶
func (c *ClientWithResponses) CreateInvitationWithResponse(ctx context.Context, org OrgPath, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationResult, error)
CreateInvitationWithResponse Create an invitation
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
func (*ClientWithResponses) CreateJobWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateJobWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJobResult, error)
CreateJobWithBodyWithResponse Create a job (org admin, allowlisted types only)
Enqueues a background job. **Requires org admin** — a member with the `user` or `viewer` role is refused with 403.
Only allowlisted job types may be created through this endpoint, and the allowlist currently contains **`sleep`** alone. Every other type (`email`, `webhook`, `aggregation`, `notification`, the discovery family, …) is refused with 403: they are internal plumbing enqueued by SolidPing itself, and exposing them would hand any caller an arbitrary mail sender (`email`) and arbitrary server-side HTTP requests (`webhook`).
An unknown job type, or a `config` that is invalid for the requested type, is a 400 — never a 500.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
func (*ClientWithResponses) CreateJobWithResponse ¶
func (c *ClientWithResponses) CreateJobWithResponse(ctx context.Context, org OrgPath, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJobResult, error)
CreateJobWithResponse Create a job (org admin, allowlisted types only)
Enqueues a background job. **Requires org admin** — a member with the `user` or `viewer` role is refused with 403.
Only allowlisted job types may be created through this endpoint, and the allowlist currently contains **`sleep`** alone. Every other type (`email`, `webhook`, `aggregation`, `notification`, the discovery family, …) is refused with 403: they are internal plumbing enqueued by SolidPing itself, and exposing them would hand any caller an arbitrary mail sender (`email`) and arbitrary server-side HTTP requests (`webhook`).
An unknown job type, or a `config` that is invalid for the requested type, is a 400 — never a 500.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
func (*ClientWithResponses) CreateMaintenanceWindowWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMaintenanceWindowWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResult, error)
CreateMaintenanceWindowWithBodyWithResponse Create a maintenance window
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
func (*ClientWithResponses) CreateMaintenanceWindowWithResponse ¶
func (c *ClientWithResponses) CreateMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResult, error)
CreateMaintenanceWindowWithResponse Create a maintenance window
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
func (*ClientWithResponses) CreateMembershipRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMembershipRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMembershipRequestResult, error)
CreateMembershipRequestWithBodyWithResponse Request to join an organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
func (*ClientWithResponses) CreateMembershipRequestWithResponse ¶
func (c *ClientWithResponses) CreateMembershipRequestWithResponse(ctx context.Context, body CreateMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMembershipRequestResult, error)
CreateMembershipRequestWithResponse Request to join an organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
func (*ClientWithResponses) CreateMyTelegramLinkWithResponse ¶
func (c *ClientWithResponses) CreateMyTelegramLinkWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*CreateMyTelegramLinkResult, error)
CreateMyTelegramLinkWithResponse Mint a single-use Telegram connect link for the caller
Returns a `https://t.me/<botUsername>?start=<token>` deep link carrying a single-use, high-entropy token (TTL 15 minutes).
Nothing is created by this call. The Telegram contact only comes into existence when the user actually presses **Start** in Telegram and the resulting `/start <token>` reaches the instance webhook — pressing Start is both the proof of reachability and the opt-in, which is why this channel has no verification code round-trip.
A replayed token is a no-op, not a second contact. Poll `GET /api/v1/orgs/{org}/users/me/notification-routes` to observe the new contact appear.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/users/me/telegram/link (the `CreateMyTelegramLink` operationId).
func (*ClientWithResponses) CreateOncallOverrideWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOncallOverrideWithBodyWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOncallOverrideResult, error)
CreateOncallOverrideWithBodyWithResponse Create an override on an on-call schedule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
func (*ClientWithResponses) CreateOncallOverrideWithResponse ¶
func (c *ClientWithResponses) CreateOncallOverrideWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body CreateOncallOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOncallOverrideResult, error)
CreateOncallOverrideWithResponse Create an override on an on-call schedule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
func (*ClientWithResponses) CreateOncallScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOncallScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOncallScheduleResult, error)
CreateOncallScheduleWithBodyWithResponse Create an on-call schedule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
func (*ClientWithResponses) CreateOncallScheduleWithResponse ¶
func (c *ClientWithResponses) CreateOncallScheduleWithResponse(ctx context.Context, org OrgPath, body CreateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOncallScheduleResult, error)
CreateOncallScheduleWithResponse Create an on-call schedule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
func (*ClientWithResponses) CreateOrgWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgResult, error)
CreateOrgWithBodyWithResponse Create a new organization
Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
func (*ClientWithResponses) CreateOrgWithResponse ¶
func (c *ClientWithResponses) CreateOrgWithResponse(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgResult, error)
CreateOrgWithResponse Create a new organization
Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
func (*ClientWithResponses) CreateReportScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReportScheduleResult, error)
CreateReportScheduleWithBodyWithResponse Create a scheduled uptime report
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
func (*ClientWithResponses) CreateReportScheduleWithResponse ¶
func (c *ClientWithResponses) CreateReportScheduleWithResponse(ctx context.Context, org OrgPath, body CreateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReportScheduleResult, error)
CreateReportScheduleWithResponse Create a scheduled uptime report
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
func (*ClientWithResponses) CreateSeverityWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSeverityWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSeverityResult, error)
CreateSeverityWithBodyWithResponse Create a severity
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
func (*ClientWithResponses) CreateSeverityWithResponse ¶
func (c *ClientWithResponses) CreateSeverityWithResponse(ctx context.Context, org OrgPath, body CreateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSeverityResult, error)
CreateSeverityWithResponse Create a severity
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
func (*ClientWithResponses) CreateSloWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSloWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSloResult, error)
CreateSloWithBodyWithResponse Create a service-level objective
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
func (*ClientWithResponses) CreateSloWithResponse ¶
func (c *ClientWithResponses) CreateSloWithResponse(ctx context.Context, org OrgPath, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSloResult, error)
CreateSloWithResponse Create a service-level objective
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
func (*ClientWithResponses) CreateStatusPageEndpointSubscriberWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageEndpointSubscriberWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageEndpointSubscriberResult, error)
CreateStatusPageEndpointSubscriberWithBodyWithResponse Register a webhook or Slack delivery for a status page
AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
func (*ClientWithResponses) CreateStatusPageEndpointSubscriberWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageEndpointSubscriberWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageEndpointSubscriberJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageEndpointSubscriberResult, error)
CreateStatusPageEndpointSubscriberWithResponse Register a webhook or Slack delivery for a status page
AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
func (*ClientWithResponses) CreateStatusPageIncidentUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResult, error)
CreateStatusPageIncidentUpdateWithBodyWithResponse Append a narrative update to a published incident
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
func (*ClientWithResponses) CreateStatusPageIncidentUpdateWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageIncidentUpdateWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResult, error)
CreateStatusPageIncidentUpdateWithResponse Append a narrative update to a published incident
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
func (*ClientWithResponses) CreateStatusPageIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResult, error)
CreateStatusPageIncidentWithBodyWithResponse Publish a hand-written incident on a status page
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
func (*ClientWithResponses) CreateStatusPageIncidentWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResult, error)
CreateStatusPageIncidentWithResponse Publish a hand-written incident on a status page
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
func (*ClientWithResponses) CreateStatusPageResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageResourceWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResourceResult, error)
CreateStatusPageResourceWithBodyWithResponse Add a check as a resource to a section
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
func (*ClientWithResponses) CreateStatusPageResourceWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body CreateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageResourceResult, error)
CreateStatusPageResourceWithResponse Add a check as a resource to a section
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
func (*ClientWithResponses) CreateStatusPageSectionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageSectionWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageSectionResult, error)
CreateStatusPageSectionWithBodyWithResponse Create a section
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
func (*ClientWithResponses) CreateStatusPageSectionWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageSectionResult, error)
CreateStatusPageSectionWithResponse Create a section
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
func (*ClientWithResponses) CreateStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResult, error)
CreateStatusPageWithBodyWithResponse Create a status page
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
func (*ClientWithResponses) CreateStatusPageWithResponse ¶
func (c *ClientWithResponses) CreateStatusPageWithResponse(ctx context.Context, org OrgPath, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageResult, error)
CreateStatusPageWithResponse Create a status page
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
func (*ClientWithResponses) CreateStatusUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateStatusUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusUpdateResult, error)
CreateStatusUpdateWithBodyWithResponse Create a status update
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
func (*ClientWithResponses) CreateStatusUpdateWithResponse ¶
func (c *ClientWithResponses) CreateStatusUpdateWithResponse(ctx context.Context, org OrgPath, body CreateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusUpdateResult, error)
CreateStatusUpdateWithResponse Create a status update
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
func (*ClientWithResponses) CreateSupportMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSupportMessageWithBodyWithResponse(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportMessageResult, error)
CreateSupportMessageWithBodyWithResponse Reply to a support thread
Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
func (*ClientWithResponses) CreateSupportMessageWithResponse ¶
func (c *ClientWithResponses) CreateSupportMessageWithResponse(ctx context.Context, uid string, body CreateSupportMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportMessageResult, error)
CreateSupportMessageWithResponse Reply to a support thread
Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
func (*ClientWithResponses) CreateTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTokenWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResult, error)
CreateTokenWithBodyWithResponse Create Personal Access Token for organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
func (*ClientWithResponses) CreateTokenWithResponse ¶
func (c *ClientWithResponses) CreateTokenWithResponse(ctx context.Context, org OrgPath, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResult, error)
CreateTokenWithResponse Create Personal Access Token for organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
func (*ClientWithResponses) CustomDomainAllowedWithResponse ¶
func (c *ClientWithResponses) CustomDomainAllowedWithResponse(ctx context.Context, params *CustomDomainAllowedParams, reqEditors ...RequestEditorFn) (*CustomDomainAllowedResult, error)
CustomDomainAllowedWithResponse Edge-TLS custom-domain check (public)
Returns 204 when the queried domain currently resolves to a verified, enabled, public status page, and 404 otherwise. No body. This is the contract for Caddy on_demand_tls / cert-manager gating on an external TLS edge; it is unchanged by, and independent of, the server's own in-server ACME support (config acme.enabled).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/public/custom-domains/allowed (the `CustomDomainAllowed` operationId).
func (*ClientWithResponses) DeleteChannelWithResponse ¶
func (c *ClientWithResponses) DeleteChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*DeleteChannelResult, error)
DeleteChannelWithResponse Delete a notification channel
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/channels/{uid} (the `DeleteChannel` operationId).
func (*ClientWithResponses) DeleteCheckDependencyWithResponse ¶
func (c *ClientWithResponses) DeleteCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCheckDependencyResult, error)
DeleteCheckDependencyWithResponse Remove a dependency edge
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `DeleteCheckDependency` operationId).
func (*ClientWithResponses) DeleteCheckGroupWithResponse ¶
func (c *ClientWithResponses) DeleteCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*DeleteCheckGroupResult, error)
DeleteCheckGroupWithResponse Delete a check group
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/check-groups/{uid} (the `DeleteCheckGroup` operationId).
func (*ClientWithResponses) DeleteCheckWithResponse ¶
func (c *ClientWithResponses) DeleteCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*DeleteCheckResult, error)
DeleteCheckWithResponse Soft delete check
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/checks/{checkUid} (the `DeleteCheck` operationId).
func (*ClientWithResponses) DeleteEmailSuppressionWithResponse ¶
func (c *ClientWithResponses) DeleteEmailSuppressionWithResponse(ctx context.Context, org OrgPath, uid EmailSuppressionUidPath, reqEditors ...RequestEditorFn) (*DeleteEmailSuppressionResult, error)
DeleteEmailSuppressionWithResponse Remove an email suppression (re-subscribe)
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/email-suppressions/{uid} (the `DeleteEmailSuppression` operationId).
func (*ClientWithResponses) DeleteEscalationPolicyWithResponse ¶
func (c *ClientWithResponses) DeleteEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*DeleteEscalationPolicyResult, error)
DeleteEscalationPolicyWithResponse Delete an escalation policy
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/escalation-policies/{uid} (the `DeleteEscalationPolicy` operationId).
func (*ClientWithResponses) DeleteFileWithResponse ¶
func (c *ClientWithResponses) DeleteFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*DeleteFileResult, error)
DeleteFileWithResponse Delete a file
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/files/{uid} (the `DeleteFile` operationId).
func (*ClientWithResponses) DeleteIntegrationIdentityWithResponse ¶
func (c *ClientWithResponses) DeleteIntegrationIdentityWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, reqEditors ...RequestEditorFn) (*DeleteIntegrationIdentityResult, error)
DeleteIntegrationIdentityWithResponse Clear a member's identity on an integration
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `DeleteIntegrationIdentity` operationId).
func (*ClientWithResponses) DeleteInvitationWithResponse ¶
func (c *ClientWithResponses) DeleteInvitationWithResponse(ctx context.Context, org OrgPath, uid InvitationUidPath, reqEditors ...RequestEditorFn) (*DeleteInvitationResult, error)
DeleteInvitationWithResponse Revoke a pending invitation
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/invitations/{uid} (the `DeleteInvitation` operationId).
func (*ClientWithResponses) DeleteMaintenanceWindowWithResponse ¶
func (c *ClientWithResponses) DeleteMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*DeleteMaintenanceWindowResult, error)
DeleteMaintenanceWindowWithResponse Delete a maintenance window
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/maintenance-windows/{uid} (the `DeleteMaintenanceWindow` operationId).
func (*ClientWithResponses) DeleteOncallOverrideWithResponse ¶
func (c *ClientWithResponses) DeleteOncallOverrideWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, overrideUid OncallOverrideUidPath, reqEditors ...RequestEditorFn) (*DeleteOncallOverrideResult, error)
DeleteOncallOverrideWithResponse Delete an override
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides/{overrideUid} (the `DeleteOncallOverride` operationId).
func (*ClientWithResponses) DeleteOncallScheduleWithResponse ¶
func (c *ClientWithResponses) DeleteOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*DeleteOncallScheduleResult, error)
DeleteOncallScheduleWithResponse Delete an on-call schedule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid} (the `DeleteOncallSchedule` operationId).
func (*ClientWithResponses) DeleteOrgLogoWithResponse ¶
func (c *ClientWithResponses) DeleteOrgLogoWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*DeleteOrgLogoResult, error)
DeleteOrgLogoWithResponse Clear the organization logo
Removes the organization's logo. **Owner only.** An uploaded image is retired at the same time, so its public URL stops resolving.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/logo (the `DeleteOrgLogo` operationId).
func (*ClientWithResponses) DeleteOrgWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteOrgWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteOrgResult, error)
DeleteOrgWithBodyWithResponse Delete an organization
Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
func (*ClientWithResponses) DeleteOrgWithResponse ¶
func (c *ClientWithResponses) DeleteOrgWithResponse(ctx context.Context, org OrgPath, body DeleteOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteOrgResult, error)
DeleteOrgWithResponse Delete an organization
Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
func (*ClientWithResponses) DeleteReportScheduleWithResponse ¶
func (c *ClientWithResponses) DeleteReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*DeleteReportScheduleResult, error)
DeleteReportScheduleWithResponse Delete a scheduled uptime report
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/report-schedules/{uid} (the `DeleteReportSchedule` operationId).
func (*ClientWithResponses) DeleteSeverityWithResponse ¶
func (c *ClientWithResponses) DeleteSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*DeleteSeverityResult, error)
DeleteSeverityWithResponse Delete a severity
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/severities/{uid} (the `DeleteSeverity` operationId).
func (*ClientWithResponses) DeleteSloWithResponse ¶
func (c *ClientWithResponses) DeleteSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*DeleteSloResult, error)
DeleteSloWithResponse Delete a service-level objective
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/slos/{uid} (the `DeleteSlo` operationId).
func (*ClientWithResponses) DeleteStatusPageResourceWithResponse ¶
func (c *ClientWithResponses) DeleteStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusPageResourceResult, error)
DeleteStatusPageResourceWithResponse Remove a resource from a section
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `DeleteStatusPageResource` operationId).
func (*ClientWithResponses) DeleteStatusPageSectionWithResponse ¶
func (c *ClientWithResponses) DeleteStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusPageSectionResult, error)
DeleteStatusPageSectionWithResponse Delete a section
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `DeleteStatusPageSection` operationId).
func (*ClientWithResponses) DeleteStatusPageWithResponse ¶
func (c *ClientWithResponses) DeleteStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusPageResult, error)
DeleteStatusPageWithResponse Delete a status page
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `DeleteStatusPage` operationId).
func (*ClientWithResponses) DeleteStatusUpdateWithResponse ¶
func (c *ClientWithResponses) DeleteStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusUpdateResult, error)
DeleteStatusUpdateWithResponse Delete a status update
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/status-updates/{uid} (the `DeleteStatusUpdate` operationId).
func (*ClientWithResponses) DeleteSystemParameterWithResponse ¶
func (c *ClientWithResponses) DeleteSystemParameterWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteSystemParameterResult, error)
DeleteSystemParameterWithResponse Delete a system parameter
Soft-deletes a system parameter.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/system/parameters/{key} (the `DeleteSystemParameter` operationId).
func (*ClientWithResponses) DisableOncallIcalFeedWithResponse ¶
func (c *ClientWithResponses) DisableOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*DisableOncallIcalFeedResult, error)
DisableOncallIcalFeedWithResponse Disable the iCal feed for an on-call schedule
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/disable (the `DisableOncallIcalFeed` operationId).
func (*ClientWithResponses) DismissDiscoveredCheckWithResponse ¶
func (c *ClientWithResponses) DismissDiscoveredCheckWithResponse(ctx context.Context, org OrgPath, uid string, reqEditors ...RequestEditorFn) (*DismissDiscoveredCheckResult, error)
DismissDiscoveredCheckWithResponse Dismiss a single discovered check
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks/{uid} (the `DismissDiscoveredCheck` operationId).
func (*ClientWithResponses) DismissDiscoveredGroupWithResponse ¶
func (c *ClientWithResponses) DismissDiscoveredGroupWithResponse(ctx context.Context, org OrgPath, params *DismissDiscoveredGroupParams, reqEditors ...RequestEditorFn) (*DismissDiscoveredGroupResult, error)
DismissDiscoveredGroupWithResponse Dismiss a whole group of discovered checks
Admin only. Soft-deletes every check in the given group (optionally scoped to one scan).
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks (the `DismissDiscoveredGroup` operationId).
func (*ClientWithResponses) DownloadFileWithResponse ¶
func (c *ClientWithResponses) DownloadFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*DownloadFileResult, error)
DownloadFileWithResponse Download file content
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/files/{uid}/content (the `DownloadFile` operationId).
func (*ClientWithResponses) EnableOncallIcalFeedWithResponse ¶
func (c *ClientWithResponses) EnableOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*EnableOncallIcalFeedResult, error)
EnableOncallIcalFeedWithResponse Enable the iCal feed for an on-call schedule
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/enable (the `EnableOncallIcalFeed` operationId).
func (*ClientWithResponses) GenerateStatusPageKioskTokenWithResponse ¶
func (c *ClientWithResponses) GenerateStatusPageKioskTokenWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*GenerateStatusPageKioskTokenResult, error)
GenerateStatusPageKioskTokenWithResponse Mint or regenerate a status page's kiosk (TV mode) token
Mints the page's single kiosk token — a long-lived, revocable, per-page secret a wallboard presents as a `kiosk` query parameter so an office TV can render a `password` or `private` page unattended. It grants READ-ONLY view of this one page and nothing else.
The plaintext is returned HERE AND NOWHERE ELSE: only its sha256 is stored, so an operator who loses it regenerates rather than recovers. Calling this on a page that already has a token REPLACES it, which immediately invalidates the screen using the old one.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `GenerateStatusPageKioskToken` operationId).
func (*ClientWithResponses) GetActivationFunnelWithResponse ¶
func (c *ClientWithResponses) GetActivationFunnelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetActivationFunnelResult, error)
GetActivationFunnelWithResponse Organization activation funnel
Returns one row per organization with the timestamps for each activation milestone (signup, first check, first result, first notification, first incident). Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/activation (the `GetActivationFunnel` operationId).
func (*ClientWithResponses) GetAdminEntitlementsWithResponse ¶
func (c *ClientWithResponses) GetAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, params *GetAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*GetAdminEntitlementsResult, error)
GetAdminEntitlementsWithResponse Get one organization's entitlements and audit trail (super admin)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/entitlements/{org} (the `GetAdminEntitlements` operationId).
func (*ClientWithResponses) GetAdminJobChainWithResponse ¶
func (c *ClientWithResponses) GetAdminJobChainWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetAdminJobChainResult, error)
GetAdminJobChainWithResponse Get a job's retry chain (admin)
Ordered chain of jobs linked via previousJobUid, earliest ancestor to latest descendant.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid}/chain (the `GetAdminJobChain` operationId).
func (*ClientWithResponses) GetAdminJobWithResponse ¶
func (c *ClientWithResponses) GetAdminJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetAdminJobResult, error)
GetAdminJobWithResponse Get a background job (admin)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid} (the `GetAdminJob` operationId).
func (*ClientWithResponses) GetBadgeWithResponse ¶
func (c *ClientWithResponses) GetBadgeWithResponse(ctx context.Context, org OrgPath, check string, format GetBadgeParamsFormat, params *GetBadgeParams, reqEditors ...RequestEditorFn) (*GetBadgeResult, error)
GetBadgeWithResponse Get status badge for a check
Returns an SVG badge showing the check's current status. No authentication required.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/badges/{format} (the `GetBadge` operationId).
func (*ClientWithResponses) GetChannelWithResponse ¶
func (c *ClientWithResponses) GetChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*GetChannelResult, error)
GetChannelWithResponse Get a notification channel
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/channels/{uid} (the `GetChannel` operationId).
func (*ClientWithResponses) GetCheckAvailabilityBucketsWithResponse ¶
func (c *ClientWithResponses) GetCheckAvailabilityBucketsWithResponse(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityBucketsParams, reqEditors ...RequestEditorFn) (*GetCheckAvailabilityBucketsResult, error)
GetCheckAvailabilityBucketsWithResponse Bucketed availability over an arbitrary window for a single check
Cuts [from, to) into uniform, hour-aligned availability cells — the data behind the check-detail chart's availability strip. Deliberately a separate route from /api/v1/orgs/{org}/checks/{check}/availability, which speaks trailing calendar tokens with a tz, has no from/to at all and is capped at 12 periods.
Counting is the shared engine's: lifecycle markers and abandoned attempts are excluded from BOTH numerator and denominator, warning counts as up, and maintenance probes count exactly like any other (maintenance exclusion is SLO-only). A cell with no countable probes has hasData=false, availabilityPct=null and status="noData" — no data is not 100%.
Cells are aligned OUTWARD to bucket boundaries, so the series may start before `from` and end after `to`. The `window` object is the exact [from, to) fold (it also includes the month tier, which is deliberately never attributed to a single cell) and is what a client renders when the window is too short for a legible strip.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability/buckets (the `GetCheckAvailabilityBuckets` operationId).
func (*ClientWithResponses) GetCheckAvailabilityWithResponse ¶
func (c *ClientWithResponses) GetCheckAvailabilityWithResponse(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityParams, reqEditors ...RequestEditorFn) (*GetCheckAvailabilityResult, error)
GetCheckAvailabilityWithResponse Per-period availability statistics for a single check
Returns real, server-measured availability for each requested period (replacing the old client-side estimate). availabilityPct and downtimeSeconds are probe-ratio (the share of probes that succeeded); the incidents block reports confirmed-outage wall-clock time. A period with no data has availabilityPct=null and hasData=false (no data is not 100%).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability (the `GetCheckAvailability` operationId).
func (*ClientWithResponses) GetCheckGroupWithResponse ¶
func (c *ClientWithResponses) GetCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*GetCheckGroupResult, error)
GetCheckGroupWithResponse Get a check group
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/check-groups/{uid} (the `GetCheckGroup` operationId).
func (*ClientWithResponses) GetCheckJobWithResponse ¶
func (c *ClientWithResponses) GetCheckJobWithResponse(ctx context.Context, org OrgPath, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*GetCheckJobResult, error)
GetCheckJobWithResponse Get a check-schedule job (admin)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/check-jobs/{uid} (the `GetCheckJob` operationId).
func (*ClientWithResponses) GetCheckStatsWithResponse ¶
func (c *ClientWithResponses) GetCheckStatsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetCheckStatsResult, error)
GetCheckStatsWithResponse Aggregate check counters for an organization
Org-wide check counters computed server-side with a single SQL aggregation, so they are unaffected by the list endpoint's 100-row page clamp. Scope is the same set the list endpoint shows by default: non-deleted, non-internal checks. `total`, `byStatus`, `down` and `hardDown` span enabled and disabled checks alike; `enabled` and `disabled` partition the same set.
The response is served from a per-organization in-memory cache with a 1-minute TTL, so it can lag a check create/delete or a status flip by up to that long. Clients needing an exact, immediately consistent count should read `pagination.total` from the list endpoint instead.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/stats (the `GetCheckStats` operationId).
func (*ClientWithResponses) GetCheckWithResponse ¶
func (c *ClientWithResponses) GetCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *GetCheckParams, reqEditors ...RequestEditorFn) (*GetCheckResult, error)
GetCheckWithResponse Get check details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid} (the `GetCheck` operationId).
func (*ClientWithResponses) GetCostDistributionWithResponse ¶
func (c *ClientWithResponses) GetCostDistributionWithResponse(ctx context.Context, params *GetCostDistributionParams, reqEditors ...RequestEditorFn) (*GetCostDistributionResult, error)
GetCostDistributionWithResponse Scheduler cost/delay distribution
Returns an aggregate, low-cardinality distribution of the scheduler's per-job cost_ewma_ms and delay_ewma_ms across all check_jobs, plus fast/slow job counts at a candidate threshold. Read-only and super-admin guarded. Used to decide whether fast/slow scheduling lanes are warranted.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/mgmt/scheduling/cost-distribution (the `GetCostDistribution` operationId).
func (*ClientWithResponses) GetCurrentUserWithResponse ¶
func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResult, error)
GetCurrentUserWithResponse Get current user info
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/auth/me (the `GetCurrentUser` operationId).
func (*ClientWithResponses) GetDeviceConsentWithResponse ¶
func (c *ClientWithResponses) GetDeviceConsentWithResponse(ctx context.Context, params *GetDeviceConsentParams, reqEditors ...RequestEditorFn) (*GetDeviceConsentResult, error)
GetDeviceConsentWithResponse Look up a pending device authorization request by user code
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/auth/device/consent (the `GetDeviceConsent` operationId).
func (*ClientWithResponses) GetDiscoveryScanWithResponse ¶
func (c *ClientWithResponses) GetDiscoveryScanWithResponse(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*GetDiscoveryScanResult, error)
GetDiscoveryScanWithResponse Get a discovery scan with progress
Returns the scan job plus a uniform progress block for every scan type (chunked scans roll up their children; non-chunked scans report totalChunks=1).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/discovery/scans/{jobUid} (the `GetDiscoveryScan` operationId).
func (*ClientWithResponses) GetEmailInboxConfigWithResponse ¶
func (c *ClientWithResponses) GetEmailInboxConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmailInboxConfigResult, error)
GetEmailInboxConfigWithResponse Get the email-inbox (JMAP) configuration
Returns the saved JMAP inbox configuration with the password elided. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/email-inbox/config (the `GetEmailInboxConfig` operationId).
func (*ClientWithResponses) GetEmailInboxStatusWithResponse ¶
func (c *ClientWithResponses) GetEmailInboxStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmailInboxStatusResult, error)
GetEmailInboxStatusWithResponse Get the email-inbox connection status
Reports whether the email inbox is enabled and connected, the mode, the last sync time, the last error and the address domain. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/email-inbox/status (the `GetEmailInboxStatus` operationId).
func (*ClientWithResponses) GetEmbedWidgetV1WithResponse ¶
func (c *ClientWithResponses) GetEmbedWidgetV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmbedWidgetV1Result, error)
GetEmbedWidgetV1WithResponse Embeddable live status widget script
Self-contained JavaScript (IIFE) that renders a live status pill on a third-party site. It is loaded by an async script tag carrying data-page="org/slug", and configured entirely through data-attributes: data-mode (inline|floating), data-position (bottom-right|bottom-left), data-theme (light|dark|auto), data-size (sm|md|lg), per-state label overrides data-label-operational|degraded|down|maintenance|unknown, and data-force-status (operational|degraded|down|maintenance|unknown) to render a status statically without polling. The widget polls the status page summary endpoint every 60 s with an uncredentialed request and renders into a shadow root; a failed request or an unknown page renders nothing. Everything under /embed/v1/ is a frozen public contract — behavior changes ship under /embed/v2/, but additive, backward-compatible data-attributes may land within v1. Response carries Cache-Control: public, max-age=3600. No authentication required.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /embed/v1/widget.js (the `GetEmbedWidgetV1` operationId).
func (*ClientWithResponses) GetEntitlementsWithResponse ¶
func (c *ClientWithResponses) GetEntitlementsWithResponse(ctx context.Context, org OrgPath, params *GetEntitlementsParams, reqEditors ...RequestEditorFn) (*GetEntitlementsResult, error)
GetEntitlementsWithResponse Get resolved entitlements for an organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/entitlements (the `GetEntitlements` operationId).
func (*ClientWithResponses) GetEscalationPolicyWithResponse ¶
func (c *ClientWithResponses) GetEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*GetEscalationPolicyResult, error)
GetEscalationPolicyWithResponse Get an escalation policy
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/escalation-policies/{uid} (the `GetEscalationPolicy` operationId).
func (*ClientWithResponses) GetFileWithResponse ¶
func (c *ClientWithResponses) GetFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*GetFileResult, error)
GetFileWithResponse Get file metadata
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/files/{uid} (the `GetFile` operationId).
func (*ClientWithResponses) GetHealthWithResponse ¶
func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResult, error)
GetHealthWithResponse System health check
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/mgmt/health (the `GetHealth` operationId).
func (*ClientWithResponses) GetIncidentNotificationWithResponse ¶
func (c *ClientWithResponses) GetIncidentNotificationWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*GetIncidentNotificationResult, error)
GetIncidentNotificationWithResponse Get an incident notification delivery by UID
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications/{notifUid} (the `GetIncidentNotification` operationId).
func (*ClientWithResponses) GetIncidentWithResponse ¶
func (c *ClientWithResponses) GetIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, params *GetIncidentParams, reqEditors ...RequestEditorFn) (*GetIncidentResult, error)
GetIncidentWithResponse Get incident details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid} (the `GetIncident` operationId).
func (*ClientWithResponses) GetInviteWithResponse ¶
func (c *ClientWithResponses) GetInviteWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*GetInviteResult, error)
GetInviteWithResponse Inspect an invitation by token
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/auth/invite/{token} (the `GetInvite` operationId).
func (*ClientWithResponses) GetJobStatsWithResponse ¶
func (c *ClientWithResponses) GetJobStatsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetJobStatsResult, error)
GetJobStatsWithResponse Job & check-schedule stats
Aggregate counts over the background-jobs queue and the check schedule for the org.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/jobs/stats (the `GetJobStats` operationId).
func (*ClientWithResponses) GetJobWithResponse ¶
func (c *ClientWithResponses) GetJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetJobResult, error)
GetJobWithResponse Get job details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/jobs/{uid} (the `GetJob` operationId).
func (*ClientWithResponses) GetLimitsWithResponse ¶
func (c *ClientWithResponses) GetLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLimitsResult, error)
GetLimitsWithResponse Rate-limit and concurrency introspection
Returns the server's rate-limit and concurrency configuration together with the calling client's live counters (remaining tokens, in-flight requests), the resolved caller IP and which bucket ("ip" or "token") the caller's traffic is accounted against. Public, no authentication.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/mgmt/limits (the `GetLimits` operationId).
func (*ClientWithResponses) GetMaintenanceWindowWithResponse ¶
func (c *ClientWithResponses) GetMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowResult, error)
GetMaintenanceWindowWithResponse Get a maintenance window
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid} (the `GetMaintenanceWindow` operationId).
func (*ClientWithResponses) GetMemberWithResponse ¶
func (c *ClientWithResponses) GetMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*GetMemberResult, error)
GetMemberWithResponse Get member details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/members/{uid} (the `GetMember` operationId).
func (*ClientWithResponses) GetMemoryWithResponse ¶
func (c *ClientWithResponses) GetMemoryWithResponse(ctx context.Context, params *GetMemoryParams, reqEditors ...RequestEditorFn) (*GetMemoryResult, error)
GetMemoryWithResponse Runtime memory snapshot
Returns a JSON snapshot of runtime memory (heap / stack / goroutines / GC and the runtime/metrics memory classes), the process RSS breakdown from /proc (anon / file / shmem split, peak, threads, smaps_rollup Pss), the container's own cgroup accounting, the derived off-heap gap, suspect-subsystem cardinalities (DEK cache, rate-limit entries, event listeners) and build facts (cgo, SQLite driver, Go version). Linux-only sections report `present: false` on other platforms rather than failing. Super-admin only; the raw pprof surface stays on the localhost-bound profiler server.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/mgmt/memory (the `GetMemory` operationId).
func (*ClientWithResponses) GetNotificationWithResponse ¶
func (c *ClientWithResponses) GetNotificationWithResponse(ctx context.Context, org OrgPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*GetNotificationResult, error)
GetNotificationWithResponse Get a notification delivery by UID
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/notifications/{notifUid} (the `GetNotification` operationId).
func (*ClientWithResponses) GetOncallScheduleWithResponse ¶
func (c *ClientWithResponses) GetOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*GetOncallScheduleResult, error)
GetOncallScheduleWithResponse Get an on-call schedule
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid} (the `GetOncallSchedule` operationId).
func (*ClientWithResponses) GetOrgDependencyGraphWithResponse ¶
func (c *ClientWithResponses) GetOrgDependencyGraphWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetOrgDependencyGraphResult, error)
GetOrgDependencyGraphWithResponse Org-wide check dependency graph
Returns every check (node) and every dependency edge in the organization.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/dependencies (the `GetOrgDependencyGraph` operationId).
func (*ClientWithResponses) GetOrgResultWithResponse ¶
func (c *ClientWithResponses) GetOrgResultWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, params *GetOrgResultParams, reqEditors ...RequestEditorFn) (*GetOrgResultResult, error)
GetOrgResultWithResponse Get a single result, with chronological neighbor UIDs
Returns one result row by UID. When the raw row has been rolled up into an aggregation (see retention/aggregation), falls back to the smallest-period aggregation covering the requested UID's embedded UUIDv7 timestamp and includes a `fallback` block describing the substitution. previousUid/nextUid identify the next-older/next-newer row in the same check + periodType series (the covering aggregation's series when a fallback applies), omitted at either boundary. Two rows sharing periodStart are ordered by uid, so stepping across them never skips or repeats.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/results/{uid} (the `GetOrgResult` operationId).
func (*ClientWithResponses) GetOrgSettingsWithResponse ¶
func (c *ClientWithResponses) GetOrgSettingsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetOrgSettingsResult, error)
GetOrgSettingsWithResponse Get organization settings
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/settings (the `GetOrgSettings` operationId).
func (*ClientWithResponses) GetPublicConfigWithResponse ¶
func (c *ClientWithResponses) GetPublicConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicConfigResult, error)
GetPublicConfigWithResponse Public browser-safe configuration
Unauthenticated configuration blob the dashboard reads at boot, before any login. Contains **only** non-secret, browser-safe values; no parameter marked `secret` in the system-parameter registry is ever exposed here (in particular `posthog.personal_api_key` is not).
When a feature is disabled its configuration fields are **omitted** rather than returned empty — e.g. with PostHog unconfigured the response is exactly `{"posthog": {"enabled": false}}`. The same rule applies to `whatsapp` and `telegram`: `whatsapp` is a single resolved boolean, and `telegram` emits its public bot username only while it is enabled.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/config (the `GetPublicConfig` operationId).
func (*ClientWithResponses) GetRegionHealthWithResponse ¶
func (c *ClientWithResponses) GetRegionHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRegionHealthResult, error)
GetRegionHealthWithResponse Ghost-region detection report
One row per region slug seen anywhere — in the declared `regions` system parameter, in a check's `regions` array, in a `check_jobs.region`, or in a live or previously-live worker's announced region — so the caller gets the ghosts and the healthy baseline in one call.
A **ghost** is a slug something depends on (a job or a check reference) that nothing live can serve: `(jobs > 0 || checksReferencing > 0) && liveWorkers == 0`. A declared region with zero live workers and zero references is dark but unused, not a ghost — the alarm condition is work assigned to nobody, not an idle region.
`liveWorkers` reuses the exact prefix rule the scheduler claims jobs with (`workerRegion` has the slug as a prefix, so a `us` job is served by a `us-1` worker) and the same liveness window as the region capability report. `lastWorkerSeenAt` spans every matching worker, soft-deleted included, so it dates when the region actually went dark. NULL-region (any-region) jobs never count toward any row — they are claimable by every cloud worker by construction.
Read-side companion of `POST /system/regions/migrate`: its output names exactly the `from` slugs a migration should target. Cheap and unpaginated — a handful of bounded scans, not a query per region. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/regions/health (the `GetRegionHealth` operationId).
func (*ClientWithResponses) GetReportScheduleWithResponse ¶
func (c *ClientWithResponses) GetReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*GetReportScheduleResult, error)
GetReportScheduleWithResponse Get a scheduled uptime report
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/report-schedules/{uid} (the `GetReportSchedule` operationId).
func (*ClientWithResponses) GetSchedulingLaneLoadWithResponse ¶
func (c *ClientWithResponses) GetSchedulingLaneLoadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulingLaneLoadResult, error)
GetSchedulingLaneLoadWithResponse Per-worker check-lane load statistics
Computes, server-side, each worker's offered check load per scheduling lane (fast / slow): eligible job counts, summed cost and delay EWMAs, and the summed duty cycle (100 × cost EWMA / period, i.e. how many runner slots the lane's steady-state demand occupies). "Offered" means every enabled job the worker is eligible to claim — jobs without a region count for every worker, region-scoped jobs count for workers whose region has the job's region as a prefix — so workers sharing a region report the same load. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/scheduling/lane-load (the `GetSchedulingLaneLoad` operationId).
func (*ClientWithResponses) GetSeverityWithResponse ¶
func (c *ClientWithResponses) GetSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*GetSeverityResult, error)
GetSeverityWithResponse Get a severity
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/severities/{uid} (the `GetSeverity` operationId).
func (*ClientWithResponses) GetSloAlertPolicyWithResponse ¶
func (c *ClientWithResponses) GetSloAlertPolicyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, reqEditors ...RequestEditorFn) (*GetSloAlertPolicyResult, error)
GetSloAlertPolicyWithResponse Get one burn-rate alert policy
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `GetSloAlertPolicy` operationId).
func (*ClientWithResponses) GetSloBurndownWithResponse ¶
func (c *ClientWithResponses) GetSloBurndownWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*GetSloBurndownResult, error)
GetSloBurndownWithResponse Error-budget burn-down for the current window
Cumulative series. Consumption is accrued per step and summed forward, so `budgetRemainingSeconds` is monotonically non-increasing by construction — it cannot climb back up when probe density changes. It is not clamped at zero: an overspent budget reports a negative remainder. A step with no countable probe spends nothing (no data is not downtime).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/burndown (the `GetSloBurndown` operationId).
func (*ClientWithResponses) GetSloHistoryWithResponse ¶
func (c *ClientWithResponses) GetSloHistoryWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams, reqEditors ...RequestEditorFn) (*GetSloHistoryResult, error)
GetSloHistoryWithResponse Past monthly windows for an objective
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/history (the `GetSloHistory` operationId).
func (*ClientWithResponses) GetSloStatusWithResponse ¶
func (c *ClientWithResponses) GetSloStatusWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*GetSloStatusResult, error)
GetSloStatusWithResponse Evaluate an objective over the current calendar window
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/status (the `GetSloStatus` operationId).
func (*ClientWithResponses) GetSloWithResponse ¶
func (c *ClientWithResponses) GetSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*GetSloResult, error)
GetSloWithResponse Get a service-level objective
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/slos/{uid} (the `GetSlo` operationId).
func (*ClientWithResponses) GetStatusPageBadgeWithResponse ¶
func (c *ClientWithResponses) GetStatusPageBadgeWithResponse(ctx context.Context, org OrgPath, slug string, params *GetStatusPageBadgeParams, reqEditors ...RequestEditorFn) (*GetStatusPageBadgeResult, error)
GetStatusPageBadgeWithResponse SVG badge for a status page's overall status
Public SVG badge (shields.io style) reflecting the page-level rollup status — the static, script-free sibling of the JS embed widget, for contexts like GitHub READMEs where scripts can't run. Same visibility gate as the full view and the summary endpoint: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one — the badge renders the rollup status of a page the requester may not be entitled to see. No authentication required.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/status-pages/{org}/{slug}/badge (the `GetStatusPageBadge` operationId).
func (*ClientWithResponses) GetStatusPageIncidentWithResponse ¶
func (c *ClientWithResponses) GetStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*GetStatusPageIncidentResult, error)
GetStatusPageIncidentWithResponse Get one incident publication with its narrative
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `GetStatusPageIncident` operationId).
func (*ClientWithResponses) GetStatusPageSectionWithResponse ¶
func (c *ClientWithResponses) GetStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*GetStatusPageSectionResult, error)
GetStatusPageSectionWithResponse Get a section
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `GetStatusPageSection` operationId).
func (*ClientWithResponses) GetStatusPageWithResponse ¶
func (c *ClientWithResponses) GetStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *GetStatusPageParams, reqEditors ...RequestEditorFn) (*GetStatusPageResult, error)
GetStatusPageWithResponse Get a status page
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `GetStatusPage` operationId).
func (*ClientWithResponses) GetStatusUpdateWithResponse ¶
func (c *ClientWithResponses) GetStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*GetStatusUpdateResult, error)
GetStatusUpdateWithResponse Get a status update
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-updates/{uid} (the `GetStatusUpdate` operationId).
func (*ClientWithResponses) GetSupportThreadWithResponse ¶
func (c *ClientWithResponses) GetSupportThreadWithResponse(ctx context.Context, uid string, reqEditors ...RequestEditorFn) (*GetSupportThreadResult, error)
GetSupportThreadWithResponse Get one support thread
Returns the thread, marking it read. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/support/threads/{uid} (the `GetSupportThread` operationId).
func (*ClientWithResponses) GetSystemCheckJobWithResponse ¶
func (c *ClientWithResponses) GetSystemCheckJobWithResponse(ctx context.Context, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*GetSystemCheckJobResult, error)
GetSystemCheckJobWithResponse Get a check-schedule job (all orgs)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/check-jobs/{uid} (the `GetSystemCheckJob` operationId).
func (*ClientWithResponses) GetSystemJobChainWithResponse ¶
func (c *ClientWithResponses) GetSystemJobChainWithResponse(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetSystemJobChainResult, error)
GetSystemJobChainWithResponse Get a job's retry chain (all orgs)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/jobs/{uid}/chain (the `GetSystemJobChain` operationId).
func (*ClientWithResponses) GetSystemJobStatsWithResponse ¶
func (c *ClientWithResponses) GetSystemJobStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemJobStatsResult, error)
GetSystemJobStatsWithResponse Job & check-schedule stats (all orgs)
Aggregate job and check-schedule counts across every org (super-admin).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/jobs/stats (the `GetSystemJobStats` operationId).
func (*ClientWithResponses) GetSystemJobWithResponse ¶
func (c *ClientWithResponses) GetSystemJobWithResponse(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetSystemJobResult, error)
GetSystemJobWithResponse Get a background job (all orgs)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/jobs/{uid} (the `GetSystemJob` operationId).
func (*ClientWithResponses) GetSystemParameterWithResponse ¶
func (c *ClientWithResponses) GetSystemParameterWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetSystemParameterResult, error)
GetSystemParameterWithResponse Get a system parameter
Returns a single system parameter by key. Secret values are masked.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/parameters/{key} (the `GetSystemParameter` operationId).
func (*ClientWithResponses) GetVersionWithResponse ¶
func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResult, error)
GetVersionWithResponse Get system version
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/mgmt/version (the `GetVersion` operationId).
func (*ClientWithResponses) ListAdminEntitlementsWithResponse ¶
func (c *ClientWithResponses) ListAdminEntitlementsWithResponse(ctx context.Context, params *ListAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*ListAdminEntitlementsResult, error)
ListAdminEntitlementsWithResponse List organizations with their resolved entitlements (super admin)
One row per organization: resolved limits, their source, plan display identity, and the checks-per-minute demand/cap pair so orgs currently over their execution cap can be spotted without opening each one.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/entitlements (the `ListAdminEntitlements` operationId).
func (*ClientWithResponses) ListAdminJobsWithResponse ¶
func (c *ClientWithResponses) ListAdminJobsWithResponse(ctx context.Context, org OrgPath, params *ListAdminJobsParams, reqEditors ...RequestEditorFn) (*ListAdminJobsResult, error)
ListAdminJobsWithResponse List background jobs (admin)
Admin-gated list of background jobs for the org, most-recent first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/admin/jobs (the `ListAdminJobs` operationId).
func (*ClientWithResponses) ListAllTokensWithResponse ¶
func (c *ClientWithResponses) ListAllTokensWithResponse(ctx context.Context, params *ListAllTokensParams, reqEditors ...RequestEditorFn) (*ListAllTokensResult, error)
ListAllTokensWithResponse List all user's tokens across orgs
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/auth/tokens (the `ListAllTokens` operationId).
func (*ClientWithResponses) ListAuthProvidersWithResponse ¶
func (c *ClientWithResponses) ListAuthProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuthProvidersResult, error)
ListAuthProvidersWithResponse List configured auth providers
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/auth/providers (the `ListAuthProviders` operationId).
func (*ClientWithResponses) ListChannelsWithResponse ¶
func (c *ClientWithResponses) ListChannelsWithResponse(ctx context.Context, org OrgPath, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*ListChannelsResult, error)
ListChannelsWithResponse List notification channels
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/channels (the `ListChannels` operationId).
func (*ClientWithResponses) ListCheckChannelsWithResponse ¶
func (c *ClientWithResponses) ListCheckChannelsWithResponse(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*ListCheckChannelsResult, error)
ListCheckChannelsWithResponse List channels bound to a check
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/channels (the `ListCheckChannels` operationId).
func (*ClientWithResponses) ListCheckDependenciesWithResponse ¶
func (c *ClientWithResponses) ListCheckDependenciesWithResponse(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*ListCheckDependenciesResult, error)
ListCheckDependenciesWithResponse List dependencies for a check
Returns the dependsOn (parents) and dependedOnBy (children) edges of the given check.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{check}/dependencies (the `ListCheckDependencies` operationId).
func (*ClientWithResponses) ListCheckEventsWithResponse ¶
func (c *ClientWithResponses) ListCheckEventsWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *ListCheckEventsParams, reqEditors ...RequestEditorFn) (*ListCheckEventsResult, error)
ListCheckEventsWithResponse List events for a check
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid}/events (the `ListCheckEvents` operationId).
func (*ClientWithResponses) ListCheckGroupsWithResponse ¶
func (c *ClientWithResponses) ListCheckGroupsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListCheckGroupsResult, error)
ListCheckGroupsWithResponse List check groups
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/check-groups (the `ListCheckGroups` operationId).
func (*ClientWithResponses) ListCheckJobsWithResponse ¶
func (c *ClientWithResponses) ListCheckJobsWithResponse(ctx context.Context, org OrgPath, params *ListCheckJobsParams, reqEditors ...RequestEditorFn) (*ListCheckJobsResult, error)
ListCheckJobsWithResponse List check-schedule jobs (admin)
Admin-gated list of the check_jobs scheduler rows. Encrypted secret values are never returned.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/check-jobs (the `ListCheckJobs` operationId).
func (*ClientWithResponses) ListCheckTypeSamplesWithResponse ¶
func (c *ClientWithResponses) ListCheckTypeSamplesWithResponse(ctx context.Context, params *ListCheckTypeSamplesParams, reqEditors ...RequestEditorFn) (*ListCheckTypeSamplesResult, error)
ListCheckTypeSamplesWithResponse List sample configurations grouped by check type
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/check-types/samples (the `ListCheckTypeSamples` operationId).
func (*ClientWithResponses) ListCheckTypesWithResponse ¶
func (c *ClientWithResponses) ListCheckTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCheckTypesResult, error)
ListCheckTypesWithResponse List check types with server-level activation status
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/check-types (the `ListCheckTypes` operationId).
func (*ClientWithResponses) ListChecksWithResponse ¶
func (c *ClientWithResponses) ListChecksWithResponse(ctx context.Context, org OrgPath, params *ListChecksParams, reqEditors ...RequestEditorFn) (*ListChecksResult, error)
ListChecksWithResponse List monitoring checks
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/checks (the `ListChecks` operationId).
func (*ClientWithResponses) ListDiscoveredChecksWithResponse ¶
func (c *ClientWithResponses) ListDiscoveredChecksWithResponse(ctx context.Context, org OrgPath, params *ListDiscoveredChecksParams, reqEditors ...RequestEditorFn) (*ListDiscoveredChecksResult, error)
ListDiscoveredChecksWithResponse List discovered (suggested) checks
Returns suggested checks for the org, ordered by group then slug so clients can render them grouped by groupKey.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/discovery/checks (the `ListDiscoveredChecks` operationId).
func (*ClientWithResponses) ListDiscoveryScansWithResponse ¶
func (c *ClientWithResponses) ListDiscoveryScansWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListDiscoveryScansResult, error)
ListDiscoveryScansWithResponse List discovery scans
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/discovery/scans (the `ListDiscoveryScans` operationId).
func (*ClientWithResponses) ListDiscoveryTypesWithResponse ¶
func (c *ClientWithResponses) ListDiscoveryTypesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListDiscoveryTypesResult, error)
ListDiscoveryTypesWithResponse List registered discovery types
Returns the discovery types (lan, freebox, …) available to drive a scan, so a client can build its type picker without hard-coding the set.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/discovery/types (the `ListDiscoveryTypes` operationId).
func (*ClientWithResponses) ListEmailSuppressionsWithResponse ¶
func (c *ClientWithResponses) ListEmailSuppressionsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListEmailSuppressionsResult, error)
ListEmailSuppressionsWithResponse List email suppressions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/email-suppressions (the `ListEmailSuppressions` operationId).
func (*ClientWithResponses) ListEntitlementsAuditsWithResponse ¶
func (c *ClientWithResponses) ListEntitlementsAuditsWithResponse(ctx context.Context, org OrgPath, params *ListEntitlementsAuditsParams, reqEditors ...RequestEditorFn) (*ListEntitlementsAuditsResult, error)
ListEntitlementsAuditsWithResponse List entitlement change audits
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/entitlements/audits (the `ListEntitlementsAudits` operationId).
func (*ClientWithResponses) ListEscalationPoliciesWithResponse ¶
func (c *ClientWithResponses) ListEscalationPoliciesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListEscalationPoliciesResult, error)
ListEscalationPoliciesWithResponse List escalation policies
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/escalation-policies (the `ListEscalationPolicies` operationId).
func (*ClientWithResponses) ListEventsWithResponse ¶
func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, org OrgPath, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResult, error)
ListEventsWithResponse List events
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/events (the `ListEvents` operationId).
func (*ClientWithResponses) ListFilesWithResponse ¶
func (c *ClientWithResponses) ListFilesWithResponse(ctx context.Context, org OrgPath, params *ListFilesParams, reqEditors ...RequestEditorFn) (*ListFilesResult, error)
ListFilesWithResponse List stored files
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/files (the `ListFiles` operationId).
func (*ClientWithResponses) ListIncidentEventsWithResponse ¶
func (c *ClientWithResponses) ListIncidentEventsWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*ListIncidentEventsResult, error)
ListIncidentEventsWithResponse List events for an incident
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/events (the `ListIncidentEvents` operationId).
func (*ClientWithResponses) ListIncidentNotificationsWithResponse ¶
func (c *ClientWithResponses) ListIncidentNotificationsWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentNotificationsParams, reqEditors ...RequestEditorFn) (*ListIncidentNotificationsResult, error)
ListIncidentNotificationsWithResponse List notification deliveries for an incident
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications (the `ListIncidentNotifications` operationId).
func (*ClientWithResponses) ListIncidentPublicationsWithResponse ¶
func (c *ClientWithResponses) ListIncidentPublicationsWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, reqEditors ...RequestEditorFn) (*ListIncidentPublicationsResult, error)
ListIncidentPublicationsWithResponse List every status page this incident is published on
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `ListIncidentPublications` operationId).
func (*ClientWithResponses) ListIncidentsWithResponse ¶
func (c *ClientWithResponses) ListIncidentsWithResponse(ctx context.Context, org OrgPath, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*ListIncidentsResult, error)
ListIncidentsWithResponse List incidents
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/incidents (the `ListIncidents` operationId).
func (*ClientWithResponses) ListIntegrationIdentitiesWithResponse ¶
func (c *ClientWithResponses) ListIntegrationIdentitiesWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*ListIntegrationIdentitiesResult, error)
ListIntegrationIdentitiesWithResponse List member identity mappings for an integration
Returns every organization member together with their identity on this integration (e.g. their Slack user id on the connected workspace). Identities are used to mention the on-call person in channel alerts; they are never used for paging. Read-only and cheap: this never calls out to the provider. Slack-only — other integration types return 400.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/integrations/{uid}/identities (the `ListIntegrationIdentities` operationId).
func (*ClientWithResponses) ListInvitationsWithResponse ¶
func (c *ClientWithResponses) ListInvitationsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListInvitationsResult, error)
ListInvitationsWithResponse List pending invitations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/invitations (the `ListInvitations` operationId).
func (*ClientWithResponses) ListJobsWithResponse ¶
func (c *ClientWithResponses) ListJobsWithResponse(ctx context.Context, org OrgPath, params *ListJobsParams, reqEditors ...RequestEditorFn) (*ListJobsResult, error)
ListJobsWithResponse List jobs
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/jobs (the `ListJobs` operationId).
func (*ClientWithResponses) ListLabelsWithResponse ¶
func (c *ClientWithResponses) ListLabelsWithResponse(ctx context.Context, org OrgPath, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResult, error)
ListLabelsWithResponse List label key/value suggestions
Returns distinct label keys, or distinct values for a given key when the "key" query parameter is set, with usage counts for popularity sort.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/labels (the `ListLabels` operationId).
func (*ClientWithResponses) ListMaintenanceWindowChecksWithResponse ¶
func (c *ClientWithResponses) ListMaintenanceWindowChecksWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*ListMaintenanceWindowChecksResult, error)
ListMaintenanceWindowChecksWithResponse List the checks covered by a maintenance window
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `ListMaintenanceWindowChecks` operationId).
func (*ClientWithResponses) ListMaintenanceWindowsWithResponse ¶
func (c *ClientWithResponses) ListMaintenanceWindowsWithResponse(ctx context.Context, org OrgPath, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*ListMaintenanceWindowsResult, error)
ListMaintenanceWindowsWithResponse List maintenance windows
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/maintenance-windows (the `ListMaintenanceWindows` operationId).
func (*ClientWithResponses) ListMemberCoverageWithResponse ¶
func (c *ClientWithResponses) ListMemberCoverageWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMemberCoverageResult, error)
ListMemberCoverageWithResponse List per-member paging coverage
Per-member notification coverage for the organization. Exposes channel TYPES and verified/enabled flags only — never a contact value, since per-user contacts belong to the member and are otherwise `users/me` scoped. `emailFallbackOnly` marks members nothing but email can reach. Admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/members/coverage (the `ListMemberCoverage` operationId).
func (*ClientWithResponses) ListMembersWithResponse ¶
func (c *ClientWithResponses) ListMembersWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMembersResult, error)
ListMembersWithResponse List organization members
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/members (the `ListMembers` operationId).
func (*ClientWithResponses) ListMyMembershipRequestsWithResponse ¶
func (c *ClientWithResponses) ListMyMembershipRequestsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMyMembershipRequestsResult, error)
ListMyMembershipRequestsWithResponse List the caller's own membership requests
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/auth/membership-requests (the `ListMyMembershipRequests` operationId).
func (*ClientWithResponses) ListMyNotificationRoutesWithResponse ¶
func (c *ClientWithResponses) ListMyNotificationRoutesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMyNotificationRoutesResult, error)
ListMyNotificationRoutesWithResponse List the caller's notification routes
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/users/me/notification-routes (the `ListMyNotificationRoutes` operationId).
func (*ClientWithResponses) ListMyNotificationsWithResponse ¶
func (c *ClientWithResponses) ListMyNotificationsWithResponse(ctx context.Context, org OrgPath, params *ListMyNotificationsParams, reqEditors ...RequestEditorFn) (*ListMyNotificationsResult, error)
ListMyNotificationsWithResponse List the caller's notification deliveries
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/me/notifications (the `ListMyNotifications` operationId).
func (*ClientWithResponses) ListNotificationsWithResponse ¶
func (c *ClientWithResponses) ListNotificationsWithResponse(ctx context.Context, org OrgPath, params *ListNotificationsParams, reqEditors ...RequestEditorFn) (*ListNotificationsResult, error)
ListNotificationsWithResponse List notification deliveries by connection
Lists notification delivery audit rows for the org, filtered by a connection (channel). `connectionUid` is required.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/notifications (the `ListNotifications` operationId).
func (*ClientWithResponses) ListOncallOverridesWithResponse ¶
func (c *ClientWithResponses) ListOncallOverridesWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *ListOncallOverridesParams, reqEditors ...RequestEditorFn) (*ListOncallOverridesResult, error)
ListOncallOverridesWithResponse List overrides on an on-call schedule
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `ListOncallOverrides` operationId).
func (*ClientWithResponses) ListOncallSchedulesWithResponse ¶
func (c *ClientWithResponses) ListOncallSchedulesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListOncallSchedulesResult, error)
ListOncallSchedulesWithResponse List on-call schedules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules (the `ListOncallSchedules` operationId).
func (*ClientWithResponses) ListOrgMembershipRequestsWithResponse ¶
func (c *ClientWithResponses) ListOrgMembershipRequestsWithResponse(ctx context.Context, org OrgPath, params *ListOrgMembershipRequestsParams, reqEditors ...RequestEditorFn) (*ListOrgMembershipRequestsResult, error)
ListOrgMembershipRequestsWithResponse List an organization's membership requests
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/membership-requests (the `ListOrgMembershipRequests` operationId).
func (*ClientWithResponses) ListOrgResultsWithResponse ¶
func (c *ClientWithResponses) ListOrgResultsWithResponse(ctx context.Context, org OrgPath, params *ListOrgResultsParams, reqEditors ...RequestEditorFn) (*ListOrgResultsResult, error)
ListOrgResultsWithResponse List results across all checks in organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/results (the `ListOrgResults` operationId).
func (*ClientWithResponses) ListOrgTokensWithResponse ¶
func (c *ClientWithResponses) ListOrgTokensWithResponse(ctx context.Context, org OrgPath, params *ListOrgTokensParams, reqEditors ...RequestEditorFn) (*ListOrgTokensResult, error)
ListOrgTokensWithResponse List user's tokens for an organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/tokens (the `ListOrgTokens` operationId).
func (*ClientWithResponses) ListRegionsWithResponse ¶
func (c *ClientWithResponses) ListRegionsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListRegionsResult, error)
ListRegionsWithResponse List regions available to an organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/regions (the `ListRegions` operationId).
func (*ClientWithResponses) ListReportSchedulesWithResponse ¶
func (c *ClientWithResponses) ListReportSchedulesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListReportSchedulesResult, error)
ListReportSchedulesWithResponse List scheduled uptime reports
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/report-schedules (the `ListReportSchedules` operationId).
func (*ClientWithResponses) ListSeveritiesWithResponse ¶
func (c *ClientWithResponses) ListSeveritiesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListSeveritiesResult, error)
ListSeveritiesWithResponse List severities
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/severities (the `ListSeverities` operationId).
func (*ClientWithResponses) ListSloAlertPoliciesWithResponse ¶
func (c *ClientWithResponses) ListSloAlertPoliciesWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*ListSloAlertPoliciesResult, error)
ListSloAlertPoliciesWithResponse List an objective's burn-rate alert policies
Two built-in multiwindow burn-rate policies (`fast` and `slow`), materialized on demand so an objective created before the feature existed answers exactly like a new one. Both start disabled — alerting is opt-in. `longBurnRate` / `shortBurnRate` are recomputed for the request rather than read back from the stored readout, and are null (never 0) when a window carries no countable probe.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies (the `ListSloAlertPolicies` operationId).
func (*ClientWithResponses) ListSlosWithResponse ¶
func (c *ClientWithResponses) ListSlosWithResponse(ctx context.Context, org OrgPath, params *ListSlosParams, reqEditors ...RequestEditorFn) (*ListSlosResult, error)
ListSlosWithResponse List service-level objectives
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/slos (the `ListSlos` operationId).
func (*ClientWithResponses) ListStatusPageIncidentsWithResponse ¶
func (c *ClientWithResponses) ListStatusPageIncidentsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*ListStatusPageIncidentsResult, error)
ListStatusPageIncidentsWithResponse List the incident publications on a status page
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `ListStatusPageIncidents` operationId).
func (*ClientWithResponses) ListStatusPageResourcesWithResponse ¶
func (c *ClientWithResponses) ListStatusPageResourcesWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*ListStatusPageResourcesResult, error)
ListStatusPageResourcesWithResponse List resources of a section
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `ListStatusPageResources` operationId).
func (*ClientWithResponses) ListStatusPageSectionsWithResponse ¶
func (c *ClientWithResponses) ListStatusPageSectionsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*ListStatusPageSectionsResult, error)
ListStatusPageSectionsWithResponse List sections of a status page
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `ListStatusPageSections` operationId).
func (*ClientWithResponses) ListStatusPageSubscribersWithResponse ¶
func (c *ClientWithResponses) ListStatusPageSubscribersWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*ListStatusPageSubscribersResult, error)
ListStatusPageSubscribersWithResponse List subscribers of a status page
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `ListStatusPageSubscribers` operationId).
func (*ClientWithResponses) ListStatusPagesWithResponse ¶
func (c *ClientWithResponses) ListStatusPagesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListStatusPagesResult, error)
ListStatusPagesWithResponse List status pages
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-pages (the `ListStatusPages` operationId).
func (*ClientWithResponses) ListStatusUpdatesWithResponse ¶
func (c *ClientWithResponses) ListStatusUpdatesWithResponse(ctx context.Context, org OrgPath, params *ListStatusUpdatesParams, reqEditors ...RequestEditorFn) (*ListStatusUpdatesResult, error)
ListStatusUpdatesWithResponse List status updates
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/status-updates (the `ListStatusUpdates` operationId).
func (*ClientWithResponses) ListSupportMessagesWithResponse ¶
func (c *ClientWithResponses) ListSupportMessagesWithResponse(ctx context.Context, uid string, params *ListSupportMessagesParams, reqEditors ...RequestEditorFn) (*ListSupportMessagesResult, error)
ListSupportMessagesWithResponse List a thread's messages
Chronological order, oldest first. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/support/threads/{uid}/messages (the `ListSupportMessages` operationId).
func (*ClientWithResponses) ListSupportThreadsWithResponse ¶
func (c *ClientWithResponses) ListSupportThreadsWithResponse(ctx context.Context, params *ListSupportThreadsParams, reqEditors ...RequestEditorFn) (*ListSupportThreadsResult, error)
ListSupportThreadsWithResponse List support threads
Returns captured support conversations, most recent activity first. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/support/threads (the `ListSupportThreads` operationId).
func (*ClientWithResponses) ListSystemCheckJobsWithResponse ¶
func (c *ClientWithResponses) ListSystemCheckJobsWithResponse(ctx context.Context, params *ListSystemCheckJobsParams, reqEditors ...RequestEditorFn) (*ListSystemCheckJobsResult, error)
ListSystemCheckJobsWithResponse List check-schedule jobs (all orgs)
Super-admin list of the check_jobs scheduler rows across every org. Secrets are never returned.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/check-jobs (the `ListSystemCheckJobs` operationId).
func (*ClientWithResponses) ListSystemJobsWithResponse ¶
func (c *ClientWithResponses) ListSystemJobsWithResponse(ctx context.Context, params *ListSystemJobsParams, reqEditors ...RequestEditorFn) (*ListSystemJobsResult, error)
ListSystemJobsWithResponse List background jobs (all orgs)
Super-admin list of background jobs across all orgs, including system jobs (null org).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/jobs (the `ListSystemJobs` operationId).
func (*ClientWithResponses) ListSystemParametersWithResponse ¶
func (c *ClientWithResponses) ListSystemParametersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSystemParametersResult, error)
ListSystemParametersWithResponse List all system parameters
Returns all system-wide configuration parameters. Secret values are masked.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/system/parameters (the `ListSystemParameters` operationId).
func (*ClientWithResponses) ListUserNotificationsWithResponse ¶
func (c *ClientWithResponses) ListUserNotificationsWithResponse(ctx context.Context, org OrgPath, uid UserUidPath, params *ListUserNotificationsParams, reqEditors ...RequestEditorFn) (*ListUserNotificationsResult, error)
ListUserNotificationsWithResponse List a user's notification deliveries
Admins may query any user; non-admin members may only query themselves (403 otherwise).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/users/{uid}/notifications (the `ListUserNotifications` operationId).
func (*ClientWithResponses) LoginWithBodyWithResponse ¶
func (c *ClientWithResponses) LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResult, error)
LoginWithBodyWithResponse Login with email/password
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/login (the `Login` operationId).
func (*ClientWithResponses) LoginWithResponse ¶
func (c *ClientWithResponses) LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResult, error)
LoginWithResponse Login with email/password
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/login (the `Login` operationId).
func (*ClientWithResponses) LogoutWithBodyWithResponse ¶
func (c *ClientWithResponses) LogoutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogoutResult, error)
LogoutWithBodyWithResponse Logout current session
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
func (*ClientWithResponses) LogoutWithResponse ¶
func (c *ClientWithResponses) LogoutWithResponse(ctx context.Context, body LogoutJSONRequestBody, reqEditors ...RequestEditorFn) (*LogoutResult, error)
LogoutWithResponse Logout current session
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
func (*ClientWithResponses) MigrateRegionWithBodyWithResponse ¶
func (c *ClientWithResponses) MigrateRegionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MigrateRegionResult, error)
MigrateRegionWithBodyWithResponse Migrate every reference to a region slug
Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
`to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
func (*ClientWithResponses) MigrateRegionWithResponse ¶
func (c *ClientWithResponses) MigrateRegionWithResponse(ctx context.Context, body MigrateRegionJSONRequestBody, reqEditors ...RequestEditorFn) (*MigrateRegionResult, error)
MigrateRegionWithResponse Migrate every reference to a region slug
Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
`to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
func (*ClientWithResponses) PatchEntitlementsWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchEntitlementsResult, error)
PatchEntitlementsWithBodyWithResponse Partially update an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
func (*ClientWithResponses) PatchEntitlementsWithResponse ¶
func (c *ClientWithResponses) PatchEntitlementsWithResponse(ctx context.Context, org OrgPath, body PatchEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEntitlementsResult, error)
PatchEntitlementsWithResponse Partially update an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
func (*ClientWithResponses) PollDeviceTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) PollDeviceTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PollDeviceTokenResult, error)
PollDeviceTokenWithBodyWithResponse Poll for the device authorization result (RFC 8628 token endpoint)
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
func (*ClientWithResponses) PollDeviceTokenWithResponse ¶
func (c *ClientWithResponses) PollDeviceTokenWithResponse(ctx context.Context, body PollDeviceTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PollDeviceTokenResult, error)
PollDeviceTokenWithResponse Poll for the device authorization result (RFC 8628 token endpoint)
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
func (*ClientWithResponses) PreviewOncallScheduleWithResponse ¶
func (c *ClientWithResponses) PreviewOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *PreviewOncallScheduleParams, reqEditors ...RequestEditorFn) (*PreviewOncallScheduleResult, error)
PreviewOncallScheduleWithResponse Preview the on-call rotation over a window
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/preview (the `PreviewOncallSchedule` operationId).
func (*ClientWithResponses) PromoteDiscoveredChecksWithBodyWithResponse ¶
func (c *ClientWithResponses) PromoteDiscoveredChecksWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PromoteDiscoveredChecksResult, error)
PromoteDiscoveredChecksWithBodyWithResponse Promote discovered checks into real checks
Admin only. Creates one real check per referenced discovered-check row (config/name/slug already on the row; `overrides` may adjust name/period). Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
func (*ClientWithResponses) PromoteDiscoveredChecksWithResponse ¶
func (c *ClientWithResponses) PromoteDiscoveredChecksWithResponse(ctx context.Context, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*PromoteDiscoveredChecksResult, error)
PromoteDiscoveredChecksWithResponse Promote discovered checks into real checks
Admin only. Creates one real check per referenced discovered-check row (config/name/slug already on the row; `overrides` may adjust name/period). Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
func (*ClientWithResponses) PublishIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) PublishIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishIncidentResult, error)
PublishIncidentWithBodyWithResponse Publish this incident on a status page
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
func (*ClientWithResponses) PublishIncidentWithResponse ¶
func (c *ClientWithResponses) PublishIncidentWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, body PublishIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishIncidentResult, error)
PublishIncidentWithResponse Publish this incident on a status page
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
func (*ClientWithResponses) RefreshTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) RefreshTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefreshTokenResult, error)
RefreshTokenWithBodyWithResponse Refresh access token
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
func (*ClientWithResponses) RefreshTokenWithResponse ¶
func (c *ClientWithResponses) RefreshTokenWithResponse(ctx context.Context, body RefreshTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*RefreshTokenResult, error)
RefreshTokenWithResponse Refresh access token
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
func (*ClientWithResponses) RegisterWithBodyWithResponse ¶
func (c *ClientWithResponses) RegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterResult, error)
RegisterWithBodyWithResponse Self-service account registration
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/register (the `Register` operationId).
func (*ClientWithResponses) RegisterWithResponse ¶
func (c *ClientWithResponses) RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterResult, error)
RegisterWithResponse Self-service account registration
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/register (the `Register` operationId).
func (*ClientWithResponses) RejectMembershipRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) RejectMembershipRequestWithBodyWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RejectMembershipRequestResult, error)
RejectMembershipRequestWithBodyWithResponse Reject a membership request
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
func (*ClientWithResponses) RejectMembershipRequestWithResponse ¶
func (c *ClientWithResponses) RejectMembershipRequestWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body RejectMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*RejectMembershipRequestResult, error)
RejectMembershipRequestWithResponse Reject a membership request
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
func (*ClientWithResponses) ReleaseAdminEntitlementsWithResponse ¶
func (c *ClientWithResponses) ReleaseAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ReleaseAdminEntitlementsResult, error)
ReleaseAdminEntitlementsWithResponse Release an organization back to billing (super admin)
Drops the stored entitlements row. The organization immediately resolves to the deployment-mode defaults, and the next billing push is applied normally. Releasing an organization that has no stored row is a no-op (`released: false`), not an error.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/system/entitlements/{org} (the `ReleaseAdminEntitlements` operationId).
func (*ClientWithResponses) RemoveCheckChannelWithResponse ¶
func (c *ClientWithResponses) RemoveCheckChannelWithResponse(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveCheckChannelResult, error)
RemoveCheckChannelWithResponse Unbind a single channel from a check
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `RemoveCheckChannel` operationId).
func (*ClientWithResponses) RemoveMemberWithResponse ¶
func (c *ClientWithResponses) RemoveMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*RemoveMemberResult, error)
RemoveMemberWithResponse Remove member from organization
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/members/{uid} (the `RemoveMember` operationId).
func (*ClientWithResponses) RemoveMyNotificationContactWithResponse ¶
func (c *ClientWithResponses) RemoveMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*RemoveMyNotificationContactResult, error)
RemoveMyNotificationContactWithResponse Remove one of the caller's notification contacts
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid} (the `RemoveMyNotificationContact` operationId).
func (*ClientWithResponses) RemoveStatusPageSubscriberWithResponse ¶
func (c *ClientWithResponses) RemoveStatusPageSubscriberWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid SubscriberUidPath, reqEditors ...RequestEditorFn) (*RemoveStatusPageSubscriberResult, error)
RemoveStatusPageSubscriberWithResponse Remove a subscriber from a status page
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/{uid} (the `RemoveStatusPageSubscriber` operationId).
func (*ClientWithResponses) ReorderStatusPageResourcesWithBodyWithResponse ¶
func (c *ClientWithResponses) ReorderStatusPageResourcesWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReorderStatusPageResourcesResult, error)
ReorderStatusPageResourcesWithBodyWithResponse Reorder the resources of a section
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
func (*ClientWithResponses) ReorderStatusPageResourcesWithResponse ¶
func (c *ClientWithResponses) ReorderStatusPageResourcesWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body ReorderStatusPageResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*ReorderStatusPageResourcesResult, error)
ReorderStatusPageResourcesWithResponse Reorder the resources of a section
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
func (*ClientWithResponses) ReorderStatusPageSectionsWithBodyWithResponse ¶
func (c *ClientWithResponses) ReorderStatusPageSectionsWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReorderStatusPageSectionsResult, error)
ReorderStatusPageSectionsWithBodyWithResponse Reorder the sections of a status page
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
func (*ClientWithResponses) ReorderStatusPageSectionsWithResponse ¶
func (c *ClientWithResponses) ReorderStatusPageSectionsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body ReorderStatusPageSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReorderStatusPageSectionsResult, error)
ReorderStatusPageSectionsWithResponse Reorder the sections of a status page
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
func (*ClientWithResponses) RequestPasswordResetWithBodyWithResponse ¶
func (c *ClientWithResponses) RequestPasswordResetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPasswordResetResult, error)
RequestPasswordResetWithBodyWithResponse Request a password reset email
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
func (*ClientWithResponses) RequestPasswordResetWithResponse ¶
func (c *ClientWithResponses) RequestPasswordResetWithResponse(ctx context.Context, body RequestPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPasswordResetResult, error)
RequestPasswordResetWithResponse Request a password reset email
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
func (*ClientWithResponses) ResendSupportMessageWithResponse ¶
func (c *ClientWithResponses) ResendSupportMessageWithResponse(ctx context.Context, uid string, messageUid string, reqEditors ...RequestEditorFn) (*ResendSupportMessageResult, error)
ResendSupportMessageWithResponse Resend a failed outbound reply
Re-runs the reply pre-flight (window, then routing) and the provider send for an outbound message whose delivery failed, rewriting that message's delivery record in place rather than appending a second copy. Only a failed outbound message qualifies — resending a delivered reply would send the same text to a customer twice. Returns 409 when the thread still cannot be replied to, and 202 when the provider rejected the retry as well. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/support/threads/{uid}/messages/{messageUid}/resend (the `ResendSupportMessage` operationId).
func (*ClientWithResponses) ResetPasswordWithBodyWithResponse ¶
func (c *ClientWithResponses) ResetPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetPasswordResult, error)
ResetPasswordWithBodyWithResponse Set a new password using a reset token
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
func (*ClientWithResponses) ResetPasswordWithResponse ¶
func (c *ClientWithResponses) ResetPasswordWithResponse(ctx context.Context, body ResetPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetPasswordResult, error)
ResetPasswordWithResponse Set a new password using a reset token
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
func (*ClientWithResponses) ResolveIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) ResolveIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveIncidentResult, error)
ResolveIncidentWithBodyWithResponse Resolve an incident
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
func (*ClientWithResponses) ResolveIncidentWithResponse ¶
func (c *ClientWithResponses) ResolveIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body ResolveIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveIncidentResult, error)
ResolveIncidentWithResponse Resolve an incident
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
func (*ClientWithResponses) RespondToDeviceConsentWithBodyWithResponse ¶
func (c *ClientWithResponses) RespondToDeviceConsentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RespondToDeviceConsentResult, error)
RespondToDeviceConsentWithBodyWithResponse Approve or deny a pending device authorization request
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
func (*ClientWithResponses) RespondToDeviceConsentWithResponse ¶
func (c *ClientWithResponses) RespondToDeviceConsentWithResponse(ctx context.Context, body RespondToDeviceConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*RespondToDeviceConsentResult, error)
RespondToDeviceConsentWithResponse Approve or deny a pending device authorization request
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
func (*ClientWithResponses) RevokeStatusPageKioskTokenWithResponse ¶
func (c *ClientWithResponses) RevokeStatusPageKioskTokenWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*RevokeStatusPageKioskTokenResult, error)
RevokeStatusPageKioskTokenWithResponse Revoke a status page's kiosk token
Clears the stored hash. Any screen still presenting the old token falls straight back to the page's ordinary visibility rules — 401 for a `password` page, 404 for a `private` one — with no distinguishable "revoked" answer. Idempotent: revoking a page that has no token succeeds.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `RevokeStatusPageKioskToken` operationId).
func (*ClientWithResponses) RevokeTokenWithResponse ¶
func (c *ClientWithResponses) RevokeTokenWithResponse(ctx context.Context, tokenUid TokenUidPath, reqEditors ...RequestEditorFn) (*RevokeTokenResult, error)
RevokeTokenWithResponse Revoke API token
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/auth/tokens/{tokenUid} (the `RevokeToken` operationId).
func (*ClientWithResponses) RotateChannelSecretWithResponse ¶
func (c *ClientWithResponses) RotateChannelSecretWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*RotateChannelSecretResult, error)
RotateChannelSecretWithResponse Rotate a webhook channel's signing secret
Rotates the per-channel signing secret (webhook channels only). The current secret becomes the previous one (valid for a 24 h grace window) and a fresh secret is generated. Returns 400 for non-webhook channels.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/rotate-secret (the `RotateChannelSecret` operationId).
func (*ClientWithResponses) RotateHeartbeatTokenWithResponse ¶
func (c *ClientWithResponses) RotateHeartbeatTokenWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*RotateHeartbeatTokenResult, error)
RotateHeartbeatTokenWithResponse Rotate a heartbeat check's ping token
Mints a fresh ping token for a heartbeat check (heartbeat checks only) and persists it, invalidating every previously issued ping URL immediately — unlike webhook signing-secret rotation, there is no grace period, since heartbeat pings are frequent and the operator is expected to update the sender right away. Returns 400 for non-heartbeat checks.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/rotate-token (the `RotateHeartbeatToken` operationId).
func (*ClientWithResponses) RotateOncallIcalFeedWithResponse ¶
func (c *ClientWithResponses) RotateOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*RotateOncallIcalFeedResult, error)
RotateOncallIcalFeedWithResponse Rotate the iCal feed secret for an on-call schedule
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/rotate (the `RotateOncallIcalFeed` operationId).
func (*ClientWithResponses) SendMemberPagingNudgeWithResponse ¶
func (c *ClientWithResponses) SendMemberPagingNudgeWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*SendMemberPagingNudgeResult, error)
SendMemberPagingNudgeWithResponse Email a member asking them to set up their paging
Sends a "set up your alert notifications" email with a link to the member's own notification settings. Carries no contact data and no verification code. Admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/members/{uid}/paging-nudge (the `SendMemberPagingNudge` operationId).
func (*ClientWithResponses) SendTestEmailWithBodyWithResponse ¶
func (c *ClientWithResponses) SendTestEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendTestEmailResult, error)
SendTestEmailWithBodyWithResponse Send a test email
Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
func (*ClientWithResponses) SendTestEmailWithResponse ¶
func (c *ClientWithResponses) SendTestEmailWithResponse(ctx context.Context, body SendTestEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*SendTestEmailResult, error)
SendTestEmailWithResponse Send a test email
Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
func (*ClientWithResponses) SetAdminEntitlementsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetAdminEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAdminEntitlementsResult, error)
SetAdminEntitlementsWithBodyWithResponse Write an organization's entitlements as an admin override (super admin)
Writes a complete admin-sourced row (whole-row only; there are no per-field overrides). The request body's `source` is ignored — a super admin write is always `admin`, so a body claiming to be the billing service cannot launder itself past the precedence rule.
Because the row is complete, an `admin` row resolves whole-row: a `null` cap means **unlimited**, not "inherit the deployment default". That is what makes the editor's Unlimited switch mean what it says on a SaaS deployment, where every default is a real number. `whiteLabel` is the exception — being a boolean, its `null` keeps meaning "use the deployment default".
While the stored row is admin-sourced, billing pushes to `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT applied (`applied: false`, `suppressedBy: admin`) and recorded in the audit log. Use `DELETE` on this path to release the override.
An optional `X-Entitlements-Reason` header is stored on the audit row.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
func (*ClientWithResponses) SetAdminEntitlementsWithResponse ¶
func (c *ClientWithResponses) SetAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, body SetAdminEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAdminEntitlementsResult, error)
SetAdminEntitlementsWithResponse Write an organization's entitlements as an admin override (super admin)
Writes a complete admin-sourced row (whole-row only; there are no per-field overrides). The request body's `source` is ignored — a super admin write is always `admin`, so a body claiming to be the billing service cannot launder itself past the precedence rule.
Because the row is complete, an `admin` row resolves whole-row: a `null` cap means **unlimited**, not "inherit the deployment default". That is what makes the editor's Unlimited switch mean what it says on a SaaS deployment, where every default is a real number. `whiteLabel` is the exception — being a boolean, its `null` keeps meaning "use the deployment default".
While the stored row is admin-sourced, billing pushes to `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT applied (`applied: false`, `suppressedBy: admin`) and recorded in the audit log. Use `DELETE` on this path to release the override.
An optional `X-Entitlements-Reason` header is stored on the audit row.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
func (*ClientWithResponses) SetCheckChannelsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetCheckChannelsWithBodyWithResponse(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCheckChannelsResult, error)
SetCheckChannelsWithBodyWithResponse Replace the full set of channels bound to a check
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
func (*ClientWithResponses) SetCheckChannelsWithResponse ¶
func (c *ClientWithResponses) SetCheckChannelsWithResponse(ctx context.Context, org OrgPath, check string, body SetCheckChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCheckChannelsResult, error)
SetCheckChannelsWithResponse Replace the full set of channels bound to a check
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
func (*ClientWithResponses) SetEntitlementsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetEntitlementsResult, error)
SetEntitlementsWithBodyWithResponse Replace an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
func (*ClientWithResponses) SetEntitlementsWithResponse ¶
func (c *ClientWithResponses) SetEntitlementsWithResponse(ctx context.Context, org OrgPath, body SetEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetEntitlementsResult, error)
SetEntitlementsWithResponse Replace an organization's entitlements
Write access is granted to either the billing service or an org admin. The billing service signs the request (HMAC-SHA256 over `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`). The legacy static bearer is still accepted while the `entitlements.allow_legacy_service_token` system parameter is true.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
func (*ClientWithResponses) SetIntegrationIdentityWithBodyWithResponse ¶
func (c *ClientWithResponses) SetIntegrationIdentityWithBodyWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetIntegrationIdentityResult, error)
SetIntegrationIdentityWithBodyWithResponse Set a member's identity on an integration
Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
func (*ClientWithResponses) SetIntegrationIdentityWithResponse ¶
func (c *ClientWithResponses) SetIntegrationIdentityWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, body SetIntegrationIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*SetIntegrationIdentityResult, error)
SetIntegrationIdentityWithResponse Set a member's identity on an integration
Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
func (*ClientWithResponses) SetMaintenanceWindowChecksWithBodyWithResponse ¶
func (c *ClientWithResponses) SetMaintenanceWindowChecksWithBodyWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMaintenanceWindowChecksResult, error)
SetMaintenanceWindowChecksWithBodyWithResponse Set the checks covered by a maintenance window
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
func (*ClientWithResponses) SetMaintenanceWindowChecksWithResponse ¶
func (c *ClientWithResponses) SetMaintenanceWindowChecksWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body SetMaintenanceWindowChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMaintenanceWindowChecksResult, error)
SetMaintenanceWindowChecksWithResponse Set the checks covered by a maintenance window
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
func (*ClientWithResponses) SetSystemParameterWithBodyWithResponse ¶
func (c *ClientWithResponses) SetSystemParameterWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSystemParameterResult, error)
SetSystemParameterWithBodyWithResponse Set a system parameter
Creates or updates a system parameter value.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
func (*ClientWithResponses) SetSystemParameterWithResponse ¶
func (c *ClientWithResponses) SetSystemParameterWithResponse(ctx context.Context, key string, body SetSystemParameterJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSystemParameterResult, error)
SetSystemParameterWithResponse Set a system parameter
Creates or updates a system parameter value.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
func (*ClientWithResponses) SnoozeIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) SnoozeIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SnoozeIncidentResult, error)
SnoozeIncidentWithBodyWithResponse Snooze an incident
Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
func (*ClientWithResponses) SnoozeIncidentWithResponse ¶
func (c *ClientWithResponses) SnoozeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body SnoozeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*SnoozeIncidentResult, error)
SnoozeIncidentWithResponse Snooze an incident
Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
func (*ClientWithResponses) StartDeviceAuthorizationWithBodyWithResponse ¶
func (c *ClientWithResponses) StartDeviceAuthorizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDeviceAuthorizationResult, error)
StartDeviceAuthorizationWithBodyWithResponse Start a device authorization request (RFC 8628)
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
func (*ClientWithResponses) StartDeviceAuthorizationWithResponse ¶
func (c *ClientWithResponses) StartDeviceAuthorizationWithResponse(ctx context.Context, body StartDeviceAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDeviceAuthorizationResult, error)
StartDeviceAuthorizationWithResponse Start a device authorization request (RFC 8628)
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
func (*ClientWithResponses) StartDiscoveryScanWithBodyWithResponse ¶
func (c *ClientWithResponses) StartDiscoveryScanWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDiscoveryScanResult, error)
StartDiscoveryScanWithBodyWithResponse Start a discovery scan
Admin only. The generic body is `{type, parameters}`; the discovery-type registry validates the parameters and resolves the job to enqueue. For LAN, parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox, `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes, `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a stored Kubernetes cluster connection (empty `namespaces` scans every visible namespace).
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
func (*ClientWithResponses) StartDiscoveryScanWithResponse ¶
func (c *ClientWithResponses) StartDiscoveryScanWithResponse(ctx context.Context, org OrgPath, body StartDiscoveryScanJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDiscoveryScanResult, error)
StartDiscoveryScanWithResponse Start a discovery scan
Admin only. The generic body is `{type, parameters}`; the discovery-type registry validates the parameters and resolves the job to enqueue. For LAN, parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox, `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes, `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a stored Kubernetes cluster connection (empty `namespaces` scans every visible namespace).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
func (*ClientWithResponses) StatusPageFeedWithResponse ¶
func (c *ClientWithResponses) StatusPageFeedWithResponse(ctx context.Context, org OrgPath, slug string, reqEditors ...RequestEditorFn) (*StatusPageFeedResult, error)
StatusPageFeedWithResponse Atom feed of a status page's status-update timeline
Public Atom/RSS feed of the page's recent status updates (incident posts and manual updates). Same visibility gate as the full page view, and the same visibility-driven caching: Cache-Control: public, max-age=300 for a `public` page, private, no-store for a `password` or `private` one — the feed quotes update titles and bodies verbatim. No authentication required.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/status-pages/{org}/{slug}/feed.xml (the `StatusPageFeed` operationId).
func (*ClientWithResponses) SubscribeToStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) SubscribeToStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeToStatusPageResult, error)
SubscribeToStatusPageWithBodyWithResponse Subscribe an email address to a status page
PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
func (*ClientWithResponses) SubscribeToStatusPageWithResponse ¶
func (c *ClientWithResponses) SubscribeToStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body SubscribeToStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeToStatusPageResult, error)
SubscribeToStatusPageWithResponse Subscribe an email address to a status page
PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
func (*ClientWithResponses) SwitchOrgWithBodyWithResponse ¶
func (c *ClientWithResponses) SwitchOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SwitchOrgResult, error)
SwitchOrgWithBodyWithResponse Switch organization context
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
func (*ClientWithResponses) SwitchOrgWithResponse ¶
func (c *ClientWithResponses) SwitchOrgWithResponse(ctx context.Context, body SwitchOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*SwitchOrgResult, error)
SwitchOrgWithResponse Switch organization context
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
func (*ClientWithResponses) SyncEmailInboxWithResponse ¶
func (c *ClientWithResponses) SyncEmailInboxWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SyncEmailInboxResult, error)
SyncEmailInboxWithResponse Trigger an email-inbox sync
Runs one immediate sync pass over the configured JMAP inbox. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/system/email-inbox/sync (the `SyncEmailInbox` operationId).
func (*ClientWithResponses) SyncIntegrationIdentitiesWithResponse ¶
func (c *ClientWithResponses) SyncIntegrationIdentitiesWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*SyncIntegrationIdentitiesResult, error)
SyncIntegrationIdentitiesWithResponse Re-run the member identity auto-match
Looks every organization member up in the connected Slack workspace by email (`users.lookupByEmail`) and records the matches. Manual overrides are never overwritten, and a workspace account that two members both resolve to is reported ambiguous and written nowhere. Admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/integrations/{uid}/identities/sync (the `SyncIntegrationIdentities` operationId).
func (*ClientWithResponses) TestChannelWithResponse ¶
func (c *ClientWithResponses) TestChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*TestChannelResult, error)
TestChannelWithResponse Send a sample notification through a channel
Sends a sample notification through the channel to verify it is wired correctly. Always returns 200 for a notifiable channel; inspect the `success` field to know whether delivery worked. Returns 400 for data-source-only channel types.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/test (the `TestChannel` operationId).
func (*ClientWithResponses) TestEmailInboxWithResponse ¶
func (c *ClientWithResponses) TestEmailInboxWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestEmailInboxResult, error)
TestEmailInboxWithResponse Test the email-inbox connection
Connects to the configured JMAP inbox and lists its resolved mailboxes. Super-admin only.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/system/email-inbox/test (the `TestEmailInbox` operationId).
func (*ClientWithResponses) TestMyNotificationRouteWithResponse ¶
func (c *ClientWithResponses) TestMyNotificationRouteWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, reqEditors ...RequestEditorFn) (*TestMyNotificationRouteResult, error)
TestMyNotificationRouteWithResponse Send a test notification through one of the caller's routes
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-routes/{routeUid}/test (the `TestMyNotificationRoute` operationId).
func (*ClientWithResponses) TestReportScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) TestReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestReportScheduleResult, error)
TestReportScheduleWithBodyWithResponse Send the report immediately to the caller
Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
func (*ClientWithResponses) TestReportScheduleWithResponse ¶
func (c *ClientWithResponses) TestReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body TestReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*TestReportScheduleResult, error)
TestReportScheduleWithResponse Send the report immediately to the caller
Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
func (*ClientWithResponses) UnacknowledgeIncidentWithResponse ¶
func (c *ClientWithResponses) UnacknowledgeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*UnacknowledgeIncidentResult, error)
UnacknowledgeIncidentWithResponse Remove acknowledgement from an incident
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unack (the `UnacknowledgeIncident` operationId).
func (*ClientWithResponses) UnlockDefaultStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) UnlockDefaultStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnlockDefaultStatusPageResult, error)
UnlockDefaultStatusPageWithBodyWithResponse Unlock an organization's password-protected default status page
Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
func (*ClientWithResponses) UnlockDefaultStatusPageWithResponse ¶
func (c *ClientWithResponses) UnlockDefaultStatusPageWithResponse(ctx context.Context, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UnlockDefaultStatusPageResult, error)
UnlockDefaultStatusPageWithResponse Unlock an organization's password-protected default status page
Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
func (*ClientWithResponses) UnlockStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) UnlockStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnlockStatusPageResult, error)
UnlockStatusPageWithBodyWithResponse Unlock a password-protected status page
Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
Attempts are rate limited per (client IP, page).
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
func (*ClientWithResponses) UnlockStatusPageWithResponse ¶
func (c *ClientWithResponses) UnlockStatusPageWithResponse(ctx context.Context, org OrgPath, slug string, body UnlockStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UnlockStatusPageResult, error)
UnlockStatusPageWithResponse Unlock a password-protected status page
Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
Attempts are rate limited per (client IP, page).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
func (*ClientWithResponses) UnpublishIncidentWithResponse ¶
func (c *ClientWithResponses) UnpublishIncidentWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*UnpublishIncidentResult, error)
UnpublishIncidentWithResponse Unpublish this incident from a status page
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /api/v1/orgs/{org}/incidents/{incidentUid}/publications/{uid} (the `UnpublishIncident` operationId).
func (*ClientWithResponses) UnsnoozeIncidentWithResponse ¶
func (c *ClientWithResponses) UnsnoozeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*UnsnoozeIncidentResult, error)
UnsnoozeIncidentWithResponse Clear an incident snooze
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unsnooze (the `UnsnoozeIncident` operationId).
func (*ClientWithResponses) UpdateChannelWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateChannelWithBodyWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateChannelResult, error)
UpdateChannelWithBodyWithResponse Update a notification channel
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
func (*ClientWithResponses) UpdateChannelWithResponse ¶
func (c *ClientWithResponses) UpdateChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, body UpdateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateChannelResult, error)
UpdateChannelWithResponse Update a notification channel
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
func (*ClientWithResponses) UpdateCheckDependencyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCheckDependencyWithBodyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCheckDependencyResult, error)
UpdateCheckDependencyWithBodyWithResponse Update a dependency edge
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
func (*ClientWithResponses) UpdateCheckDependencyWithResponse ¶
func (c *ClientWithResponses) UpdateCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, body UpdateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCheckDependencyResult, error)
UpdateCheckDependencyWithResponse Update a dependency edge
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
func (*ClientWithResponses) UpdateCheckGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCheckGroupWithBodyWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCheckGroupResult, error)
UpdateCheckGroupWithBodyWithResponse Update a check group
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
func (*ClientWithResponses) UpdateCheckGroupWithResponse ¶
func (c *ClientWithResponses) UpdateCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, body UpdateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCheckGroupResult, error)
UpdateCheckGroupWithResponse Update a check group
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
func (*ClientWithResponses) UpdateCheckWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCheckResult, error)
UpdateCheckWithBodyWithResponse Update monitoring check
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
func (*ClientWithResponses) UpdateCheckWithResponse ¶
func (c *ClientWithResponses) UpdateCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, body UpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCheckResult, error)
UpdateCheckWithResponse Update monitoring check
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
func (*ClientWithResponses) UpdateEscalationPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEscalationPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEscalationPolicyResult, error)
UpdateEscalationPolicyWithBodyWithResponse Update an escalation policy
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
func (*ClientWithResponses) UpdateEscalationPolicyWithResponse ¶
func (c *ClientWithResponses) UpdateEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, body UpdateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEscalationPolicyResult, error)
UpdateEscalationPolicyWithResponse Update an escalation policy
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
func (*ClientWithResponses) UpdateMaintenanceWindowWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMaintenanceWindowWithBodyWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResult, error)
UpdateMaintenanceWindowWithBodyWithResponse Update a maintenance window
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
func (*ClientWithResponses) UpdateMaintenanceWindowWithResponse ¶
func (c *ClientWithResponses) UpdateMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResult, error)
UpdateMaintenanceWindowWithResponse Update a maintenance window
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
func (*ClientWithResponses) UpdateMeWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMeResult, error)
UpdateMeWithBodyWithResponse Update the authenticated user's profile
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
func (*ClientWithResponses) UpdateMeWithResponse ¶
func (c *ClientWithResponses) UpdateMeWithResponse(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMeResult, error)
UpdateMeWithResponse Update the authenticated user's profile
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
func (*ClientWithResponses) UpdateMemberWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMemberWithBodyWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMemberResult, error)
UpdateMemberWithBodyWithResponse Update member role
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
func (*ClientWithResponses) UpdateMemberWithResponse ¶
func (c *ClientWithResponses) UpdateMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMemberResult, error)
UpdateMemberWithResponse Update member role
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
func (*ClientWithResponses) UpdateMyNotificationRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateMyNotificationRouteWithBodyWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMyNotificationRouteResult, error)
UpdateMyNotificationRouteWithBodyWithResponse Update one of the caller's notification routes
Toggle the enabled flag and/or reorder the full route list.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
func (*ClientWithResponses) UpdateMyNotificationRouteWithResponse ¶
func (c *ClientWithResponses) UpdateMyNotificationRouteWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, body UpdateMyNotificationRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMyNotificationRouteResult, error)
UpdateMyNotificationRouteWithResponse Update one of the caller's notification routes
Toggle the enabled flag and/or reorder the full route list.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
func (*ClientWithResponses) UpdateOncallScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOncallScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOncallScheduleResult, error)
UpdateOncallScheduleWithBodyWithResponse Update an on-call schedule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
func (*ClientWithResponses) UpdateOncallScheduleWithResponse ¶
func (c *ClientWithResponses) UpdateOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body UpdateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOncallScheduleResult, error)
UpdateOncallScheduleWithResponse Update an on-call schedule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
func (*ClientWithResponses) UpdateOrgProfileWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrgProfileWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgProfileResult, error)
UpdateOrgProfileWithBodyWithResponse Update the organization profile
Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
func (*ClientWithResponses) UpdateOrgProfileWithResponse ¶
func (c *ClientWithResponses) UpdateOrgProfileWithResponse(ctx context.Context, org OrgPath, body UpdateOrgProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgProfileResult, error)
UpdateOrgProfileWithResponse Update the organization profile
Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
func (*ClientWithResponses) UpdateOrgSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateOrgSettingsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgSettingsResult, error)
UpdateOrgSettingsWithBodyWithResponse Update organization settings
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
func (*ClientWithResponses) UpdateOrgSettingsWithResponse ¶
func (c *ClientWithResponses) UpdateOrgSettingsWithResponse(ctx context.Context, org OrgPath, body UpdateOrgSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgSettingsResult, error)
UpdateOrgSettingsWithResponse Update organization settings
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
func (*ClientWithResponses) UpdateReportScheduleWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReportScheduleResult, error)
UpdateReportScheduleWithBodyWithResponse Update a scheduled uptime report
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
func (*ClientWithResponses) UpdateReportScheduleWithResponse ¶
func (c *ClientWithResponses) UpdateReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body UpdateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReportScheduleResult, error)
UpdateReportScheduleWithResponse Update a scheduled uptime report
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
func (*ClientWithResponses) UpdateSeverityWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSeverityWithBodyWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSeverityResult, error)
UpdateSeverityWithBodyWithResponse Update a severity
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
func (*ClientWithResponses) UpdateSeverityWithResponse ¶
func (c *ClientWithResponses) UpdateSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, body UpdateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSeverityResult, error)
UpdateSeverityWithResponse Update a severity
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
func (*ClientWithResponses) UpdateSloAlertPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSloAlertPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloAlertPolicyResult, error)
UpdateSloAlertPolicyWithBodyWithResponse Tune a burn-rate alert policy
`kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
func (*ClientWithResponses) UpdateSloAlertPolicyWithResponse ¶
func (c *ClientWithResponses) UpdateSloAlertPolicyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, body UpdateSloAlertPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloAlertPolicyResult, error)
UpdateSloAlertPolicyWithResponse Tune a burn-rate alert policy
`kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
func (*ClientWithResponses) UpdateSloWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSloWithBodyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloResult, error)
UpdateSloWithBodyWithResponse Update a service-level objective
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
func (*ClientWithResponses) UpdateSloWithResponse ¶
func (c *ClientWithResponses) UpdateSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloResult, error)
UpdateSloWithResponse Update a service-level objective
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
func (*ClientWithResponses) UpdateStatusPageIncidentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResult, error)
UpdateStatusPageIncidentWithBodyWithResponse Edit a publication's title, severity or state
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
func (*ClientWithResponses) UpdateStatusPageIncidentWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResult, error)
UpdateStatusPageIncidentWithResponse Edit a publication's title, severity or state
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
func (*ClientWithResponses) UpdateStatusPageResourceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageResourceWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResourceResult, error)
UpdateStatusPageResourceWithBodyWithResponse Update a resource
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
func (*ClientWithResponses) UpdateStatusPageResourceWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, body UpdateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageResourceResult, error)
UpdateStatusPageResourceWithResponse Update a resource
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
func (*ClientWithResponses) UpdateStatusPageSectionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageSectionWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageSectionResult, error)
UpdateStatusPageSectionWithBodyWithResponse Update a section
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
func (*ClientWithResponses) UpdateStatusPageSectionWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body UpdateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageSectionResult, error)
UpdateStatusPageSectionWithResponse Update a section
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
func (*ClientWithResponses) UpdateStatusPageWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResult, error)
UpdateStatusPageWithBodyWithResponse Update a status page
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
func (*ClientWithResponses) UpdateStatusPageWithResponse ¶
func (c *ClientWithResponses) UpdateStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageResult, error)
UpdateStatusPageWithResponse Update a status page
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
func (*ClientWithResponses) UpdateStatusUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateStatusUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusUpdateResult, error)
UpdateStatusUpdateWithBodyWithResponse Update a status update
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
func (*ClientWithResponses) UpdateStatusUpdateWithResponse ¶
func (c *ClientWithResponses) UpdateStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, body UpdateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusUpdateResult, error)
UpdateStatusUpdateWithResponse Update a status update
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
func (*ClientWithResponses) UpdateSupportThreadWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSupportThreadWithBodyWithResponse(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSupportThreadResult, error)
UpdateSupportThreadWithBodyWithResponse Update a support thread
Change the operator-set status or the subject. Super-admin only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
func (*ClientWithResponses) UpdateSupportThreadWithResponse ¶
func (c *ClientWithResponses) UpdateSupportThreadWithResponse(ctx context.Context, uid string, body UpdateSupportThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSupportThreadResult, error)
UpdateSupportThreadWithResponse Update a support thread
Change the operator-set status or the subject. Super-admin only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
func (*ClientWithResponses) UploadOrgLogoWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadOrgLogoWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadOrgLogoResult, error)
UploadOrgLogoWithBodyWithResponse Upload the organization logo
Stores an uploaded image as the organization's logo and points `logoUrl` at its public URL. **Owner only.**
Accepted content types are `image/png`, `image/jpeg`, `image/webp`, `image/gif` and `image/svg+xml`, up to 1 MB. Anything else is a 422 VALIDATION_ERROR; an oversized body is a 413.
The content type is the one the client declares in the multipart part header — the bytes are never sniffed or checked against it. The declared value is clamped to the allowlist and is what gets stored and echoed back as `Content-Type`, so an SVG uploaded as `image/png` is stored and served as `image/png`. The serving rules below never assume the type is harmless, which is what makes that safe.
The resulting URL (`/pub/assets/{fileUid}`) is unsigned and stable, but authorized by the stored file's attachment topic: only a file attached under `organizations/{orgUid}/logo` is served there, and only while that file row is live — so replacing or clearing the logo un-publishes the previous image immediately. Uploaded SVGs are always served with `Content-Disposition: attachment` and `X-Content-Type-Options: nosniff` so they cannot execute as a document on the application's origin; they still render normally in an `img` element.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/logo (the `UploadOrgLogo` operationId).
func (*ClientWithResponses) UpsertCheckWithBodyWithResponse ¶
func (c *ClientWithResponses) UpsertCheckWithBodyWithResponse(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCheckResult, error)
UpsertCheckWithBodyWithResponse Create or update check by slug (upsert)
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
func (*ClientWithResponses) UpsertCheckWithResponse ¶
func (c *ClientWithResponses) UpsertCheckWithResponse(ctx context.Context, org OrgPath, slug string, body UpsertCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCheckResult, error)
UpsertCheckWithResponse Create or update check by slug (upsert)
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
func (*ClientWithResponses) ValidateCheckWithBodyWithResponse ¶
func (c *ClientWithResponses) ValidateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateCheckResult, error)
ValidateCheckWithBodyWithResponse Validate a check configuration without persisting it
Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
func (*ClientWithResponses) ValidateCheckWithResponse ¶
func (c *ClientWithResponses) ValidateCheckWithResponse(ctx context.Context, org OrgPath, body ValidateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateCheckResult, error)
ValidateCheckWithResponse Validate a check configuration without persisting it
Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
func (*ClientWithResponses) VerifyMyNotificationContactWithResponse ¶
func (c *ClientWithResponses) VerifyMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*VerifyMyNotificationContactResult, error)
VerifyMyNotificationContactWithResponse Send a verification code to a phone contact
Issues a 6-digit code (10-minute expiry, rate-limited to 3/hour per contact) and sends it via the organization's default Twilio connection. Only phone contacts can be verified.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify (the `VerifyMyNotificationContact` operationId).
func (*ClientWithResponses) VerifyStatusPageCustomDomainWithResponse ¶
func (c *ClientWithResponses) VerifyStatusPageCustomDomainWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*VerifyStatusPageCustomDomainResult, error)
VerifyStatusPageCustomDomainWithResponse Verify a status page's custom domain
Resolves the domain's CNAME and compares it against the expected target for the configured mode (server.custom_domain_cname_mode: "shared" uses the installation target, "token" uses the page-specific "<token>.cname.<target>" host — there is no dual-accept). Stamps the result. Rate-limited per organization.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/custom-domain/verify (the `VerifyStatusPageCustomDomain` operationId).
func (*ClientWithResponses) ViewDefaultStatusPageWithResponse ¶
func (c *ClientWithResponses) ViewDefaultStatusPageWithResponse(ctx context.Context, org OrgPath, params *ViewDefaultStatusPageParams, reqEditors ...RequestEditorFn) (*ViewDefaultStatusPageResult, error)
ViewDefaultStatusPageWithResponse View an organization's default public status page
Renders the same payload as GET /api/v1/status-pages/{org}/{slug}, resolved to the organization's default page. No authentication required.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/status-pages/{org} (the `ViewDefaultStatusPage` operationId).
func (*ClientWithResponses) ViewPublicStatusPageIncidentsWithResponse ¶
func (c *ClientWithResponses) ViewPublicStatusPageIncidentsWithResponse(ctx context.Context, org OrgPath, slug string, params *ViewPublicStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*ViewPublicStatusPageIncidentsResult, error)
ViewPublicStatusPageIncidentsWithResponse Public incident history for a status page
The customer-facing incidents published on this page (spec 2026-08-19-08). Without `active`, returns the page's history window; with `active=true`, only the incidents that are still open — the same set the full page view embeds as `activeIncidents[]`. Same visibility gate as the full page view: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too — Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not), since this payload quotes incident titles and update bodies verbatim. No authentication required. Every field is operator-authored or templated from the page's own public resource names. Probe output, error strings and internal hostnames are structurally unable to reach this payload.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/status-pages/{org}/{slug}/incidents (the `ViewPublicStatusPageIncidents` operationId).
func (*ClientWithResponses) ViewStatusPageSummaryWithResponse ¶
func (c *ClientWithResponses) ViewStatusPageSummaryWithResponse(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageSummaryParams, reqEditors ...RequestEditorFn) (*ViewStatusPageSummaryResult, error)
ViewStatusPageSummaryWithResponse Lightweight status summary for a status page
Cheap "is it up?" companion to the full page view: overall status, per-category counts, page identity, and the canonical public URL — no sections, no per-resource history. Same visibility gate AND the same caching rule as the full page view: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not) and for every 401/404 answer. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/status-pages/{org}/{slug}/summary (the `ViewStatusPageSummary` operationId).
func (*ClientWithResponses) ViewStatusPageWithResponse ¶
func (c *ClientWithResponses) ViewStatusPageWithResponse(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageParams, reqEditors ...RequestEditorFn) (*ViewStatusPageResult, error)
ViewStatusPageWithResponse View a public status page
Full public rendering of a status page: sections, per-resource live status, and (when enabled) availability/response-time history. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required. Caching follows the page's visibility: a `public` page carries Cache-Control: public, max-age=60, while a `password` or `private` page — and every 401/404 answer — carries Cache-Control: private, no-store, so a shared cache can never retain a gated page's body. Holding a valid unlock cookie does not change that: it authorizes the visitor, not the CDN in front of them. Public responses carry Vary: X-Forwarded-Proto (the header the absolute URLs in these payloads derive their scheme from); gated ones add Cookie.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /api/v1/status-pages/{org}/{slug} (the `ViewStatusPage` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetHealthWithResponse System health check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/mgmt/health (the `GetHealth` operationId).
GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResult, error)
// GetLimitsWithResponse Rate-limit and concurrency introspection
//
// Returns the server's rate-limit and concurrency configuration together with the calling client's live counters (remaining tokens, in-flight requests), the resolved caller IP and which bucket ("ip" or "token") the caller's traffic is accounted against. Public, no authentication.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/mgmt/limits (the `GetLimits` operationId).
GetLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLimitsResult, error)
// GetMemoryWithResponse Runtime memory snapshot
//
// Returns a JSON snapshot of runtime memory (heap / stack / goroutines / GC and the runtime/metrics memory classes), the process RSS breakdown from /proc (anon / file / shmem split, peak, threads, smaps_rollup Pss), the container's own cgroup accounting, the derived off-heap gap, suspect-subsystem cardinalities (DEK cache, rate-limit entries, event listeners) and build facts (cgo, SQLite driver, Go version). Linux-only sections report `present: false` on other platforms rather than failing. Super-admin only; the raw pprof surface stays on the localhost-bound profiler server.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/mgmt/memory (the `GetMemory` operationId).
GetMemoryWithResponse(ctx context.Context, params *GetMemoryParams, reqEditors ...RequestEditorFn) (*GetMemoryResult, error)
// GetCostDistributionWithResponse Scheduler cost/delay distribution
//
// Returns an aggregate, low-cardinality distribution of the scheduler's per-job cost_ewma_ms and delay_ewma_ms across all check_jobs, plus fast/slow job counts at a candidate threshold. Read-only and super-admin guarded. Used to decide whether fast/slow scheduling lanes are warranted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/mgmt/scheduling/cost-distribution (the `GetCostDistribution` operationId).
GetCostDistributionWithResponse(ctx context.Context, params *GetCostDistributionParams, reqEditors ...RequestEditorFn) (*GetCostDistributionResult, error)
// GetVersionWithResponse Get system version
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/mgmt/version (the `GetVersion` operationId).
GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResult, error)
// AcceptInviteWithBodyWithResponse Accept an invitation
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
AcceptInviteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcceptInviteResult, error)
// AcceptInviteWithResponse Accept an invitation
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/accept-invite (the `AcceptInvite` operationId).
AcceptInviteWithResponse(ctx context.Context, body AcceptInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*AcceptInviteResult, error)
// ChangePasswordWithBodyWithResponse Change (or set) the authenticated user's password
//
// Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
ChangePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChangePasswordResult, error)
// ChangePasswordWithResponse Change (or set) the authenticated user's password
//
// Rotates the caller's password without an emailed reset token. `currentPassword` is required when the account already has a password; for an SSO-only account (`hasPassword: false` on `/api/v1/auth/me`) it is ignored and this call sets the initial password. All of the caller's *other* sessions are revoked; the calling session and any personal access tokens keep working. A confirmation email is sent.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/change-password (the `ChangePassword` operationId).
ChangePasswordWithResponse(ctx context.Context, body ChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ChangePasswordResult, error)
// ConfirmRegistrationWithBodyWithResponse Confirm a pending registration with an emailed token
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
ConfirmRegistrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmRegistrationResult, error)
// ConfirmRegistrationWithResponse Confirm a pending registration with an emailed token
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/confirm-registration (the `ConfirmRegistration` operationId).
ConfirmRegistrationWithResponse(ctx context.Context, body ConfirmRegistrationJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmRegistrationResult, error)
// StartDeviceAuthorizationWithBodyWithResponse Start a device authorization request (RFC 8628)
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
StartDeviceAuthorizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDeviceAuthorizationResult, error)
// StartDeviceAuthorizationWithResponse Start a device authorization request (RFC 8628)
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/device (the `StartDeviceAuthorization` operationId).
StartDeviceAuthorizationWithResponse(ctx context.Context, body StartDeviceAuthorizationJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDeviceAuthorizationResult, error)
// GetDeviceConsentWithResponse Look up a pending device authorization request by user code
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/auth/device/consent (the `GetDeviceConsent` operationId).
GetDeviceConsentWithResponse(ctx context.Context, params *GetDeviceConsentParams, reqEditors ...RequestEditorFn) (*GetDeviceConsentResult, error)
// RespondToDeviceConsentWithBodyWithResponse Approve or deny a pending device authorization request
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
RespondToDeviceConsentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RespondToDeviceConsentResult, error)
// RespondToDeviceConsentWithResponse Approve or deny a pending device authorization request
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/device/consent (the `RespondToDeviceConsent` operationId).
RespondToDeviceConsentWithResponse(ctx context.Context, body RespondToDeviceConsentJSONRequestBody, reqEditors ...RequestEditorFn) (*RespondToDeviceConsentResult, error)
// PollDeviceTokenWithBodyWithResponse Poll for the device authorization result (RFC 8628 token endpoint)
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
PollDeviceTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PollDeviceTokenResult, error)
// PollDeviceTokenWithResponse Poll for the device authorization result (RFC 8628 token endpoint)
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/device/token (the `PollDeviceToken` operationId).
PollDeviceTokenWithResponse(ctx context.Context, body PollDeviceTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*PollDeviceTokenResult, error)
// GetInviteWithResponse Inspect an invitation by token
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/auth/invite/{token} (the `GetInvite` operationId).
GetInviteWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*GetInviteResult, error)
// LoginWithBodyWithResponse Login with email/password
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/login (the `Login` operationId).
LoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginResult, error)
// LoginWithResponse Login with email/password
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/login (the `Login` operationId).
LoginWithResponse(ctx context.Context, body LoginJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginResult, error)
// LogoutWithBodyWithResponse Logout current session
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
LogoutWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LogoutResult, error)
// LogoutWithResponse Logout current session
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/logout (the `Logout` operationId).
LogoutWithResponse(ctx context.Context, body LogoutJSONRequestBody, reqEditors ...RequestEditorFn) (*LogoutResult, error)
// GetCurrentUserWithResponse Get current user info
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/auth/me (the `GetCurrentUser` operationId).
GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResult, error)
// UpdateMeWithBodyWithResponse Update the authenticated user's profile
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
UpdateMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMeResult, error)
// UpdateMeWithResponse Update the authenticated user's profile
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/auth/me (the `UpdateMe` operationId).
UpdateMeWithResponse(ctx context.Context, body UpdateMeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMeResult, error)
// ListMyMembershipRequestsWithResponse List the caller's own membership requests
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/auth/membership-requests (the `ListMyMembershipRequests` operationId).
ListMyMembershipRequestsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMyMembershipRequestsResult, error)
// CreateMembershipRequestWithBodyWithResponse Request to join an organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
CreateMembershipRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMembershipRequestResult, error)
// CreateMembershipRequestWithResponse Request to join an organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/membership-requests (the `CreateMembershipRequest` operationId).
CreateMembershipRequestWithResponse(ctx context.Context, body CreateMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMembershipRequestResult, error)
// CancelMembershipRequestWithResponse Cancel one of the caller's membership requests
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/auth/membership-requests/{uid} (the `CancelMembershipRequest` operationId).
CancelMembershipRequestWithResponse(ctx context.Context, uid MembershipRequestUidPath, reqEditors ...RequestEditorFn) (*CancelMembershipRequestResult, error)
// ListAuthProvidersWithResponse List configured auth providers
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/auth/providers (the `ListAuthProviders` operationId).
ListAuthProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAuthProvidersResult, error)
// RefreshTokenWithBodyWithResponse Refresh access token
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
RefreshTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefreshTokenResult, error)
// RefreshTokenWithResponse Refresh access token
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/refresh (the `RefreshToken` operationId).
RefreshTokenWithResponse(ctx context.Context, body RefreshTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*RefreshTokenResult, error)
// RegisterWithBodyWithResponse Self-service account registration
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/register (the `Register` operationId).
RegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RegisterResult, error)
// RegisterWithResponse Self-service account registration
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/register (the `Register` operationId).
RegisterWithResponse(ctx context.Context, body RegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*RegisterResult, error)
// RequestPasswordResetWithBodyWithResponse Request a password reset email
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
RequestPasswordResetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RequestPasswordResetResult, error)
// RequestPasswordResetWithResponse Request a password reset email
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/request-password-reset (the `RequestPasswordReset` operationId).
RequestPasswordResetWithResponse(ctx context.Context, body RequestPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*RequestPasswordResetResult, error)
// ResetPasswordWithBodyWithResponse Set a new password using a reset token
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
ResetPasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetPasswordResult, error)
// ResetPasswordWithResponse Set a new password using a reset token
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/reset-password (the `ResetPassword` operationId).
ResetPasswordWithResponse(ctx context.Context, body ResetPasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetPasswordResult, error)
// SwitchOrgWithBodyWithResponse Switch organization context
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
SwitchOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SwitchOrgResult, error)
// SwitchOrgWithResponse Switch organization context
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/auth/switch-org (the `SwitchOrg` operationId).
SwitchOrgWithResponse(ctx context.Context, body SwitchOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*SwitchOrgResult, error)
// ListAllTokensWithResponse List all user's tokens across orgs
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/auth/tokens (the `ListAllTokens` operationId).
ListAllTokensWithResponse(ctx context.Context, params *ListAllTokensParams, reqEditors ...RequestEditorFn) (*ListAllTokensResult, error)
// RevokeTokenWithResponse Revoke API token
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/auth/tokens/{tokenUid} (the `RevokeToken` operationId).
RevokeTokenWithResponse(ctx context.Context, tokenUid TokenUidPath, reqEditors ...RequestEditorFn) (*RevokeTokenResult, error)
// ListCheckTypesWithResponse List check types with server-level activation status
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/check-types (the `ListCheckTypes` operationId).
ListCheckTypesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCheckTypesResult, error)
// ListCheckTypeSamplesWithResponse List sample configurations grouped by check type
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/check-types/samples (the `ListCheckTypeSamples` operationId).
ListCheckTypeSamplesWithResponse(ctx context.Context, params *ListCheckTypeSamplesParams, reqEditors ...RequestEditorFn) (*ListCheckTypeSamplesResult, error)
// GetPublicConfigWithResponse Public browser-safe configuration
//
// Unauthenticated configuration blob the dashboard reads at boot, before
// any login. Contains **only** non-secret, browser-safe values; no
// parameter marked `secret` in the system-parameter registry is ever
// exposed here (in particular `posthog.personal_api_key` is not).
//
// When a feature is disabled its configuration fields are **omitted**
// rather than returned empty — e.g. with PostHog unconfigured the
// response is exactly `{"posthog": {"enabled": false}}`. The same rule
// applies to `whatsapp` and `telegram`: `whatsapp` is a single resolved
// boolean, and `telegram` emits its public bot username only while it is
// enabled.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/config (the `GetPublicConfig` operationId).
GetPublicConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPublicConfigResult, error)
// CreateOrgWithBodyWithResponse Create a new organization
//
// Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
CreateOrgWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgResult, error)
// CreateOrgWithResponse Create a new organization
//
// Creates a new organization, makes the caller its OWNER, and returns a session scoped to the new org. Any authenticated user may create an organization; it is always created for the caller (the owner is taken from the access token, never from the request body). A slug freed by a previously deleted organization may be claimed again.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs (the `CreateOrg` operationId).
CreateOrgWithResponse(ctx context.Context, body CreateOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgResult, error)
// DeleteOrgWithBodyWithResponse Delete an organization
//
// Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
//
// Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
//
// Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
DeleteOrgWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteOrgResult, error)
// DeleteOrgWithResponse Delete an organization
//
// Permanently deletes the organization. **Owner only** — an admin is refused with 403 FORBIDDEN. The request body must repeat the organization slug as an explicit confirmation; a mismatch is a 422 VALIDATION_ERROR.
//
// Deletion stops every check, revokes every organization-scoped session (including the caller's own), and makes the slug 404 immediately on every surface: the dashboard API, public status pages, badges and the embed widget. The slug is released and may be claimed by a new organization. There is no restore endpoint.
//
// Every OTHER member is signed out for good. The **caller** is not: the 200 response carries a freshly minted replacement session, because the token they used names an organization that no longer resolves. If they still belong to at least one organization, the session is scoped to the first one (`organization` is set, and a `refreshToken` is issued). If they belong to none, the session is org-less — `organization` is absent, `loginAction` is `noOrg`, and there is no `refreshToken` (refresh grants are organization-scoped), exactly like a login by a user with no organization. Either way the caller stays authenticated and `GET /api/v1/auth/me` keeps answering 200.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org} (the `DeleteOrg` operationId).
DeleteOrgWithResponse(ctx context.Context, org OrgPath, body DeleteOrgJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteOrgResult, error)
// UpdateOrgProfileWithBodyWithResponse Update the organization profile
//
// Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
//
// Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
//
// Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
UpdateOrgProfileWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgProfileResult, error)
// UpdateOrgProfileWithResponse Update the organization profile
//
// Updates the organization's name, URL slug and/or logo. **Owner only** — an admin is refused with 403 FORBIDDEN. Standard PATCH semantics: an omitted field is left untouched, and `logoUrl` accepts `null` (or an empty string) to clear the logo.
//
// Renaming the slug moves every URL of the organization, including the public ones — status pages, SVG badges and the embed widget. Existing links keep working: the previous slug is remembered and answers a permanent redirect (301 for GET/HEAD, 308 otherwise) to the current slug. Every `/api/v1/orgs/{org}/...` route is covered except the realtime WebSocket (`/api/v1/orgs/{org}/events/ws`), where an HTTP redirect is meaningless — reconnect against the current slug. That guarantee ends as soon as another organization claims the freed slug.
//
// Because access tokens are scoped to an organization slug, a rename response also carries a freshly minted session (`accessToken`, `refreshToken`, `expiresIn`, `tokenType`) for the new slug; the caller must adopt it or every subsequent request will be refused with 403. Other live sessions self-heal on their next token refresh.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org} (the `UpdateOrgProfile` operationId).
UpdateOrgProfileWithResponse(ctx context.Context, org OrgPath, body UpdateOrgProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgProfileResult, error)
// ListAdminJobsWithResponse List background jobs (admin)
//
// Admin-gated list of background jobs for the org, most-recent first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/admin/jobs (the `ListAdminJobs` operationId).
ListAdminJobsWithResponse(ctx context.Context, org OrgPath, params *ListAdminJobsParams, reqEditors ...RequestEditorFn) (*ListAdminJobsResult, error)
// GetAdminJobWithResponse Get a background job (admin)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid} (the `GetAdminJob` operationId).
GetAdminJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetAdminJobResult, error)
// GetAdminJobChainWithResponse Get a job's retry chain (admin)
//
// Ordered chain of jobs linked via previousJobUid, earliest ancestor to latest descendant.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/admin/jobs/{uid}/chain (the `GetAdminJobChain` operationId).
GetAdminJobChainWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetAdminJobChainResult, error)
// ListChannelsWithResponse List notification channels
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/channels (the `ListChannels` operationId).
ListChannelsWithResponse(ctx context.Context, org OrgPath, params *ListChannelsParams, reqEditors ...RequestEditorFn) (*ListChannelsResult, error)
// CreateChannelWithBodyWithResponse Create a notification channel
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
CreateChannelWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateChannelResult, error)
// CreateChannelWithResponse Create a notification channel
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/channels (the `CreateChannel` operationId).
CreateChannelWithResponse(ctx context.Context, org OrgPath, body CreateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateChannelResult, error)
// DeleteChannelWithResponse Delete a notification channel
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/channels/{uid} (the `DeleteChannel` operationId).
DeleteChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*DeleteChannelResult, error)
// GetChannelWithResponse Get a notification channel
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/channels/{uid} (the `GetChannel` operationId).
GetChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*GetChannelResult, error)
// UpdateChannelWithBodyWithResponse Update a notification channel
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
UpdateChannelWithBodyWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateChannelResult, error)
// UpdateChannelWithResponse Update a notification channel
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/channels/{uid} (the `UpdateChannel` operationId).
UpdateChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, body UpdateChannelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateChannelResult, error)
// RotateChannelSecretWithResponse Rotate a webhook channel's signing secret
//
// Rotates the per-channel signing secret (webhook channels only). The current secret becomes the previous one (valid for a 24 h grace window) and a fresh secret is generated. Returns 400 for non-webhook channels.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/rotate-secret (the `RotateChannelSecret` operationId).
RotateChannelSecretWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*RotateChannelSecretResult, error)
// TestChannelWithResponse Send a sample notification through a channel
//
// Sends a sample notification through the channel to verify it is wired correctly. Always returns 200 for a notifiable channel; inspect the `success` field to know whether delivery worked. Returns 400 for data-source-only channel types.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/channels/{uid}/test (the `TestChannel` operationId).
TestChannelWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*TestChannelResult, error)
// ListCheckGroupsWithResponse List check groups
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/check-groups (the `ListCheckGroups` operationId).
ListCheckGroupsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListCheckGroupsResult, error)
// CreateCheckGroupWithBodyWithResponse Create a check group
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
CreateCheckGroupWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCheckGroupResult, error)
// CreateCheckGroupWithResponse Create a check group
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/check-groups (the `CreateCheckGroup` operationId).
CreateCheckGroupWithResponse(ctx context.Context, org OrgPath, body CreateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCheckGroupResult, error)
// DeleteCheckGroupWithResponse Delete a check group
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/check-groups/{uid} (the `DeleteCheckGroup` operationId).
DeleteCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*DeleteCheckGroupResult, error)
// GetCheckGroupWithResponse Get a check group
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/check-groups/{uid} (the `GetCheckGroup` operationId).
GetCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, reqEditors ...RequestEditorFn) (*GetCheckGroupResult, error)
// UpdateCheckGroupWithBodyWithResponse Update a check group
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
UpdateCheckGroupWithBodyWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCheckGroupResult, error)
// UpdateCheckGroupWithResponse Update a check group
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/check-groups/{uid} (the `UpdateCheckGroup` operationId).
UpdateCheckGroupWithResponse(ctx context.Context, org OrgPath, uid CheckGroupUidPath, body UpdateCheckGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCheckGroupResult, error)
// ListCheckJobsWithResponse List check-schedule jobs (admin)
//
// Admin-gated list of the check_jobs scheduler rows. Encrypted secret values are never returned.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/check-jobs (the `ListCheckJobs` operationId).
ListCheckJobsWithResponse(ctx context.Context, org OrgPath, params *ListCheckJobsParams, reqEditors ...RequestEditorFn) (*ListCheckJobsResult, error)
// GetCheckJobWithResponse Get a check-schedule job (admin)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/check-jobs/{uid} (the `GetCheckJob` operationId).
GetCheckJobWithResponse(ctx context.Context, org OrgPath, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*GetCheckJobResult, error)
// ListChecksWithResponse List monitoring checks
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks (the `ListChecks` operationId).
ListChecksWithResponse(ctx context.Context, org OrgPath, params *ListChecksParams, reqEditors ...RequestEditorFn) (*ListChecksResult, error)
// CreateCheckWithBodyWithResponse Create monitoring check
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
CreateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCheckResult, error)
// CreateCheckWithResponse Create monitoring check
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks (the `CreateCheck` operationId).
CreateCheckWithResponse(ctx context.Context, org OrgPath, body CreateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCheckResult, error)
// GetCheckStatsWithResponse Aggregate check counters for an organization
//
// Org-wide check counters computed server-side with a single SQL aggregation, so they are unaffected by the list endpoint's 100-row page clamp. Scope is the same set the list endpoint shows by default: non-deleted, non-internal checks. `total`, `byStatus`, `down` and `hardDown` span enabled and disabled checks alike; `enabled` and `disabled` partition the same set.
//
// The response is served from a per-organization in-memory cache with a 1-minute TTL, so it can lag a check create/delete or a status flip by up to that long. Clients needing an exact, immediately consistent count should read `pagination.total` from the list endpoint instead.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/stats (the `GetCheckStats` operationId).
GetCheckStatsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetCheckStatsResult, error)
// ValidateCheckWithBodyWithResponse Validate a check configuration without persisting it
//
// Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
ValidateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateCheckResult, error)
// ValidateCheckWithResponse Validate a check configuration without persisting it
//
// Runs the same validation the create/update paths run, but never writes. Returns whether the payload is valid plus any per-field validation messages.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/validate (the `ValidateCheck` operationId).
ValidateCheckWithResponse(ctx context.Context, org OrgPath, body ValidateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateCheckResult, error)
// DeleteCheckWithResponse Soft delete check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/checks/{checkUid} (the `DeleteCheck` operationId).
DeleteCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*DeleteCheckResult, error)
// GetCheckWithResponse Get check details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid} (the `GetCheck` operationId).
GetCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *GetCheckParams, reqEditors ...RequestEditorFn) (*GetCheckResult, error)
// UpdateCheckWithBodyWithResponse Update monitoring check
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
UpdateCheckWithBodyWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCheckResult, error)
// UpdateCheckWithResponse Update monitoring check
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{checkUid} (the `UpdateCheck` operationId).
UpdateCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, body UpdateCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCheckResult, error)
// CloneCheckWithBodyWithResponse Clone an existing check
//
// Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
CloneCheckWithBodyWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CloneCheckResult, error)
// CloneCheckWithResponse Clone an existing check
//
// Creates a near-identical copy of an existing check. Runtime state (status, results, incidents, scheduler row) is not copied; labels and channel bindings are re-linked to the new check.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/clone (the `CloneCheck` operationId).
CloneCheckWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, body CloneCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*CloneCheckResult, error)
// ListCheckEventsWithResponse List events for a check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{checkUid}/events (the `ListCheckEvents` operationId).
ListCheckEventsWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, params *ListCheckEventsParams, reqEditors ...RequestEditorFn) (*ListCheckEventsResult, error)
// RotateHeartbeatTokenWithResponse Rotate a heartbeat check's ping token
//
// Mints a fresh ping token for a heartbeat check (heartbeat checks only) and persists it, invalidating every previously issued ping URL immediately — unlike webhook signing-secret rotation, there is no grace period, since heartbeat pings are frequent and the operator is expected to update the sender right away. Returns 400 for non-heartbeat checks.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{checkUid}/rotate-token (the `RotateHeartbeatToken` operationId).
RotateHeartbeatTokenWithResponse(ctx context.Context, org OrgPath, checkUid CheckUidPath, reqEditors ...RequestEditorFn) (*RotateHeartbeatTokenResult, error)
// GetCheckAvailabilityWithResponse Per-period availability statistics for a single check
//
// Returns real, server-measured availability for each requested period (replacing the old client-side estimate). availabilityPct and downtimeSeconds are probe-ratio (the share of probes that succeeded); the incidents block reports confirmed-outage wall-clock time. A period with no data has availabilityPct=null and hasData=false (no data is not 100%).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability (the `GetCheckAvailability` operationId).
GetCheckAvailabilityWithResponse(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityParams, reqEditors ...RequestEditorFn) (*GetCheckAvailabilityResult, error)
// GetCheckAvailabilityBucketsWithResponse Bucketed availability over an arbitrary window for a single check
//
// Cuts [from, to) into uniform, hour-aligned availability cells — the data behind the check-detail chart's availability strip. Deliberately a separate route from /api/v1/orgs/{org}/checks/{check}/availability, which speaks trailing calendar tokens with a tz, has no from/to at all and is capped at 12 periods.
//
// Counting is the shared engine's: lifecycle markers and abandoned attempts are excluded from BOTH numerator and denominator, warning counts as up, and maintenance probes count exactly like any other (maintenance exclusion is SLO-only). A cell with no countable probes has hasData=false, availabilityPct=null and status="noData" — no data is not 100%.
//
// Cells are aligned OUTWARD to bucket boundaries, so the series may start before `from` and end after `to`. The `window` object is the exact [from, to) fold (it also includes the month tier, which is deliberately never attributed to a single cell) and is what a client renders when the window is too short for a legible strip.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/availability/buckets (the `GetCheckAvailabilityBuckets` operationId).
GetCheckAvailabilityBucketsWithResponse(ctx context.Context, org OrgPath, check string, params *GetCheckAvailabilityBucketsParams, reqEditors ...RequestEditorFn) (*GetCheckAvailabilityBucketsResult, error)
// GetBadgeWithResponse Get status badge for a check
//
// Returns an SVG badge showing the check's current status. No authentication required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/badges/{format} (the `GetBadge` operationId).
GetBadgeWithResponse(ctx context.Context, org OrgPath, check string, format GetBadgeParamsFormat, params *GetBadgeParams, reqEditors ...RequestEditorFn) (*GetBadgeResult, error)
// ListCheckChannelsWithResponse List channels bound to a check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/channels (the `ListCheckChannels` operationId).
ListCheckChannelsWithResponse(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*ListCheckChannelsResult, error)
// SetCheckChannelsWithBodyWithResponse Replace the full set of channels bound to a check
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
SetCheckChannelsWithBodyWithResponse(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCheckChannelsResult, error)
// SetCheckChannelsWithResponse Replace the full set of channels bound to a check
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{check}/channels (the `SetCheckChannels` operationId).
SetCheckChannelsWithResponse(ctx context.Context, org OrgPath, check string, body SetCheckChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCheckChannelsResult, error)
// RemoveCheckChannelWithResponse Unbind a single channel from a check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `RemoveCheckChannel` operationId).
RemoveCheckChannelWithResponse(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*RemoveCheckChannelResult, error)
// AddCheckChannelWithResponse Bind a single channel to a check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{check}/channels/{connection} (the `AddCheckChannel` operationId).
AddCheckChannelWithResponse(ctx context.Context, org OrgPath, check string, connection openapi_types.UUID, reqEditors ...RequestEditorFn) (*AddCheckChannelResult, error)
// ListCheckDependenciesWithResponse List dependencies for a check
//
// Returns the dependsOn (parents) and dependedOnBy (children) edges of the given check.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/dependencies (the `ListCheckDependencies` operationId).
ListCheckDependenciesWithResponse(ctx context.Context, org OrgPath, check string, reqEditors ...RequestEditorFn) (*ListCheckDependenciesResult, error)
// CreateCheckDependencyWithBodyWithResponse Add a dependency edge to a check
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
CreateCheckDependencyWithBodyWithResponse(ctx context.Context, org OrgPath, check string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCheckDependencyResult, error)
// CreateCheckDependencyWithResponse Add a dependency edge to a check
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/checks/{check}/dependencies (the `CreateCheckDependency` operationId).
CreateCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, body CreateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCheckDependencyResult, error)
// DeleteCheckDependencyWithResponse Remove a dependency edge
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `DeleteCheckDependency` operationId).
DeleteCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCheckDependencyResult, error)
// UpdateCheckDependencyWithBodyWithResponse Update a dependency edge
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
UpdateCheckDependencyWithBodyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCheckDependencyResult, error)
// UpdateCheckDependencyWithResponse Update a dependency edge
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/checks/{check}/dependencies/{uid} (the `UpdateCheckDependency` operationId).
UpdateCheckDependencyWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, body UpdateCheckDependencyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCheckDependencyResult, error)
// GetOrgResultWithResponse Get a single result, with chronological neighbor UIDs
//
// Returns one result row by UID. When the raw row has been rolled up into an aggregation (see retention/aggregation), falls back to the smallest-period aggregation covering the requested UID's embedded UUIDv7 timestamp and includes a `fallback` block describing the substitution. previousUid/nextUid identify the next-older/next-newer row in the same check + periodType series (the covering aggregation's series when a fallback applies), omitted at either boundary. Two rows sharing periodStart are ordered by uid, so stepping across them never skips or repeats.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/checks/{check}/results/{uid} (the `GetOrgResult` operationId).
GetOrgResultWithResponse(ctx context.Context, org OrgPath, check string, uid openapi_types.UUID, params *GetOrgResultParams, reqEditors ...RequestEditorFn) (*GetOrgResultResult, error)
// UpsertCheckWithBodyWithResponse Create or update check by slug (upsert)
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
UpsertCheckWithBodyWithResponse(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertCheckResult, error)
// UpsertCheckWithResponse Create or update check by slug (upsert)
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/checks/{slug} (the `UpsertCheck` operationId).
UpsertCheckWithResponse(ctx context.Context, org OrgPath, slug string, body UpsertCheckJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertCheckResult, error)
// GetOrgDependencyGraphWithResponse Org-wide check dependency graph
//
// Returns every check (node) and every dependency edge in the organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/dependencies (the `GetOrgDependencyGraph` operationId).
GetOrgDependencyGraphWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetOrgDependencyGraphResult, error)
// DismissDiscoveredGroupWithResponse Dismiss a whole group of discovered checks
//
// Admin only. Soft-deletes every check in the given group (optionally scoped to one scan).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks (the `DismissDiscoveredGroup` operationId).
DismissDiscoveredGroupWithResponse(ctx context.Context, org OrgPath, params *DismissDiscoveredGroupParams, reqEditors ...RequestEditorFn) (*DismissDiscoveredGroupResult, error)
// ListDiscoveredChecksWithResponse List discovered (suggested) checks
//
// Returns suggested checks for the org, ordered by group then slug so clients can render them grouped by groupKey.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/checks (the `ListDiscoveredChecks` operationId).
ListDiscoveredChecksWithResponse(ctx context.Context, org OrgPath, params *ListDiscoveredChecksParams, reqEditors ...RequestEditorFn) (*ListDiscoveredChecksResult, error)
// PromoteDiscoveredChecksWithBodyWithResponse Promote discovered checks into real checks
//
// Admin only. Creates one real check per referenced discovered-check row
// (config/name/slug already on the row; `overrides` may adjust name/period).
// Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
PromoteDiscoveredChecksWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PromoteDiscoveredChecksResult, error)
// PromoteDiscoveredChecksWithResponse Promote discovered checks into real checks
//
// Admin only. Creates one real check per referenced discovered-check row
// (config/name/slug already on the row; `overrides` may adjust name/period).
// Created checks are labelled `auto-discovery: true` and `discovery-job: <jobUid>`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/checks/promote (the `PromoteDiscoveredChecks` operationId).
PromoteDiscoveredChecksWithResponse(ctx context.Context, org OrgPath, body PromoteDiscoveredChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*PromoteDiscoveredChecksResult, error)
// DismissDiscoveredCheckWithResponse Dismiss a single discovered check
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/discovery/checks/{uid} (the `DismissDiscoveredCheck` operationId).
DismissDiscoveredCheckWithResponse(ctx context.Context, org OrgPath, uid string, reqEditors ...RequestEditorFn) (*DismissDiscoveredCheckResult, error)
// ListDiscoveryScansWithResponse List discovery scans
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/scans (the `ListDiscoveryScans` operationId).
ListDiscoveryScansWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListDiscoveryScansResult, error)
// StartDiscoveryScanWithBodyWithResponse Start a discovery scan
//
// Admin only. The generic body is `{type, parameters}`; the discovery-type
// registry validates the parameters and resolves the job to enqueue. For LAN,
// parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox,
// `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a
// Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes,
// `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a
// stored Kubernetes cluster connection (empty `namespaces` scans every
// visible namespace).
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
StartDiscoveryScanWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartDiscoveryScanResult, error)
// StartDiscoveryScanWithResponse Start a discovery scan
//
// Admin only. The generic body is `{type, parameters}`; the discovery-type
// registry validates the parameters and resolves the job to enqueue. For LAN,
// parameters are `{cidrs, ports?, concurrency?, timeout?}`; for Freebox,
// `{channelUid}`; for Container, `{hosts, timeout?}` where each host is a
// Docker-compatible endpoint (`unix://` or `tcp://`); for Kubernetes,
// `{clusterUid, namespaces?, timeout?}` where `clusterUid` references a
// stored Kubernetes cluster connection (empty `namespaces` scans every
// visible namespace).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/scans (the `StartDiscoveryScan` operationId).
StartDiscoveryScanWithResponse(ctx context.Context, org OrgPath, body StartDiscoveryScanJSONRequestBody, reqEditors ...RequestEditorFn) (*StartDiscoveryScanResult, error)
// GetDiscoveryScanWithResponse Get a discovery scan with progress
//
// Returns the scan job plus a uniform progress block for every scan type (chunked scans roll up their children; non-chunked scans report totalChunks=1).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/scans/{jobUid} (the `GetDiscoveryScan` operationId).
GetDiscoveryScanWithResponse(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*GetDiscoveryScanResult, error)
// CancelDiscoveryScanWithResponse Cancel a discovery scan
//
// Admin only. Cancels the scan and drops every pending fan-out child chunk. Children already running finish naturally.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/discovery/scans/{jobUid}/cancel (the `CancelDiscoveryScan` operationId).
CancelDiscoveryScanWithResponse(ctx context.Context, org OrgPath, jobUid ScanJobUidPath, reqEditors ...RequestEditorFn) (*CancelDiscoveryScanResult, error)
// ListDiscoveryTypesWithResponse List registered discovery types
//
// Returns the discovery types (lan, freebox, …) available to drive a scan, so a client can build its type picker without hard-coding the set.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/discovery/types (the `ListDiscoveryTypes` operationId).
ListDiscoveryTypesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListDiscoveryTypesResult, error)
// ListEmailSuppressionsWithResponse List email suppressions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/email-suppressions (the `ListEmailSuppressions` operationId).
ListEmailSuppressionsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListEmailSuppressionsResult, error)
// DeleteEmailSuppressionWithResponse Remove an email suppression (re-subscribe)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/email-suppressions/{uid} (the `DeleteEmailSuppression` operationId).
DeleteEmailSuppressionWithResponse(ctx context.Context, org OrgPath, uid EmailSuppressionUidPath, reqEditors ...RequestEditorFn) (*DeleteEmailSuppressionResult, error)
// GetEntitlementsWithResponse Get resolved entitlements for an organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/entitlements (the `GetEntitlements` operationId).
GetEntitlementsWithResponse(ctx context.Context, org OrgPath, params *GetEntitlementsParams, reqEditors ...RequestEditorFn) (*GetEntitlementsResult, error)
// PatchEntitlementsWithBodyWithResponse Partially update an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
PatchEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchEntitlementsResult, error)
// PatchEntitlementsWithResponse Partially update an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/entitlements (the `PatchEntitlements` operationId).
PatchEntitlementsWithResponse(ctx context.Context, org OrgPath, body PatchEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchEntitlementsResult, error)
// SetEntitlementsWithBodyWithResponse Replace an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
SetEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetEntitlementsResult, error)
// SetEntitlementsWithResponse Replace an organization's entitlements
//
// Write access is granted to either the billing service or an org admin.
// The billing service signs the request (HMAC-SHA256 over
// `<timestamp>.<METHOD>.<path>.<sha256 of the raw body>`, sent as
// `X-SP-Signature: v1,<base64>` plus `X-SP-Timestamp` and `X-SP-Key-Id`).
// The legacy static bearer is still accepted while the
// `entitlements.allow_legacy_service_token` system parameter is true.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/entitlements (the `SetEntitlements` operationId).
SetEntitlementsWithResponse(ctx context.Context, org OrgPath, body SetEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetEntitlementsResult, error)
// ListEntitlementsAuditsWithResponse List entitlement change audits
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/entitlements/audits (the `ListEntitlementsAudits` operationId).
ListEntitlementsAuditsWithResponse(ctx context.Context, org OrgPath, params *ListEntitlementsAuditsParams, reqEditors ...RequestEditorFn) (*ListEntitlementsAuditsResult, error)
// ListEscalationPoliciesWithResponse List escalation policies
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/escalation-policies (the `ListEscalationPolicies` operationId).
ListEscalationPoliciesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListEscalationPoliciesResult, error)
// CreateEscalationPolicyWithBodyWithResponse Create an escalation policy
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
CreateEscalationPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEscalationPolicyResult, error)
// CreateEscalationPolicyWithResponse Create an escalation policy
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/escalation-policies (the `CreateEscalationPolicy` operationId).
CreateEscalationPolicyWithResponse(ctx context.Context, org OrgPath, body CreateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEscalationPolicyResult, error)
// DeleteEscalationPolicyWithResponse Delete an escalation policy
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/escalation-policies/{uid} (the `DeleteEscalationPolicy` operationId).
DeleteEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*DeleteEscalationPolicyResult, error)
// GetEscalationPolicyWithResponse Get an escalation policy
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/escalation-policies/{uid} (the `GetEscalationPolicy` operationId).
GetEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, reqEditors ...RequestEditorFn) (*GetEscalationPolicyResult, error)
// UpdateEscalationPolicyWithBodyWithResponse Update an escalation policy
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
UpdateEscalationPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEscalationPolicyResult, error)
// UpdateEscalationPolicyWithResponse Update an escalation policy
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/escalation-policies/{uid} (the `UpdateEscalationPolicy` operationId).
UpdateEscalationPolicyWithResponse(ctx context.Context, org OrgPath, uid EscalationPolicyUidPath, body UpdateEscalationPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEscalationPolicyResult, error)
// ListEventsWithResponse List events
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/events (the `ListEvents` operationId).
ListEventsWithResponse(ctx context.Context, org OrgPath, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResult, error)
// ListFilesWithResponse List stored files
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/files (the `ListFiles` operationId).
ListFilesWithResponse(ctx context.Context, org OrgPath, params *ListFilesParams, reqEditors ...RequestEditorFn) (*ListFilesResult, error)
// DeleteFileWithResponse Delete a file
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/files/{uid} (the `DeleteFile` operationId).
DeleteFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*DeleteFileResult, error)
// GetFileWithResponse Get file metadata
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/files/{uid} (the `GetFile` operationId).
GetFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*GetFileResult, error)
// DownloadFileWithResponse Download file content
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/files/{uid}/content (the `DownloadFile` operationId).
DownloadFileWithResponse(ctx context.Context, org OrgPath, uid FileUidPath, reqEditors ...RequestEditorFn) (*DownloadFileResult, error)
// ListIncidentsWithResponse List incidents
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/incidents (the `ListIncidents` operationId).
ListIncidentsWithResponse(ctx context.Context, org OrgPath, params *ListIncidentsParams, reqEditors ...RequestEditorFn) (*ListIncidentsResult, error)
// ListIncidentPublicationsWithResponse List every status page this incident is published on
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `ListIncidentPublications` operationId).
ListIncidentPublicationsWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, reqEditors ...RequestEditorFn) (*ListIncidentPublicationsResult, error)
// PublishIncidentWithBodyWithResponse Publish this incident on a status page
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
PublishIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishIncidentResult, error)
// PublishIncidentWithResponse Publish this incident on a status page
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{incidentUid}/publications (the `PublishIncident` operationId).
PublishIncidentWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, body PublishIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishIncidentResult, error)
// UnpublishIncidentWithResponse Unpublish this incident from a status page
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/incidents/{incidentUid}/publications/{uid} (the `UnpublishIncident` operationId).
UnpublishIncidentWithResponse(ctx context.Context, org OrgPath, incidentUid IncidentUidNamedPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*UnpublishIncidentResult, error)
// GetIncidentWithResponse Get incident details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid} (the `GetIncident` operationId).
GetIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, params *GetIncidentParams, reqEditors ...RequestEditorFn) (*GetIncidentResult, error)
// AcknowledgeIncidentWithBodyWithResponse Acknowledge an incident
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
AcknowledgeIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AcknowledgeIncidentResult, error)
// AcknowledgeIncidentWithResponse Acknowledge an incident
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/ack (the `AcknowledgeIncident` operationId).
AcknowledgeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body AcknowledgeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*AcknowledgeIncidentResult, error)
// AddIncidentCommentWithBodyWithResponse Add a comment to an incident
//
// Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
AddIncidentCommentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddIncidentCommentResult, error)
// AddIncidentCommentWithResponse Add a comment to an incident
//
// Appends a free-text comment to the incident's timeline as an append-only `incident.comment` event authored by the calling user (`source: "web"`). Comments are read back through the incident events endpoint. Slack thread replies produce the same event type with `source: "slack"`. Append-only — no edit or delete.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/comments (the `AddIncidentComment` operationId).
AddIncidentCommentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body AddIncidentCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*AddIncidentCommentResult, error)
// ListIncidentEventsWithResponse List events for an incident
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/events (the `ListIncidentEvents` operationId).
ListIncidentEventsWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentEventsParams, reqEditors ...RequestEditorFn) (*ListIncidentEventsResult, error)
// ListIncidentNotificationsWithResponse List notification deliveries for an incident
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications (the `ListIncidentNotifications` operationId).
ListIncidentNotificationsWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, params *ListIncidentNotificationsParams, reqEditors ...RequestEditorFn) (*ListIncidentNotificationsResult, error)
// GetIncidentNotificationWithResponse Get an incident notification delivery by UID
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/incidents/{uid}/notifications/{notifUid} (the `GetIncidentNotification` operationId).
GetIncidentNotificationWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*GetIncidentNotificationResult, error)
// ResolveIncidentWithBodyWithResponse Resolve an incident
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
ResolveIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveIncidentResult, error)
// ResolveIncidentWithResponse Resolve an incident
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/resolve (the `ResolveIncident` operationId).
ResolveIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body ResolveIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveIncidentResult, error)
// SnoozeIncidentWithBodyWithResponse Snooze an incident
//
// Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
SnoozeIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SnoozeIncidentResult, error)
// SnoozeIncidentWithResponse Snooze an incident
//
// Suppresses notifications until an explicit time (`until`) or for a relative duration (`duration`, e.g. "1h", "30m"). One of the two must be provided.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/snooze (the `SnoozeIncident` operationId).
SnoozeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, body SnoozeIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*SnoozeIncidentResult, error)
// UnacknowledgeIncidentWithResponse Remove acknowledgement from an incident
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unack (the `UnacknowledgeIncident` operationId).
UnacknowledgeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*UnacknowledgeIncidentResult, error)
// UnsnoozeIncidentWithResponse Clear an incident snooze
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/incidents/{uid}/unsnooze (the `UnsnoozeIncident` operationId).
UnsnoozeIncidentWithResponse(ctx context.Context, org OrgPath, uid IncidentUidPath, reqEditors ...RequestEditorFn) (*UnsnoozeIncidentResult, error)
// ListIntegrationIdentitiesWithResponse List member identity mappings for an integration
//
// Returns every organization member together with their identity on this integration (e.g. their Slack user id on the connected workspace). Identities are used to mention the on-call person in channel alerts; they are never used for paging. Read-only and cheap: this never calls out to the provider. Slack-only — other integration types return 400.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/integrations/{uid}/identities (the `ListIntegrationIdentities` operationId).
ListIntegrationIdentitiesWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*ListIntegrationIdentitiesResult, error)
// SyncIntegrationIdentitiesWithResponse Re-run the member identity auto-match
//
// Looks every organization member up in the connected Slack workspace by email (`users.lookupByEmail`) and records the matches. Manual overrides are never overwritten, and a workspace account that two members both resolve to is reported ambiguous and written nowhere. Admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/integrations/{uid}/identities/sync (the `SyncIntegrationIdentities` operationId).
SyncIntegrationIdentitiesWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, reqEditors ...RequestEditorFn) (*SyncIntegrationIdentitiesResult, error)
// DeleteIntegrationIdentityWithResponse Clear a member's identity on an integration
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `DeleteIntegrationIdentity` operationId).
DeleteIntegrationIdentityWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, reqEditors ...RequestEditorFn) (*DeleteIntegrationIdentityResult, error)
// SetIntegrationIdentityWithBodyWithResponse Set a member's identity on an integration
//
// Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
SetIntegrationIdentityWithBodyWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetIntegrationIdentityResult, error)
// SetIntegrationIdentityWithResponse Set a member's identity on an integration
//
// Records an admin-chosen mapping between an organization member and a workspace user. The external id may be claimed by at most one member per integration. Admin only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/integrations/{uid}/identities/{userUid} (the `SetIntegrationIdentity` operationId).
SetIntegrationIdentityWithResponse(ctx context.Context, org OrgPath, uid ChannelUidPath, userUid IdentityUserUidPath, body SetIntegrationIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*SetIntegrationIdentityResult, error)
// ListInvitationsWithResponse List pending invitations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/invitations (the `ListInvitations` operationId).
ListInvitationsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListInvitationsResult, error)
// CreateInvitationWithBodyWithResponse Create an invitation
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
CreateInvitationWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationResult, error)
// CreateInvitationWithResponse Create an invitation
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/invitations (the `CreateInvitation` operationId).
CreateInvitationWithResponse(ctx context.Context, org OrgPath, body CreateInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationResult, error)
// DeleteInvitationWithResponse Revoke a pending invitation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/invitations/{uid} (the `DeleteInvitation` operationId).
DeleteInvitationWithResponse(ctx context.Context, org OrgPath, uid InvitationUidPath, reqEditors ...RequestEditorFn) (*DeleteInvitationResult, error)
// ListJobsWithResponse List jobs
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/jobs (the `ListJobs` operationId).
ListJobsWithResponse(ctx context.Context, org OrgPath, params *ListJobsParams, reqEditors ...RequestEditorFn) (*ListJobsResult, error)
// CreateJobWithBodyWithResponse Create a job (org admin, allowlisted types only)
//
// Enqueues a background job. **Requires org admin** — a member with the
// `user` or `viewer` role is refused with 403.
//
// Only allowlisted job types may be created through this endpoint, and
// the allowlist currently contains **`sleep`** alone. Every other type
// (`email`, `webhook`, `aggregation`, `notification`, the discovery
// family, …) is refused with 403: they are internal plumbing enqueued by
// SolidPing itself, and exposing them would hand any caller an arbitrary
// mail sender (`email`) and arbitrary server-side HTTP requests
// (`webhook`).
//
// An unknown job type, or a `config` that is invalid for the requested
// type, is a 400 — never a 500.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
CreateJobWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJobResult, error)
// CreateJobWithResponse Create a job (org admin, allowlisted types only)
//
// Enqueues a background job. **Requires org admin** — a member with the
// `user` or `viewer` role is refused with 403.
//
// Only allowlisted job types may be created through this endpoint, and
// the allowlist currently contains **`sleep`** alone. Every other type
// (`email`, `webhook`, `aggregation`, `notification`, the discovery
// family, …) is refused with 403: they are internal plumbing enqueued by
// SolidPing itself, and exposing them would hand any caller an arbitrary
// mail sender (`email`) and arbitrary server-side HTTP requests
// (`webhook`).
//
// An unknown job type, or a `config` that is invalid for the requested
// type, is a 400 — never a 500.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/jobs (the `CreateJob` operationId).
CreateJobWithResponse(ctx context.Context, org OrgPath, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJobResult, error)
// GetJobStatsWithResponse Job & check-schedule stats
//
// Aggregate counts over the background-jobs queue and the check schedule for the org.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/jobs/stats (the `GetJobStats` operationId).
GetJobStatsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetJobStatsResult, error)
// CancelJobWithResponse Cancel a pending job
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/jobs/{uid} (the `CancelJob` operationId).
CancelJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*CancelJobResult, error)
// GetJobWithResponse Get job details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/jobs/{uid} (the `GetJob` operationId).
GetJobWithResponse(ctx context.Context, org OrgPath, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetJobResult, error)
// ListLabelsWithResponse List label key/value suggestions
//
// Returns distinct label keys, or distinct values for a given key when the "key" query parameter is set, with usage counts for popularity sort.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/labels (the `ListLabels` operationId).
ListLabelsWithResponse(ctx context.Context, org OrgPath, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResult, error)
// DeleteOrgLogoWithResponse Clear the organization logo
//
// Removes the organization's logo. **Owner only.** An uploaded image is retired at the same time, so its public URL stops resolving.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/logo (the `DeleteOrgLogo` operationId).
DeleteOrgLogoWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*DeleteOrgLogoResult, error)
// UploadOrgLogoWithBodyWithResponse Upload the organization logo
//
// Stores an uploaded image as the organization's logo and points `logoUrl` at its public URL. **Owner only.**
//
// Accepted content types are `image/png`, `image/jpeg`, `image/webp`, `image/gif` and `image/svg+xml`, up to 1 MB. Anything else is a 422 VALIDATION_ERROR; an oversized body is a 413.
//
// The content type is the one the client declares in the multipart part header — the bytes are never sniffed or checked against it. The declared value is clamped to the allowlist and is what gets stored and echoed back as `Content-Type`, so an SVG uploaded as `image/png` is stored and served as `image/png`. The serving rules below never assume the type is harmless, which is what makes that safe.
//
// The resulting URL (`/pub/assets/{fileUid}`) is unsigned and stable, but authorized by the stored file's attachment topic: only a file attached under `organizations/{orgUid}/logo` is served there, and only while that file row is live — so replacing or clearing the logo un-publishes the previous image immediately. Uploaded SVGs are always served with `Content-Disposition: attachment` and `X-Content-Type-Options: nosniff` so they cannot execute as a document on the application's origin; they still render normally in an `img` element.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/logo (the `UploadOrgLogo` operationId).
UploadOrgLogoWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadOrgLogoResult, error)
// ListMaintenanceWindowsWithResponse List maintenance windows
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/maintenance-windows (the `ListMaintenanceWindows` operationId).
ListMaintenanceWindowsWithResponse(ctx context.Context, org OrgPath, params *ListMaintenanceWindowsParams, reqEditors ...RequestEditorFn) (*ListMaintenanceWindowsResult, error)
// CreateMaintenanceWindowWithBodyWithResponse Create a maintenance window
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
CreateMaintenanceWindowWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResult, error)
// CreateMaintenanceWindowWithResponse Create a maintenance window
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/maintenance-windows (the `CreateMaintenanceWindow` operationId).
CreateMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, body CreateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMaintenanceWindowResult, error)
// DeleteMaintenanceWindowWithResponse Delete a maintenance window
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/maintenance-windows/{uid} (the `DeleteMaintenanceWindow` operationId).
DeleteMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*DeleteMaintenanceWindowResult, error)
// GetMaintenanceWindowWithResponse Get a maintenance window
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid} (the `GetMaintenanceWindow` operationId).
GetMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*GetMaintenanceWindowResult, error)
// UpdateMaintenanceWindowWithBodyWithResponse Update a maintenance window
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
UpdateMaintenanceWindowWithBodyWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResult, error)
// UpdateMaintenanceWindowWithResponse Update a maintenance window
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/maintenance-windows/{uid} (the `UpdateMaintenanceWindow` operationId).
UpdateMaintenanceWindowWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body UpdateMaintenanceWindowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMaintenanceWindowResult, error)
// ListMaintenanceWindowChecksWithResponse List the checks covered by a maintenance window
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `ListMaintenanceWindowChecks` operationId).
ListMaintenanceWindowChecksWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, reqEditors ...RequestEditorFn) (*ListMaintenanceWindowChecksResult, error)
// SetMaintenanceWindowChecksWithBodyWithResponse Set the checks covered by a maintenance window
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
SetMaintenanceWindowChecksWithBodyWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMaintenanceWindowChecksResult, error)
// SetMaintenanceWindowChecksWithResponse Set the checks covered by a maintenance window
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/orgs/{org}/maintenance-windows/{uid}/checks (the `SetMaintenanceWindowChecks` operationId).
SetMaintenanceWindowChecksWithResponse(ctx context.Context, org OrgPath, uid MaintenanceWindowUidPath, body SetMaintenanceWindowChecksJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMaintenanceWindowChecksResult, error)
// ListMyNotificationsWithResponse List the caller's notification deliveries
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/me/notifications (the `ListMyNotifications` operationId).
ListMyNotificationsWithResponse(ctx context.Context, org OrgPath, params *ListMyNotificationsParams, reqEditors ...RequestEditorFn) (*ListMyNotificationsResult, error)
// ListMembersWithResponse List organization members
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/members (the `ListMembers` operationId).
ListMembersWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMembersResult, error)
// AddMemberWithBodyWithResponse Add member to organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
AddMemberWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMemberResult, error)
// AddMemberWithResponse Add member to organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/members (the `AddMember` operationId).
AddMemberWithResponse(ctx context.Context, org OrgPath, body AddMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMemberResult, error)
// ListMemberCoverageWithResponse List per-member paging coverage
//
// Per-member notification coverage for the organization. Exposes channel TYPES and verified/enabled flags only — never a contact value, since per-user contacts belong to the member and are otherwise `users/me` scoped. `emailFallbackOnly` marks members nothing but email can reach. Admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/members/coverage (the `ListMemberCoverage` operationId).
ListMemberCoverageWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMemberCoverageResult, error)
// RemoveMemberWithResponse Remove member from organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/members/{uid} (the `RemoveMember` operationId).
RemoveMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*RemoveMemberResult, error)
// GetMemberWithResponse Get member details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/members/{uid} (the `GetMember` operationId).
GetMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*GetMemberResult, error)
// UpdateMemberWithBodyWithResponse Update member role
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
UpdateMemberWithBodyWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMemberResult, error)
// UpdateMemberWithResponse Update member role
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/members/{uid} (the `UpdateMember` operationId).
UpdateMemberWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, body UpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMemberResult, error)
// AddMemberContactWithBodyWithResponse Pre-provision an unverified paging contact for a member
//
// Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
AddMemberContactWithBodyWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMemberContactResult, error)
// AddMemberContactWithResponse Pre-provision an unverified paging contact for a member
//
// Lets an admin add a phone or WhatsApp contact for another member, in UNVERIFIED state. The contact becomes pageable only after its owner completes the normal verification round-trip — an admin can never create or flip a contact to verified. Other contact types are refused.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/members/{uid}/contacts (the `AddMemberContact` operationId).
AddMemberContactWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, body AddMemberContactJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMemberContactResult, error)
// SendMemberPagingNudgeWithResponse Email a member asking them to set up their paging
//
// Sends a "set up your alert notifications" email with a link to the member's own notification settings. Carries no contact data and no verification code. Admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/members/{uid}/paging-nudge (the `SendMemberPagingNudge` operationId).
SendMemberPagingNudgeWithResponse(ctx context.Context, org OrgPath, uid MemberUidPath, reqEditors ...RequestEditorFn) (*SendMemberPagingNudgeResult, error)
// ListOrgMembershipRequestsWithResponse List an organization's membership requests
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/membership-requests (the `ListOrgMembershipRequests` operationId).
ListOrgMembershipRequestsWithResponse(ctx context.Context, org OrgPath, params *ListOrgMembershipRequestsParams, reqEditors ...RequestEditorFn) (*ListOrgMembershipRequestsResult, error)
// ApproveMembershipRequestWithBodyWithResponse Approve a membership request
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
ApproveMembershipRequestWithBodyWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveMembershipRequestResult, error)
// ApproveMembershipRequestWithResponse Approve a membership request
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/approve (the `ApproveMembershipRequest` operationId).
ApproveMembershipRequestWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body ApproveMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveMembershipRequestResult, error)
// RejectMembershipRequestWithBodyWithResponse Reject a membership request
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
RejectMembershipRequestWithBodyWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RejectMembershipRequestResult, error)
// RejectMembershipRequestWithResponse Reject a membership request
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/membership-requests/{uid}/reject (the `RejectMembershipRequest` operationId).
RejectMembershipRequestWithResponse(ctx context.Context, org OrgPath, uid MembershipRequestUidPath, body RejectMembershipRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*RejectMembershipRequestResult, error)
// ListNotificationsWithResponse List notification deliveries by connection
//
// Lists notification delivery audit rows for the org, filtered by a connection (channel). `connectionUid` is required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/notifications (the `ListNotifications` operationId).
ListNotificationsWithResponse(ctx context.Context, org OrgPath, params *ListNotificationsParams, reqEditors ...RequestEditorFn) (*ListNotificationsResult, error)
// GetNotificationWithResponse Get a notification delivery by UID
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/notifications/{notifUid} (the `GetNotification` operationId).
GetNotificationWithResponse(ctx context.Context, org OrgPath, notifUid NotificationUidPath, reqEditors ...RequestEditorFn) (*GetNotificationResult, error)
// ListOncallSchedulesWithResponse List on-call schedules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules (the `ListOncallSchedules` operationId).
ListOncallSchedulesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListOncallSchedulesResult, error)
// CreateOncallScheduleWithBodyWithResponse Create an on-call schedule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
CreateOncallScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOncallScheduleResult, error)
// CreateOncallScheduleWithResponse Create an on-call schedule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules (the `CreateOncallSchedule` operationId).
CreateOncallScheduleWithResponse(ctx context.Context, org OrgPath, body CreateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOncallScheduleResult, error)
// DeleteOncallScheduleWithResponse Delete an on-call schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid} (the `DeleteOncallSchedule` operationId).
DeleteOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*DeleteOncallScheduleResult, error)
// GetOncallScheduleWithResponse Get an on-call schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid} (the `GetOncallSchedule` operationId).
GetOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*GetOncallScheduleResult, error)
// UpdateOncallScheduleWithBodyWithResponse Update an on-call schedule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
UpdateOncallScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOncallScheduleResult, error)
// UpdateOncallScheduleWithResponse Update an on-call schedule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/on-call-schedules/{uid} (the `UpdateOncallSchedule` operationId).
UpdateOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body UpdateOncallScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOncallScheduleResult, error)
// DisableOncallIcalFeedWithResponse Disable the iCal feed for an on-call schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/disable (the `DisableOncallIcalFeed` operationId).
DisableOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*DisableOncallIcalFeedResult, error)
// EnableOncallIcalFeedWithResponse Enable the iCal feed for an on-call schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/enable (the `EnableOncallIcalFeed` operationId).
EnableOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*EnableOncallIcalFeedResult, error)
// RotateOncallIcalFeedWithResponse Rotate the iCal feed secret for an on-call schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/ical-feed/rotate (the `RotateOncallIcalFeed` operationId).
RotateOncallIcalFeedWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, reqEditors ...RequestEditorFn) (*RotateOncallIcalFeedResult, error)
// ListOncallOverridesWithResponse List overrides on an on-call schedule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `ListOncallOverrides` operationId).
ListOncallOverridesWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *ListOncallOverridesParams, reqEditors ...RequestEditorFn) (*ListOncallOverridesResult, error)
// CreateOncallOverrideWithBodyWithResponse Create an override on an on-call schedule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
CreateOncallOverrideWithBodyWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOncallOverrideResult, error)
// CreateOncallOverrideWithResponse Create an override on an on-call schedule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides (the `CreateOncallOverride` operationId).
CreateOncallOverrideWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, body CreateOncallOverrideJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOncallOverrideResult, error)
// DeleteOncallOverrideWithResponse Delete an override
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/on-call-schedules/{uid}/overrides/{overrideUid} (the `DeleteOncallOverride` operationId).
DeleteOncallOverrideWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, overrideUid OncallOverrideUidPath, reqEditors ...RequestEditorFn) (*DeleteOncallOverrideResult, error)
// PreviewOncallScheduleWithResponse Preview the on-call rotation over a window
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/on-call-schedules/{uid}/preview (the `PreviewOncallSchedule` operationId).
PreviewOncallScheduleWithResponse(ctx context.Context, org OrgPath, uid OncallScheduleUidPath, params *PreviewOncallScheduleParams, reqEditors ...RequestEditorFn) (*PreviewOncallScheduleResult, error)
// ListRegionsWithResponse List regions available to an organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/regions (the `ListRegions` operationId).
ListRegionsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListRegionsResult, error)
// ListReportSchedulesWithResponse List scheduled uptime reports
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/report-schedules (the `ListReportSchedules` operationId).
ListReportSchedulesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListReportSchedulesResult, error)
// CreateReportScheduleWithBodyWithResponse Create a scheduled uptime report
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
CreateReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReportScheduleResult, error)
// CreateReportScheduleWithResponse Create a scheduled uptime report
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules (the `CreateReportSchedule` operationId).
CreateReportScheduleWithResponse(ctx context.Context, org OrgPath, body CreateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReportScheduleResult, error)
// DeleteReportScheduleWithResponse Delete a scheduled uptime report
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/report-schedules/{uid} (the `DeleteReportSchedule` operationId).
DeleteReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*DeleteReportScheduleResult, error)
// GetReportScheduleWithResponse Get a scheduled uptime report
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/report-schedules/{uid} (the `GetReportSchedule` operationId).
GetReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, reqEditors ...RequestEditorFn) (*GetReportScheduleResult, error)
// UpdateReportScheduleWithBodyWithResponse Update a scheduled uptime report
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
UpdateReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReportScheduleResult, error)
// UpdateReportScheduleWithResponse Update a scheduled uptime report
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/report-schedules/{uid} (the `UpdateReportSchedule` operationId).
UpdateReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body UpdateReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReportScheduleResult, error)
// TestReportScheduleWithBodyWithResponse Send the report immediately to the caller
//
// Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
TestReportScheduleWithBodyWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestReportScheduleResult, error)
// TestReportScheduleWithResponse Send the report immediately to the caller
//
// Renders the report for the period that most recently closed and mails it to the authenticated caller (or to `recipient`). It never fans out to the schedule's recipient list. Returns 409 instead of 202 when the resolved recipient is on the organization's suppression list, since nothing is actually queued in that case.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/report-schedules/{uid}/test (the `TestReportSchedule` operationId).
TestReportScheduleWithResponse(ctx context.Context, org OrgPath, uid ReportScheduleUidPath, body TestReportScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*TestReportScheduleResult, error)
// ListOrgResultsWithResponse List results across all checks in organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/results (the `ListOrgResults` operationId).
ListOrgResultsWithResponse(ctx context.Context, org OrgPath, params *ListOrgResultsParams, reqEditors ...RequestEditorFn) (*ListOrgResultsResult, error)
// GetOrgSettingsWithResponse Get organization settings
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/settings (the `GetOrgSettings` operationId).
GetOrgSettingsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*GetOrgSettingsResult, error)
// UpdateOrgSettingsWithBodyWithResponse Update organization settings
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
UpdateOrgSettingsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrgSettingsResult, error)
// UpdateOrgSettingsWithResponse Update organization settings
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/settings (the `UpdateOrgSettings` operationId).
UpdateOrgSettingsWithResponse(ctx context.Context, org OrgPath, body UpdateOrgSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrgSettingsResult, error)
// ListSeveritiesWithResponse List severities
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/severities (the `ListSeverities` operationId).
ListSeveritiesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListSeveritiesResult, error)
// CreateSeverityWithBodyWithResponse Create a severity
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
CreateSeverityWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSeverityResult, error)
// CreateSeverityWithResponse Create a severity
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/severities (the `CreateSeverity` operationId).
CreateSeverityWithResponse(ctx context.Context, org OrgPath, body CreateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSeverityResult, error)
// DeleteSeverityWithResponse Delete a severity
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/severities/{uid} (the `DeleteSeverity` operationId).
DeleteSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*DeleteSeverityResult, error)
// GetSeverityWithResponse Get a severity
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/severities/{uid} (the `GetSeverity` operationId).
GetSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, reqEditors ...RequestEditorFn) (*GetSeverityResult, error)
// UpdateSeverityWithBodyWithResponse Update a severity
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
UpdateSeverityWithBodyWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSeverityResult, error)
// UpdateSeverityWithResponse Update a severity
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/severities/{uid} (the `UpdateSeverity` operationId).
UpdateSeverityWithResponse(ctx context.Context, org OrgPath, uid SeverityUidPath, body UpdateSeverityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSeverityResult, error)
// ListSlosWithResponse List service-level objectives
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/slos (the `ListSlos` operationId).
ListSlosWithResponse(ctx context.Context, org OrgPath, params *ListSlosParams, reqEditors ...RequestEditorFn) (*ListSlosResult, error)
// CreateSloWithBodyWithResponse Create a service-level objective
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
CreateSloWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSloResult, error)
// CreateSloWithResponse Create a service-level objective
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/slos (the `CreateSlo` operationId).
CreateSloWithResponse(ctx context.Context, org OrgPath, body CreateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSloResult, error)
// DeleteSloWithResponse Delete a service-level objective
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/slos/{uid} (the `DeleteSlo` operationId).
DeleteSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*DeleteSloResult, error)
// GetSloWithResponse Get a service-level objective
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid} (the `GetSlo` operationId).
GetSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*GetSloResult, error)
// UpdateSloWithBodyWithResponse Update a service-level objective
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
UpdateSloWithBodyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloResult, error)
// UpdateSloWithResponse Update a service-level objective
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid} (the `UpdateSlo` operationId).
UpdateSloWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, body UpdateSloJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloResult, error)
// ListSloAlertPoliciesWithResponse List an objective's burn-rate alert policies
//
// Two built-in multiwindow burn-rate policies (`fast` and `slow`), materialized on demand so an objective created before the feature existed answers exactly like a new one. Both start disabled — alerting is opt-in. `longBurnRate` / `shortBurnRate` are recomputed for the request rather than read back from the stored readout, and are null (never 0) when a window carries no countable probe.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies (the `ListSloAlertPolicies` operationId).
ListSloAlertPoliciesWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*ListSloAlertPoliciesResult, error)
// GetSloAlertPolicyWithResponse Get one burn-rate alert policy
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `GetSloAlertPolicy` operationId).
GetSloAlertPolicyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, reqEditors ...RequestEditorFn) (*GetSloAlertPolicyResult, error)
// UpdateSloAlertPolicyWithBodyWithResponse Tune a burn-rate alert policy
//
// `kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
UpdateSloAlertPolicyWithBodyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSloAlertPolicyResult, error)
// UpdateSloAlertPolicyWithResponse Tune a burn-rate alert policy
//
// `kind` is not writable — there are exactly two built-ins. Changing a threshold or either window clears the auto-resolve hysteresis anchor, which was measured against the old numbers.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/slos/{uid}/alert-policies/{policyUid} (the `UpdateSloAlertPolicy` operationId).
UpdateSloAlertPolicyWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, policyUid SLOAlertPolicyUidPath, body UpdateSloAlertPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSloAlertPolicyResult, error)
// GetSloBurndownWithResponse Error-budget burn-down for the current window
//
// Cumulative series. Consumption is accrued per step and summed forward, so `budgetRemainingSeconds` is monotonically non-increasing by construction — it cannot climb back up when probe density changes. It is not clamped at zero: an overspent budget reports a negative remainder. A step with no countable probe spends nothing (no data is not downtime).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/burndown (the `GetSloBurndown` operationId).
GetSloBurndownWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*GetSloBurndownResult, error)
// GetSloHistoryWithResponse Past monthly windows for an objective
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/history (the `GetSloHistory` operationId).
GetSloHistoryWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, params *GetSloHistoryParams, reqEditors ...RequestEditorFn) (*GetSloHistoryResult, error)
// GetSloStatusWithResponse Evaluate an objective over the current calendar window
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/slos/{uid}/status (the `GetSloStatus` operationId).
GetSloStatusWithResponse(ctx context.Context, org OrgPath, uid SLOUidPath, reqEditors ...RequestEditorFn) (*GetSloStatusResult, error)
// ListStatusPagesWithResponse List status pages
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages (the `ListStatusPages` operationId).
ListStatusPagesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListStatusPagesResult, error)
// CreateStatusPageWithBodyWithResponse Create a status page
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
CreateStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResult, error)
// CreateStatusPageWithResponse Create a status page
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages (the `CreateStatusPage` operationId).
CreateStatusPageWithResponse(ctx context.Context, org OrgPath, body CreateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageResult, error)
// DeleteStatusPageWithResponse Delete a status page
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `DeleteStatusPage` operationId).
DeleteStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusPageResult, error)
// GetStatusPageWithResponse Get a status page
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `GetStatusPage` operationId).
GetStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *GetStatusPageParams, reqEditors ...RequestEditorFn) (*GetStatusPageResult, error)
// UpdateStatusPageWithBodyWithResponse Update a status page
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
UpdateStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResult, error)
// UpdateStatusPageWithResponse Update a status page
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid} (the `UpdateStatusPage` operationId).
UpdateStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body UpdateStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageResult, error)
// VerifyStatusPageCustomDomainWithResponse Verify a status page's custom domain
//
// Resolves the domain's CNAME and compares it against the expected target for the configured mode (server.custom_domain_cname_mode: "shared" uses the installation target, "token" uses the page-specific "<token>.cname.<target>" host — there is no dual-accept). Stamps the result. Rate-limited per organization.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/custom-domain/verify (the `VerifyStatusPageCustomDomain` operationId).
VerifyStatusPageCustomDomainWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*VerifyStatusPageCustomDomainResult, error)
// ListStatusPageIncidentsWithResponse List the incident publications on a status page
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `ListStatusPageIncidents` operationId).
ListStatusPageIncidentsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, params *ListStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*ListStatusPageIncidentsResult, error)
// CreateStatusPageIncidentWithBodyWithResponse Publish a hand-written incident on a status page
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
CreateStatusPageIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResult, error)
// CreateStatusPageIncidentWithResponse Publish a hand-written incident on a status page
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents (the `CreateStatusPageIncident` operationId).
CreateStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentResult, error)
// GetStatusPageIncidentWithResponse Get one incident publication with its narrative
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `GetStatusPageIncident` operationId).
GetStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, reqEditors ...RequestEditorFn) (*GetStatusPageIncidentResult, error)
// UpdateStatusPageIncidentWithBodyWithResponse Edit a publication's title, severity or state
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
UpdateStatusPageIncidentWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResult, error)
// UpdateStatusPageIncidentWithResponse Edit a publication's title, severity or state
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid} (the `UpdateStatusPageIncident` operationId).
UpdateStatusPageIncidentWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body UpdateStatusPageIncidentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageIncidentResult, error)
// CreateStatusPageIncidentUpdateWithBodyWithResponse Append a narrative update to a published incident
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
CreateStatusPageIncidentUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResult, error)
// CreateStatusPageIncidentUpdateWithResponse Append a narrative update to a published incident
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/incidents/{uid}/updates (the `CreateStatusPageIncidentUpdate` operationId).
CreateStatusPageIncidentUpdateWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid PublicationUidPath, body CreateStatusPageIncidentUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageIncidentUpdateResult, error)
// RevokeStatusPageKioskTokenWithResponse Revoke a status page's kiosk token
//
// Clears the stored hash. Any screen still presenting the old token falls straight back to the page's ordinary visibility rules — 401 for a `password` page, 404 for a `private` one — with no distinguishable "revoked" answer. Idempotent: revoking a page that has no token succeeds.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `RevokeStatusPageKioskToken` operationId).
RevokeStatusPageKioskTokenWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*RevokeStatusPageKioskTokenResult, error)
// GenerateStatusPageKioskTokenWithResponse Mint or regenerate a status page's kiosk (TV mode) token
//
// Mints the page's single kiosk token — a long-lived, revocable, per-page secret a wallboard presents as a `kiosk` query parameter so an office TV can render a `password` or `private` page unattended. It grants READ-ONLY view of this one page and nothing else.
//
// The plaintext is returned HERE AND NOWHERE ELSE: only its sha256 is stored, so an operator who loses it regenerates rather than recovers. Calling this on a page that already has a token REPLACES it, which immediately invalidates the screen using the old one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/kiosk-token (the `GenerateStatusPageKioskToken` operationId).
GenerateStatusPageKioskTokenWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*GenerateStatusPageKioskTokenResult, error)
// ListStatusPageSectionsWithResponse List sections of a status page
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `ListStatusPageSections` operationId).
ListStatusPageSectionsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*ListStatusPageSectionsResult, error)
// CreateStatusPageSectionWithBodyWithResponse Create a section
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
CreateStatusPageSectionWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageSectionResult, error)
// CreateStatusPageSectionWithResponse Create a section
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections (the `CreateStatusPageSection` operationId).
CreateStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageSectionResult, error)
// ReorderStatusPageSectionsWithBodyWithResponse Reorder the sections of a status page
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
ReorderStatusPageSectionsWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReorderStatusPageSectionsResult, error)
// ReorderStatusPageSectionsWithResponse Reorder the sections of a status page
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/reorder (the `ReorderStatusPageSections` operationId).
ReorderStatusPageSectionsWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body ReorderStatusPageSectionsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReorderStatusPageSectionsResult, error)
// DeleteStatusPageSectionWithResponse Delete a section
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `DeleteStatusPageSection` operationId).
DeleteStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusPageSectionResult, error)
// GetStatusPageSectionWithResponse Get a section
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `GetStatusPageSection` operationId).
GetStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*GetStatusPageSectionResult, error)
// UpdateStatusPageSectionWithBodyWithResponse Update a section
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
UpdateStatusPageSectionWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageSectionResult, error)
// UpdateStatusPageSectionWithResponse Update a section
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid} (the `UpdateStatusPageSection` operationId).
UpdateStatusPageSectionWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body UpdateStatusPageSectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageSectionResult, error)
// ListStatusPageResourcesWithResponse List resources of a section
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `ListStatusPageResources` operationId).
ListStatusPageResourcesWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, reqEditors ...RequestEditorFn) (*ListStatusPageResourcesResult, error)
// CreateStatusPageResourceWithBodyWithResponse Add a check as a resource to a section
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
CreateStatusPageResourceWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageResourceResult, error)
// CreateStatusPageResourceWithResponse Add a check as a resource to a section
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources (the `CreateStatusPageResource` operationId).
CreateStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body CreateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageResourceResult, error)
// ReorderStatusPageResourcesWithBodyWithResponse Reorder the resources of a section
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
ReorderStatusPageResourcesWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReorderStatusPageResourcesResult, error)
// ReorderStatusPageResourcesWithResponse Reorder the resources of a section
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/reorder (the `ReorderStatusPageResources` operationId).
ReorderStatusPageResourcesWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, body ReorderStatusPageResourcesJSONRequestBody, reqEditors ...RequestEditorFn) (*ReorderStatusPageResourcesResult, error)
// DeleteStatusPageResourceWithResponse Remove a resource from a section
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `DeleteStatusPageResource` operationId).
DeleteStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusPageResourceResult, error)
// UpdateStatusPageResourceWithBodyWithResponse Update a resource
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
UpdateStatusPageResourceWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusPageResourceResult, error)
// UpdateStatusPageResourceWithResponse Update a resource
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-pages/{statusPageUid}/sections/{sectionUid}/resources/{resourceUid} (the `UpdateStatusPageResource` operationId).
UpdateStatusPageResourceWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, sectionUid SectionUidPath, resourceUid ResourceUidPath, body UpdateStatusPageResourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusPageResourceResult, error)
// ListStatusPageSubscribersWithResponse List subscribers of a status page
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `ListStatusPageSubscribers` operationId).
ListStatusPageSubscribersWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, reqEditors ...RequestEditorFn) (*ListStatusPageSubscribersResult, error)
// SubscribeToStatusPageWithBodyWithResponse Subscribe an email address to a status page
//
// PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
//
// Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
SubscribeToStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubscribeToStatusPageResult, error)
// SubscribeToStatusPageWithResponse Subscribe an email address to a status page
//
// PUBLIC, unauthenticated. Double opt-in: a confirmation email is sent and nothing is delivered until its link is followed, which is the primary anti-abuse control.
//
// Email is the ONLY channel available here. A `channel` of anything else is refused — a visitor pasting a webhook URL has no verification story, and the URL is itself a credential. Webhook and Slack deliveries are registered by an operator through POST .../subscribers/endpoints instead.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers (the `SubscribeToStatusPage` operationId).
SubscribeToStatusPageWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body SubscribeToStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*SubscribeToStatusPageResult, error)
// CreateStatusPageEndpointSubscriberWithBodyWithResponse Register a webhook or Slack delivery for a status page
//
// AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
//
// The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
//
// Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
//
// The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
CreateStatusPageEndpointSubscriberWithBodyWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusPageEndpointSubscriberResult, error)
// CreateStatusPageEndpointSubscriberWithResponse Register a webhook or Slack delivery for a status page
//
// AUTHENTICATED, operator-side. Creates a subscription that delivers to a URL rather than a mailbox, already confirmed — the operator registering their own endpoint IS the verification.
//
// The URL must be https and must not resolve to a loopback or private host; a `slack` subscription must point at hooks.slack.com. It is stored ENCRYPTED and never returned: list responses carry only a masked `endpoint` hint.
//
// Webhook deliveries are signed with HMAC-SHA256 over `<timestamp>.POST.<path>.<sha256 of the raw body, hex>`, carried in X-SP-Signature / X-SP-Timestamp / X-SP-Key-Id. The signing secret is returned by THIS CALL ONLY (`data.signingSecret`) and never again — a receiver that loses it needs the subscription re-created.
//
// The path is deliberately distinct from `.../subscribers`, which is the public email-only route: the two cannot share a pattern on the router.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/endpoints (the `CreateStatusPageEndpointSubscriber` operationId).
CreateStatusPageEndpointSubscriberWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, body CreateStatusPageEndpointSubscriberJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusPageEndpointSubscriberResult, error)
// RemoveStatusPageSubscriberWithResponse Remove a subscriber from a status page
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-pages/{statusPageUid}/subscribers/{uid} (the `RemoveStatusPageSubscriber` operationId).
RemoveStatusPageSubscriberWithResponse(ctx context.Context, org OrgPath, statusPageUid StatusPageUidPath, uid SubscriberUidPath, reqEditors ...RequestEditorFn) (*RemoveStatusPageSubscriberResult, error)
// ListStatusUpdatesWithResponse List status updates
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-updates (the `ListStatusUpdates` operationId).
ListStatusUpdatesWithResponse(ctx context.Context, org OrgPath, params *ListStatusUpdatesParams, reqEditors ...RequestEditorFn) (*ListStatusUpdatesResult, error)
// CreateStatusUpdateWithBodyWithResponse Create a status update
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
CreateStatusUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStatusUpdateResult, error)
// CreateStatusUpdateWithResponse Create a status update
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/status-updates (the `CreateStatusUpdate` operationId).
CreateStatusUpdateWithResponse(ctx context.Context, org OrgPath, body CreateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStatusUpdateResult, error)
// DeleteStatusUpdateWithResponse Delete a status update
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/status-updates/{uid} (the `DeleteStatusUpdate` operationId).
DeleteStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*DeleteStatusUpdateResult, error)
// GetStatusUpdateWithResponse Get a status update
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/status-updates/{uid} (the `GetStatusUpdate` operationId).
GetStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, reqEditors ...RequestEditorFn) (*GetStatusUpdateResult, error)
// UpdateStatusUpdateWithBodyWithResponse Update a status update
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
UpdateStatusUpdateWithBodyWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateStatusUpdateResult, error)
// UpdateStatusUpdateWithResponse Update a status update
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/status-updates/{uid} (the `UpdateStatusUpdate` operationId).
UpdateStatusUpdateWithResponse(ctx context.Context, org OrgPath, uid StatusUpdateUidPath, body UpdateStatusUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateStatusUpdateResult, error)
// ListOrgTokensWithResponse List user's tokens for an organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/tokens (the `ListOrgTokens` operationId).
ListOrgTokensWithResponse(ctx context.Context, org OrgPath, params *ListOrgTokensParams, reqEditors ...RequestEditorFn) (*ListOrgTokensResult, error)
// CreateTokenWithBodyWithResponse Create Personal Access Token for organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
CreateTokenWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTokenResult, error)
// CreateTokenWithResponse Create Personal Access Token for organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/tokens (the `CreateToken` operationId).
CreateTokenWithResponse(ctx context.Context, org OrgPath, body CreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTokenResult, error)
// AddMyNotificationContactWithBodyWithResponse Add a notification contact (and its route) for the caller
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
AddMyNotificationContactWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMyNotificationContactResult, error)
// AddMyNotificationContactWithResponse Add a notification contact (and its route) for the caller
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts (the `AddMyNotificationContact` operationId).
AddMyNotificationContactWithResponse(ctx context.Context, org OrgPath, body AddMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMyNotificationContactResult, error)
// RemoveMyNotificationContactWithResponse Remove one of the caller's notification contacts
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid} (the `RemoveMyNotificationContact` operationId).
RemoveMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*RemoveMyNotificationContactResult, error)
// VerifyMyNotificationContactWithResponse Send a verification code to a phone contact
//
// Issues a 6-digit code (10-minute expiry, rate-limited to 3/hour per contact) and sends it via the organization's default Twilio connection. Only phone contacts can be verified.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify (the `VerifyMyNotificationContact` operationId).
VerifyMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, reqEditors ...RequestEditorFn) (*VerifyMyNotificationContactResult, error)
// ConfirmMyNotificationContactWithBodyWithResponse Confirm a phone contact with its verification code
//
// Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
ConfirmMyNotificationContactWithBodyWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConfirmMyNotificationContactResult, error)
// ConfirmMyNotificationContactWithResponse Confirm a phone contact with its verification code
//
// Constant-time compares the submitted code; after 5 failed attempts the code is invalidated and a new one must be requested. Success stamps the contact verified.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-contacts/{contactUid}/verify/confirm (the `ConfirmMyNotificationContact` operationId).
ConfirmMyNotificationContactWithResponse(ctx context.Context, org OrgPath, contactUid ContactUidPath, body ConfirmMyNotificationContactJSONRequestBody, reqEditors ...RequestEditorFn) (*ConfirmMyNotificationContactResult, error)
// ListMyNotificationRoutesWithResponse List the caller's notification routes
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/users/me/notification-routes (the `ListMyNotificationRoutes` operationId).
ListMyNotificationRoutesWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ListMyNotificationRoutesResult, error)
// UpdateMyNotificationRouteWithBodyWithResponse Update one of the caller's notification routes
//
// Toggle the enabled flag and/or reorder the full route list.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
UpdateMyNotificationRouteWithBodyWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMyNotificationRouteResult, error)
// UpdateMyNotificationRouteWithResponse Update one of the caller's notification routes
//
// Toggle the enabled flag and/or reorder the full route list.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/orgs/{org}/users/me/notification-routes/{routeUid} (the `UpdateMyNotificationRoute` operationId).
UpdateMyNotificationRouteWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, body UpdateMyNotificationRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMyNotificationRouteResult, error)
// TestMyNotificationRouteWithResponse Send a test notification through one of the caller's routes
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/notification-routes/{routeUid}/test (the `TestMyNotificationRoute` operationId).
TestMyNotificationRouteWithResponse(ctx context.Context, org OrgPath, routeUid RouteUidPath, reqEditors ...RequestEditorFn) (*TestMyNotificationRouteResult, error)
// CreateMyTelegramLinkWithResponse Mint a single-use Telegram connect link for the caller
//
// Returns a `https://t.me/<botUsername>?start=<token>` deep link carrying
// a single-use, high-entropy token (TTL 15 minutes).
//
// Nothing is created by this call. The Telegram contact only comes into
// existence when the user actually presses **Start** in Telegram and the
// resulting `/start <token>` reaches the instance webhook — pressing Start
// is both the proof of reachability and the opt-in, which is why this
// channel has no verification code round-trip.
//
// A replayed token is a no-op, not a second contact. Poll
// `GET /api/v1/orgs/{org}/users/me/notification-routes` to observe the new
// contact appear.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/orgs/{org}/users/me/telegram/link (the `CreateMyTelegramLink` operationId).
CreateMyTelegramLinkWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*CreateMyTelegramLinkResult, error)
// ListUserNotificationsWithResponse List a user's notification deliveries
//
// Admins may query any user; non-admin members may only query themselves (403 otherwise).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/orgs/{org}/users/{uid}/notifications (the `ListUserNotifications` operationId).
ListUserNotificationsWithResponse(ctx context.Context, org OrgPath, uid UserUidPath, params *ListUserNotificationsParams, reqEditors ...RequestEditorFn) (*ListUserNotificationsResult, error)
// CustomDomainAllowedWithResponse Edge-TLS custom-domain check (public)
//
// Returns 204 when the queried domain currently resolves to a verified, enabled, public status page, and 404 otherwise. No body. This is the contract for Caddy on_demand_tls / cert-manager gating on an external TLS edge; it is unchanged by, and independent of, the server's own in-server ACME support (config acme.enabled).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/public/custom-domains/allowed (the `CustomDomainAllowed` operationId).
CustomDomainAllowedWithResponse(ctx context.Context, params *CustomDomainAllowedParams, reqEditors ...RequestEditorFn) (*CustomDomainAllowedResult, error)
// ViewDefaultStatusPageWithResponse View an organization's default public status page
//
// Renders the same payload as GET /api/v1/status-pages/{org}/{slug}, resolved to the organization's default page. No authentication required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/status-pages/{org} (the `ViewDefaultStatusPage` operationId).
ViewDefaultStatusPageWithResponse(ctx context.Context, org OrgPath, params *ViewDefaultStatusPageParams, reqEditors ...RequestEditorFn) (*ViewDefaultStatusPageResult, error)
// UnlockDefaultStatusPageWithBodyWithResponse Unlock an organization's password-protected default status page
//
// Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
UnlockDefaultStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnlockDefaultStatusPageResult, error)
// UnlockDefaultStatusPageWithResponse Unlock an organization's password-protected default status page
//
// Same as POST /api/v1/status-pages/{org}/{slug}/unlock, resolved to the organization's default page — the form a client reaching a default page through /status0/{org} can use, having no slug to send.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/status-pages/{org}/unlock (the `UnlockDefaultStatusPage` operationId).
UnlockDefaultStatusPageWithResponse(ctx context.Context, org OrgPath, body UnlockDefaultStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UnlockDefaultStatusPageResult, error)
// ViewStatusPageWithResponse View a public status page
//
// Full public rendering of a status page: sections, per-resource live status, and (when enabled) availability/response-time history. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required. Caching follows the page's visibility: a `public` page carries Cache-Control: public, max-age=60, while a `password` or `private` page — and every 401/404 answer — carries Cache-Control: private, no-store, so a shared cache can never retain a gated page's body. Holding a valid unlock cookie does not change that: it authorizes the visitor, not the CDN in front of them. Public responses carry Vary: X-Forwarded-Proto (the header the absolute URLs in these payloads derive their scheme from); gated ones add Cookie.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug} (the `ViewStatusPage` operationId).
ViewStatusPageWithResponse(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageParams, reqEditors ...RequestEditorFn) (*ViewStatusPageResult, error)
// GetStatusPageBadgeWithResponse SVG badge for a status page's overall status
//
// Public SVG badge (shields.io style) reflecting the page-level rollup status — the static, script-free sibling of the JS embed widget, for contexts like GitHub READMEs where scripts can't run. Same visibility gate as the full view and the summary endpoint: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one — the badge renders the rollup status of a page the requester may not be entitled to see. No authentication required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/badge (the `GetStatusPageBadge` operationId).
GetStatusPageBadgeWithResponse(ctx context.Context, org OrgPath, slug string, params *GetStatusPageBadgeParams, reqEditors ...RequestEditorFn) (*GetStatusPageBadgeResult, error)
// StatusPageFeedWithResponse Atom feed of a status page's status-update timeline
//
// Public Atom/RSS feed of the page's recent status updates (incident posts and manual updates). Same visibility gate as the full page view, and the same visibility-driven caching: Cache-Control: public, max-age=300 for a `public` page, private, no-store for a `password` or `private` one — the feed quotes update titles and bodies verbatim. No authentication required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/feed.xml (the `StatusPageFeed` operationId).
StatusPageFeedWithResponse(ctx context.Context, org OrgPath, slug string, reqEditors ...RequestEditorFn) (*StatusPageFeedResult, error)
// ViewPublicStatusPageIncidentsWithResponse Public incident history for a status page
//
// The customer-facing incidents published on this page (spec 2026-08-19-08). Without `active`, returns the page's history window; with `active=true`, only the incidents that are still open — the same set the full page view embeds as `activeIncidents[]`.
// Same visibility gate as the full page view: a disabled or non-public page returns 404, identical to a page that doesn't exist. Same caching rule too — Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not), since this payload quotes incident titles and update bodies verbatim. No authentication required.
// Every field is operator-authored or templated from the page's own public resource names. Probe output, error strings and internal hostnames are structurally unable to reach this payload.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/incidents (the `ViewPublicStatusPageIncidents` operationId).
ViewPublicStatusPageIncidentsWithResponse(ctx context.Context, org OrgPath, slug string, params *ViewPublicStatusPageIncidentsParams, reqEditors ...RequestEditorFn) (*ViewPublicStatusPageIncidentsResult, error)
// ViewStatusPageSummaryWithResponse Lightweight status summary for a status page
//
// Cheap "is it up?" companion to the full page view: overall status, per-category counts, page identity, and the canonical public URL — no sections, no per-resource history. Same visibility gate AND the same caching rule as the full page view: Cache-Control: public, max-age=60 for a `public` page, private, no-store for a `password` or `private` one (unlocked or not) and for every 401/404 answer. A disabled or non-public page returns 404, identical to a page that doesn't exist. No authentication required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/status-pages/{org}/{slug}/summary (the `ViewStatusPageSummary` operationId).
ViewStatusPageSummaryWithResponse(ctx context.Context, org OrgPath, slug string, params *ViewStatusPageSummaryParams, reqEditors ...RequestEditorFn) (*ViewStatusPageSummaryResult, error)
// UnlockStatusPageWithBodyWithResponse Unlock a password-protected status page
//
// Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
//
// The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
//
// Attempts are rate limited per (client IP, page).
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
UnlockStatusPageWithBodyWithResponse(ctx context.Context, org OrgPath, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnlockStatusPageResult, error)
// UnlockStatusPageWithResponse Unlock a password-protected status page
//
// Verifies the page password and, on success, sets the unlock cookie every gated public read then requires.
//
// The cookie is HOST-ONLY (no Domain attribute), HttpOnly, SameSite=Lax, Secure when the request arrived over TLS, and lasts 12 hours. Host-only is what makes it work on a customer's own domain without ever minting a cookie for solidping.io. It is signed with a key derived from the stored password hash, so changing or clearing the password invalidates every outstanding unlock immediately.
//
// Attempts are rate limited per (client IP, page).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/status-pages/{org}/{slug}/unlock (the `UnlockStatusPage` operationId).
UnlockStatusPageWithResponse(ctx context.Context, org OrgPath, slug string, body UnlockStatusPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UnlockStatusPageResult, error)
// ListSupportThreadsWithResponse List support threads
//
// Returns captured support conversations, most recent activity first. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/support/threads (the `ListSupportThreads` operationId).
ListSupportThreadsWithResponse(ctx context.Context, params *ListSupportThreadsParams, reqEditors ...RequestEditorFn) (*ListSupportThreadsResult, error)
// GetSupportThreadWithResponse Get one support thread
//
// Returns the thread, marking it read. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/support/threads/{uid} (the `GetSupportThread` operationId).
GetSupportThreadWithResponse(ctx context.Context, uid string, reqEditors ...RequestEditorFn) (*GetSupportThreadResult, error)
// UpdateSupportThreadWithBodyWithResponse Update a support thread
//
// Change the operator-set status or the subject. Super-admin only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
UpdateSupportThreadWithBodyWithResponse(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSupportThreadResult, error)
// UpdateSupportThreadWithResponse Update a support thread
//
// Change the operator-set status or the subject. Super-admin only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /api/v1/support/threads/{uid} (the `UpdateSupportThread` operationId).
UpdateSupportThreadWithResponse(ctx context.Context, uid string, body UpdateSupportThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSupportThreadResult, error)
// ListSupportMessagesWithResponse List a thread's messages
//
// Chronological order, oldest first. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/support/threads/{uid}/messages (the `ListSupportMessages` operationId).
ListSupportMessagesWithResponse(ctx context.Context, uid string, params *ListSupportMessagesParams, reqEditors ...RequestEditorFn) (*ListSupportMessagesResult, error)
// CreateSupportMessageWithBodyWithResponse Reply to a support thread
//
// Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
CreateSupportMessageWithBodyWithResponse(ctx context.Context, uid string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSupportMessageResult, error)
// CreateSupportMessageWithResponse Reply to a support thread
//
// Sends the reply through the channel the thread arrived on AND records it. Returns 409 when the reply cannot be sent right now — a lapsed WhatsApp 24-hour window, a channel with no reply adapter, or a thread with no route back (an unconnected Slack workspace, a missing channel id, no SMS sender) — which is a refusal we make deliberately rather than a provider error surfaced after the fact. **Nothing is stored on a 409**: no send was attempted, so there is no attempt to record. Returns 202 when a send WAS attempted and the provider rejected it: that row is recorded with delivery.status = failed, so an operator is never left unsure whether the attempt happened, and it can be retried through the resend endpoint. Super-admin only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/support/threads/{uid}/messages (the `CreateSupportMessage` operationId).
CreateSupportMessageWithResponse(ctx context.Context, uid string, body CreateSupportMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSupportMessageResult, error)
// ResendSupportMessageWithResponse Resend a failed outbound reply
//
// Re-runs the reply pre-flight (window, then routing) and the provider send for an outbound message whose delivery failed, rewriting that message's delivery record in place rather than appending a second copy. Only a failed outbound message qualifies — resending a delivered reply would send the same text to a customer twice. Returns 409 when the thread still cannot be replied to, and 202 when the provider rejected the retry as well. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/support/threads/{uid}/messages/{messageUid}/resend (the `ResendSupportMessage` operationId).
ResendSupportMessageWithResponse(ctx context.Context, uid string, messageUid string, reqEditors ...RequestEditorFn) (*ResendSupportMessageResult, error)
// GetActivationFunnelWithResponse Organization activation funnel
//
// Returns one row per organization with the timestamps for each activation milestone (signup, first check, first result, first notification, first incident). Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/activation (the `GetActivationFunnel` operationId).
GetActivationFunnelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetActivationFunnelResult, error)
// ListSystemCheckJobsWithResponse List check-schedule jobs (all orgs)
//
// Super-admin list of the check_jobs scheduler rows across every org. Secrets are never returned.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/check-jobs (the `ListSystemCheckJobs` operationId).
ListSystemCheckJobsWithResponse(ctx context.Context, params *ListSystemCheckJobsParams, reqEditors ...RequestEditorFn) (*ListSystemCheckJobsResult, error)
// GetSystemCheckJobWithResponse Get a check-schedule job (all orgs)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/check-jobs/{uid} (the `GetSystemCheckJob` operationId).
GetSystemCheckJobWithResponse(ctx context.Context, uid CheckJobUidPath, reqEditors ...RequestEditorFn) (*GetSystemCheckJobResult, error)
// GetEmailInboxConfigWithResponse Get the email-inbox (JMAP) configuration
//
// Returns the saved JMAP inbox configuration with the password elided. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/email-inbox/config (the `GetEmailInboxConfig` operationId).
GetEmailInboxConfigWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmailInboxConfigResult, error)
// GetEmailInboxStatusWithResponse Get the email-inbox connection status
//
// Reports whether the email inbox is enabled and connected, the mode, the last sync time, the last error and the address domain. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/email-inbox/status (the `GetEmailInboxStatus` operationId).
GetEmailInboxStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmailInboxStatusResult, error)
// SyncEmailInboxWithResponse Trigger an email-inbox sync
//
// Runs one immediate sync pass over the configured JMAP inbox. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/system/email-inbox/sync (the `SyncEmailInbox` operationId).
SyncEmailInboxWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SyncEmailInboxResult, error)
// TestEmailInboxWithResponse Test the email-inbox connection
//
// Connects to the configured JMAP inbox and lists its resolved mailboxes. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/system/email-inbox/test (the `TestEmailInbox` operationId).
TestEmailInboxWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TestEmailInboxResult, error)
// ListAdminEntitlementsWithResponse List organizations with their resolved entitlements (super admin)
//
// One row per organization: resolved limits, their source, plan display
// identity, and the checks-per-minute demand/cap pair so orgs currently
// over their execution cap can be spotted without opening each one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/entitlements (the `ListAdminEntitlements` operationId).
ListAdminEntitlementsWithResponse(ctx context.Context, params *ListAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*ListAdminEntitlementsResult, error)
// ReleaseAdminEntitlementsWithResponse Release an organization back to billing (super admin)
//
// Drops the stored entitlements row. The organization immediately
// resolves to the deployment-mode defaults, and the next billing push is
// applied normally. Releasing an organization that has no stored row is a
// no-op (`released: false`), not an error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/system/entitlements/{org} (the `ReleaseAdminEntitlements` operationId).
ReleaseAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, reqEditors ...RequestEditorFn) (*ReleaseAdminEntitlementsResult, error)
// GetAdminEntitlementsWithResponse Get one organization's entitlements and audit trail (super admin)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/entitlements/{org} (the `GetAdminEntitlements` operationId).
GetAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, params *GetAdminEntitlementsParams, reqEditors ...RequestEditorFn) (*GetAdminEntitlementsResult, error)
// SetAdminEntitlementsWithBodyWithResponse Write an organization's entitlements as an admin override (super admin)
//
// Writes a complete admin-sourced row (whole-row only; there are no
// per-field overrides). The request body's `source` is ignored — a super
// admin write is always `admin`, so a body claiming to be the billing
// service cannot launder itself past the precedence rule.
//
// Because the row is complete, an `admin` row resolves whole-row: a
// `null` cap means **unlimited**, not "inherit the deployment default".
// That is what makes the editor's Unlimited switch mean what it says on a
// SaaS deployment, where every default is a real number. `whiteLabel` is
// the exception — being a boolean, its `null` keeps meaning "use the
// deployment default".
//
// While the stored row is admin-sourced, billing pushes to
// `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT
// applied (`applied: false`, `suppressedBy: admin`) and recorded in the
// audit log. Use `DELETE` on this path to release the override.
//
// An optional `X-Entitlements-Reason` header is stored on the audit row.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
SetAdminEntitlementsWithBodyWithResponse(ctx context.Context, org OrgPath, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetAdminEntitlementsResult, error)
// SetAdminEntitlementsWithResponse Write an organization's entitlements as an admin override (super admin)
//
// Writes a complete admin-sourced row (whole-row only; there are no
// per-field overrides). The request body's `source` is ignored — a super
// admin write is always `admin`, so a body claiming to be the billing
// service cannot launder itself past the precedence rule.
//
// Because the row is complete, an `admin` row resolves whole-row: a
// `null` cap means **unlimited**, not "inherit the deployment default".
// That is what makes the editor's Unlimited switch mean what it says on a
// SaaS deployment, where every default is a real number. `whiteLabel` is
// the exception — being a boolean, its `null` keeps meaning "use the
// deployment default".
//
// While the stored row is admin-sourced, billing pushes to
// `PUT /api/v1/orgs/{org}/entitlements` are accepted with 200 but NOT
// applied (`applied: false`, `suppressedBy: admin`) and recorded in the
// audit log. Use `DELETE` on this path to release the override.
//
// An optional `X-Entitlements-Reason` header is stored on the audit row.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/system/entitlements/{org} (the `SetAdminEntitlements` operationId).
SetAdminEntitlementsWithResponse(ctx context.Context, org OrgPath, body SetAdminEntitlementsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetAdminEntitlementsResult, error)
// ListSystemJobsWithResponse List background jobs (all orgs)
//
// Super-admin list of background jobs across all orgs, including system jobs (null org).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/jobs (the `ListSystemJobs` operationId).
ListSystemJobsWithResponse(ctx context.Context, params *ListSystemJobsParams, reqEditors ...RequestEditorFn) (*ListSystemJobsResult, error)
// GetSystemJobStatsWithResponse Job & check-schedule stats (all orgs)
//
// Aggregate job and check-schedule counts across every org (super-admin).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/jobs/stats (the `GetSystemJobStats` operationId).
GetSystemJobStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSystemJobStatsResult, error)
// GetSystemJobWithResponse Get a background job (all orgs)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/jobs/{uid} (the `GetSystemJob` operationId).
GetSystemJobWithResponse(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetSystemJobResult, error)
// GetSystemJobChainWithResponse Get a job's retry chain (all orgs)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/jobs/{uid}/chain (the `GetSystemJobChain` operationId).
GetSystemJobChainWithResponse(ctx context.Context, uid JobUidPath, reqEditors ...RequestEditorFn) (*GetSystemJobChainResult, error)
// ListSystemParametersWithResponse List all system parameters
//
// Returns all system-wide configuration parameters. Secret values are masked.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/parameters (the `ListSystemParameters` operationId).
ListSystemParametersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSystemParametersResult, error)
// DeleteSystemParameterWithResponse Delete a system parameter
//
// Soft-deletes a system parameter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /api/v1/system/parameters/{key} (the `DeleteSystemParameter` operationId).
DeleteSystemParameterWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*DeleteSystemParameterResult, error)
// GetSystemParameterWithResponse Get a system parameter
//
// Returns a single system parameter by key. Secret values are masked.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/parameters/{key} (the `GetSystemParameter` operationId).
GetSystemParameterWithResponse(ctx context.Context, key string, reqEditors ...RequestEditorFn) (*GetSystemParameterResult, error)
// SetSystemParameterWithBodyWithResponse Set a system parameter
//
// Creates or updates a system parameter value.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
SetSystemParameterWithBodyWithResponse(ctx context.Context, key string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetSystemParameterResult, error)
// SetSystemParameterWithResponse Set a system parameter
//
// Creates or updates a system parameter value.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /api/v1/system/parameters/{key} (the `SetSystemParameter` operationId).
SetSystemParameterWithResponse(ctx context.Context, key string, body SetSystemParameterJSONRequestBody, reqEditors ...RequestEditorFn) (*SetSystemParameterResult, error)
// GetRegionHealthWithResponse Ghost-region detection report
//
// One row per region slug seen anywhere — in the declared `regions` system parameter, in a check's `regions` array, in a `check_jobs.region`, or in a live or previously-live worker's announced region — so the caller gets the ghosts and the healthy baseline in one call.
//
// A **ghost** is a slug something depends on (a job or a check reference) that nothing live can serve: `(jobs > 0 || checksReferencing > 0) && liveWorkers == 0`. A declared region with zero live workers and zero references is dark but unused, not a ghost — the alarm condition is work assigned to nobody, not an idle region.
//
// `liveWorkers` reuses the exact prefix rule the scheduler claims jobs with (`workerRegion` has the slug as a prefix, so a `us` job is served by a `us-1` worker) and the same liveness window as the region capability report. `lastWorkerSeenAt` spans every matching worker, soft-deleted included, so it dates when the region actually went dark. NULL-region (any-region) jobs never count toward any row — they are claimable by every cloud worker by construction.
//
// Read-side companion of `POST /system/regions/migrate`: its output names exactly the `from` slugs a migration should target. Cheap and unpaginated — a handful of bounded scans, not a query per region. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/regions/health (the `GetRegionHealth` operationId).
GetRegionHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetRegionHealthResult, error)
// MigrateRegionWithBodyWithResponse Migrate every reference to a region slug
//
// Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
//
// This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
//
// `to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
//
// Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
MigrateRegionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MigrateRegionResult, error)
// MigrateRegionWithResponse Migrate every reference to a region slug
//
// Reassigns a region slug server-wide and across every organization: `checks.regions` is rewritten in one transaction, then each affected check's `check_jobs` are re-materialized under the new slug through the normal reconcile (so the unique `(checkUid, region)` pair, the phase stagger, the plan weight and the schedule are all recomputed).
//
// This exists because renaming a worker region — an `SP_NODE_REGION` / `SP_REGIONS` change, with no check ever edited — leaves every job row under the old spelling, and a worker only claims a job whose region its own region matches by prefix. Those jobs become unclaimable by every worker, silently and forever. The migration is the recovery, and it is server-scope because org-scoped credentials cannot reach the jobs of the other tenants a rename breaks.
//
// `to` must be a declared region (present in the `regions` system parameter) or served by a live worker — migrating to a slug nobody serves would only move the stranding. `from` deliberately need not be declared: cleaning up a slug that no longer exists is the point. A private (`@…`) region may only migrate to another private region, since its sealed configs are encrypted to the private region's agent keys and cannot be re-targeted server-side.
//
// Idempotent: a second call with the same pair finds no references and returns zeros. Super-admin only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/system/regions/migrate (the `MigrateRegion` operationId).
MigrateRegionWithResponse(ctx context.Context, body MigrateRegionJSONRequestBody, reqEditors ...RequestEditorFn) (*MigrateRegionResult, error)
// GetSchedulingLaneLoadWithResponse Per-worker check-lane load statistics
//
// Computes, server-side, each worker's offered check load per scheduling lane (fast / slow): eligible job counts, summed cost and delay EWMAs, and the summed duty cycle (100 × cost EWMA / period, i.e. how many runner slots the lane's steady-state demand occupies). "Offered" means every enabled job the worker is eligible to claim — jobs without a region count for every worker, region-scoped jobs count for workers whose region has the job's region as a prefix — so workers sharing a region report the same load. Super-admin only.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /api/v1/system/scheduling/lane-load (the `GetSchedulingLaneLoad` operationId).
GetSchedulingLaneLoadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulingLaneLoadResult, error)
// SendTestEmailWithBodyWithResponse Send a test email
//
// Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
SendTestEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendTestEmailResult, error)
// SendTestEmailWithResponse Send a test email
//
// Sends a test email to the given recipient using the currently saved SMTP parameters, and reports whether the send succeeded. Super-admin only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /api/v1/system/test-email (the `SendTestEmail` operationId).
SendTestEmailWithResponse(ctx context.Context, body SendTestEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*SendTestEmailResult, error)
// GetEmbedWidgetV1WithResponse Embeddable live status widget script
//
// Self-contained JavaScript (IIFE) that renders a live status pill on a third-party site. It is loaded by an async script tag carrying data-page="org/slug", and configured entirely through data-attributes: data-mode (inline|floating), data-position (bottom-right|bottom-left), data-theme (light|dark|auto), data-size (sm|md|lg), per-state label overrides data-label-operational|degraded|down|maintenance|unknown, and data-force-status (operational|degraded|down|maintenance|unknown) to render a status statically without polling. The widget polls the status page summary endpoint every 60 s with an uncredentialed request and renders into a shadow root; a failed request or an unknown page renders nothing. Everything under /embed/v1/ is a frozen public contract — behavior changes ship under /embed/v2/, but additive, backward-compatible data-attributes may land within v1. Response carries Cache-Control: public, max-age=3600. No authentication required.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /embed/v1/widget.js (the `GetEmbedWidgetV1` operationId).
GetEmbedWidgetV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEmbedWidgetV1Result, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CloneCheckJSONRequestBody ¶
type CloneCheckJSONRequestBody = CloneCheckRequest
CloneCheckJSONRequestBody defines body for CloneCheck for application/json ContentType.
type CloneCheckRequest ¶
type CloneCheckRequest struct {
CheckGroupUid *string `json:"checkGroupUid,omitempty"`
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
}
CloneCheckRequest Optional overrides applied to the cloned check.
type CloneCheckResult ¶
type CloneCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Check
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseCloneCheckResult ¶
func ParseCloneCheckResult(rsp *http.Response) (*CloneCheckResult, error)
ParseCloneCheckResult parses an HTTP response from a CloneCheckWithResponse call
func (CloneCheckResult) ContentType ¶
func (r CloneCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CloneCheckResult) GetBody ¶
func (r CloneCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CloneCheckResult) GetJSON201 ¶
func (r CloneCheckResult) GetJSON201() *Check
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CloneCheckResult) GetJSON404 ¶
func (r CloneCheckResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CloneCheckResult) GetJSON409 ¶
func (r CloneCheckResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CloneCheckResult) GetJSON422 ¶
func (r CloneCheckResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CloneCheckResult) Status ¶
func (r CloneCheckResult) Status() string
Status returns HTTPResponse.Status
func (CloneCheckResult) StatusCode ¶
func (r CloneCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConfirmMyNotificationContactJSONBody ¶
type ConfirmMyNotificationContactJSONBody struct {
// Code The 6-digit verification code
//
// Example: 123456
Code string `json:"code"`
}
ConfirmMyNotificationContactJSONBody defines parameters for ConfirmMyNotificationContact.
type ConfirmMyNotificationContactJSONRequestBody ¶
type ConfirmMyNotificationContactJSONRequestBody ConfirmMyNotificationContactJSONBody
ConfirmMyNotificationContactJSONRequestBody defines body for ConfirmMyNotificationContact for application/json ContentType.
type ConfirmMyNotificationContactResult ¶
type ConfirmMyNotificationContactResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseConfirmMyNotificationContactResult ¶
func ParseConfirmMyNotificationContactResult(rsp *http.Response) (*ConfirmMyNotificationContactResult, error)
ParseConfirmMyNotificationContactResult parses an HTTP response from a ConfirmMyNotificationContactWithResponse call
func (ConfirmMyNotificationContactResult) ContentType ¶
func (r ConfirmMyNotificationContactResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConfirmMyNotificationContactResult) GetBody ¶
func (r ConfirmMyNotificationContactResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ConfirmMyNotificationContactResult) GetJSON400 ¶
func (r ConfirmMyNotificationContactResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ConfirmMyNotificationContactResult) GetJSON401 ¶
func (r ConfirmMyNotificationContactResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ConfirmMyNotificationContactResult) GetJSON404 ¶
func (r ConfirmMyNotificationContactResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ConfirmMyNotificationContactResult) Status ¶
func (r ConfirmMyNotificationContactResult) Status() string
Status returns HTTPResponse.Status
func (ConfirmMyNotificationContactResult) StatusCode ¶
func (r ConfirmMyNotificationContactResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConfirmRegistrationJSONRequestBody ¶
type ConfirmRegistrationJSONRequestBody = ConfirmRegistrationRequest
ConfirmRegistrationJSONRequestBody defines body for ConfirmRegistration for application/json ContentType.
type ConfirmRegistrationRequest ¶
type ConfirmRegistrationRequest struct {
// Token Registration confirmation token from the emailed link
Token string `json:"token"`
}
ConfirmRegistrationRequest defines model for ConfirmRegistrationRequest.
type ConfirmRegistrationResult ¶
type ConfirmRegistrationResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoginResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
}
func ParseConfirmRegistrationResult ¶
func ParseConfirmRegistrationResult(rsp *http.Response) (*ConfirmRegistrationResult, error)
ParseConfirmRegistrationResult parses an HTTP response from a ConfirmRegistrationWithResponse call
func (ConfirmRegistrationResult) ContentType ¶
func (r ConfirmRegistrationResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConfirmRegistrationResult) GetBody ¶
func (r ConfirmRegistrationResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ConfirmRegistrationResult) GetJSON200 ¶
func (r ConfirmRegistrationResult) GetJSON200() *LoginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConfirmRegistrationResult) GetJSON400 ¶
func (r ConfirmRegistrationResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ConfirmRegistrationResult) Status ¶
func (r ConfirmRegistrationResult) Status() string
Status returns HTTPResponse.Status
func (ConfirmRegistrationResult) StatusCode ¶
func (r ConfirmRegistrationResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CostDistribution ¶
type CostDistribution struct {
// CostEwmaMs Distribution of cost_ewma_ms — per-job EWMA of execution duration (ms), timeouts pinned to the execution ceiling. This is the only signal that steers claim ordering (deprioritization offset = cost × 2, clamped to 60s).
CostEwmaMs *CostDistributionPercentiles `json:"costEwmaMs,omitempty"`
// DelayEwmaMs Distribution of delay_ewma_ms — per-job EWMA of probe start lateness versus the user-configured scheduled_at (probe start − scheduled_at, floored at 0, in ms). Pure telemetry: it measures head-of-line blocking under contention but does not steer claim ordering (the deprioritization offset is cost-only). A probe that starts on time contributes 0.
DelayEwmaMs *CostDistributionPercentiles `json:"delayEwmaMs,omitempty"`
// FastJobs Count with cost_ewma_ms <= thresholdMs.
FastJobs *int `json:"fastJobs,omitempty"`
// SlowJobs Count with cost_ewma_ms > thresholdMs.
SlowJobs *int `json:"slowJobs,omitempty"`
// ThresholdMs Candidate fast/slow boundary used for the counts (ms).
ThresholdMs *int `json:"thresholdMs,omitempty"`
// TotalJobs Number of check_jobs rows considered.
TotalJobs *int `json:"totalJobs,omitempty"`
}
CostDistribution defines model for CostDistribution.
type CostDistributionPercentiles ¶
type CostDistributionPercentiles struct {
Max *float64 `json:"max,omitempty"`
P50 *float64 `json:"p50,omitempty"`
P90 *float64 `json:"p90,omitempty"`
P99 *float64 `json:"p99,omitempty"`
}
CostDistributionPercentiles p50/p90/p99/max summary of a metric (milliseconds).
type CostDistributionResponse ¶
type CostDistributionResponse struct {
Data *CostDistribution `json:"data,omitempty"`
}
CostDistributionResponse defines model for CostDistributionResponse.
type CreateChannelJSONRequestBody ¶
type CreateChannelJSONRequestBody = CreateChannelRequest
CreateChannelJSONRequestBody defines body for CreateChannel for application/json ContentType.
type CreateChannelRequest ¶
type CreateChannelRequest struct {
Enabled *bool `json:"enabled,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Name string `json:"name"`
Settings *map[string]interface{} `json:"settings,omitempty"`
// Type Channel type (slack, discord, webhook, email, ...)
Type string `json:"type"`
}
CreateChannelRequest defines model for CreateChannelRequest.
type CreateChannelResult ¶
type CreateChannelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Channel
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateChannelResult ¶
func ParseCreateChannelResult(rsp *http.Response) (*CreateChannelResult, error)
ParseCreateChannelResult parses an HTTP response from a CreateChannelWithResponse call
func (CreateChannelResult) ContentType ¶
func (r CreateChannelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateChannelResult) GetBody ¶
func (r CreateChannelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateChannelResult) GetJSON201 ¶
func (r CreateChannelResult) GetJSON201() *Channel
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateChannelResult) GetJSON400 ¶
func (r CreateChannelResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateChannelResult) GetJSON401 ¶
func (r CreateChannelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateChannelResult) GetJSON403 ¶
func (r CreateChannelResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateChannelResult) GetJSON404 ¶
func (r CreateChannelResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateChannelResult) Status ¶
func (r CreateChannelResult) Status() string
Status returns HTTPResponse.Status
func (CreateChannelResult) StatusCode ¶
func (r CreateChannelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCheckDependencyJSONRequestBody ¶
type CreateCheckDependencyJSONRequestBody = CreateDependencyRequest
CreateCheckDependencyJSONRequestBody defines body for CreateCheckDependency for application/json ContentType.
type CreateCheckDependencyResult ¶
type CreateCheckDependencyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Dependency
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
}
func ParseCreateCheckDependencyResult ¶
func ParseCreateCheckDependencyResult(rsp *http.Response) (*CreateCheckDependencyResult, error)
ParseCreateCheckDependencyResult parses an HTTP response from a CreateCheckDependencyWithResponse call
func (CreateCheckDependencyResult) ContentType ¶
func (r CreateCheckDependencyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCheckDependencyResult) GetBody ¶
func (r CreateCheckDependencyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCheckDependencyResult) GetJSON201 ¶
func (r CreateCheckDependencyResult) GetJSON201() *Dependency
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateCheckDependencyResult) GetJSON400 ¶
func (r CreateCheckDependencyResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateCheckDependencyResult) GetJSON404 ¶
func (r CreateCheckDependencyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateCheckDependencyResult) GetJSON409 ¶
func (r CreateCheckDependencyResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateCheckDependencyResult) Status ¶
func (r CreateCheckDependencyResult) Status() string
Status returns HTTPResponse.Status
func (CreateCheckDependencyResult) StatusCode ¶
func (r CreateCheckDependencyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCheckGroupJSONRequestBody ¶
type CreateCheckGroupJSONRequestBody = CreateCheckGroupRequest
CreateCheckGroupJSONRequestBody defines body for CreateCheckGroup for application/json ContentType.
type CreateCheckGroupRequest ¶
type CreateCheckGroupRequest struct {
Description *string `json:"description,omitempty"`
// EscalationPolicyUid Group-level escalation policy member checks inherit.
EscalationPolicyUid *openapi_types.UUID `json:"escalationPolicyUid,omitempty"`
Name string `json:"name"`
Slug *string `json:"slug,omitempty"`
SortOrder *int `json:"sortOrder,omitempty"`
}
CreateCheckGroupRequest defines model for CreateCheckGroupRequest.
type CreateCheckGroupResult ¶
type CreateCheckGroupResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CheckGroup
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateCheckGroupResult ¶
func ParseCreateCheckGroupResult(rsp *http.Response) (*CreateCheckGroupResult, error)
ParseCreateCheckGroupResult parses an HTTP response from a CreateCheckGroupWithResponse call
func (CreateCheckGroupResult) ContentType ¶
func (r CreateCheckGroupResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCheckGroupResult) GetBody ¶
func (r CreateCheckGroupResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCheckGroupResult) GetJSON201 ¶
func (r CreateCheckGroupResult) GetJSON201() *CheckGroup
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateCheckGroupResult) GetJSON400 ¶
func (r CreateCheckGroupResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateCheckGroupResult) GetJSON401 ¶
func (r CreateCheckGroupResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateCheckGroupResult) GetJSON404 ¶
func (r CreateCheckGroupResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateCheckGroupResult) Status ¶
func (r CreateCheckGroupResult) Status() string
Status returns HTTPResponse.Status
func (CreateCheckGroupResult) StatusCode ¶
func (r CreateCheckGroupResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCheckJSONRequestBody ¶
type CreateCheckJSONRequestBody = CreateCheckRequest
CreateCheckJSONRequestBody defines body for CreateCheck for application/json ContentType.
type CreateCheckRequest ¶
type CreateCheckRequest struct {
// CheckGroupUid Group to place this check in.
CheckGroupUid *openapi_types.UUID `json:"checkGroupUid,omitempty"`
// Config Check-specific configuration (e.g., url, port, timeout). HTTP checks additionally accept `verifySsl` and `followRedirects` (both booleans, default true) and `capture_failure_response` (boolean, default false) — see the Check schema above for details.
Config map[string]interface{} `json:"config"`
// Description Optional documentation about the check
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// EscalationPolicyUid Escalation policy to assign to this check. Omit or empty to inherit (group → org default → none). A zero-step policy makes the check explicitly silent.
EscalationPolicyUid *openapi_types.UUID `json:"escalationPolicyUid,omitempty"`
// FlapBackoffFactor Each flap multiplies the required recovery time by this factor. 1 = off (constant recovery).
FlapBackoffFactor *int `json:"flapBackoffFactor,omitempty"`
// FlappingWindowSeconds Flapping (adaptive recovery) window in seconds. Outages within this rolling window accumulate the recovery backoff. 0 = off.
FlappingWindowSeconds *int `json:"flappingWindowSeconds,omitempty"`
// Labels Key-value pairs for organizing checks
//
// Example: {"app":"api","env":"prod"}
Labels *map[string]string `json:"labels,omitempty"`
// MaxRecoveryMultiplier Cap: required recovery never exceeds this multiple of the base recovery period (also hard-capped at 30 minutes).
MaxRecoveryMultiplier *int `json:"maxRecoveryMultiplier,omitempty"`
// Name Check name (auto-generated from URL if not provided)
Name *string `json:"name,omitempty"`
Period *string `json:"period,omitempty"`
// RegionSpread Optional inter-region scheduling offset (e.g., "00:00:20"). Null (or omitted) uses the default of period ÷ region count. Must satisfy 0 <= regionSpread < period.
RegionSpread *string `json:"regionSpread,omitempty"`
// Slug URL-friendly identifier (auto-generated from URL if not provided)
Slug *string `json:"slug,omitempty"`
// TracerouteOnFailure Per-check path-trace policy (see the Check schema). `inherit` puts the check back under the organization default. Omit to leave unchanged.
TracerouteOnFailure *CreateCheckRequestTracerouteOnFailure `json:"tracerouteOnFailure,omitempty"`
// Type Check type (auto-inferred from URL if not provided)
Type *CreateCheckRequestType `json:"type,omitempty"`
}
CreateCheckRequest defines model for CreateCheckRequest.
type CreateCheckRequestTracerouteOnFailure ¶
type CreateCheckRequestTracerouteOnFailure string
CreateCheckRequestTracerouteOnFailure Per-check path-trace policy (see the Check schema). `inherit` puts the check back under the organization default. Omit to leave unchanged.
const ( CreateCheckRequestTracerouteOnFailureInherit CreateCheckRequestTracerouteOnFailure = "inherit" CreateCheckRequestTracerouteOnFailureOff CreateCheckRequestTracerouteOnFailure = "off" CreateCheckRequestTracerouteOnFailureOn CreateCheckRequestTracerouteOnFailure = "on" )
Defines values for CreateCheckRequestTracerouteOnFailure.
func (CreateCheckRequestTracerouteOnFailure) Valid ¶
func (e CreateCheckRequestTracerouteOnFailure) Valid() bool
Valid indicates whether the value is a known member of the CreateCheckRequestTracerouteOnFailure enum.
type CreateCheckRequestType ¶
type CreateCheckRequestType string
CreateCheckRequestType Check type (auto-inferred from URL if not provided)
const ( CreateCheckRequestTypeDns CreateCheckRequestType = "dns" CreateCheckRequestTypeDomain CreateCheckRequestType = "domain" CreateCheckRequestTypeHttp CreateCheckRequestType = "http" CreateCheckRequestTypeIcmp CreateCheckRequestType = "icmp" CreateCheckRequestTypeSsl CreateCheckRequestType = "ssl" CreateCheckRequestTypeTcp CreateCheckRequestType = "tcp" )
Defines values for CreateCheckRequestType.
func (CreateCheckRequestType) Valid ¶
func (e CreateCheckRequestType) Valid() bool
Valid indicates whether the value is a known member of the CreateCheckRequestType enum.
type CreateCheckResult ¶
type CreateCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Check
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseCreateCheckResult ¶
func ParseCreateCheckResult(rsp *http.Response) (*CreateCheckResult, error)
ParseCreateCheckResult parses an HTTP response from a CreateCheckWithResponse call
func (CreateCheckResult) ContentType ¶
func (r CreateCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateCheckResult) GetBody ¶
func (r CreateCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateCheckResult) GetJSON201 ¶
func (r CreateCheckResult) GetJSON201() *Check
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateCheckResult) GetJSON400 ¶
func (r CreateCheckResult) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateCheckResult) GetJSON422 ¶
func (r CreateCheckResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateCheckResult) Status ¶
func (r CreateCheckResult) Status() string
Status returns HTTPResponse.Status
func (CreateCheckResult) StatusCode ¶
func (r CreateCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDependencyBody ¶
type CreateDependencyBody struct {
ParentCheckUID string `json:"parentCheckUid"`
Kind string `json:"kind"`
Description *string `json:"description,omitempty"`
}
CreateDependencyBody is the body for AddCheckDependency.
type CreateDependencyRequest ¶
type CreateDependencyRequest struct {
Description *string `json:"description,omitempty"`
Kind CreateDependencyRequestKind `json:"kind"`
// ParentCheckUid UID or slug of the parent check
ParentCheckUid string `json:"parentCheckUid"`
}
CreateDependencyRequest defines model for CreateDependencyRequest.
type CreateDependencyRequestKind ¶
type CreateDependencyRequestKind string
CreateDependencyRequestKind defines model for CreateDependencyRequest.Kind.
const ( CreateDependencyRequestKindHard CreateDependencyRequestKind = "hard" CreateDependencyRequestKindSoft CreateDependencyRequestKind = "soft" )
Defines values for CreateDependencyRequestKind.
func (CreateDependencyRequestKind) Valid ¶
func (e CreateDependencyRequestKind) Valid() bool
Valid indicates whether the value is a known member of the CreateDependencyRequestKind enum.
type CreateEscalationPolicyJSONRequestBody ¶
type CreateEscalationPolicyJSONRequestBody = CreateEscalationPolicyRequest
CreateEscalationPolicyJSONRequestBody defines body for CreateEscalationPolicy for application/json ContentType.
type CreateEscalationPolicyRequest ¶
type CreateEscalationPolicyRequest struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
RepeatAfterSeconds *int `json:"repeatAfterSeconds,omitempty"`
RepeatMax *int `json:"repeatMax,omitempty"`
Steps *[]EscalationStepInput `json:"steps,omitempty"`
}
CreateEscalationPolicyRequest defines model for CreateEscalationPolicyRequest.
type CreateEscalationPolicyResult ¶
type CreateEscalationPolicyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *EscalationPolicy
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateEscalationPolicyResult ¶
func ParseCreateEscalationPolicyResult(rsp *http.Response) (*CreateEscalationPolicyResult, error)
ParseCreateEscalationPolicyResult parses an HTTP response from a CreateEscalationPolicyWithResponse call
func (CreateEscalationPolicyResult) ContentType ¶
func (r CreateEscalationPolicyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateEscalationPolicyResult) GetBody ¶
func (r CreateEscalationPolicyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateEscalationPolicyResult) GetJSON201 ¶
func (r CreateEscalationPolicyResult) GetJSON201() *EscalationPolicy
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateEscalationPolicyResult) GetJSON400 ¶
func (r CreateEscalationPolicyResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateEscalationPolicyResult) GetJSON401 ¶
func (r CreateEscalationPolicyResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateEscalationPolicyResult) GetJSON404 ¶
func (r CreateEscalationPolicyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateEscalationPolicyResult) Status ¶
func (r CreateEscalationPolicyResult) Status() string
Status returns HTTPResponse.Status
func (CreateEscalationPolicyResult) StatusCode ¶
func (r CreateEscalationPolicyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateIncidentPublicationRequest ¶
type CreateIncidentPublicationRequest struct {
// BodyMarkdown Optional first narrative entry.
BodyMarkdown *string `json:"bodyMarkdown,omitempty"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
Severity *CreateIncidentPublicationRequestSeverity `json:"severity,omitempty"`
State *CreateIncidentPublicationRequestState `json:"state,omitempty"`
// Title Customer-facing title. Never paste probe output into it.
Title string `json:"title"`
}
CreateIncidentPublicationRequest defines model for CreateIncidentPublicationRequest.
type CreateIncidentPublicationRequestSeverity ¶
type CreateIncidentPublicationRequestSeverity string
CreateIncidentPublicationRequestSeverity defines model for CreateIncidentPublicationRequest.Severity.
const ( CreateIncidentPublicationRequestSeverityCritical CreateIncidentPublicationRequestSeverity = "critical" CreateIncidentPublicationRequestSeverityMajor CreateIncidentPublicationRequestSeverity = "major" CreateIncidentPublicationRequestSeverityMinor CreateIncidentPublicationRequestSeverity = "minor" )
Defines values for CreateIncidentPublicationRequestSeverity.
func (CreateIncidentPublicationRequestSeverity) Valid ¶
func (e CreateIncidentPublicationRequestSeverity) Valid() bool
Valid indicates whether the value is a known member of the CreateIncidentPublicationRequestSeverity enum.
type CreateIncidentPublicationRequestState ¶
type CreateIncidentPublicationRequestState string
CreateIncidentPublicationRequestState defines model for CreateIncidentPublicationRequest.State.
const ( CreateIncidentPublicationRequestStateIdentified CreateIncidentPublicationRequestState = "identified" CreateIncidentPublicationRequestStateInvestigating CreateIncidentPublicationRequestState = "investigating" CreateIncidentPublicationRequestStateMonitoring CreateIncidentPublicationRequestState = "monitoring" CreateIncidentPublicationRequestStateResolved CreateIncidentPublicationRequestState = "resolved" )
Defines values for CreateIncidentPublicationRequestState.
func (CreateIncidentPublicationRequestState) Valid ¶
func (e CreateIncidentPublicationRequestState) Valid() bool
Valid indicates whether the value is a known member of the CreateIncidentPublicationRequestState enum.
type CreateInvitationJSONRequestBody ¶
type CreateInvitationJSONRequestBody = CreateInvitationRequest
CreateInvitationJSONRequestBody defines body for CreateInvitation for application/json ContentType.
type CreateInvitationRequest ¶
type CreateInvitationRequest struct {
// App Target dashboard for the invite link (default dash0)
App *CreateInvitationRequestApp `json:"app,omitempty"`
Email openapi_types.Email `json:"email"`
// ExpiresIn Invitation lifetime (default 24h)
ExpiresIn *CreateInvitationRequestExpiresIn `json:"expiresIn,omitempty"`
// Role Member role granted on acceptance (default user)
Role *CreateInvitationRequestRole `json:"role,omitempty"`
}
CreateInvitationRequest defines model for CreateInvitationRequest.
type CreateInvitationRequestApp ¶
type CreateInvitationRequestApp string
CreateInvitationRequestApp Target dashboard for the invite link (default dash0)
const ( CreateInvitationRequestAppDash CreateInvitationRequestApp = "dash" CreateInvitationRequestAppDash0 CreateInvitationRequestApp = "dash0" )
Defines values for CreateInvitationRequestApp.
func (CreateInvitationRequestApp) Valid ¶
func (e CreateInvitationRequestApp) Valid() bool
Valid indicates whether the value is a known member of the CreateInvitationRequestApp enum.
type CreateInvitationRequestExpiresIn ¶
type CreateInvitationRequestExpiresIn string
CreateInvitationRequestExpiresIn Invitation lifetime (default 24h)
const ( CreateInvitationRequestExpiresInN12h CreateInvitationRequestExpiresIn = "12h" CreateInvitationRequestExpiresInN1h CreateInvitationRequestExpiresIn = "1h" CreateInvitationRequestExpiresInN1w CreateInvitationRequestExpiresIn = "1w" CreateInvitationRequestExpiresInN24h CreateInvitationRequestExpiresIn = "24h" CreateInvitationRequestExpiresInN48h CreateInvitationRequestExpiresIn = "48h" CreateInvitationRequestExpiresInN6h CreateInvitationRequestExpiresIn = "6h" )
Defines values for CreateInvitationRequestExpiresIn.
func (CreateInvitationRequestExpiresIn) Valid ¶
func (e CreateInvitationRequestExpiresIn) Valid() bool
Valid indicates whether the value is a known member of the CreateInvitationRequestExpiresIn enum.
type CreateInvitationRequestRole ¶
type CreateInvitationRequestRole string
CreateInvitationRequestRole Member role granted on acceptance (default user)
const ( CreateInvitationRequestRoleAdmin CreateInvitationRequestRole = "admin" CreateInvitationRequestRoleUser CreateInvitationRequestRole = "user" CreateInvitationRequestRoleViewer CreateInvitationRequestRole = "viewer" )
Defines values for CreateInvitationRequestRole.
func (CreateInvitationRequestRole) Valid ¶
func (e CreateInvitationRequestRole) Valid() bool
Valid indicates whether the value is a known member of the CreateInvitationRequestRole enum.
type CreateInvitationResult ¶
type CreateInvitationResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *InviteResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateInvitationResult ¶
func ParseCreateInvitationResult(rsp *http.Response) (*CreateInvitationResult, error)
ParseCreateInvitationResult parses an HTTP response from a CreateInvitationWithResponse call
func (CreateInvitationResult) ContentType ¶
func (r CreateInvitationResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateInvitationResult) GetBody ¶
func (r CreateInvitationResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateInvitationResult) GetJSON201 ¶
func (r CreateInvitationResult) GetJSON201() *InviteResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateInvitationResult) GetJSON400 ¶
func (r CreateInvitationResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateInvitationResult) GetJSON401 ¶
func (r CreateInvitationResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateInvitationResult) GetJSON403 ¶
func (r CreateInvitationResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateInvitationResult) GetJSON404 ¶
func (r CreateInvitationResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateInvitationResult) Status ¶
func (r CreateInvitationResult) Status() string
Status returns HTTPResponse.Status
func (CreateInvitationResult) StatusCode ¶
func (r CreateInvitationResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateJobJSONRequestBody ¶
type CreateJobJSONRequestBody = CreateJobRequest
CreateJobJSONRequestBody defines body for CreateJob for application/json ContentType.
type CreateJobRequest ¶
type CreateJobRequest struct {
Config *map[string]interface{} `json:"config,omitempty"`
// Type Job type. Only allowlisted types may be created through the public
// endpoint — currently `sleep` only. Anything else is refused with
// 403.
Type string `json:"type"`
}
CreateJobRequest defines model for CreateJobRequest.
type CreateJobResult ¶
type CreateJobResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *JobResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Error
}
func ParseCreateJobResult ¶
func ParseCreateJobResult(rsp *http.Response) (*CreateJobResult, error)
ParseCreateJobResult parses an HTTP response from a CreateJobWithResponse call
func (CreateJobResult) ContentType ¶
func (r CreateJobResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateJobResult) GetBody ¶
func (r CreateJobResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateJobResult) GetJSON201 ¶
func (r CreateJobResult) GetJSON201() *JobResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateJobResult) GetJSON400 ¶
func (r CreateJobResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateJobResult) GetJSON403 ¶
func (r CreateJobResult) GetJSON403() *Error
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateJobResult) Status ¶
func (r CreateJobResult) Status() string
Status returns HTTPResponse.Status
func (CreateJobResult) StatusCode ¶
func (r CreateJobResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMaintenanceWindowJSONRequestBody ¶
type CreateMaintenanceWindowJSONRequestBody = CreateMaintenanceWindowRequest
CreateMaintenanceWindowJSONRequestBody defines body for CreateMaintenanceWindow for application/json ContentType.
type CreateMaintenanceWindowRequest ¶
type CreateMaintenanceWindowRequest struct {
Description *string `json:"description,omitempty"`
EndAt time.Time `json:"endAt"`
// Recurrence One of: none, daily, weekly, monthly
Recurrence *string `json:"recurrence,omitempty"`
RecurrenceEnd *time.Time `json:"recurrenceEnd,omitempty"`
StartAt time.Time `json:"startAt"`
Title string `json:"title"`
}
CreateMaintenanceWindowRequest defines model for CreateMaintenanceWindowRequest.
type CreateMaintenanceWindowResult ¶
type CreateMaintenanceWindowResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *MaintenanceWindow
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateMaintenanceWindowResult ¶
func ParseCreateMaintenanceWindowResult(rsp *http.Response) (*CreateMaintenanceWindowResult, error)
ParseCreateMaintenanceWindowResult parses an HTTP response from a CreateMaintenanceWindowWithResponse call
func (CreateMaintenanceWindowResult) ContentType ¶
func (r CreateMaintenanceWindowResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMaintenanceWindowResult) GetBody ¶
func (r CreateMaintenanceWindowResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMaintenanceWindowResult) GetJSON201 ¶
func (r CreateMaintenanceWindowResult) GetJSON201() *MaintenanceWindow
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateMaintenanceWindowResult) GetJSON400 ¶
func (r CreateMaintenanceWindowResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateMaintenanceWindowResult) GetJSON401 ¶
func (r CreateMaintenanceWindowResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateMaintenanceWindowResult) GetJSON404 ¶
func (r CreateMaintenanceWindowResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateMaintenanceWindowResult) Status ¶
func (r CreateMaintenanceWindowResult) Status() string
Status returns HTTPResponse.Status
func (CreateMaintenanceWindowResult) StatusCode ¶
func (r CreateMaintenanceWindowResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMembershipRequestJSONRequestBody ¶
type CreateMembershipRequestJSONRequestBody = CreateMembershipRequestRequest
CreateMembershipRequestJSONRequestBody defines body for CreateMembershipRequest for application/json ContentType.
type CreateMembershipRequestRequest ¶
type CreateMembershipRequestRequest struct {
// Message Optional message to the org admins
Message *string `json:"message,omitempty"`
// OrgSlug Slug of the organization to join
OrgSlug string `json:"orgSlug"`
}
CreateMembershipRequestRequest defines model for CreateMembershipRequestRequest.
type CreateMembershipRequestResult ¶
type CreateMembershipRequestResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *MembershipRequestSummary
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParseCreateMembershipRequestResult ¶
func ParseCreateMembershipRequestResult(rsp *http.Response) (*CreateMembershipRequestResult, error)
ParseCreateMembershipRequestResult parses an HTTP response from a CreateMembershipRequestWithResponse call
func (CreateMembershipRequestResult) ContentType ¶
func (r CreateMembershipRequestResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMembershipRequestResult) GetBody ¶
func (r CreateMembershipRequestResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMembershipRequestResult) GetJSON201 ¶
func (r CreateMembershipRequestResult) GetJSON201() *MembershipRequestSummary
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateMembershipRequestResult) GetJSON400 ¶
func (r CreateMembershipRequestResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateMembershipRequestResult) GetJSON401 ¶
func (r CreateMembershipRequestResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateMembershipRequestResult) GetJSON404 ¶
func (r CreateMembershipRequestResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateMembershipRequestResult) GetJSON409 ¶
func (r CreateMembershipRequestResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateMembershipRequestResult) Status ¶
func (r CreateMembershipRequestResult) Status() string
Status returns HTTPResponse.Status
func (CreateMembershipRequestResult) StatusCode ¶
func (r CreateMembershipRequestResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMyTelegramLinkResult ¶
type CreateMyTelegramLinkResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TelegramLinkResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateMyTelegramLinkResult ¶
func ParseCreateMyTelegramLinkResult(rsp *http.Response) (*CreateMyTelegramLinkResult, error)
ParseCreateMyTelegramLinkResult parses an HTTP response from a CreateMyTelegramLinkWithResponse call
func (CreateMyTelegramLinkResult) ContentType ¶
func (r CreateMyTelegramLinkResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateMyTelegramLinkResult) GetBody ¶
func (r CreateMyTelegramLinkResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateMyTelegramLinkResult) GetJSON201 ¶
func (r CreateMyTelegramLinkResult) GetJSON201() *TelegramLinkResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateMyTelegramLinkResult) GetJSON400 ¶
func (r CreateMyTelegramLinkResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateMyTelegramLinkResult) GetJSON401 ¶
func (r CreateMyTelegramLinkResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateMyTelegramLinkResult) GetJSON404 ¶
func (r CreateMyTelegramLinkResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateMyTelegramLinkResult) Status ¶
func (r CreateMyTelegramLinkResult) Status() string
Status returns HTTPResponse.Status
func (CreateMyTelegramLinkResult) StatusCode ¶
func (r CreateMyTelegramLinkResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOncallOverrideJSONRequestBody ¶
type CreateOncallOverrideJSONRequestBody = CreateOncallOverrideRequest
CreateOncallOverrideJSONRequestBody defines body for CreateOncallOverride for application/json ContentType.
type CreateOncallOverrideRequest ¶
type CreateOncallOverrideRequest struct {
EndAt time.Time `json:"endAt"`
Reason *string `json:"reason,omitempty"`
StartAt time.Time `json:"startAt"`
UserUid openapi_types.UUID `json:"userUid"`
}
CreateOncallOverrideRequest defines model for CreateOncallOverrideRequest.
type CreateOncallOverrideResult ¶
type CreateOncallOverrideResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *OncallOverride
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateOncallOverrideResult ¶
func ParseCreateOncallOverrideResult(rsp *http.Response) (*CreateOncallOverrideResult, error)
ParseCreateOncallOverrideResult parses an HTTP response from a CreateOncallOverrideWithResponse call
func (CreateOncallOverrideResult) ContentType ¶
func (r CreateOncallOverrideResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOncallOverrideResult) GetBody ¶
func (r CreateOncallOverrideResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOncallOverrideResult) GetJSON201 ¶
func (r CreateOncallOverrideResult) GetJSON201() *OncallOverride
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateOncallOverrideResult) GetJSON400 ¶
func (r CreateOncallOverrideResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateOncallOverrideResult) GetJSON401 ¶
func (r CreateOncallOverrideResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateOncallOverrideResult) GetJSON404 ¶
func (r CreateOncallOverrideResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateOncallOverrideResult) Status ¶
func (r CreateOncallOverrideResult) Status() string
Status returns HTTPResponse.Status
func (CreateOncallOverrideResult) StatusCode ¶
func (r CreateOncallOverrideResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOncallScheduleJSONRequestBody ¶
type CreateOncallScheduleJSONRequestBody = CreateOncallScheduleRequest
CreateOncallScheduleJSONRequestBody defines body for CreateOncallSchedule for application/json ContentType.
type CreateOncallScheduleRequest ¶
type CreateOncallScheduleRequest struct {
Description *string `json:"description,omitempty"`
HandoffTime string `json:"handoffTime"`
HandoffWeekday *int `json:"handoffWeekday,omitempty"`
Name string `json:"name"`
// RotationType One of: daily, weekly
RotationType string `json:"rotationType"`
StartAt time.Time `json:"startAt"`
Timezone string `json:"timezone"`
UserUids *[]openapi_types.UUID `json:"userUids,omitempty"`
}
CreateOncallScheduleRequest defines model for CreateOncallScheduleRequest.
type CreateOncallScheduleResult ¶
type CreateOncallScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *OncallSchedule
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateOncallScheduleResult ¶
func ParseCreateOncallScheduleResult(rsp *http.Response) (*CreateOncallScheduleResult, error)
ParseCreateOncallScheduleResult parses an HTTP response from a CreateOncallScheduleWithResponse call
func (CreateOncallScheduleResult) ContentType ¶
func (r CreateOncallScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOncallScheduleResult) GetBody ¶
func (r CreateOncallScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOncallScheduleResult) GetJSON201 ¶
func (r CreateOncallScheduleResult) GetJSON201() *OncallSchedule
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateOncallScheduleResult) GetJSON400 ¶
func (r CreateOncallScheduleResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateOncallScheduleResult) GetJSON401 ¶
func (r CreateOncallScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateOncallScheduleResult) GetJSON404 ¶
func (r CreateOncallScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateOncallScheduleResult) Status ¶
func (r CreateOncallScheduleResult) Status() string
Status returns HTTPResponse.Status
func (CreateOncallScheduleResult) StatusCode ¶
func (r CreateOncallScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrgJSONRequestBody ¶
type CreateOrgJSONRequestBody = CreateOrgRequest
CreateOrgJSONRequestBody defines body for CreateOrg for application/json ContentType.
type CreateOrgRequest ¶
type CreateOrgRequest struct {
// Name Human-readable organization name
Name string `json:"name"`
// Slug URL-friendly identifier (3-20 chars, lowercase alphanumeric with hyphens). **Optional** — omit it and the server derives one from `slugBase` or `name` (see below), appending a numeric suffix on collision, so a first-time user never has to invent a URL identifier. A slug that IS supplied is taken literally: invalid answers 422, already taken answers 409.
Slug *string `json:"slug,omitempty"`
// SlugBase A preferred candidate to derive the slug from, consulted only when `slug` is omitted — e.g. a first name, when `name` is a localized possessive sentence whose boilerplate prefix would otherwise dominate the 20-char slug cap. Unlike `slug`, this is a HINT: it is normalized and suffixed on collision the same way as `name`, and silently ignored (falling back to `name`) when it normalizes to nothing usable — it never answers 422 or 409. Ignored entirely when `slug` is also supplied.
SlugBase *string `json:"slugBase,omitempty"`
}
CreateOrgRequest defines model for CreateOrgRequest.
type CreateOrgResult ¶
type CreateOrgResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *OrgResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseCreateOrgResult ¶
func ParseCreateOrgResult(rsp *http.Response) (*CreateOrgResult, error)
ParseCreateOrgResult parses an HTTP response from a CreateOrgWithResponse call
func (CreateOrgResult) ContentType ¶
func (r CreateOrgResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrgResult) GetBody ¶
func (r CreateOrgResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateOrgResult) GetJSON201 ¶
func (r CreateOrgResult) GetJSON201() *OrgResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateOrgResult) GetJSON401 ¶
func (r CreateOrgResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateOrgResult) GetJSON409 ¶
func (r CreateOrgResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateOrgResult) GetJSON422 ¶
func (r CreateOrgResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateOrgResult) Status ¶
func (r CreateOrgResult) Status() string
Status returns HTTPResponse.Status
func (CreateOrgResult) StatusCode ¶
func (r CreateOrgResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateReportScheduleJSONRequestBody ¶
type CreateReportScheduleJSONRequestBody = CreateReportScheduleRequest
CreateReportScheduleJSONRequestBody defines body for CreateReportSchedule for application/json ContentType.
type CreateReportScheduleRequest ¶
type CreateReportScheduleRequest struct {
CheckGroupUids *[]string `json:"checkGroupUids,omitempty"`
CheckUids *[]string `json:"checkUids,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Frequency *CreateReportScheduleRequestFrequency `json:"frequency,omitempty"`
IncludeSlos *bool `json:"includeSlos,omitempty"`
Name string `json:"name"`
Recipients *[]openapi_types.Email `json:"recipients,omitempty"`
Timezone *string `json:"timezone,omitempty"`
}
CreateReportScheduleRequest defines model for CreateReportScheduleRequest.
type CreateReportScheduleRequestFrequency ¶
type CreateReportScheduleRequestFrequency string
CreateReportScheduleRequestFrequency defines model for CreateReportScheduleRequest.Frequency.
const ( CreateReportScheduleRequestFrequencyMonthly CreateReportScheduleRequestFrequency = "monthly" CreateReportScheduleRequestFrequencyWeekly CreateReportScheduleRequestFrequency = "weekly" )
Defines values for CreateReportScheduleRequestFrequency.
func (CreateReportScheduleRequestFrequency) Valid ¶
func (e CreateReportScheduleRequestFrequency) Valid() bool
Valid indicates whether the value is a known member of the CreateReportScheduleRequestFrequency enum.
type CreateReportScheduleResult ¶
type CreateReportScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ReportSchedule
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateReportScheduleResult ¶
func ParseCreateReportScheduleResult(rsp *http.Response) (*CreateReportScheduleResult, error)
ParseCreateReportScheduleResult parses an HTTP response from a CreateReportScheduleWithResponse call
func (CreateReportScheduleResult) ContentType ¶
func (r CreateReportScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateReportScheduleResult) GetBody ¶
func (r CreateReportScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateReportScheduleResult) GetJSON201 ¶
func (r CreateReportScheduleResult) GetJSON201() *ReportSchedule
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateReportScheduleResult) GetJSON400 ¶
func (r CreateReportScheduleResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateReportScheduleResult) GetJSON401 ¶
func (r CreateReportScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateReportScheduleResult) GetJSON404 ¶
func (r CreateReportScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateReportScheduleResult) Status ¶
func (r CreateReportScheduleResult) Status() string
Status returns HTTPResponse.Status
func (CreateReportScheduleResult) StatusCode ¶
func (r CreateReportScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSLORequest ¶
type CreateSLORequest struct {
CheckGroupUid *string `json:"checkGroupUid,omitempty"`
CheckUid *string `json:"checkUid,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ExcludeMaintenance *bool `json:"excludeMaintenance,omitempty"`
Name string `json:"name"`
// Slug URL-safe identifier; derived from the name when omitted
Slug *string `json:"slug,omitempty"`
// TargetPct 0 < value <= 100 (default 99.9)
TargetPct *float64 `json:"targetPct,omitempty"`
Timezone *string `json:"timezone,omitempty"`
}
CreateSLORequest Exactly one of checkUid / checkGroupUid must be set; sending both or neither is a validation error (the database carries the same rule as a CHECK constraint).
type CreateSeverityJSONRequestBody ¶
type CreateSeverityJSONRequestBody = CreateSeverityRequest
CreateSeverityJSONRequestBody defines body for CreateSeverity for application/json ContentType.
type CreateSeverityRequest ¶
type CreateSeverityRequest struct {
Channels *[]string `json:"channels,omitempty"`
Description *string `json:"description,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Name string `json:"name"`
Slug *string `json:"slug,omitempty"`
}
CreateSeverityRequest defines model for CreateSeverityRequest.
type CreateSeverityResult ¶
type CreateSeverityResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Severity
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateSeverityResult ¶
func ParseCreateSeverityResult(rsp *http.Response) (*CreateSeverityResult, error)
ParseCreateSeverityResult parses an HTTP response from a CreateSeverityWithResponse call
func (CreateSeverityResult) ContentType ¶
func (r CreateSeverityResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSeverityResult) GetBody ¶
func (r CreateSeverityResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSeverityResult) GetJSON201 ¶
func (r CreateSeverityResult) GetJSON201() *Severity
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSeverityResult) GetJSON400 ¶
func (r CreateSeverityResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateSeverityResult) GetJSON401 ¶
func (r CreateSeverityResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateSeverityResult) GetJSON404 ¶
func (r CreateSeverityResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateSeverityResult) Status ¶
func (r CreateSeverityResult) Status() string
Status returns HTTPResponse.Status
func (CreateSeverityResult) StatusCode ¶
func (r CreateSeverityResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSloJSONRequestBody ¶
type CreateSloJSONRequestBody = CreateSLORequest
CreateSloJSONRequestBody defines body for CreateSlo for application/json ContentType.
type CreateSloResult ¶
type CreateSloResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *SLO
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateSloResult ¶
func ParseCreateSloResult(rsp *http.Response) (*CreateSloResult, error)
ParseCreateSloResult parses an HTTP response from a CreateSloWithResponse call
func (CreateSloResult) ContentType ¶
func (r CreateSloResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSloResult) GetBody ¶
func (r CreateSloResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSloResult) GetJSON201 ¶
func (r CreateSloResult) GetJSON201() *SLO
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSloResult) GetJSON400 ¶
func (r CreateSloResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateSloResult) GetJSON401 ¶
func (r CreateSloResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateSloResult) GetJSON404 ¶
func (r CreateSloResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateSloResult) Status ¶
func (r CreateSloResult) Status() string
Status returns HTTPResponse.Status
func (CreateSloResult) StatusCode ¶
func (r CreateSloResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageEndpointSubscriberJSONRequestBody ¶
type CreateStatusPageEndpointSubscriberJSONRequestBody = CreateStatusPageEndpointSubscriberRequest
CreateStatusPageEndpointSubscriberJSONRequestBody defines body for CreateStatusPageEndpointSubscriber for application/json ContentType.
type CreateStatusPageEndpointSubscriberRequest ¶
type CreateStatusPageEndpointSubscriberRequest struct {
Channel CreateStatusPageEndpointSubscriberRequestChannel `json:"channel"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
Scope *CreateStatusPageEndpointSubscriberRequestScope `json:"scope,omitempty"`
// SigningSecret Optional. Supply your own when the receiver already verifies a known secret; omit it and one is generated. WRITE-ONLY — it is echoed once in the create response and never readable again.
SigningSecret *string `json:"signingSecret,omitempty"`
// Url https only, and never a loopback/private host. A "slack" subscription must point at hooks.slack.com.
Url string `json:"url"`
}
CreateStatusPageEndpointSubscriberRequest defines model for CreateStatusPageEndpointSubscriberRequest.
type CreateStatusPageEndpointSubscriberRequestChannel ¶
type CreateStatusPageEndpointSubscriberRequestChannel string
CreateStatusPageEndpointSubscriberRequestChannel defines model for CreateStatusPageEndpointSubscriberRequest.Channel.
const ( CreateStatusPageEndpointSubscriberRequestChannelSlack CreateStatusPageEndpointSubscriberRequestChannel = "slack" CreateStatusPageEndpointSubscriberRequestChannelWebhook CreateStatusPageEndpointSubscriberRequestChannel = "webhook" )
Defines values for CreateStatusPageEndpointSubscriberRequestChannel.
func (CreateStatusPageEndpointSubscriberRequestChannel) Valid ¶
func (e CreateStatusPageEndpointSubscriberRequestChannel) Valid() bool
Valid indicates whether the value is a known member of the CreateStatusPageEndpointSubscriberRequestChannel enum.
type CreateStatusPageEndpointSubscriberRequestScope ¶
type CreateStatusPageEndpointSubscriberRequestScope string
CreateStatusPageEndpointSubscriberRequestScope defines model for CreateStatusPageEndpointSubscriberRequest.Scope.
const ( CreateStatusPageEndpointSubscriberRequestScopeIncident CreateStatusPageEndpointSubscriberRequestScope = "incident" CreateStatusPageEndpointSubscriberRequestScopePage CreateStatusPageEndpointSubscriberRequestScope = "page" )
Defines values for CreateStatusPageEndpointSubscriberRequestScope.
func (CreateStatusPageEndpointSubscriberRequestScope) Valid ¶
func (e CreateStatusPageEndpointSubscriberRequestScope) Valid() bool
Valid indicates whether the value is a known member of the CreateStatusPageEndpointSubscriberRequestScope enum.
type CreateStatusPageEndpointSubscriberResult ¶
type CreateStatusPageEndpointSubscriberResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *StatusPageEndpointSubscriber `json:"data,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseCreateStatusPageEndpointSubscriberResult ¶
func ParseCreateStatusPageEndpointSubscriberResult(rsp *http.Response) (*CreateStatusPageEndpointSubscriberResult, error)
ParseCreateStatusPageEndpointSubscriberResult parses an HTTP response from a CreateStatusPageEndpointSubscriberWithResponse call
func (CreateStatusPageEndpointSubscriberResult) ContentType ¶
func (r CreateStatusPageEndpointSubscriberResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageEndpointSubscriberResult) GetBody ¶
func (r CreateStatusPageEndpointSubscriberResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStatusPageEndpointSubscriberResult) GetJSON201 ¶
func (r CreateStatusPageEndpointSubscriberResult) GetJSON201() *struct { Data *StatusPageEndpointSubscriber `json:"data,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateStatusPageEndpointSubscriberResult) GetJSON401 ¶
func (r CreateStatusPageEndpointSubscriberResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStatusPageEndpointSubscriberResult) GetJSON404 ¶
func (r CreateStatusPageEndpointSubscriberResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateStatusPageEndpointSubscriberResult) GetJSON422 ¶
func (r CreateStatusPageEndpointSubscriberResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateStatusPageEndpointSubscriberResult) Status ¶
func (r CreateStatusPageEndpointSubscriberResult) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageEndpointSubscriberResult) StatusCode ¶
func (r CreateStatusPageEndpointSubscriberResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageIncidentJSONRequestBody ¶
type CreateStatusPageIncidentJSONRequestBody = CreateIncidentPublicationRequest
CreateStatusPageIncidentJSONRequestBody defines body for CreateStatusPageIncident for application/json ContentType.
type CreateStatusPageIncidentResult ¶
type CreateStatusPageIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *IncidentPublication
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParseCreateStatusPageIncidentResult ¶
func ParseCreateStatusPageIncidentResult(rsp *http.Response) (*CreateStatusPageIncidentResult, error)
ParseCreateStatusPageIncidentResult parses an HTTP response from a CreateStatusPageIncidentWithResponse call
func (CreateStatusPageIncidentResult) ContentType ¶
func (r CreateStatusPageIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageIncidentResult) GetBody ¶
func (r CreateStatusPageIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStatusPageIncidentResult) GetJSON201 ¶
func (r CreateStatusPageIncidentResult) GetJSON201() *IncidentPublication
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateStatusPageIncidentResult) GetJSON401 ¶
func (r CreateStatusPageIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStatusPageIncidentResult) GetJSON404 ¶
func (r CreateStatusPageIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateStatusPageIncidentResult) GetJSON409 ¶
func (r CreateStatusPageIncidentResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateStatusPageIncidentResult) Status ¶
func (r CreateStatusPageIncidentResult) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageIncidentResult) StatusCode ¶
func (r CreateStatusPageIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageIncidentUpdateJSONRequestBody ¶
type CreateStatusPageIncidentUpdateJSONRequestBody = AppendPublicationUpdateRequest
CreateStatusPageIncidentUpdateJSONRequestBody defines body for CreateStatusPageIncidentUpdate for application/json ContentType.
type CreateStatusPageIncidentUpdateResult ¶
type CreateStatusPageIncidentUpdateResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *PublicationUpdate
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateStatusPageIncidentUpdateResult ¶
func ParseCreateStatusPageIncidentUpdateResult(rsp *http.Response) (*CreateStatusPageIncidentUpdateResult, error)
ParseCreateStatusPageIncidentUpdateResult parses an HTTP response from a CreateStatusPageIncidentUpdateWithResponse call
func (CreateStatusPageIncidentUpdateResult) ContentType ¶
func (r CreateStatusPageIncidentUpdateResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageIncidentUpdateResult) GetBody ¶
func (r CreateStatusPageIncidentUpdateResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStatusPageIncidentUpdateResult) GetJSON201 ¶
func (r CreateStatusPageIncidentUpdateResult) GetJSON201() *PublicationUpdate
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateStatusPageIncidentUpdateResult) GetJSON401 ¶
func (r CreateStatusPageIncidentUpdateResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStatusPageIncidentUpdateResult) GetJSON404 ¶
func (r CreateStatusPageIncidentUpdateResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateStatusPageIncidentUpdateResult) Status ¶
func (r CreateStatusPageIncidentUpdateResult) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageIncidentUpdateResult) StatusCode ¶
func (r CreateStatusPageIncidentUpdateResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageJSONRequestBody ¶
type CreateStatusPageJSONRequestBody = CreateStatusPageRequest
CreateStatusPageJSONRequestBody defines body for CreateStatusPage for application/json ContentType.
type CreateStatusPageRequest ¶
type CreateStatusPageRequest struct {
// AutoPublish Publish incidents affecting this page's resources automatically as public incidents. OMITTING the field opts the new page IN (true) — only pages that predate the feature default to false, and they do so because the migration deliberately did not opt anyone in retroactively.
AutoPublish *bool `json:"autoPublish,omitempty"`
// AutoPublishDelaySeconds Debounce before an incident becomes public. 0 is legal and publishes immediately; an incident that resolves inside this window is never published at all. Outside 0–86400 is a VALIDATION_ERROR.
AutoPublishDelaySeconds *int `json:"autoPublishDelaySeconds,omitempty"`
// AutoResolve What an auto-created publication does when its incident resolves. "if_untouched" (the default) resolves it only while nobody has edited it; once a human owns the narrative the automation posts a "component recovered" note and leaves the final resolve to them. Any other value is a VALIDATION_ERROR.
AutoResolve *CreateStatusPageRequestAutoResolve `json:"autoResolve,omitempty"`
// CheckUids Optional checks to seed the page with. Every new page always gets a default "Services" section (position 0, renamable/deletable like any other); each UID here becomes one resource in that section, in request order. Every UID must resolve to a check in this organization, or the WHOLE request is rejected with VALIDATION_ERROR naming the offending UID — page, section, and resources are created atomically, so a rejected request leaves no page behind.
CheckUids *[]string `json:"checkUids,omitempty"`
// CustomCss Optional custom stylesheet for the public page. Max 64 KB; @import is rejected (VALIDATION_ERROR). External url() references are allowed.
CustomCss *string `json:"customCss,omitempty"`
// CustomDomain Optional customer-owned hostname to bind to the new page. A fresh verification token is generated; verify it afterward via the custom-domain verify endpoint.
CustomDomain *string `json:"customDomain,omitempty"`
Description *string `json:"description,omitempty"`
// HideBranding Page-level white-label opt-in. Stored whether or not the org is entitled, so an upgrade applies without re-saving the page.
HideBranding *bool `json:"hideBranding,omitempty"`
HistoryDays *int `json:"historyDays,omitempty"`
HistoryPeriod *string `json:"historyPeriod,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Language *string `json:"language,omitempty"`
Name string `json:"name"`
// Password WRITE-ONLY. Required when visibility is "password". Minimum 6 characters. Never returned — reads expose hasPassword instead.
Password *string `json:"password,omitempty"`
// Settings Per-page display customization. Typed rather than a free-form map; unknown keys are rejected on write (VALIDATION_ERROR).
Settings *StatusPageSettings `json:"settings,omitempty"`
ShowAvailability *bool `json:"showAvailability,omitempty"`
ShowResponseTime *bool `json:"showResponseTime,omitempty"`
// Slug URL-friendly identifier, unique within the organization. Omit it (or send "") to have one derived from `name`, disambiguated with a numeric suffix on collision. A slug you supply is never renamed: a collision returns VALIDATION_ERROR instead.
Slug *string `json:"slug,omitempty"`
Visibility *CreateStatusPageRequestVisibility `json:"visibility,omitempty"`
}
CreateStatusPageRequest defines model for CreateStatusPageRequest.
type CreateStatusPageRequestAutoResolve ¶
type CreateStatusPageRequestAutoResolve string
CreateStatusPageRequestAutoResolve What an auto-created publication does when its incident resolves. "if_untouched" (the default) resolves it only while nobody has edited it; once a human owns the narrative the automation posts a "component recovered" note and leaves the final resolve to them. Any other value is a VALIDATION_ERROR.
const ( CreateStatusPageRequestAutoResolveAlways CreateStatusPageRequestAutoResolve = "always" CreateStatusPageRequestAutoResolveIfUntouched CreateStatusPageRequestAutoResolve = "if_untouched" CreateStatusPageRequestAutoResolveNever CreateStatusPageRequestAutoResolve = "never" )
Defines values for CreateStatusPageRequestAutoResolve.
func (CreateStatusPageRequestAutoResolve) Valid ¶
func (e CreateStatusPageRequestAutoResolve) Valid() bool
Valid indicates whether the value is a known member of the CreateStatusPageRequestAutoResolve enum.
type CreateStatusPageRequestVisibility ¶
type CreateStatusPageRequestVisibility string
CreateStatusPageRequestVisibility defines model for CreateStatusPageRequest.Visibility.
const ( CreateStatusPageRequestVisibilityPassword CreateStatusPageRequestVisibility = "password" CreateStatusPageRequestVisibilityPrivate CreateStatusPageRequestVisibility = "private" CreateStatusPageRequestVisibilityPublic CreateStatusPageRequestVisibility = "public" )
Defines values for CreateStatusPageRequestVisibility.
func (CreateStatusPageRequestVisibility) Valid ¶
func (e CreateStatusPageRequestVisibility) Valid() bool
Valid indicates whether the value is a known member of the CreateStatusPageRequestVisibility enum.
type CreateStatusPageResourceJSONRequestBody ¶
type CreateStatusPageResourceJSONRequestBody = CreateStatusPageResourceRequest
CreateStatusPageResourceJSONRequestBody defines body for CreateStatusPageResource for application/json ContentType.
type CreateStatusPageResourceRequest ¶
type CreateStatusPageResourceRequest struct {
// AutoPublish Per-resource auto-publish override. ABSENT/null means "inherit the page setting", which is NOT the same as an explicit false — so a component can be excluded from (or included in) automatic publication independently of how the page itself is configured.
AutoPublish *bool `json:"autoPublish,omitempty"`
// CheckGroupUid Check group UID or slug to attach as one aggregated resource. Mutually exclusive with checkUid.
CheckGroupUid *string `json:"checkGroupUid,omitempty"`
// CheckUid Check UID or slug to attach as a resource. Mutually exclusive with checkGroupUid.
CheckUid *string `json:"checkUid,omitempty"`
Explanation *string `json:"explanation,omitempty"`
Position *int `json:"position,omitempty"`
PublicName *string `json:"publicName,omitempty"`
}
CreateStatusPageResourceRequest Exactly one of checkUid or checkGroupUid must be set; zero or both is a VALIDATION_ERROR naming both fields.
type CreateStatusPageResourceResult ¶
type CreateStatusPageResourceResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *StatusPageResource
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateStatusPageResourceResult ¶
func ParseCreateStatusPageResourceResult(rsp *http.Response) (*CreateStatusPageResourceResult, error)
ParseCreateStatusPageResourceResult parses an HTTP response from a CreateStatusPageResourceWithResponse call
func (CreateStatusPageResourceResult) ContentType ¶
func (r CreateStatusPageResourceResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageResourceResult) GetBody ¶
func (r CreateStatusPageResourceResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStatusPageResourceResult) GetJSON201 ¶
func (r CreateStatusPageResourceResult) GetJSON201() *StatusPageResource
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateStatusPageResourceResult) GetJSON400 ¶
func (r CreateStatusPageResourceResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateStatusPageResourceResult) GetJSON401 ¶
func (r CreateStatusPageResourceResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStatusPageResourceResult) GetJSON404 ¶
func (r CreateStatusPageResourceResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateStatusPageResourceResult) Status ¶
func (r CreateStatusPageResourceResult) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageResourceResult) StatusCode ¶
func (r CreateStatusPageResourceResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageResult ¶
type CreateStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *StatusPage
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateStatusPageResult ¶
func ParseCreateStatusPageResult(rsp *http.Response) (*CreateStatusPageResult, error)
ParseCreateStatusPageResult parses an HTTP response from a CreateStatusPageWithResponse call
func (CreateStatusPageResult) ContentType ¶
func (r CreateStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageResult) GetBody ¶
func (r CreateStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStatusPageResult) GetJSON201 ¶
func (r CreateStatusPageResult) GetJSON201() *StatusPage
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateStatusPageResult) GetJSON400 ¶
func (r CreateStatusPageResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateStatusPageResult) GetJSON401 ¶
func (r CreateStatusPageResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStatusPageResult) GetJSON404 ¶
func (r CreateStatusPageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateStatusPageResult) Status ¶
func (r CreateStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageResult) StatusCode ¶
func (r CreateStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusPageSectionJSONRequestBody ¶
type CreateStatusPageSectionJSONRequestBody = CreateStatusPageSectionRequest
CreateStatusPageSectionJSONRequestBody defines body for CreateStatusPageSection for application/json ContentType.
type CreateStatusPageSectionRequest ¶
type CreateStatusPageSectionRequest struct {
Name string `json:"name"`
Position *int `json:"position,omitempty"`
// Selector Optional dynamic-membership rule. Omit it for a normal hand-curated section — a selector is never a default.
Selector *StatusPageSectionSelector `json:"selector,omitempty"`
// Slug URL-friendly identifier, unique within the status page. Omit it (or send "") to have one derived from `name`, disambiguated with a numeric suffix on collision. A slug you supply is never renamed: a collision returns VALIDATION_ERROR instead.
Slug *string `json:"slug,omitempty"`
}
CreateStatusPageSectionRequest defines model for CreateStatusPageSectionRequest.
type CreateStatusPageSectionResult ¶
type CreateStatusPageSectionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *StatusPageSection
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateStatusPageSectionResult ¶
func ParseCreateStatusPageSectionResult(rsp *http.Response) (*CreateStatusPageSectionResult, error)
ParseCreateStatusPageSectionResult parses an HTTP response from a CreateStatusPageSectionWithResponse call
func (CreateStatusPageSectionResult) ContentType ¶
func (r CreateStatusPageSectionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusPageSectionResult) GetBody ¶
func (r CreateStatusPageSectionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStatusPageSectionResult) GetJSON201 ¶
func (r CreateStatusPageSectionResult) GetJSON201() *StatusPageSection
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateStatusPageSectionResult) GetJSON400 ¶
func (r CreateStatusPageSectionResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateStatusPageSectionResult) GetJSON401 ¶
func (r CreateStatusPageSectionResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStatusPageSectionResult) GetJSON404 ¶
func (r CreateStatusPageSectionResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateStatusPageSectionResult) Status ¶
func (r CreateStatusPageSectionResult) Status() string
Status returns HTTPResponse.Status
func (CreateStatusPageSectionResult) StatusCode ¶
func (r CreateStatusPageSectionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStatusUpdateJSONRequestBody ¶
type CreateStatusUpdateJSONRequestBody = CreateStatusUpdateRequest
CreateStatusUpdateJSONRequestBody defines body for CreateStatusUpdate for application/json ContentType.
type CreateStatusUpdateRequest ¶
type CreateStatusUpdateRequest struct {
BodyMarkdown string `json:"bodyMarkdown"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
Kind string `json:"kind"`
LinkUrl *string `json:"linkUrl,omitempty"`
PublishedAt *time.Time `json:"publishedAt,omitempty"`
SectionUid *openapi_types.UUID `json:"sectionUid,omitempty"`
StatusPageUid openapi_types.UUID `json:"statusPageUid"`
Title string `json:"title"`
}
CreateStatusUpdateRequest defines model for CreateStatusUpdateRequest.
type CreateStatusUpdateResult ¶
type CreateStatusUpdateResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *StatusUpdate
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseCreateStatusUpdateResult ¶
func ParseCreateStatusUpdateResult(rsp *http.Response) (*CreateStatusUpdateResult, error)
ParseCreateStatusUpdateResult parses an HTTP response from a CreateStatusUpdateWithResponse call
func (CreateStatusUpdateResult) ContentType ¶
func (r CreateStatusUpdateResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateStatusUpdateResult) GetBody ¶
func (r CreateStatusUpdateResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateStatusUpdateResult) GetJSON201 ¶
func (r CreateStatusUpdateResult) GetJSON201() *StatusUpdate
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateStatusUpdateResult) GetJSON400 ¶
func (r CreateStatusUpdateResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateStatusUpdateResult) GetJSON401 ¶
func (r CreateStatusUpdateResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateStatusUpdateResult) GetJSON404 ¶
func (r CreateStatusUpdateResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateStatusUpdateResult) Status ¶
func (r CreateStatusUpdateResult) Status() string
Status returns HTTPResponse.Status
func (CreateStatusUpdateResult) StatusCode ¶
func (r CreateStatusUpdateResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSupportMessageJSONRequestBody ¶
type CreateSupportMessageJSONRequestBody = CreateSupportMessageRequest
CreateSupportMessageJSONRequestBody defines body for CreateSupportMessage for application/json ContentType.
type CreateSupportMessageRequest ¶
type CreateSupportMessageRequest struct {
Body string `json:"body"`
}
CreateSupportMessageRequest defines model for CreateSupportMessageRequest.
type CreateSupportMessageResult ¶
type CreateSupportMessageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *SupportMessage
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *SupportMessage
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParseCreateSupportMessageResult ¶
func ParseCreateSupportMessageResult(rsp *http.Response) (*CreateSupportMessageResult, error)
ParseCreateSupportMessageResult parses an HTTP response from a CreateSupportMessageWithResponse call
func (CreateSupportMessageResult) ContentType ¶
func (r CreateSupportMessageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSupportMessageResult) GetBody ¶
func (r CreateSupportMessageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSupportMessageResult) GetJSON201 ¶
func (r CreateSupportMessageResult) GetJSON201() *SupportMessage
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateSupportMessageResult) GetJSON202 ¶
func (r CreateSupportMessageResult) GetJSON202() *SupportMessage
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (CreateSupportMessageResult) GetJSON400 ¶
func (r CreateSupportMessageResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (CreateSupportMessageResult) GetJSON401 ¶
func (r CreateSupportMessageResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (CreateSupportMessageResult) GetJSON403 ¶
func (r CreateSupportMessageResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateSupportMessageResult) GetJSON404 ¶
func (r CreateSupportMessageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateSupportMessageResult) GetJSON409 ¶
func (r CreateSupportMessageResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (CreateSupportMessageResult) Status ¶
func (r CreateSupportMessageResult) Status() string
Status returns HTTPResponse.Status
func (CreateSupportMessageResult) StatusCode ¶
func (r CreateSupportMessageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTokenJSONRequestBody ¶
type CreateTokenJSONRequestBody = CreateTokenRequest
CreateTokenJSONRequestBody defines body for CreateToken for application/json ContentType.
type CreateTokenRequest ¶
type CreateTokenRequest struct {
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Name string `json:"name"`
}
CreateTokenRequest defines model for CreateTokenRequest.
type CreateTokenResponse ¶
type CreateTokenResponse struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Name *string `json:"name,omitempty"`
Token *string `json:"token,omitempty"`
}
CreateTokenResponse defines model for CreateTokenResponse.
type CreateTokenResult ¶
type CreateTokenResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *CreateTokenResponse
}
func ParseCreateTokenResult ¶
func ParseCreateTokenResult(rsp *http.Response) (*CreateTokenResult, error)
ParseCreateTokenResult parses an HTTP response from a CreateTokenWithResponse call
func (CreateTokenResult) ContentType ¶
func (r CreateTokenResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTokenResult) GetBody ¶
func (r CreateTokenResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateTokenResult) GetJSON201 ¶
func (r CreateTokenResult) GetJSON201() *CreateTokenResponse
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateTokenResult) Status ¶
func (r CreateTokenResult) Status() string
Status returns HTTPResponse.Status
func (CreateTokenResult) StatusCode ¶
func (r CreateTokenResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CursorPagination ¶
type CursorPagination struct {
// Cursor Cursor for next page (empty if no more results)
Cursor *string `json:"cursor,omitempty"`
Size *int `json:"size,omitempty"`
Total *int `json:"total,omitempty"`
}
CursorPagination defines model for CursorPagination.
type CustomDomainAllowedParams ¶
type CustomDomainAllowedParams struct {
// Domain The hostname to check
Domain string `form:"domain" json:"domain"`
}
CustomDomainAllowedParams defines parameters for CustomDomainAllowed.
type CustomDomainAllowedResult ¶
func ParseCustomDomainAllowedResult ¶
func ParseCustomDomainAllowedResult(rsp *http.Response) (*CustomDomainAllowedResult, error)
ParseCustomDomainAllowedResult parses an HTTP response from a CustomDomainAllowedWithResponse call
func (CustomDomainAllowedResult) ContentType ¶
func (r CustomDomainAllowedResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CustomDomainAllowedResult) GetBody ¶
func (r CustomDomainAllowedResult) GetBody() []byte
GetBody returns the raw response body bytes
func (CustomDomainAllowedResult) Status ¶
func (r CustomDomainAllowedResult) Status() string
Status returns HTTPResponse.Status
func (CustomDomainAllowedResult) StatusCode ¶
func (r CustomDomainAllowedResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteChannelResult ¶
type DeleteChannelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteChannelResult ¶
func ParseDeleteChannelResult(rsp *http.Response) (*DeleteChannelResult, error)
ParseDeleteChannelResult parses an HTTP response from a DeleteChannelWithResponse call
func (DeleteChannelResult) ContentType ¶
func (r DeleteChannelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteChannelResult) GetBody ¶
func (r DeleteChannelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteChannelResult) GetJSON401 ¶
func (r DeleteChannelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteChannelResult) GetJSON403 ¶
func (r DeleteChannelResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteChannelResult) GetJSON404 ¶
func (r DeleteChannelResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteChannelResult) Status ¶
func (r DeleteChannelResult) Status() string
Status returns HTTPResponse.Status
func (DeleteChannelResult) StatusCode ¶
func (r DeleteChannelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCheckDependencyResult ¶
type DeleteCheckDependencyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteCheckDependencyResult ¶
func ParseDeleteCheckDependencyResult(rsp *http.Response) (*DeleteCheckDependencyResult, error)
ParseDeleteCheckDependencyResult parses an HTTP response from a DeleteCheckDependencyWithResponse call
func (DeleteCheckDependencyResult) ContentType ¶
func (r DeleteCheckDependencyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCheckDependencyResult) GetBody ¶
func (r DeleteCheckDependencyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCheckDependencyResult) GetJSON404 ¶
func (r DeleteCheckDependencyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteCheckDependencyResult) Status ¶
func (r DeleteCheckDependencyResult) Status() string
Status returns HTTPResponse.Status
func (DeleteCheckDependencyResult) StatusCode ¶
func (r DeleteCheckDependencyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCheckGroupResult ¶
type DeleteCheckGroupResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteCheckGroupResult ¶
func ParseDeleteCheckGroupResult(rsp *http.Response) (*DeleteCheckGroupResult, error)
ParseDeleteCheckGroupResult parses an HTTP response from a DeleteCheckGroupWithResponse call
func (DeleteCheckGroupResult) ContentType ¶
func (r DeleteCheckGroupResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCheckGroupResult) GetBody ¶
func (r DeleteCheckGroupResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCheckGroupResult) GetJSON401 ¶
func (r DeleteCheckGroupResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteCheckGroupResult) GetJSON404 ¶
func (r DeleteCheckGroupResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteCheckGroupResult) Status ¶
func (r DeleteCheckGroupResult) Status() string
Status returns HTTPResponse.Status
func (DeleteCheckGroupResult) StatusCode ¶
func (r DeleteCheckGroupResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCheckResult ¶
type DeleteCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
}
func ParseDeleteCheckResult ¶
func ParseDeleteCheckResult(rsp *http.Response) (*DeleteCheckResult, error)
ParseDeleteCheckResult parses an HTTP response from a DeleteCheckWithResponse call
func (DeleteCheckResult) ContentType ¶
func (r DeleteCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteCheckResult) GetBody ¶
func (r DeleteCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteCheckResult) GetJSON404 ¶
func (r DeleteCheckResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteCheckResult) GetJSON409 ¶
func (r DeleteCheckResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteCheckResult) Status ¶
func (r DeleteCheckResult) Status() string
Status returns HTTPResponse.Status
func (DeleteCheckResult) StatusCode ¶
func (r DeleteCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEmailSuppressionResult ¶
type DeleteEmailSuppressionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteEmailSuppressionResult ¶
func ParseDeleteEmailSuppressionResult(rsp *http.Response) (*DeleteEmailSuppressionResult, error)
ParseDeleteEmailSuppressionResult parses an HTTP response from a DeleteEmailSuppressionWithResponse call
func (DeleteEmailSuppressionResult) ContentType ¶
func (r DeleteEmailSuppressionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEmailSuppressionResult) GetBody ¶
func (r DeleteEmailSuppressionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEmailSuppressionResult) GetJSON401 ¶
func (r DeleteEmailSuppressionResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteEmailSuppressionResult) GetJSON403 ¶
func (r DeleteEmailSuppressionResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteEmailSuppressionResult) GetJSON404 ¶
func (r DeleteEmailSuppressionResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteEmailSuppressionResult) Status ¶
func (r DeleteEmailSuppressionResult) Status() string
Status returns HTTPResponse.Status
func (DeleteEmailSuppressionResult) StatusCode ¶
func (r DeleteEmailSuppressionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEscalationPolicyResult ¶
type DeleteEscalationPolicyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParseDeleteEscalationPolicyResult ¶
func ParseDeleteEscalationPolicyResult(rsp *http.Response) (*DeleteEscalationPolicyResult, error)
ParseDeleteEscalationPolicyResult parses an HTTP response from a DeleteEscalationPolicyWithResponse call
func (DeleteEscalationPolicyResult) ContentType ¶
func (r DeleteEscalationPolicyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteEscalationPolicyResult) GetBody ¶
func (r DeleteEscalationPolicyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteEscalationPolicyResult) GetJSON401 ¶
func (r DeleteEscalationPolicyResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteEscalationPolicyResult) GetJSON404 ¶
func (r DeleteEscalationPolicyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteEscalationPolicyResult) GetJSON409 ¶
func (r DeleteEscalationPolicyResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteEscalationPolicyResult) Status ¶
func (r DeleteEscalationPolicyResult) Status() string
Status returns HTTPResponse.Status
func (DeleteEscalationPolicyResult) StatusCode ¶
func (r DeleteEscalationPolicyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFileResult ¶
type DeleteFileResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteFileResult ¶
func ParseDeleteFileResult(rsp *http.Response) (*DeleteFileResult, error)
ParseDeleteFileResult parses an HTTP response from a DeleteFileWithResponse call
func (DeleteFileResult) ContentType ¶
func (r DeleteFileResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteFileResult) GetBody ¶
func (r DeleteFileResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteFileResult) GetJSON401 ¶
func (r DeleteFileResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteFileResult) GetJSON403 ¶
func (r DeleteFileResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteFileResult) GetJSON404 ¶
func (r DeleteFileResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteFileResult) Status ¶
func (r DeleteFileResult) Status() string
Status returns HTTPResponse.Status
func (DeleteFileResult) StatusCode ¶
func (r DeleteFileResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIntegrationIdentityResult ¶
type DeleteIntegrationIdentityResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteIntegrationIdentityResult ¶
func ParseDeleteIntegrationIdentityResult(rsp *http.Response) (*DeleteIntegrationIdentityResult, error)
ParseDeleteIntegrationIdentityResult parses an HTTP response from a DeleteIntegrationIdentityWithResponse call
func (DeleteIntegrationIdentityResult) ContentType ¶
func (r DeleteIntegrationIdentityResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteIntegrationIdentityResult) GetBody ¶
func (r DeleteIntegrationIdentityResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteIntegrationIdentityResult) GetJSON400 ¶
func (r DeleteIntegrationIdentityResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (DeleteIntegrationIdentityResult) GetJSON401 ¶
func (r DeleteIntegrationIdentityResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteIntegrationIdentityResult) GetJSON403 ¶
func (r DeleteIntegrationIdentityResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteIntegrationIdentityResult) GetJSON404 ¶
func (r DeleteIntegrationIdentityResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteIntegrationIdentityResult) Status ¶
func (r DeleteIntegrationIdentityResult) Status() string
Status returns HTTPResponse.Status
func (DeleteIntegrationIdentityResult) StatusCode ¶
func (r DeleteIntegrationIdentityResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInvitationResult ¶
type DeleteInvitationResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteInvitationResult ¶
func ParseDeleteInvitationResult(rsp *http.Response) (*DeleteInvitationResult, error)
ParseDeleteInvitationResult parses an HTTP response from a DeleteInvitationWithResponse call
func (DeleteInvitationResult) ContentType ¶
func (r DeleteInvitationResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteInvitationResult) GetBody ¶
func (r DeleteInvitationResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteInvitationResult) GetJSON401 ¶
func (r DeleteInvitationResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteInvitationResult) GetJSON403 ¶
func (r DeleteInvitationResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteInvitationResult) GetJSON404 ¶
func (r DeleteInvitationResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteInvitationResult) Status ¶
func (r DeleteInvitationResult) Status() string
Status returns HTTPResponse.Status
func (DeleteInvitationResult) StatusCode ¶
func (r DeleteInvitationResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMaintenanceWindowResult ¶
type DeleteMaintenanceWindowResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteMaintenanceWindowResult ¶
func ParseDeleteMaintenanceWindowResult(rsp *http.Response) (*DeleteMaintenanceWindowResult, error)
ParseDeleteMaintenanceWindowResult parses an HTTP response from a DeleteMaintenanceWindowWithResponse call
func (DeleteMaintenanceWindowResult) ContentType ¶
func (r DeleteMaintenanceWindowResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteMaintenanceWindowResult) GetBody ¶
func (r DeleteMaintenanceWindowResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteMaintenanceWindowResult) GetJSON401 ¶
func (r DeleteMaintenanceWindowResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteMaintenanceWindowResult) GetJSON404 ¶
func (r DeleteMaintenanceWindowResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteMaintenanceWindowResult) Status ¶
func (r DeleteMaintenanceWindowResult) Status() string
Status returns HTTPResponse.Status
func (DeleteMaintenanceWindowResult) StatusCode ¶
func (r DeleteMaintenanceWindowResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOncallOverrideResult ¶
type DeleteOncallOverrideResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteOncallOverrideResult ¶
func ParseDeleteOncallOverrideResult(rsp *http.Response) (*DeleteOncallOverrideResult, error)
ParseDeleteOncallOverrideResult parses an HTTP response from a DeleteOncallOverrideWithResponse call
func (DeleteOncallOverrideResult) ContentType ¶
func (r DeleteOncallOverrideResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOncallOverrideResult) GetBody ¶
func (r DeleteOncallOverrideResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOncallOverrideResult) GetJSON401 ¶
func (r DeleteOncallOverrideResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteOncallOverrideResult) GetJSON404 ¶
func (r DeleteOncallOverrideResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteOncallOverrideResult) Status ¶
func (r DeleteOncallOverrideResult) Status() string
Status returns HTTPResponse.Status
func (DeleteOncallOverrideResult) StatusCode ¶
func (r DeleteOncallOverrideResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOncallScheduleResult ¶
type DeleteOncallScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteOncallScheduleResult ¶
func ParseDeleteOncallScheduleResult(rsp *http.Response) (*DeleteOncallScheduleResult, error)
ParseDeleteOncallScheduleResult parses an HTTP response from a DeleteOncallScheduleWithResponse call
func (DeleteOncallScheduleResult) ContentType ¶
func (r DeleteOncallScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOncallScheduleResult) GetBody ¶
func (r DeleteOncallScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOncallScheduleResult) GetJSON401 ¶
func (r DeleteOncallScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteOncallScheduleResult) GetJSON404 ¶
func (r DeleteOncallScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteOncallScheduleResult) Status ¶
func (r DeleteOncallScheduleResult) Status() string
Status returns HTTPResponse.Status
func (DeleteOncallScheduleResult) StatusCode ¶
func (r DeleteOncallScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrgJSONRequestBody ¶
type DeleteOrgJSONRequestBody = DeleteOrgRequest
DeleteOrgJSONRequestBody defines body for DeleteOrg for application/json ContentType.
type DeleteOrgLogoResult ¶
type DeleteOrgLogoResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgLogoResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteOrgLogoResult ¶
func ParseDeleteOrgLogoResult(rsp *http.Response) (*DeleteOrgLogoResult, error)
ParseDeleteOrgLogoResult parses an HTTP response from a DeleteOrgLogoWithResponse call
func (DeleteOrgLogoResult) ContentType ¶
func (r DeleteOrgLogoResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOrgLogoResult) GetBody ¶
func (r DeleteOrgLogoResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOrgLogoResult) GetJSON200 ¶
func (r DeleteOrgLogoResult) GetJSON200() *OrgLogoResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteOrgLogoResult) GetJSON401 ¶
func (r DeleteOrgLogoResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteOrgLogoResult) GetJSON403 ¶
func (r DeleteOrgLogoResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteOrgLogoResult) GetJSON404 ¶
func (r DeleteOrgLogoResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteOrgLogoResult) Status ¶
func (r DeleteOrgLogoResult) Status() string
Status returns HTTPResponse.Status
func (DeleteOrgLogoResult) StatusCode ¶
func (r DeleteOrgLogoResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteOrgRequest ¶
type DeleteOrgRequest struct {
// Slug The organization's own slug, retyped as confirmation. Must match the `org` path parameter exactly.
Slug string `json:"slug"`
}
DeleteOrgRequest defines model for DeleteOrgRequest.
type DeleteOrgResult ¶
type DeleteOrgResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoginResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseDeleteOrgResult ¶
func ParseDeleteOrgResult(rsp *http.Response) (*DeleteOrgResult, error)
ParseDeleteOrgResult parses an HTTP response from a DeleteOrgWithResponse call
func (DeleteOrgResult) ContentType ¶
func (r DeleteOrgResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteOrgResult) GetBody ¶
func (r DeleteOrgResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteOrgResult) GetJSON200 ¶
func (r DeleteOrgResult) GetJSON200() *LoginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DeleteOrgResult) GetJSON401 ¶
func (r DeleteOrgResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteOrgResult) GetJSON403 ¶
func (r DeleteOrgResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteOrgResult) GetJSON404 ¶
func (r DeleteOrgResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteOrgResult) GetJSON422 ¶
func (r DeleteOrgResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteOrgResult) Status ¶
func (r DeleteOrgResult) Status() string
Status returns HTTPResponse.Status
func (DeleteOrgResult) StatusCode ¶
func (r DeleteOrgResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReportScheduleResult ¶
type DeleteReportScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteReportScheduleResult ¶
func ParseDeleteReportScheduleResult(rsp *http.Response) (*DeleteReportScheduleResult, error)
ParseDeleteReportScheduleResult parses an HTTP response from a DeleteReportScheduleWithResponse call
func (DeleteReportScheduleResult) ContentType ¶
func (r DeleteReportScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteReportScheduleResult) GetBody ¶
func (r DeleteReportScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteReportScheduleResult) GetJSON401 ¶
func (r DeleteReportScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteReportScheduleResult) GetJSON404 ¶
func (r DeleteReportScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteReportScheduleResult) Status ¶
func (r DeleteReportScheduleResult) Status() string
Status returns HTTPResponse.Status
func (DeleteReportScheduleResult) StatusCode ¶
func (r DeleteReportScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSeverityResult ¶
type DeleteSeverityResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
}
func ParseDeleteSeverityResult ¶
func ParseDeleteSeverityResult(rsp *http.Response) (*DeleteSeverityResult, error)
ParseDeleteSeverityResult parses an HTTP response from a DeleteSeverityWithResponse call
func (DeleteSeverityResult) ContentType ¶
func (r DeleteSeverityResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSeverityResult) GetBody ¶
func (r DeleteSeverityResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSeverityResult) GetJSON401 ¶
func (r DeleteSeverityResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSeverityResult) GetJSON404 ¶
func (r DeleteSeverityResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSeverityResult) GetJSON409 ¶
func (r DeleteSeverityResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (DeleteSeverityResult) Status ¶
func (r DeleteSeverityResult) Status() string
Status returns HTTPResponse.Status
func (DeleteSeverityResult) StatusCode ¶
func (r DeleteSeverityResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSloResult ¶
type DeleteSloResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteSloResult ¶
func ParseDeleteSloResult(rsp *http.Response) (*DeleteSloResult, error)
ParseDeleteSloResult parses an HTTP response from a DeleteSloWithResponse call
func (DeleteSloResult) ContentType ¶
func (r DeleteSloResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSloResult) GetBody ¶
func (r DeleteSloResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSloResult) GetJSON401 ¶
func (r DeleteSloResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSloResult) GetJSON404 ¶
func (r DeleteSloResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSloResult) Status ¶
func (r DeleteSloResult) Status() string
Status returns HTTPResponse.Status
func (DeleteSloResult) StatusCode ¶
func (r DeleteSloResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageResourceResult ¶
type DeleteStatusPageResourceResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteStatusPageResourceResult ¶
func ParseDeleteStatusPageResourceResult(rsp *http.Response) (*DeleteStatusPageResourceResult, error)
ParseDeleteStatusPageResourceResult parses an HTTP response from a DeleteStatusPageResourceWithResponse call
func (DeleteStatusPageResourceResult) ContentType ¶
func (r DeleteStatusPageResourceResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusPageResourceResult) GetBody ¶
func (r DeleteStatusPageResourceResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteStatusPageResourceResult) GetJSON401 ¶
func (r DeleteStatusPageResourceResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteStatusPageResourceResult) GetJSON404 ¶
func (r DeleteStatusPageResourceResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteStatusPageResourceResult) Status ¶
func (r DeleteStatusPageResourceResult) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageResourceResult) StatusCode ¶
func (r DeleteStatusPageResourceResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageResult ¶
type DeleteStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteStatusPageResult ¶
func ParseDeleteStatusPageResult(rsp *http.Response) (*DeleteStatusPageResult, error)
ParseDeleteStatusPageResult parses an HTTP response from a DeleteStatusPageWithResponse call
func (DeleteStatusPageResult) ContentType ¶
func (r DeleteStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusPageResult) GetBody ¶
func (r DeleteStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteStatusPageResult) GetJSON401 ¶
func (r DeleteStatusPageResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteStatusPageResult) GetJSON404 ¶
func (r DeleteStatusPageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteStatusPageResult) Status ¶
func (r DeleteStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageResult) StatusCode ¶
func (r DeleteStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusPageSectionResult ¶
type DeleteStatusPageSectionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteStatusPageSectionResult ¶
func ParseDeleteStatusPageSectionResult(rsp *http.Response) (*DeleteStatusPageSectionResult, error)
ParseDeleteStatusPageSectionResult parses an HTTP response from a DeleteStatusPageSectionWithResponse call
func (DeleteStatusPageSectionResult) ContentType ¶
func (r DeleteStatusPageSectionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusPageSectionResult) GetBody ¶
func (r DeleteStatusPageSectionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteStatusPageSectionResult) GetJSON401 ¶
func (r DeleteStatusPageSectionResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteStatusPageSectionResult) GetJSON404 ¶
func (r DeleteStatusPageSectionResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteStatusPageSectionResult) Status ¶
func (r DeleteStatusPageSectionResult) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusPageSectionResult) StatusCode ¶
func (r DeleteStatusPageSectionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteStatusUpdateResult ¶
type DeleteStatusUpdateResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteStatusUpdateResult ¶
func ParseDeleteStatusUpdateResult(rsp *http.Response) (*DeleteStatusUpdateResult, error)
ParseDeleteStatusUpdateResult parses an HTTP response from a DeleteStatusUpdateWithResponse call
func (DeleteStatusUpdateResult) ContentType ¶
func (r DeleteStatusUpdateResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteStatusUpdateResult) GetBody ¶
func (r DeleteStatusUpdateResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteStatusUpdateResult) GetJSON401 ¶
func (r DeleteStatusUpdateResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteStatusUpdateResult) GetJSON404 ¶
func (r DeleteStatusUpdateResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteStatusUpdateResult) Status ¶
func (r DeleteStatusUpdateResult) Status() string
Status returns HTTPResponse.Status
func (DeleteStatusUpdateResult) StatusCode ¶
func (r DeleteStatusUpdateResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSystemParameterResult ¶
type DeleteSystemParameterResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDeleteSystemParameterResult ¶
func ParseDeleteSystemParameterResult(rsp *http.Response) (*DeleteSystemParameterResult, error)
ParseDeleteSystemParameterResult parses an HTTP response from a DeleteSystemParameterWithResponse call
func (DeleteSystemParameterResult) ContentType ¶
func (r DeleteSystemParameterResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSystemParameterResult) GetBody ¶
func (r DeleteSystemParameterResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSystemParameterResult) GetJSON401 ¶
func (r DeleteSystemParameterResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DeleteSystemParameterResult) GetJSON403 ¶
func (r DeleteSystemParameterResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DeleteSystemParameterResult) GetJSON404 ¶
func (r DeleteSystemParameterResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DeleteSystemParameterResult) Status ¶
func (r DeleteSystemParameterResult) Status() string
Status returns HTTPResponse.Status
func (DeleteSystemParameterResult) StatusCode ¶
func (r DeleteSystemParameterResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Dependency ¶
type Dependency struct {
ChildCheck CheckRef `json:"childCheck"`
Description *string `json:"description,omitempty"`
Kind DependencyKind `json:"kind"`
ParentCheck CheckRef `json:"parentCheck"`
Uid openapi_types.UUID `json:"uid"`
}
Dependency defines model for Dependency.
type DependencyEdge ¶
type DependencyEdge struct {
UID string `json:"uid"`
ParentCheck DependencyRef `json:"parentCheck"`
ChildCheck DependencyRef `json:"childCheck"`
Kind string `json:"kind"`
Description *string `json:"description,omitempty"`
}
DependencyEdge is one row in the per-check dependency response.
type DependencyGraphEdge ¶
type DependencyGraphEdge struct {
ChildCheckUid openapi_types.UUID `json:"childCheckUid"`
Kind DependencyGraphEdgeKind `json:"kind"`
ParentCheckUid openapi_types.UUID `json:"parentCheckUid"`
Uid openapi_types.UUID `json:"uid"`
}
DependencyGraphEdge defines model for DependencyGraphEdge.
type DependencyGraphEdgeKind ¶
type DependencyGraphEdgeKind string
DependencyGraphEdgeKind defines model for DependencyGraphEdge.Kind.
const ( DependencyGraphEdgeKindHard DependencyGraphEdgeKind = "hard" DependencyGraphEdgeKindSoft DependencyGraphEdgeKind = "soft" )
Defines values for DependencyGraphEdgeKind.
func (DependencyGraphEdgeKind) Valid ¶
func (e DependencyGraphEdgeKind) Valid() bool
Valid indicates whether the value is a known member of the DependencyGraphEdgeKind enum.
type DependencyGraphNode ¶
type DependencyGraphNode struct {
Name string `json:"name"`
Slug string `json:"slug"`
Uid openapi_types.UUID `json:"uid"`
}
DependencyGraphNode defines model for DependencyGraphNode.
type DependencyKind ¶
type DependencyKind string
DependencyKind defines model for Dependency.Kind.
const ( DependencyKindHard DependencyKind = "hard" DependencyKindSoft DependencyKind = "soft" )
Defines values for DependencyKind.
func (DependencyKind) Valid ¶
func (e DependencyKind) Valid() bool
Valid indicates whether the value is a known member of the DependencyKind enum.
type DependencyRef ¶
type DependencyRef struct {
UID string `json:"uid"`
Slug string `json:"slug"`
Name string `json:"name"`
}
DependencyRef is a minimal {uid, slug, name} reference used by dependency responses.
type DependencyWarning ¶
type DependencyWarning struct {
// ChildConfirmationSeconds The child check's configured confirmation period, in seconds.
ChildConfirmationSeconds *int `json:"childConfirmationSeconds,omitempty"`
Code *DependencyWarningCode `json:"code,omitempty"`
DependencyUid *string `json:"dependencyUid,omitempty"`
// Message English fallback text; localized clients key off `code` instead.
Message *string `json:"message,omitempty"`
ParentCheck *CheckRef `json:"parentCheck,omitempty"`
// RecommendedConfirmationSeconds `parent.confirmation + parent.period + parent.timeoutOrDefault`, rounded up to whole seconds.
RecommendedConfirmationSeconds *int `json:"recommendedConfirmationSeconds,omitempty"`
}
DependencyWarning One soft lint finding about a dependency edge.
`CONFIRMATION_MARGIN_TOO_SHORT` is raised for a hard `dependsOn` edge where `child.confirmation < parent.confirmation + parent.period + parent.timeout`: the child can finish confirming before its parent could possibly have observed the same outage even once. The runtime confirmation hold already covers the gap at page time (the child stays `validating` while a hard parent is still validating), so this only explains why a page may arrive later than the child's configured confirmation suggests.
type DependencyWarningCode ¶
type DependencyWarningCode string
DependencyWarningCode defines model for DependencyWarning.Code.
const (
DependencyWarningCodeCONFIRMATIONMARGINTOOSHORT DependencyWarningCode = "CONFIRMATION_MARGIN_TOO_SHORT"
)
Defines values for DependencyWarningCode.
func (DependencyWarningCode) Valid ¶
func (e DependencyWarningCode) Valid() bool
Valid indicates whether the value is a known member of the DependencyWarningCode enum.
type DeviceAuthorizationRequest ¶
type DeviceAuthorizationRequest struct {
// ClientId Accepted for OAuth compatibility and ignored
ClientId *string `json:"clientId,omitempty"`
// ClientName Label shown to the approving user on the consent page
ClientName *string `json:"clientName,omitempty"`
}
DeviceAuthorizationRequest defines model for DeviceAuthorizationRequest.
type DeviceAuthorizationResponse ¶
type DeviceAuthorizationResponse struct {
// DeviceCode The client's secret — the real capability. Never displayed in a browser.
DeviceCode string `json:"device_code"`
ExpiresIn int `json:"expires_in"`
// Interval Minimum seconds between polls; polling faster earns slow_down
Interval int `json:"interval"`
// UserCode Short human-typed code, displayed as XXXX-XXXX
UserCode string `json:"user_code"`
VerificationUri string `json:"verification_uri"`
VerificationUriComplete string `json:"verification_uri_complete"`
}
DeviceAuthorizationResponse defines model for DeviceAuthorizationResponse.
type DeviceConsentInfo ¶
type DeviceConsentInfo struct {
ClientName string `json:"clientName"`
ExpiresAt time.Time `json:"expiresAt"`
Status DeviceConsentInfoStatus `json:"status"`
UserCode string `json:"userCode"`
}
DeviceConsentInfo defines model for DeviceConsentInfo.
type DeviceConsentInfoStatus ¶
type DeviceConsentInfoStatus string
DeviceConsentInfoStatus defines model for DeviceConsentInfo.Status.
const ( DeviceConsentInfoStatusApproved DeviceConsentInfoStatus = "approved" DeviceConsentInfoStatusDenied DeviceConsentInfoStatus = "denied" DeviceConsentInfoStatusPending DeviceConsentInfoStatus = "pending" )
Defines values for DeviceConsentInfoStatus.
func (DeviceConsentInfoStatus) Valid ¶
func (e DeviceConsentInfoStatus) Valid() bool
Valid indicates whether the value is a known member of the DeviceConsentInfoStatus enum.
type DeviceConsentRequest ¶
type DeviceConsentRequest struct {
Approve *bool `json:"approve,omitempty"`
// Org Slug of the organization the approved token is scoped to. Defaults to the approving session's organization when omitted.
Org *string `json:"org,omitempty"`
UserCode string `json:"userCode"`
}
DeviceConsentRequest defines model for DeviceConsentRequest.
type DeviceConsentResponse ¶
type DeviceConsentResponse struct {
Approved *bool `json:"approved,omitempty"`
}
DeviceConsentResponse defines model for DeviceConsentResponse.
type DeviceTokenError ¶
type DeviceTokenError struct {
Error DeviceTokenErrorError `json:"error"`
ErrorDescription *string `json:"error_description,omitempty"`
}
DeviceTokenError defines model for DeviceTokenError.
type DeviceTokenErrorError ¶
type DeviceTokenErrorError string
DeviceTokenErrorError defines model for DeviceTokenError.Error.
const ( DeviceTokenErrorErrorAccessDenied DeviceTokenErrorError = "access_denied" DeviceTokenErrorErrorAuthorizationPending DeviceTokenErrorError = "authorization_pending" DeviceTokenErrorErrorExpiredToken DeviceTokenErrorError = "expired_token" DeviceTokenErrorErrorInvalidRequest DeviceTokenErrorError = "invalid_request" DeviceTokenErrorErrorSlowDown DeviceTokenErrorError = "slow_down" DeviceTokenErrorErrorUnsupportedGrantType DeviceTokenErrorError = "unsupported_grant_type" )
Defines values for DeviceTokenErrorError.
func (DeviceTokenErrorError) Valid ¶
func (e DeviceTokenErrorError) Valid() bool
Valid indicates whether the value is a known member of the DeviceTokenErrorError enum.
type DeviceTokenRequest ¶
type DeviceTokenRequest struct {
ClientId *string `json:"client_id,omitempty"`
DeviceCode string `json:"device_code"`
GrantType DeviceTokenRequestGrantType `json:"grant_type"`
}
DeviceTokenRequest defines model for DeviceTokenRequest.
type DeviceTokenRequestGrantType ¶
type DeviceTokenRequestGrantType string
DeviceTokenRequestGrantType defines model for DeviceTokenRequest.GrantType.
const (
DeviceTokenRequestGrantTypeUrnIetfParamsOauthGrantTypeDeviceCode DeviceTokenRequestGrantType = "urn:ietf:params:oauth:grant-type:device_code"
)
Defines values for DeviceTokenRequestGrantType.
func (DeviceTokenRequestGrantType) Valid ¶
func (e DeviceTokenRequestGrantType) Valid() bool
Valid indicates whether the value is a known member of the DeviceTokenRequestGrantType enum.
type DeviceTokenResponse ¶
type DeviceTokenResponse struct {
// AccessToken A solidping personal access token, usable directly as a bearer credential
AccessToken string `json:"access_token"`
TokenType DeviceTokenResponseTokenType `json:"token_type"`
}
DeviceTokenResponse defines model for DeviceTokenResponse.
type DeviceTokenResponseTokenType ¶
type DeviceTokenResponseTokenType string
DeviceTokenResponseTokenType defines model for DeviceTokenResponse.TokenType.
const (
DeviceTokenResponseTokenTypeBearer DeviceTokenResponseTokenType = "Bearer"
)
Defines values for DeviceTokenResponseTokenType.
func (DeviceTokenResponseTokenType) Valid ¶
func (e DeviceTokenResponseTokenType) Valid() bool
Valid indicates whether the value is a known member of the DeviceTokenResponseTokenType enum.
type DisableOncallIcalFeedResult ¶
type DisableOncallIcalFeedResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDisableOncallIcalFeedResult ¶
func ParseDisableOncallIcalFeedResult(rsp *http.Response) (*DisableOncallIcalFeedResult, error)
ParseDisableOncallIcalFeedResult parses an HTTP response from a DisableOncallIcalFeedWithResponse call
func (DisableOncallIcalFeedResult) ContentType ¶
func (r DisableOncallIcalFeedResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DisableOncallIcalFeedResult) GetBody ¶
func (r DisableOncallIcalFeedResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DisableOncallIcalFeedResult) GetJSON401 ¶
func (r DisableOncallIcalFeedResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DisableOncallIcalFeedResult) GetJSON404 ¶
func (r DisableOncallIcalFeedResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DisableOncallIcalFeedResult) Status ¶
func (r DisableOncallIcalFeedResult) Status() string
Status returns HTTPResponse.Status
func (DisableOncallIcalFeedResult) StatusCode ¶
func (r DisableOncallIcalFeedResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DiscoveredCheck ¶
type DiscoveredCheck struct {
Config *map[string]interface{} `json:"config,omitempty"`
DiscoveredAt *time.Time `json:"discoveredAt,omitempty"`
// GroupKey Stable grouping identity (IP, container ID, workload uid)
GroupKey *string `json:"groupKey,omitempty"`
// GroupLabel Display label (hostname-or-IP, container name, "ns/name")
GroupLabel *string `json:"groupLabel,omitempty"`
// JobUid The scan UID (plan UID for chunked scans)
JobUid *string `json:"jobUid,omitempty"`
// Metadata Denormalized group-display hints (identical across a group's rows)
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Name *string `json:"name,omitempty"`
OrganizationUid *string `json:"organizationUid,omitempty"`
PromotedToCheckUid *string `json:"promotedToCheckUid,omitempty"`
Slug *string `json:"slug,omitempty"`
// Source Example: lan
Source *string `json:"source,omitempty"`
// Type Check type (http|tcp|icmp|docker|kubernetes…)
Type *string `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
}
DiscoveredCheck One suggested check produced by a scan. Grouped for display by groupKey.
type DiscoveryScan ¶
type DiscoveryScan struct {
Config *map[string]interface{} `json:"config,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
Status *string `json:"status,omitempty"`
// Type The underlying job type (e.g. network_discovery_plan, freebox_lan_discovery)
Type *string `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
DiscoveryScan A discovery scan job. Its UID is the scan UID.
type DiscoveryScanProgress ¶
type DiscoveryScanProgress struct {
// CheckCount Total suggested-check count rolled up under the scan
CheckCount *int `json:"checkCount,omitempty"`
CompletedChunks *int `json:"completedChunks,omitempty"`
DerivedStatus *DiscoveryScanProgressDerivedStatus `json:"derivedStatus,omitempty"`
FailedChunks *int `json:"failedChunks,omitempty"`
// GroupCount Distinct group_key count rolled up under the scan
GroupCount *int `json:"groupCount,omitempty"`
PendingChunks *int `json:"pendingChunks,omitempty"`
RunningChunks *int `json:"runningChunks,omitempty"`
TotalChunks *int `json:"totalChunks,omitempty"`
}
DiscoveryScanProgress Uniform progress view for any scan. Non-chunked scans report totalChunks=1.
type DiscoveryScanProgressDerivedStatus ¶
type DiscoveryScanProgressDerivedStatus string
DiscoveryScanProgressDerivedStatus defines model for DiscoveryScanProgress.DerivedStatus.
const ( DiscoveryScanProgressDerivedStatusFailed DiscoveryScanProgressDerivedStatus = "failed" DiscoveryScanProgressDerivedStatusPending DiscoveryScanProgressDerivedStatus = "pending" DiscoveryScanProgressDerivedStatusRunning DiscoveryScanProgressDerivedStatus = "running" DiscoveryScanProgressDerivedStatusSuccess DiscoveryScanProgressDerivedStatus = "success" )
Defines values for DiscoveryScanProgressDerivedStatus.
func (DiscoveryScanProgressDerivedStatus) Valid ¶
func (e DiscoveryScanProgressDerivedStatus) Valid() bool
Valid indicates whether the value is a known member of the DiscoveryScanProgressDerivedStatus enum.
type DiscoveryType ¶
type DiscoveryType struct {
// Source The discovery source rows from this type carry
//
// Example: lan
Source *string `json:"source,omitempty"`
// Type User-facing discovery type id
//
// Example: lan
Type *string `json:"type,omitempty"`
}
DiscoveryType A registered discovery type that can drive a scan.
type DismissDiscoveredCheckResult ¶
type DismissDiscoveredCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDismissDiscoveredCheckResult ¶
func ParseDismissDiscoveredCheckResult(rsp *http.Response) (*DismissDiscoveredCheckResult, error)
ParseDismissDiscoveredCheckResult parses an HTTP response from a DismissDiscoveredCheckWithResponse call
func (DismissDiscoveredCheckResult) ContentType ¶
func (r DismissDiscoveredCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DismissDiscoveredCheckResult) GetBody ¶
func (r DismissDiscoveredCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DismissDiscoveredCheckResult) GetJSON403 ¶
func (r DismissDiscoveredCheckResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DismissDiscoveredCheckResult) GetJSON404 ¶
func (r DismissDiscoveredCheckResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DismissDiscoveredCheckResult) Status ¶
func (r DismissDiscoveredCheckResult) Status() string
Status returns HTTPResponse.Status
func (DismissDiscoveredCheckResult) StatusCode ¶
func (r DismissDiscoveredCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DismissDiscoveredGroupParams ¶
type DismissDiscoveredGroupParams struct {
// Group The group (groupKey) to dismiss
Group string `form:"group" json:"group"`
// JobUid Restrict the dismissal to one scan
JobUid *string `form:"jobUid,omitempty" json:"jobUid,omitempty"`
}
DismissDiscoveredGroupParams defines parameters for DismissDiscoveredGroup.
type DismissDiscoveredGroupResult ¶
type DismissDiscoveredGroupResult struct {
Body []byte
HTTPResponse *http.Response
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDismissDiscoveredGroupResult ¶
func ParseDismissDiscoveredGroupResult(rsp *http.Response) (*DismissDiscoveredGroupResult, error)
ParseDismissDiscoveredGroupResult parses an HTTP response from a DismissDiscoveredGroupWithResponse call
func (DismissDiscoveredGroupResult) ContentType ¶
func (r DismissDiscoveredGroupResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DismissDiscoveredGroupResult) GetBody ¶
func (r DismissDiscoveredGroupResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DismissDiscoveredGroupResult) GetJSON403 ¶
func (r DismissDiscoveredGroupResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DismissDiscoveredGroupResult) GetJSON404 ¶
func (r DismissDiscoveredGroupResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DismissDiscoveredGroupResult) Status ¶
func (r DismissDiscoveredGroupResult) Status() string
Status returns HTTPResponse.Status
func (DismissDiscoveredGroupResult) StatusCode ¶
func (r DismissDiscoveredGroupResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsRecord ¶
type DnsRecord struct {
// Name Fully-qualified record name to create
Name string `json:"name"`
// Type DNS record type. Always "CNAME" since v0.8.0.
Type string `json:"type"`
// Value Record value
Value string `json:"value"`
}
DnsRecord defines model for DnsRecord.
type DownloadFileResult ¶
type DownloadFileResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseDownloadFileResult ¶
func ParseDownloadFileResult(rsp *http.Response) (*DownloadFileResult, error)
ParseDownloadFileResult parses an HTTP response from a DownloadFileWithResponse call
func (DownloadFileResult) ContentType ¶
func (r DownloadFileResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DownloadFileResult) GetBody ¶
func (r DownloadFileResult) GetBody() []byte
GetBody returns the raw response body bytes
func (DownloadFileResult) GetJSON401 ¶
func (r DownloadFileResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (DownloadFileResult) GetJSON403 ¶
func (r DownloadFileResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (DownloadFileResult) GetJSON404 ¶
func (r DownloadFileResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (DownloadFileResult) Status ¶
func (r DownloadFileResult) Status() string
Status returns HTTPResponse.Status
func (DownloadFileResult) StatusCode ¶
func (r DownloadFileResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EmailInboxConfigResponse ¶
type EmailInboxConfigResponse struct {
AddressDomain *string `json:"addressDomain,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
FailedRetentionDays *int `json:"failedRetentionDays,omitempty"`
MailboxName *string `json:"mailboxName,omitempty"`
PasswordSet *bool `json:"passwordSet,omitempty"`
PollIntervalSeconds *int `json:"pollIntervalSeconds,omitempty"`
ProcessedMailboxName *string `json:"processedMailboxName,omitempty"`
ProcessedRetentionDays *int `json:"processedRetentionDays,omitempty"`
RewriteBaseUrl *string `json:"rewriteBaseUrl,omitempty"`
SessionUrl *string `json:"sessionUrl,omitempty"`
Username *string `json:"username,omitempty"`
}
EmailInboxConfigResponse Saved JMAP inbox configuration, with the password elided.
type EmailInboxStatusResponse ¶
type EmailInboxStatusResponse struct {
AccountId *string `json:"accountId,omitempty"`
AddressDomain *string `json:"addressDomain,omitempty"`
Connected *bool `json:"connected,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
LastError *string `json:"lastError,omitempty"`
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
Mode *string `json:"mode,omitempty"`
}
EmailInboxStatusResponse defines model for EmailInboxStatusResponse.
type EmailInboxSyncResponse ¶
type EmailInboxSyncResponse struct {
Ok *bool `json:"ok,omitempty"`
}
EmailInboxSyncResponse defines model for EmailInboxSyncResponse.
type EmailInboxTestResponse ¶
type EmailInboxTestResponse struct {
Mailboxes *[]string `json:"mailboxes,omitempty"`
Ok *bool `json:"ok,omitempty"`
}
EmailInboxTestResponse defines model for EmailInboxTestResponse.
type EmailSuppression ¶
type EmailSuppression struct {
CheckName *string `json:"checkName,omitempty"`
CheckUid *string `json:"checkUid,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Email string `json:"email"`
Source string `json:"source"`
Uid openapi_types.UUID `json:"uid"`
}
EmailSuppression defines model for EmailSuppression.
type EmailSuppressionListResponse ¶
type EmailSuppressionListResponse struct {
Data *[]EmailSuppression `json:"data,omitempty"`
}
EmailSuppressionListResponse defines model for EmailSuppressionListResponse.
type EmailSuppressionUidPath ¶
type EmailSuppressionUidPath = openapi_types.UUID
EmailSuppressionUidPath defines model for EmailSuppressionUidPath.
type EnableOncallIcalFeedResult ¶
type EnableOncallIcalFeedResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OncallIcalFeedResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseEnableOncallIcalFeedResult ¶
func ParseEnableOncallIcalFeedResult(rsp *http.Response) (*EnableOncallIcalFeedResult, error)
ParseEnableOncallIcalFeedResult parses an HTTP response from a EnableOncallIcalFeedWithResponse call
func (EnableOncallIcalFeedResult) ContentType ¶
func (r EnableOncallIcalFeedResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (EnableOncallIcalFeedResult) GetBody ¶
func (r EnableOncallIcalFeedResult) GetBody() []byte
GetBody returns the raw response body bytes
func (EnableOncallIcalFeedResult) GetJSON200 ¶
func (r EnableOncallIcalFeedResult) GetJSON200() *OncallIcalFeedResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (EnableOncallIcalFeedResult) GetJSON401 ¶
func (r EnableOncallIcalFeedResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (EnableOncallIcalFeedResult) GetJSON404 ¶
func (r EnableOncallIcalFeedResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (EnableOncallIcalFeedResult) Status ¶
func (r EnableOncallIcalFeedResult) Status() string
Status returns HTTPResponse.Status
func (EnableOncallIcalFeedResult) StatusCode ¶
func (r EnableOncallIcalFeedResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EntitlementLimits ¶
type EntitlementLimits struct {
// MaxCallsPerMonth Outbound voice calls per UTC month (null = unlimited)
MaxCallsPerMonth *int `json:"maxCallsPerMonth,omitempty"`
// MaxChecks Maximum non-internal checks (null = unlimited)
MaxChecks *int `json:"maxChecks,omitempty"`
// MaxChecksPerMinute Aggregate check dispatch rate per minute (null = unlimited)
MaxChecksPerMinute *int `json:"maxChecksPerMinute,omitempty"`
// MaxSlos Maximum service-level objectives (null = unlimited)
MaxSlos *int `json:"maxSlos,omitempty"`
// MaxSmsPerMonth Outbound SMS per UTC month (null = unlimited)
MaxSmsPerMonth *int `json:"maxSmsPerMonth,omitempty"`
// MaxUsers Maximum organization members (null = unlimited). The deprecated key `maxSsoUsers` is still accepted as a decode-only alias on write; responses always use `maxUsers`.
MaxUsers *int `json:"maxUsers,omitempty"`
// MaxWhatsappPerMonth Outbound WhatsApp template messages per UTC month (null = unlimited)
MaxWhatsappPerMonth *int `json:"maxWhatsappPerMonth,omitempty"`
// WhiteLabel Whether the organization may hide the "powered by SolidPing" badge on its status pages. Unlike the caps above, null does NOT mean unlimited — it means "use the deployment default" (true self-hosted, false on the SaaS).
WhiteLabel *bool `json:"whiteLabel,omitempty"`
}
EntitlementLimits Per-org numeric limits; null/absent means unlimited
type EntitlementsAudit ¶
type EntitlementsAudit struct {
Actor string `json:"actor"`
AfterSnapshot map[string]interface{} `json:"afterSnapshot"`
BeforeSnapshot *map[string]interface{} `json:"beforeSnapshot,omitempty"`
CreatedAt time.Time `json:"createdAt"`
OrganizationUid string `json:"organizationUid"`
Reason *string `json:"reason,omitempty"`
Source string `json:"source"`
Uid string `json:"uid"`
}
EntitlementsAudit defines model for EntitlementsAudit.
type EntitlementsAuditListResponse ¶
type EntitlementsAuditListResponse struct {
Data *[]EntitlementsAudit `json:"data,omitempty"`
}
EntitlementsAuditListResponse defines model for EntitlementsAuditListResponse.
type EntitlementsChecksPerMinute ¶
type EntitlementsChecksPerMinute struct {
// Demand Sum over enabled, non-deleted, non-internal, non-passive checks of max(1, regions) x 60s / period. Passive types (heartbeat, email) are excluded: they return before the rate gate and consume no execution budget.
Demand float64 `json:"demand"`
// Limit Resolved MaxChecksPerMinute cap; null means unlimited.
Limit *int `json:"limit,omitempty"`
// SkippedToday Check executions deferred by the per-organization rate gate today (UTC), counted across both the in-process worker path and the agent dispatch path.
SkippedToday int `json:"skippedToday"`
}
EntitlementsChecksPerMinute The organization's scheduled check-execution rate against its MaxChecksPerMinute cap, plus how many executions the rate gate actually skipped today. Always present (it is not behind `?with=usage`), because it drives the over-limit banner on pages that do not need the full usage roll-up. Omitted only when it could not be computed.
type EntitlementsResponse ¶
type EntitlementsResponse struct {
// Applied Present on write responses only. False when the precedence rule discarded the write — a billing push onto an admin override is accepted with 200 (billing must not error-loop) but changes nothing.
Applied *bool `json:"applied,omitempty"`
// ChecksPerMinute The organization's scheduled check-execution rate against its MaxChecksPerMinute cap, plus how many executions the rate gate actually skipped today. Always present (it is not behind `?with=usage`), because it drives the over-limit banner on pages that do not need the full usage roll-up. Omitted only when it could not be computed.
ChecksPerMinute *EntitlementsChecksPerMinute `json:"checksPerMinute,omitempty"`
DisplayEmoji *string `json:"displayEmoji,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// Limits Per-org numeric limits; null/absent means unlimited
Limits EntitlementLimits `json:"limits"`
// Message Why the write was not applied, in words.
Message *string `json:"message,omitempty"`
// Source Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
Source EntitlementsResponseSource `json:"source"`
Stale bool `json:"stale"`
// SuppressedBy The entitlement source that won, when `applied` is false. Today always `admin`.
SuppressedBy *string `json:"suppressedBy,omitempty"`
UpgradeUrl *string `json:"upgradeUrl,omitempty"`
Usage *EntitlementsUsage `json:"usage,omitempty"`
}
EntitlementsResponse defines model for EntitlementsResponse.
type EntitlementsResponseSource ¶
type EntitlementsResponseSource string
EntitlementsResponseSource Where the entitlements came from. `default` / `self-hosted` (no stored row), `billing-service`, `org-admin` (org-scoped write by an org admin) or `admin` (superadmin override). An `admin` row resolves WHOLE-ROW — a null cap means unlimited rather than "inherit the deployment default" — and suppresses billing pushes until released.
const ( EntitlementsResponseSourceAdmin EntitlementsResponseSource = "admin" EntitlementsResponseSourceBillingService EntitlementsResponseSource = "billing-service" EntitlementsResponseSourceDefault EntitlementsResponseSource = "default" EntitlementsResponseSourceOrgAdmin EntitlementsResponseSource = "org-admin" EntitlementsResponseSourceSelfHosted EntitlementsResponseSource = "self-hosted" )
Defines values for EntitlementsResponseSource.
func (EntitlementsResponseSource) Valid ¶
func (e EntitlementsResponseSource) Valid() bool
Valid indicates whether the value is a known member of the EntitlementsResponseSource enum.
type EntitlementsUsage ¶
type EntitlementsUsage struct {
Checks int `json:"checks"`
ChecksPerMinute float64 `json:"checksPerMinute"`
SsoUsers int `json:"ssoUsers"`
// WhatsappThisMonth Outbound WhatsApp template messages sent in the current UTC month. A persistent counter, not a live count.
WhatsappThisMonth *int `json:"whatsappThisMonth,omitempty"`
}
EntitlementsUsage defines model for EntitlementsUsage.
type Error ¶
type Error struct {
// Code Machine-readable error code
Code ErrorCode `json:"code"`
// Detail Detailed error explanation
Detail *string `json:"detail,omitempty"`
// Fields Field-level validation errors (present for VALIDATION_ERROR)
Fields *[]ValidationErrorField `json:"fields,omitempty"`
// Title Human-readable error description
Title string `json:"title"`
}
Error defines model for Error.
type ErrorCode ¶
type ErrorCode string
ErrorCode Machine-readable error code
const ( ErrorCodeCHECKHASACTIVEINCIDENTS ErrorCode = "CHECK_HAS_ACTIVE_INCIDENTS" ErrorCodeCHECKNOTFOUND ErrorCode = "CHECK_NOT_FOUND" ErrorCodeCONFLICT ErrorCode = "CONFLICT" ErrorCodeFORBIDDEN ErrorCode = "FORBIDDEN" ErrorCodeINTERNALERROR ErrorCode = "INTERNAL_ERROR" ErrorCodeINVALIDCREDENTIALS ErrorCode = "INVALID_CREDENTIALS" ErrorCodeINVALIDORG ErrorCode = "INVALID_ORG" ErrorCodeINVALIDTOKEN ErrorCode = "INVALID_TOKEN" ErrorCodeNOTFOUND ErrorCode = "NOT_FOUND" ErrorCodeNOTOKEN ErrorCode = "NO_TOKEN" ErrorCodeORGANIZATIONNOTFOUND ErrorCode = "ORGANIZATION_NOT_FOUND" ErrorCodeTOKENNOTFOUND ErrorCode = "TOKEN_NOT_FOUND" ErrorCodeUNAUTHORIZED ErrorCode = "UNAUTHORIZED" ErrorCodeUSERNOTFOUND ErrorCode = "USER_NOT_FOUND" ErrorCodeVALIDATIONERROR ErrorCode = "VALIDATION_ERROR" )
Defines values for ErrorCode.
type EscalationPolicy ¶
type EscalationPolicy struct {
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description,omitempty"`
Name string `json:"name"`
RepeatAfterSeconds *int `json:"repeatAfterSeconds,omitempty"`
RepeatMax int `json:"repeatMax"`
// StepCount Number of steps in the policy. A value of 0 marks a "silent" policy (the null-object convention — pages nobody). Always present, including on the light list response where steps are omitted.
StepCount *int `json:"stepCount,omitempty"`
Steps *[]EscalationStep `json:"steps,omitempty"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt time.Time `json:"updatedAt"`
// UsageCheckCount Checks directly referencing this policy. Present only on the list response (drives the delete-guard confirmation).
UsageCheckCount *int `json:"usageCheckCount,omitempty"`
// UsageGroupCount Check groups directly referencing this policy. Present only on the list response.
UsageGroupCount *int `json:"usageGroupCount,omitempty"`
}
EscalationPolicy defines model for EscalationPolicy.
type EscalationPolicyListResponse ¶
type EscalationPolicyListResponse struct {
Data *[]EscalationPolicy `json:"data,omitempty"`
}
EscalationPolicyListResponse defines model for EscalationPolicyListResponse.
type EscalationPolicyUidPath ¶
type EscalationPolicyUidPath = openapi_types.UUID
EscalationPolicyUidPath defines model for EscalationPolicyUidPath.
type EscalationStep ¶
type EscalationStep struct {
DelaySeconds int `json:"delaySeconds"`
Position int `json:"position"`
Targets *[]EscalationTarget `json:"targets,omitempty"`
Uid openapi_types.UUID `json:"uid"`
}
EscalationStep defines model for EscalationStep.
type EscalationStepInput ¶
type EscalationStepInput struct {
DelaySeconds int `json:"delaySeconds"`
Targets *[]EscalationTargetInput `json:"targets,omitempty"`
}
EscalationStepInput defines model for EscalationStepInput.
type EscalationTarget ¶
type EscalationTarget struct {
Position int `json:"position"`
TargetUid *string `json:"targetUid,omitempty"`
// Type One of: user, schedule, connection, all_admins
Type string `json:"type"`
Uid openapi_types.UUID `json:"uid"`
}
EscalationTarget defines model for EscalationTarget.
type EscalationTargetInput ¶
type EscalationTargetInput struct {
TargetUid *string `json:"targetUid,omitempty"`
// Type One of: user, schedule, connection, all_admins
Type string `json:"type"`
}
EscalationTargetInput defines model for EscalationTargetInput.
type Event ¶
type Event struct {
// ActorEmail Acting user's email, resolved for the returned page.
ActorEmail *openapi_types.Email `json:"actorEmail,omitempty"`
// ActorName Acting user's display name, resolved for the returned page.
ActorName *string `json:"actorName,omitempty"`
ActorType *EventActorType `json:"actorType,omitempty"`
// ActorUid Acting user. This is the audit trail's `actor_user_uid` — filter on it with the `actorUserUid` query parameter.
ActorUid *openapi_types.UUID `json:"actorUid,omitempty"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// EventType Event type. Deliberately NOT an enum: the catalogue grows with the product (see wiki/api-specification/events-catalogue.md), and a client that hard-fails on an unknown value would break on every new family.
EventType *string `json:"eventType,omitempty"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
Payload *map[string]interface{} `json:"payload,omitempty"`
// SourceIp Client address the action came from. Returned to org admins and owners only, and absent entirely when `audit.capture_ip` is off.
SourceIp *string `json:"sourceIp,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
// UserAgent User-Agent of the originating request, truncated. Admin/owner only.
UserAgent *string `json:"userAgent,omitempty"`
}
Event defines model for Event.
type EventActorType ¶
type EventActorType string
EventActorType defines model for Event.ActorType.
const ( EventActorTypeApiToken EventActorType = "api_token" EventActorTypeService EventActorType = "service" EventActorTypeSystem EventActorType = "system" EventActorTypeUser EventActorType = "user" )
Defines values for EventActorType.
func (EventActorType) Valid ¶
func (e EventActorType) Valid() bool
Valid indicates whether the value is a known member of the EventActorType enum.
type EventListResponse ¶
type EventListResponse struct {
Data *[]Event `json:"data,omitempty"`
Pagination *CursorPagination `json:"pagination,omitempty"`
}
EventListResponse defines model for EventListResponse.
type ExportedDependency ¶
type ExportedDependency struct {
Description *string `json:"description,omitempty"`
Kind *ExportedDependencyKind `json:"kind,omitempty"`
// ParentSlug Slug of the parent check this check depends on
ParentSlug string `json:"parentSlug"`
}
ExportedDependency defines model for ExportedDependency.
type ExportedDependencyKind ¶
type ExportedDependencyKind string
ExportedDependencyKind defines model for ExportedDependency.Kind.
const ( ExportedDependencyKindHard ExportedDependencyKind = "hard" ExportedDependencyKindSoft ExportedDependencyKind = "soft" )
Defines values for ExportedDependencyKind.
func (ExportedDependencyKind) Valid ¶
func (e ExportedDependencyKind) Valid() bool
Valid indicates whether the value is a known member of the ExportedDependencyKind enum.
type FileListResponse ¶
type FileListResponse struct {
Data []FileResponse `json:"data"`
Total int64 `json:"total"`
}
FileListResponse defines model for FileListResponse.
type FileResponse ¶
type FileResponse struct {
CreatedAt time.Time `json:"createdAt"`
CreatedBy *string `json:"createdBy,omitempty"`
MimeType string `json:"mimeType"`
Name string `json:"name"`
OrganizationUid string `json:"organizationUid"`
Size int64 `json:"size"`
Uid openapi_types.UUID `json:"uid"`
}
FileResponse defines model for FileResponse.
type GenerateStatusPageKioskTokenResult ¶
type GenerateStatusPageKioskTokenResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
HasKioskToken bool `json:"hasKioskToken"`
// Token The plaintext kiosk token. Append it to the TV URL as the `kiosk` query parameter.
Token string `json:"token"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGenerateStatusPageKioskTokenResult ¶
func ParseGenerateStatusPageKioskTokenResult(rsp *http.Response) (*GenerateStatusPageKioskTokenResult, error)
ParseGenerateStatusPageKioskTokenResult parses an HTTP response from a GenerateStatusPageKioskTokenWithResponse call
func (GenerateStatusPageKioskTokenResult) ContentType ¶
func (r GenerateStatusPageKioskTokenResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GenerateStatusPageKioskTokenResult) GetBody ¶
func (r GenerateStatusPageKioskTokenResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GenerateStatusPageKioskTokenResult) GetJSON201 ¶
func (r GenerateStatusPageKioskTokenResult) GetJSON201() *struct { HasKioskToken bool `json:"hasKioskToken"` // Token The plaintext kiosk token. Append it to the TV URL as the `kiosk` query parameter. Token string `json:"token"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (GenerateStatusPageKioskTokenResult) GetJSON401 ¶
func (r GenerateStatusPageKioskTokenResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GenerateStatusPageKioskTokenResult) GetJSON404 ¶
func (r GenerateStatusPageKioskTokenResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GenerateStatusPageKioskTokenResult) Status ¶
func (r GenerateStatusPageKioskTokenResult) Status() string
Status returns HTTPResponse.Status
func (GenerateStatusPageKioskTokenResult) StatusCode ¶
func (r GenerateStatusPageKioskTokenResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivationFunnelResult ¶
type GetActivationFunnelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ActivationFunnelResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetActivationFunnelResult ¶
func ParseGetActivationFunnelResult(rsp *http.Response) (*GetActivationFunnelResult, error)
ParseGetActivationFunnelResult parses an HTTP response from a GetActivationFunnelWithResponse call
func (GetActivationFunnelResult) ContentType ¶
func (r GetActivationFunnelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetActivationFunnelResult) GetBody ¶
func (r GetActivationFunnelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetActivationFunnelResult) GetJSON200 ¶
func (r GetActivationFunnelResult) GetJSON200() *ActivationFunnelResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetActivationFunnelResult) GetJSON401 ¶
func (r GetActivationFunnelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetActivationFunnelResult) GetJSON403 ¶
func (r GetActivationFunnelResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetActivationFunnelResult) Status ¶
func (r GetActivationFunnelResult) Status() string
Status returns HTTPResponse.Status
func (GetActivationFunnelResult) StatusCode ¶
func (r GetActivationFunnelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminEntitlementsParams ¶
type GetAdminEntitlementsParams struct {
// Limit Maximum audit entries (1-200, default 50)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
GetAdminEntitlementsParams defines parameters for GetAdminEntitlements.
type GetAdminEntitlementsResult ¶
type GetAdminEntitlementsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminEntitlementsDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetAdminEntitlementsResult ¶
func ParseGetAdminEntitlementsResult(rsp *http.Response) (*GetAdminEntitlementsResult, error)
ParseGetAdminEntitlementsResult parses an HTTP response from a GetAdminEntitlementsWithResponse call
func (GetAdminEntitlementsResult) ContentType ¶
func (r GetAdminEntitlementsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdminEntitlementsResult) GetBody ¶
func (r GetAdminEntitlementsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdminEntitlementsResult) GetJSON200 ¶
func (r GetAdminEntitlementsResult) GetJSON200() *AdminEntitlementsDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAdminEntitlementsResult) GetJSON401 ¶
func (r GetAdminEntitlementsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetAdminEntitlementsResult) GetJSON403 ¶
func (r GetAdminEntitlementsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetAdminEntitlementsResult) GetJSON404 ¶
func (r GetAdminEntitlementsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetAdminEntitlementsResult) Status ¶
func (r GetAdminEntitlementsResult) Status() string
Status returns HTTPResponse.Status
func (GetAdminEntitlementsResult) StatusCode ¶
func (r GetAdminEntitlementsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminJobChainResult ¶
type GetAdminJobChainResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminJobListResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetAdminJobChainResult ¶
func ParseGetAdminJobChainResult(rsp *http.Response) (*GetAdminJobChainResult, error)
ParseGetAdminJobChainResult parses an HTTP response from a GetAdminJobChainWithResponse call
func (GetAdminJobChainResult) ContentType ¶
func (r GetAdminJobChainResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdminJobChainResult) GetBody ¶
func (r GetAdminJobChainResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdminJobChainResult) GetJSON200 ¶
func (r GetAdminJobChainResult) GetJSON200() *AdminJobListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAdminJobChainResult) GetJSON404 ¶
func (r GetAdminJobChainResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetAdminJobChainResult) Status ¶
func (r GetAdminJobChainResult) Status() string
Status returns HTTPResponse.Status
func (GetAdminJobChainResult) StatusCode ¶
func (r GetAdminJobChainResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdminJobResult ¶
type GetAdminJobResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminJobResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetAdminJobResult ¶
func ParseGetAdminJobResult(rsp *http.Response) (*GetAdminJobResult, error)
ParseGetAdminJobResult parses an HTTP response from a GetAdminJobWithResponse call
func (GetAdminJobResult) ContentType ¶
func (r GetAdminJobResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAdminJobResult) GetBody ¶
func (r GetAdminJobResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetAdminJobResult) GetJSON200 ¶
func (r GetAdminJobResult) GetJSON200() *AdminJobResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetAdminJobResult) GetJSON404 ¶
func (r GetAdminJobResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetAdminJobResult) Status ¶
func (r GetAdminJobResult) Status() string
Status returns HTTPResponse.Status
func (GetAdminJobResult) StatusCode ¶
func (r GetAdminJobResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBadgeParams ¶
type GetBadgeParams struct {
// Period Time period for uptime calculation
Period *string `form:"period,omitempty" json:"period,omitempty"`
// Label Custom label for the badge
Label *string `form:"label,omitempty" json:"label,omitempty"`
// Style Badge style
Style *GetBadgeParamsStyle `form:"style,omitempty" json:"style,omitempty"`
}
GetBadgeParams defines parameters for GetBadge.
type GetBadgeParamsFormat ¶
type GetBadgeParamsFormat string
GetBadgeParamsFormat defines parameters for GetBadge.
const ( GetBadgeParamsFormatResponseTime GetBadgeParamsFormat = "response-time" GetBadgeParamsFormatStatus GetBadgeParamsFormat = "status" GetBadgeParamsFormatUptime GetBadgeParamsFormat = "uptime" )
Defines values for GetBadgeParamsFormat.
func (GetBadgeParamsFormat) Valid ¶
func (e GetBadgeParamsFormat) Valid() bool
Valid indicates whether the value is a known member of the GetBadgeParamsFormat enum.
type GetBadgeParamsStyle ¶
type GetBadgeParamsStyle string
GetBadgeParamsStyle defines parameters for GetBadge.
const ( GetBadgeParamsStyleFlat GetBadgeParamsStyle = "flat" GetBadgeParamsStyleFlatSquare GetBadgeParamsStyle = "flat-square" GetBadgeParamsStylePlastic GetBadgeParamsStyle = "plastic" )
Defines values for GetBadgeParamsStyle.
func (GetBadgeParamsStyle) Valid ¶
func (e GetBadgeParamsStyle) Valid() bool
Valid indicates whether the value is a known member of the GetBadgeParamsStyle enum.
type GetBadgeResult ¶
type GetBadgeResult struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetBadgeResult ¶
func ParseGetBadgeResult(rsp *http.Response) (*GetBadgeResult, error)
ParseGetBadgeResult parses an HTTP response from a GetBadgeWithResponse call
func (GetBadgeResult) ContentType ¶
func (r GetBadgeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBadgeResult) GetBody ¶
func (r GetBadgeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBadgeResult) GetJSON404 ¶
func (r GetBadgeResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBadgeResult) Status ¶
func (r GetBadgeResult) Status() string
Status returns HTTPResponse.Status
func (GetBadgeResult) StatusCode ¶
func (r GetBadgeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChannelResult ¶
type GetChannelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Channel
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetChannelResult ¶
func ParseGetChannelResult(rsp *http.Response) (*GetChannelResult, error)
ParseGetChannelResult parses an HTTP response from a GetChannelWithResponse call
func (GetChannelResult) ContentType ¶
func (r GetChannelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetChannelResult) GetBody ¶
func (r GetChannelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetChannelResult) GetJSON200 ¶
func (r GetChannelResult) GetJSON200() *Channel
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetChannelResult) GetJSON401 ¶
func (r GetChannelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetChannelResult) GetJSON404 ¶
func (r GetChannelResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetChannelResult) Status ¶
func (r GetChannelResult) Status() string
Status returns HTTPResponse.Status
func (GetChannelResult) StatusCode ¶
func (r GetChannelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCheckAvailabilityBucketsParams ¶
type GetCheckAvailabilityBucketsParams struct {
// From Window start (inclusive), RFC3339.
From time.Time `form:"from" json:"from"`
// To Window end (exclusive), RFC3339. Must be after `from`.
To time.Time `form:"to" json:"to"`
// Bucket Cell width as a Go duration. Must be a whole positive multiple of one hour — below an hour a percentage is noise (a 5-minute slice of a 1-minute check quantizes to 0/20/40/…%). At most 200 cells per request. When omitted the server picks the smallest hour-multiple keeping the cell count at or below 60.
Bucket *string `form:"bucket,omitempty" json:"bucket,omitempty"`
// Region Scope the read to one probe region. Omitted sums up/total across every region rather than averaging their percentages.
Region *string `form:"region,omitempty" json:"region,omitempty"`
}
GetCheckAvailabilityBucketsParams defines parameters for GetCheckAvailabilityBuckets.
type GetCheckAvailabilityBucketsResult ¶
type GetCheckAvailabilityBucketsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckAvailabilityBucketsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetCheckAvailabilityBucketsResult ¶
func ParseGetCheckAvailabilityBucketsResult(rsp *http.Response) (*GetCheckAvailabilityBucketsResult, error)
ParseGetCheckAvailabilityBucketsResult parses an HTTP response from a GetCheckAvailabilityBucketsWithResponse call
func (GetCheckAvailabilityBucketsResult) ContentType ¶
func (r GetCheckAvailabilityBucketsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCheckAvailabilityBucketsResult) GetBody ¶
func (r GetCheckAvailabilityBucketsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCheckAvailabilityBucketsResult) GetJSON200 ¶
func (r GetCheckAvailabilityBucketsResult) GetJSON200() *CheckAvailabilityBucketsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCheckAvailabilityBucketsResult) GetJSON400 ¶
func (r GetCheckAvailabilityBucketsResult) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetCheckAvailabilityBucketsResult) GetJSON401 ¶
func (r GetCheckAvailabilityBucketsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCheckAvailabilityBucketsResult) GetJSON404 ¶
func (r GetCheckAvailabilityBucketsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCheckAvailabilityBucketsResult) Status ¶
func (r GetCheckAvailabilityBucketsResult) Status() string
Status returns HTTPResponse.Status
func (GetCheckAvailabilityBucketsResult) StatusCode ¶
func (r GetCheckAvailabilityBucketsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCheckAvailabilityParams ¶
type GetCheckAvailabilityParams struct {
// Periods Comma-separated period tokens. Each is a trailing duration (suffixes h/d/w/y, e.g. 24h, 7d, 30d, 90d, 365d, 1y) or a calendar token (today, mtd, ytd) resolved against tz. Unknown tokens are rejected (VALIDATION_ERROR); at most 12 periods, none exceeding the day-tier retention horizon (~12 months).
Periods string `form:"periods" json:"periods"`
// Tz IANA time zone used to resolve the calendar tokens (today/mtd/ytd). Trailing durations are tz-independent. Defaults to UTC.
Tz *string `form:"tz,omitempty" json:"tz,omitempty"`
}
GetCheckAvailabilityParams defines parameters for GetCheckAvailability.
type GetCheckAvailabilityResult ¶
type GetCheckAvailabilityResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckAvailabilityResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetCheckAvailabilityResult ¶
func ParseGetCheckAvailabilityResult(rsp *http.Response) (*GetCheckAvailabilityResult, error)
ParseGetCheckAvailabilityResult parses an HTTP response from a GetCheckAvailabilityWithResponse call
func (GetCheckAvailabilityResult) ContentType ¶
func (r GetCheckAvailabilityResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCheckAvailabilityResult) GetBody ¶
func (r GetCheckAvailabilityResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCheckAvailabilityResult) GetJSON200 ¶
func (r GetCheckAvailabilityResult) GetJSON200() *CheckAvailabilityResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCheckAvailabilityResult) GetJSON400 ¶
func (r GetCheckAvailabilityResult) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (GetCheckAvailabilityResult) GetJSON401 ¶
func (r GetCheckAvailabilityResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCheckAvailabilityResult) GetJSON404 ¶
func (r GetCheckAvailabilityResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCheckAvailabilityResult) Status ¶
func (r GetCheckAvailabilityResult) Status() string
Status returns HTTPResponse.Status
func (GetCheckAvailabilityResult) StatusCode ¶
func (r GetCheckAvailabilityResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCheckGroupResult ¶
type GetCheckGroupResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckGroup
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetCheckGroupResult ¶
func ParseGetCheckGroupResult(rsp *http.Response) (*GetCheckGroupResult, error)
ParseGetCheckGroupResult parses an HTTP response from a GetCheckGroupWithResponse call
func (GetCheckGroupResult) ContentType ¶
func (r GetCheckGroupResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCheckGroupResult) GetBody ¶
func (r GetCheckGroupResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCheckGroupResult) GetJSON200 ¶
func (r GetCheckGroupResult) GetJSON200() *CheckGroup
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCheckGroupResult) GetJSON401 ¶
func (r GetCheckGroupResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCheckGroupResult) GetJSON404 ¶
func (r GetCheckGroupResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCheckGroupResult) Status ¶
func (r GetCheckGroupResult) Status() string
Status returns HTTPResponse.Status
func (GetCheckGroupResult) StatusCode ¶
func (r GetCheckGroupResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCheckJobResult ¶
type GetCheckJobResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckJobResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetCheckJobResult ¶
func ParseGetCheckJobResult(rsp *http.Response) (*GetCheckJobResult, error)
ParseGetCheckJobResult parses an HTTP response from a GetCheckJobWithResponse call
func (GetCheckJobResult) ContentType ¶
func (r GetCheckJobResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCheckJobResult) GetBody ¶
func (r GetCheckJobResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCheckJobResult) GetJSON200 ¶
func (r GetCheckJobResult) GetJSON200() *CheckJobResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCheckJobResult) GetJSON404 ¶
func (r GetCheckJobResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCheckJobResult) Status ¶
func (r GetCheckJobResult) Status() string
Status returns HTTPResponse.Status
func (GetCheckJobResult) StatusCode ¶
func (r GetCheckJobResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCheckParams ¶
type GetCheckParams struct {
// With Comma-separated list of additional data to include: "last_result" (the check's newest raw result) and "last_status_change" (when the derived check status last changed — served from the check row itself, so it costs no extra query and is omitted for checks that have never transitioned).
With *string `form:"with,omitempty" json:"with,omitempty"`
}
GetCheckParams defines parameters for GetCheck.
type GetCheckResult ¶
type GetCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Check
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetCheckResult ¶
func ParseGetCheckResult(rsp *http.Response) (*GetCheckResult, error)
ParseGetCheckResult parses an HTTP response from a GetCheckWithResponse call
func (GetCheckResult) ContentType ¶
func (r GetCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCheckResult) GetBody ¶
func (r GetCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCheckResult) GetJSON200 ¶
func (r GetCheckResult) GetJSON200() *Check
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCheckResult) GetJSON404 ¶
func (r GetCheckResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCheckResult) Status ¶
func (r GetCheckResult) Status() string
Status returns HTTPResponse.Status
func (GetCheckResult) StatusCode ¶
func (r GetCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCheckStatsResult ¶
type GetCheckStatsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckStats
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *Error
}
func ParseGetCheckStatsResult ¶
func ParseGetCheckStatsResult(rsp *http.Response) (*GetCheckStatsResult, error)
ParseGetCheckStatsResult parses an HTTP response from a GetCheckStatsWithResponse call
func (GetCheckStatsResult) ContentType ¶
func (r GetCheckStatsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCheckStatsResult) GetBody ¶
func (r GetCheckStatsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCheckStatsResult) GetJSON200 ¶
func (r GetCheckStatsResult) GetJSON200() *CheckStats
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCheckStatsResult) GetJSON404 ¶
func (r GetCheckStatsResult) GetJSON404() *Error
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetCheckStatsResult) Status ¶
func (r GetCheckStatsResult) Status() string
Status returns HTTPResponse.Status
func (GetCheckStatsResult) StatusCode ¶
func (r GetCheckStatsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCostDistributionParams ¶
type GetCostDistributionParams struct {
// ThresholdMs Candidate fast/slow boundary in milliseconds (default 1000).
ThresholdMs *int `form:"thresholdMs,omitempty" json:"thresholdMs,omitempty"`
}
GetCostDistributionParams defines parameters for GetCostDistribution.
type GetCostDistributionResult ¶
type GetCostDistributionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CostDistributionResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetCostDistributionResult ¶
func ParseGetCostDistributionResult(rsp *http.Response) (*GetCostDistributionResult, error)
ParseGetCostDistributionResult parses an HTTP response from a GetCostDistributionWithResponse call
func (GetCostDistributionResult) ContentType ¶
func (r GetCostDistributionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCostDistributionResult) GetBody ¶
func (r GetCostDistributionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCostDistributionResult) GetJSON200 ¶
func (r GetCostDistributionResult) GetJSON200() *CostDistributionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCostDistributionResult) GetJSON401 ¶
func (r GetCostDistributionResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCostDistributionResult) GetJSON403 ¶
func (r GetCostDistributionResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetCostDistributionResult) Status ¶
func (r GetCostDistributionResult) Status() string
Status returns HTTPResponse.Status
func (GetCostDistributionResult) StatusCode ¶
func (r GetCostDistributionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCurrentUserResult ¶
type GetCurrentUserResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MeResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
}
func ParseGetCurrentUserResult ¶
func ParseGetCurrentUserResult(rsp *http.Response) (*GetCurrentUserResult, error)
ParseGetCurrentUserResult parses an HTTP response from a GetCurrentUserWithResponse call
func (GetCurrentUserResult) ContentType ¶
func (r GetCurrentUserResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCurrentUserResult) GetBody ¶
func (r GetCurrentUserResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCurrentUserResult) GetJSON200 ¶
func (r GetCurrentUserResult) GetJSON200() *MeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCurrentUserResult) GetJSON401 ¶
func (r GetCurrentUserResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetCurrentUserResult) Status ¶
func (r GetCurrentUserResult) Status() string
Status returns HTTPResponse.Status
func (GetCurrentUserResult) StatusCode ¶
func (r GetCurrentUserResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDeviceConsentParams ¶
type GetDeviceConsentParams struct {
// UserCode The short user code, in any spelling (case and dash insensitive)
UserCode string `form:"userCode" json:"userCode"`
}
GetDeviceConsentParams defines parameters for GetDeviceConsent.
type GetDeviceConsentResult ¶
type GetDeviceConsentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeviceConsentInfo
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetDeviceConsentResult ¶
func ParseGetDeviceConsentResult(rsp *http.Response) (*GetDeviceConsentResult, error)
ParseGetDeviceConsentResult parses an HTTP response from a GetDeviceConsentWithResponse call
func (GetDeviceConsentResult) ContentType ¶
func (r GetDeviceConsentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDeviceConsentResult) GetBody ¶
func (r GetDeviceConsentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDeviceConsentResult) GetJSON200 ¶
func (r GetDeviceConsentResult) GetJSON200() *DeviceConsentInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDeviceConsentResult) GetJSON404 ¶
func (r GetDeviceConsentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDeviceConsentResult) Status ¶
func (r GetDeviceConsentResult) Status() string
Status returns HTTPResponse.Status
func (GetDeviceConsentResult) StatusCode ¶
func (r GetDeviceConsentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDiscoveryScanResult ¶
type GetDiscoveryScanResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
// Data A discovery scan job. Its UID is the scan UID.
Data *DiscoveryScan `json:"data,omitempty"`
// Progress Uniform progress view for any scan. Non-chunked scans report totalChunks=1.
Progress *DiscoveryScanProgress `json:"progress,omitempty"`
}
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetDiscoveryScanResult ¶
func ParseGetDiscoveryScanResult(rsp *http.Response) (*GetDiscoveryScanResult, error)
ParseGetDiscoveryScanResult parses an HTTP response from a GetDiscoveryScanWithResponse call
func (GetDiscoveryScanResult) ContentType ¶
func (r GetDiscoveryScanResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDiscoveryScanResult) GetBody ¶
func (r GetDiscoveryScanResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDiscoveryScanResult) GetJSON200 ¶
func (r GetDiscoveryScanResult) GetJSON200() *struct { // Data A discovery scan job. Its UID is the scan UID. Data *DiscoveryScan `json:"data,omitempty"` // Progress Uniform progress view for any scan. Non-chunked scans report totalChunks=1. Progress *DiscoveryScanProgress `json:"progress,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDiscoveryScanResult) GetJSON404 ¶
func (r GetDiscoveryScanResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetDiscoveryScanResult) Status ¶
func (r GetDiscoveryScanResult) Status() string
Status returns HTTPResponse.Status
func (GetDiscoveryScanResult) StatusCode ¶
func (r GetDiscoveryScanResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEmailInboxConfigResult ¶
type GetEmailInboxConfigResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EmailInboxConfigResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetEmailInboxConfigResult ¶
func ParseGetEmailInboxConfigResult(rsp *http.Response) (*GetEmailInboxConfigResult, error)
ParseGetEmailInboxConfigResult parses an HTTP response from a GetEmailInboxConfigWithResponse call
func (GetEmailInboxConfigResult) ContentType ¶
func (r GetEmailInboxConfigResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEmailInboxConfigResult) GetBody ¶
func (r GetEmailInboxConfigResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEmailInboxConfigResult) GetJSON200 ¶
func (r GetEmailInboxConfigResult) GetJSON200() *EmailInboxConfigResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEmailInboxConfigResult) GetJSON401 ¶
func (r GetEmailInboxConfigResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEmailInboxConfigResult) GetJSON403 ¶
func (r GetEmailInboxConfigResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetEmailInboxConfigResult) Status ¶
func (r GetEmailInboxConfigResult) Status() string
Status returns HTTPResponse.Status
func (GetEmailInboxConfigResult) StatusCode ¶
func (r GetEmailInboxConfigResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEmailInboxStatusResult ¶
type GetEmailInboxStatusResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EmailInboxStatusResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetEmailInboxStatusResult ¶
func ParseGetEmailInboxStatusResult(rsp *http.Response) (*GetEmailInboxStatusResult, error)
ParseGetEmailInboxStatusResult parses an HTTP response from a GetEmailInboxStatusWithResponse call
func (GetEmailInboxStatusResult) ContentType ¶
func (r GetEmailInboxStatusResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEmailInboxStatusResult) GetBody ¶
func (r GetEmailInboxStatusResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEmailInboxStatusResult) GetJSON200 ¶
func (r GetEmailInboxStatusResult) GetJSON200() *EmailInboxStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEmailInboxStatusResult) GetJSON401 ¶
func (r GetEmailInboxStatusResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEmailInboxStatusResult) GetJSON403 ¶
func (r GetEmailInboxStatusResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetEmailInboxStatusResult) Status ¶
func (r GetEmailInboxStatusResult) Status() string
Status returns HTTPResponse.Status
func (GetEmailInboxStatusResult) StatusCode ¶
func (r GetEmailInboxStatusResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEmbedWidgetV1Result ¶
type GetEmbedWidgetV1Result struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetEmbedWidgetV1Result ¶
func ParseGetEmbedWidgetV1Result(rsp *http.Response) (*GetEmbedWidgetV1Result, error)
ParseGetEmbedWidgetV1Result parses an HTTP response from a GetEmbedWidgetV1WithResponse call
func (GetEmbedWidgetV1Result) ContentType ¶
func (r GetEmbedWidgetV1Result) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEmbedWidgetV1Result) GetBody ¶
func (r GetEmbedWidgetV1Result) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEmbedWidgetV1Result) GetJSON404 ¶
func (r GetEmbedWidgetV1Result) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEmbedWidgetV1Result) Status ¶
func (r GetEmbedWidgetV1Result) Status() string
Status returns HTTPResponse.Status
func (GetEmbedWidgetV1Result) StatusCode ¶
func (r GetEmbedWidgetV1Result) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEntitlementsParams ¶
type GetEntitlementsParams struct {
// With Comma-separated extras to include (currently "usage")
With *string `form:"with,omitempty" json:"with,omitempty"`
}
GetEntitlementsParams defines parameters for GetEntitlements.
type GetEntitlementsResult ¶
type GetEntitlementsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EntitlementsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetEntitlementsResult ¶
func ParseGetEntitlementsResult(rsp *http.Response) (*GetEntitlementsResult, error)
ParseGetEntitlementsResult parses an HTTP response from a GetEntitlementsWithResponse call
func (GetEntitlementsResult) ContentType ¶
func (r GetEntitlementsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEntitlementsResult) GetBody ¶
func (r GetEntitlementsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEntitlementsResult) GetJSON200 ¶
func (r GetEntitlementsResult) GetJSON200() *EntitlementsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEntitlementsResult) GetJSON401 ¶
func (r GetEntitlementsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEntitlementsResult) GetJSON403 ¶
func (r GetEntitlementsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetEntitlementsResult) GetJSON404 ¶
func (r GetEntitlementsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEntitlementsResult) Status ¶
func (r GetEntitlementsResult) Status() string
Status returns HTTPResponse.Status
func (GetEntitlementsResult) StatusCode ¶
func (r GetEntitlementsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEscalationPolicyResult ¶
type GetEscalationPolicyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EscalationPolicy
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetEscalationPolicyResult ¶
func ParseGetEscalationPolicyResult(rsp *http.Response) (*GetEscalationPolicyResult, error)
ParseGetEscalationPolicyResult parses an HTTP response from a GetEscalationPolicyWithResponse call
func (GetEscalationPolicyResult) ContentType ¶
func (r GetEscalationPolicyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetEscalationPolicyResult) GetBody ¶
func (r GetEscalationPolicyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetEscalationPolicyResult) GetJSON200 ¶
func (r GetEscalationPolicyResult) GetJSON200() *EscalationPolicy
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetEscalationPolicyResult) GetJSON401 ¶
func (r GetEscalationPolicyResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetEscalationPolicyResult) GetJSON404 ¶
func (r GetEscalationPolicyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetEscalationPolicyResult) Status ¶
func (r GetEscalationPolicyResult) Status() string
Status returns HTTPResponse.Status
func (GetEscalationPolicyResult) StatusCode ¶
func (r GetEscalationPolicyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFileResult ¶
type GetFileResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FileResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetFileResult ¶
func ParseGetFileResult(rsp *http.Response) (*GetFileResult, error)
ParseGetFileResult parses an HTTP response from a GetFileWithResponse call
func (GetFileResult) ContentType ¶
func (r GetFileResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFileResult) GetBody ¶
func (r GetFileResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetFileResult) GetJSON200 ¶
func (r GetFileResult) GetJSON200() *FileResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetFileResult) GetJSON401 ¶
func (r GetFileResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetFileResult) GetJSON403 ¶
func (r GetFileResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetFileResult) GetJSON404 ¶
func (r GetFileResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetFileResult) Status ¶
func (r GetFileResult) Status() string
Status returns HTTPResponse.Status
func (GetFileResult) StatusCode ¶
func (r GetFileResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthResult ¶
type GetHealthResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *HealthResponse
// JSON503 the response for an HTTP 503 `application/json` response
JSON503 *HealthResponse
}
func ParseGetHealthResult ¶
func ParseGetHealthResult(rsp *http.Response) (*GetHealthResult, error)
ParseGetHealthResult parses an HTTP response from a GetHealthWithResponse call
func (GetHealthResult) ContentType ¶
func (r GetHealthResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetHealthResult) GetBody ¶
func (r GetHealthResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetHealthResult) GetJSON200 ¶
func (r GetHealthResult) GetJSON200() *HealthResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetHealthResult) GetJSON503 ¶
func (r GetHealthResult) GetJSON503() *HealthResponse
GetJSON503 returns the response for an HTTP 503 `application/json` response
func (GetHealthResult) Status ¶
func (r GetHealthResult) Status() string
Status returns HTTPResponse.Status
func (GetHealthResult) StatusCode ¶
func (r GetHealthResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentNotificationResult ¶
type GetIncidentNotificationResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetIncidentNotificationResult ¶
func ParseGetIncidentNotificationResult(rsp *http.Response) (*GetIncidentNotificationResult, error)
ParseGetIncidentNotificationResult parses an HTTP response from a GetIncidentNotificationWithResponse call
func (GetIncidentNotificationResult) ContentType ¶
func (r GetIncidentNotificationResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIncidentNotificationResult) GetBody ¶
func (r GetIncidentNotificationResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIncidentNotificationResult) GetJSON200 ¶
func (r GetIncidentNotificationResult) GetJSON200() *NotificationDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIncidentNotificationResult) GetJSON401 ¶
func (r GetIncidentNotificationResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetIncidentNotificationResult) GetJSON404 ¶
func (r GetIncidentNotificationResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetIncidentNotificationResult) Status ¶
func (r GetIncidentNotificationResult) Status() string
Status returns HTTPResponse.Status
func (GetIncidentNotificationResult) StatusCode ¶
func (r GetIncidentNotificationResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIncidentParams ¶
type GetIncidentParams struct {
// With Comma-separated optional fields to include: "check", "members" (members also adds checkGroupSlug). Both are opt-in — the default response includes neither and costs no extra query for them.
With *string `form:"with,omitempty" json:"with,omitempty"`
}
GetIncidentParams defines parameters for GetIncident.
type GetIncidentResult ¶
type GetIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetIncidentResult ¶
func ParseGetIncidentResult(rsp *http.Response) (*GetIncidentResult, error)
ParseGetIncidentResult parses an HTTP response from a GetIncidentWithResponse call
func (GetIncidentResult) ContentType ¶
func (r GetIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetIncidentResult) GetBody ¶
func (r GetIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetIncidentResult) GetJSON200 ¶
func (r GetIncidentResult) GetJSON200() *IncidentDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetIncidentResult) GetJSON401 ¶
func (r GetIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetIncidentResult) GetJSON404 ¶
func (r GetIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetIncidentResult) Status ¶
func (r GetIncidentResult) Status() string
Status returns HTTPResponse.Status
func (GetIncidentResult) StatusCode ¶
func (r GetIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInviteResult ¶
type GetInviteResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InviteInfoResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetInviteResult ¶
func ParseGetInviteResult(rsp *http.Response) (*GetInviteResult, error)
ParseGetInviteResult parses an HTTP response from a GetInviteWithResponse call
func (GetInviteResult) ContentType ¶
func (r GetInviteResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetInviteResult) GetBody ¶
func (r GetInviteResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetInviteResult) GetJSON200 ¶
func (r GetInviteResult) GetJSON200() *InviteInfoResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetInviteResult) GetJSON404 ¶
func (r GetInviteResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetInviteResult) Status ¶
func (r GetInviteResult) Status() string
Status returns HTTPResponse.Status
func (GetInviteResult) StatusCode ¶
func (r GetInviteResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobResult ¶
type GetJobResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetJobResult ¶
func ParseGetJobResult(rsp *http.Response) (*GetJobResult, error)
ParseGetJobResult parses an HTTP response from a GetJobWithResponse call
func (GetJobResult) ContentType ¶
func (r GetJobResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetJobResult) GetBody ¶
func (r GetJobResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetJobResult) GetJSON200 ¶
func (r GetJobResult) GetJSON200() *JobResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetJobResult) GetJSON404 ¶
func (r GetJobResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetJobResult) Status ¶
func (r GetJobResult) Status() string
Status returns HTTPResponse.Status
func (GetJobResult) StatusCode ¶
func (r GetJobResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobStatsResult ¶
type GetJobStatsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsStatsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetJobStatsResult ¶
func ParseGetJobStatsResult(rsp *http.Response) (*GetJobStatsResult, error)
ParseGetJobStatsResult parses an HTTP response from a GetJobStatsWithResponse call
func (GetJobStatsResult) ContentType ¶
func (r GetJobStatsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetJobStatsResult) GetBody ¶
func (r GetJobStatsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetJobStatsResult) GetJSON200 ¶
func (r GetJobStatsResult) GetJSON200() *JobsStatsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetJobStatsResult) GetJSON401 ¶
func (r GetJobStatsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetJobStatsResult) GetJSON403 ¶
func (r GetJobStatsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetJobStatsResult) Status ¶
func (r GetJobStatsResult) Status() string
Status returns HTTPResponse.Status
func (GetJobStatsResult) StatusCode ¶
func (r GetJobStatsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLimitsResult ¶
type GetLimitsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LimitsResponse
}
func ParseGetLimitsResult ¶
func ParseGetLimitsResult(rsp *http.Response) (*GetLimitsResult, error)
ParseGetLimitsResult parses an HTTP response from a GetLimitsWithResponse call
func (GetLimitsResult) ContentType ¶
func (r GetLimitsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetLimitsResult) GetBody ¶
func (r GetLimitsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetLimitsResult) GetJSON200 ¶
func (r GetLimitsResult) GetJSON200() *LimitsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetLimitsResult) Status ¶
func (r GetLimitsResult) Status() string
Status returns HTTPResponse.Status
func (GetLimitsResult) StatusCode ¶
func (r GetLimitsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMaintenanceWindowResult ¶
type GetMaintenanceWindowResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MaintenanceWindow
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetMaintenanceWindowResult ¶
func ParseGetMaintenanceWindowResult(rsp *http.Response) (*GetMaintenanceWindowResult, error)
ParseGetMaintenanceWindowResult parses an HTTP response from a GetMaintenanceWindowWithResponse call
func (GetMaintenanceWindowResult) ContentType ¶
func (r GetMaintenanceWindowResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMaintenanceWindowResult) GetBody ¶
func (r GetMaintenanceWindowResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMaintenanceWindowResult) GetJSON200 ¶
func (r GetMaintenanceWindowResult) GetJSON200() *MaintenanceWindow
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMaintenanceWindowResult) GetJSON401 ¶
func (r GetMaintenanceWindowResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMaintenanceWindowResult) GetJSON404 ¶
func (r GetMaintenanceWindowResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMaintenanceWindowResult) Status ¶
func (r GetMaintenanceWindowResult) Status() string
Status returns HTTPResponse.Status
func (GetMaintenanceWindowResult) StatusCode ¶
func (r GetMaintenanceWindowResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemberResult ¶
type GetMemberResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Member
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetMemberResult ¶
func ParseGetMemberResult(rsp *http.Response) (*GetMemberResult, error)
ParseGetMemberResult parses an HTTP response from a GetMemberWithResponse call
func (GetMemberResult) ContentType ¶
func (r GetMemberResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemberResult) GetBody ¶
func (r GetMemberResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMemberResult) GetJSON200 ¶
func (r GetMemberResult) GetJSON200() *Member
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMemberResult) GetJSON404 ¶
func (r GetMemberResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetMemberResult) Status ¶
func (r GetMemberResult) Status() string
Status returns HTTPResponse.Status
func (GetMemberResult) StatusCode ¶
func (r GetMemberResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMemoryParams ¶
type GetMemoryParams struct {
// Gc Force a GC and return free pages to the OS before sampling, giving the *live floor* instead of the steady state. Reported back as `sample.mode = floor`; the two modes are different measurements and must not be compared with each other. Opt-in because the forced collection is a real pause.
Gc *GetMemoryParamsGc `form:"gc,omitempty" json:"gc,omitempty"`
}
GetMemoryParams defines parameters for GetMemory.
type GetMemoryParamsGc ¶
type GetMemoryParamsGc string
GetMemoryParamsGc defines parameters for GetMemory.
const ( GetMemoryParamsGcN1 GetMemoryParamsGc = "1" GetMemoryParamsGcTrue GetMemoryParamsGc = "true" GetMemoryParamsGcYes GetMemoryParamsGc = "yes" )
Defines values for GetMemoryParamsGc.
func (GetMemoryParamsGc) Valid ¶
func (e GetMemoryParamsGc) Valid() bool
Valid indicates whether the value is a known member of the GetMemoryParamsGc enum.
type GetMemoryResult ¶
type GetMemoryResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MemorySnapshotResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetMemoryResult ¶
func ParseGetMemoryResult(rsp *http.Response) (*GetMemoryResult, error)
ParseGetMemoryResult parses an HTTP response from a GetMemoryWithResponse call
func (GetMemoryResult) ContentType ¶
func (r GetMemoryResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMemoryResult) GetBody ¶
func (r GetMemoryResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetMemoryResult) GetJSON200 ¶
func (r GetMemoryResult) GetJSON200() *MemorySnapshotResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetMemoryResult) GetJSON401 ¶
func (r GetMemoryResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetMemoryResult) GetJSON403 ¶
func (r GetMemoryResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetMemoryResult) Status ¶
func (r GetMemoryResult) Status() string
Status returns HTTPResponse.Status
func (GetMemoryResult) StatusCode ¶
func (r GetMemoryResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNotificationResult ¶
type GetNotificationResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetNotificationResult ¶
func ParseGetNotificationResult(rsp *http.Response) (*GetNotificationResult, error)
ParseGetNotificationResult parses an HTTP response from a GetNotificationWithResponse call
func (GetNotificationResult) ContentType ¶
func (r GetNotificationResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNotificationResult) GetBody ¶
func (r GetNotificationResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNotificationResult) GetJSON200 ¶
func (r GetNotificationResult) GetJSON200() *NotificationDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNotificationResult) GetJSON401 ¶
func (r GetNotificationResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetNotificationResult) GetJSON404 ¶
func (r GetNotificationResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetNotificationResult) Status ¶
func (r GetNotificationResult) Status() string
Status returns HTTPResponse.Status
func (GetNotificationResult) StatusCode ¶
func (r GetNotificationResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOncallScheduleResult ¶
type GetOncallScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OncallSchedule
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetOncallScheduleResult ¶
func ParseGetOncallScheduleResult(rsp *http.Response) (*GetOncallScheduleResult, error)
ParseGetOncallScheduleResult parses an HTTP response from a GetOncallScheduleWithResponse call
func (GetOncallScheduleResult) ContentType ¶
func (r GetOncallScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOncallScheduleResult) GetBody ¶
func (r GetOncallScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOncallScheduleResult) GetJSON200 ¶
func (r GetOncallScheduleResult) GetJSON200() *OncallSchedule
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOncallScheduleResult) GetJSON401 ¶
func (r GetOncallScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetOncallScheduleResult) GetJSON404 ¶
func (r GetOncallScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetOncallScheduleResult) Status ¶
func (r GetOncallScheduleResult) Status() string
Status returns HTTPResponse.Status
func (GetOncallScheduleResult) StatusCode ¶
func (r GetOncallScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrgDependencyGraphResult ¶
type GetOrgDependencyGraphResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgDependencyGraphResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetOrgDependencyGraphResult ¶
func ParseGetOrgDependencyGraphResult(rsp *http.Response) (*GetOrgDependencyGraphResult, error)
ParseGetOrgDependencyGraphResult parses an HTTP response from a GetOrgDependencyGraphWithResponse call
func (GetOrgDependencyGraphResult) ContentType ¶
func (r GetOrgDependencyGraphResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrgDependencyGraphResult) GetBody ¶
func (r GetOrgDependencyGraphResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrgDependencyGraphResult) GetJSON200 ¶
func (r GetOrgDependencyGraphResult) GetJSON200() *OrgDependencyGraphResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrgDependencyGraphResult) GetJSON401 ¶
func (r GetOrgDependencyGraphResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetOrgDependencyGraphResult) GetJSON404 ¶
func (r GetOrgDependencyGraphResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetOrgDependencyGraphResult) Status ¶
func (r GetOrgDependencyGraphResult) Status() string
Status returns HTTPResponse.Status
func (GetOrgDependencyGraphResult) StatusCode ¶
func (r GetOrgDependencyGraphResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrgResultParams ¶
type GetOrgResultParams struct {
// Region Narrows the previousUid/nextUid neighbor scope only (comma-separated for multiple); the requested row is still resolved by uid regardless of region. Omitted, neighbors are chronological across all regions.
Region *string `form:"region,omitempty" json:"region,omitempty"`
}
GetOrgResultParams defines parameters for GetOrgResult.
type GetOrgResultResponse ¶
type GetOrgResultResponse struct {
// AvailabilityPct Availability percentage for aggregated periods, derived from successfulChecks / totalChecks × 100 (with=availabilityPct).
AvailabilityPct *float32 `json:"availabilityPct,omitempty"`
// CheckName Check name (with=checkName)
CheckName *string `json:"checkName,omitempty"`
// CheckSlug Check slug (with=checkSlug)
CheckSlug *string `json:"checkSlug,omitempty"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
// DurationAvgMs Average duration in milliseconds, from the stored aggregate (with=durationAvgMs). Populated on aggregated rollup rows (hour/day/month); absent on raw rows, which don't store it.
DurationAvgMs *float32 `json:"durationAvgMs,omitempty"`
// DurationMaxMs Maximum duration in milliseconds (with=durationMaxMs)
DurationMaxMs *float32 `json:"durationMaxMs,omitempty"`
// DurationMinMs Minimum duration in milliseconds (with=durationMinMs)
DurationMinMs *float32 `json:"durationMinMs,omitempty"`
// DurationMs Duration in milliseconds (with=durationMs)
DurationMs *float32 `json:"durationMs,omitempty"`
// DurationP95Ms 95th-percentile duration in milliseconds, from the stored aggregate (with=durationP95Ms). Populated on aggregated rollup rows (hour/day/month); absent on raw rows, which don't store it.
DurationP95Ms *float32 `json:"durationP95Ms,omitempty"`
// Fallback Present when the requested raw result UID had already been rolled up into an aggregation; describes the substitution.
Fallback *ResultFallbackInfo `json:"fallback,omitempty"`
// Metrics Performance metrics (with=metrics)
Metrics *map[string]interface{} `json:"metrics,omitempty"`
// NextUid Next-newer result in the same series. Omitted when this is the newest result in scope.
NextUid *openapi_types.UUID `json:"nextUid,omitempty"`
// Output Diagnostic output (with=output). Free-form and check-type specific. For passive checks (heartbeat, email), rows written by the scheduler rather than by an inbound signal carry `evaluation: true` plus `lastSignalAt` / `lastSignalResultUid`; see the "Two kinds of result rows" section of the Heartbeat documentation (/docs/features/check-types#heartbeat).
Output *map[string]interface{} `json:"output,omitempty"`
PeriodEnd *time.Time `json:"periodEnd,omitempty"`
PeriodStart *time.Time `json:"periodStart,omitempty"`
PeriodType *string `json:"periodType,omitempty"`
// PreviousUid Next-older result in the same check + periodType series (optionally narrowed by ?region=). Omitted when this is the oldest result in scope.
PreviousUid *openapi_types.UUID `json:"previousUid,omitempty"`
// Region Region identifier (with=region)
Region *string `json:"region,omitempty"`
// Status Result status, mirroring every value `statusIntToString` can return: `up` and `warning` both count as available, `degraded` only appears on aggregated rollup rows, `down` covers every genuine failure (the raw `timeout` and `error` statuses are both reported as `down` here), `created` and `running` are attempts that have not been finalized, and `unknown` covers a missing or unrecognised raw status. `abandoned` marks an attempt nothing was ever reported for (see LastResult.status): terminal, excluded from availability, and never rendered as a failure. It is filterable on its own via `?status=abandoned`, and is deliberately NOT part of `?status=down`.
Status *GetOrgResultResponseStatus `json:"status,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
GetOrgResultResponse Single-result detail response. Extends OrgResult with all optional `with` fields always populated, plus fallback and neighbor UIDs.
type GetOrgResultResponseStatus ¶
type GetOrgResultResponseStatus string
GetOrgResultResponseStatus Result status, mirroring every value `statusIntToString` can return: `up` and `warning` both count as available, `degraded` only appears on aggregated rollup rows, `down` covers every genuine failure (the raw `timeout` and `error` statuses are both reported as `down` here), `created` and `running` are attempts that have not been finalized, and `unknown` covers a missing or unrecognised raw status. `abandoned` marks an attempt nothing was ever reported for (see LastResult.status): terminal, excluded from availability, and never rendered as a failure. It is filterable on its own via `?status=abandoned`, and is deliberately NOT part of `?status=down`.
const ( GetOrgResultResponseStatusAbandoned GetOrgResultResponseStatus = "abandoned" GetOrgResultResponseStatusCreated GetOrgResultResponseStatus = "created" GetOrgResultResponseStatusDegraded GetOrgResultResponseStatus = "degraded" GetOrgResultResponseStatusDown GetOrgResultResponseStatus = "down" GetOrgResultResponseStatusRunning GetOrgResultResponseStatus = "running" GetOrgResultResponseStatusUnknown GetOrgResultResponseStatus = "unknown" GetOrgResultResponseStatusUp GetOrgResultResponseStatus = "up" GetOrgResultResponseStatusWarning GetOrgResultResponseStatus = "warning" )
Defines values for GetOrgResultResponseStatus.
func (GetOrgResultResponseStatus) Valid ¶
func (e GetOrgResultResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the GetOrgResultResponseStatus enum.
type GetOrgResultResult ¶
type GetOrgResultResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GetOrgResultResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetOrgResultResult ¶
func ParseGetOrgResultResult(rsp *http.Response) (*GetOrgResultResult, error)
ParseGetOrgResultResult parses an HTTP response from a GetOrgResultWithResponse call
func (GetOrgResultResult) ContentType ¶
func (r GetOrgResultResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrgResultResult) GetBody ¶
func (r GetOrgResultResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrgResultResult) GetJSON200 ¶
func (r GetOrgResultResult) GetJSON200() *GetOrgResultResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrgResultResult) GetJSON401 ¶
func (r GetOrgResultResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetOrgResultResult) GetJSON404 ¶
func (r GetOrgResultResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetOrgResultResult) Status ¶
func (r GetOrgResultResult) Status() string
Status returns HTTPResponse.Status
func (GetOrgResultResult) StatusCode ¶
func (r GetOrgResultResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrgSettingsResult ¶
type GetOrgSettingsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgSettingsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetOrgSettingsResult ¶
func ParseGetOrgSettingsResult(rsp *http.Response) (*GetOrgSettingsResult, error)
ParseGetOrgSettingsResult parses an HTTP response from a GetOrgSettingsWithResponse call
func (GetOrgSettingsResult) ContentType ¶
func (r GetOrgSettingsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrgSettingsResult) GetBody ¶
func (r GetOrgSettingsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetOrgSettingsResult) GetJSON200 ¶
func (r GetOrgSettingsResult) GetJSON200() *OrgSettingsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetOrgSettingsResult) GetJSON401 ¶
func (r GetOrgSettingsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetOrgSettingsResult) GetJSON403 ¶
func (r GetOrgSettingsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetOrgSettingsResult) GetJSON404 ¶
func (r GetOrgSettingsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetOrgSettingsResult) Status ¶
func (r GetOrgSettingsResult) Status() string
Status returns HTTPResponse.Status
func (GetOrgSettingsResult) StatusCode ¶
func (r GetOrgSettingsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicConfigResult ¶
type GetPublicConfigResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicConfigResponse
}
func ParseGetPublicConfigResult ¶
func ParseGetPublicConfigResult(rsp *http.Response) (*GetPublicConfigResult, error)
ParseGetPublicConfigResult parses an HTTP response from a GetPublicConfigWithResponse call
func (GetPublicConfigResult) ContentType ¶
func (r GetPublicConfigResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicConfigResult) GetBody ¶
func (r GetPublicConfigResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublicConfigResult) GetJSON200 ¶
func (r GetPublicConfigResult) GetJSON200() *PublicConfigResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetPublicConfigResult) Status ¶
func (r GetPublicConfigResult) Status() string
Status returns HTTPResponse.Status
func (GetPublicConfigResult) StatusCode ¶
func (r GetPublicConfigResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRegionHealthResult ¶
type GetRegionHealthResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RegionHealthReport
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetRegionHealthResult ¶
func ParseGetRegionHealthResult(rsp *http.Response) (*GetRegionHealthResult, error)
ParseGetRegionHealthResult parses an HTTP response from a GetRegionHealthWithResponse call
func (GetRegionHealthResult) ContentType ¶
func (r GetRegionHealthResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRegionHealthResult) GetBody ¶
func (r GetRegionHealthResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRegionHealthResult) GetJSON200 ¶
func (r GetRegionHealthResult) GetJSON200() *RegionHealthReport
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRegionHealthResult) GetJSON401 ¶
func (r GetRegionHealthResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetRegionHealthResult) GetJSON403 ¶
func (r GetRegionHealthResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetRegionHealthResult) Status ¶
func (r GetRegionHealthResult) Status() string
Status returns HTTPResponse.Status
func (GetRegionHealthResult) StatusCode ¶
func (r GetRegionHealthResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReportScheduleResult ¶
type GetReportScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReportSchedule
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetReportScheduleResult ¶
func ParseGetReportScheduleResult(rsp *http.Response) (*GetReportScheduleResult, error)
ParseGetReportScheduleResult parses an HTTP response from a GetReportScheduleWithResponse call
func (GetReportScheduleResult) ContentType ¶
func (r GetReportScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetReportScheduleResult) GetBody ¶
func (r GetReportScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetReportScheduleResult) GetJSON200 ¶
func (r GetReportScheduleResult) GetJSON200() *ReportSchedule
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetReportScheduleResult) GetJSON401 ¶
func (r GetReportScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetReportScheduleResult) GetJSON404 ¶
func (r GetReportScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetReportScheduleResult) Status ¶
func (r GetReportScheduleResult) Status() string
Status returns HTTPResponse.Status
func (GetReportScheduleResult) StatusCode ¶
func (r GetReportScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSchedulingLaneLoadResult ¶
type GetSchedulingLaneLoadResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LaneLoadResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetSchedulingLaneLoadResult ¶
func ParseGetSchedulingLaneLoadResult(rsp *http.Response) (*GetSchedulingLaneLoadResult, error)
ParseGetSchedulingLaneLoadResult parses an HTTP response from a GetSchedulingLaneLoadWithResponse call
func (GetSchedulingLaneLoadResult) ContentType ¶
func (r GetSchedulingLaneLoadResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSchedulingLaneLoadResult) GetBody ¶
func (r GetSchedulingLaneLoadResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSchedulingLaneLoadResult) GetJSON200 ¶
func (r GetSchedulingLaneLoadResult) GetJSON200() *LaneLoadResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSchedulingLaneLoadResult) GetJSON401 ¶
func (r GetSchedulingLaneLoadResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSchedulingLaneLoadResult) GetJSON403 ¶
func (r GetSchedulingLaneLoadResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSchedulingLaneLoadResult) Status ¶
func (r GetSchedulingLaneLoadResult) Status() string
Status returns HTTPResponse.Status
func (GetSchedulingLaneLoadResult) StatusCode ¶
func (r GetSchedulingLaneLoadResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSeverityResult ¶
type GetSeverityResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Severity
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSeverityResult ¶
func ParseGetSeverityResult(rsp *http.Response) (*GetSeverityResult, error)
ParseGetSeverityResult parses an HTTP response from a GetSeverityWithResponse call
func (GetSeverityResult) ContentType ¶
func (r GetSeverityResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSeverityResult) GetBody ¶
func (r GetSeverityResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSeverityResult) GetJSON200 ¶
func (r GetSeverityResult) GetJSON200() *Severity
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSeverityResult) GetJSON401 ¶
func (r GetSeverityResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSeverityResult) GetJSON404 ¶
func (r GetSeverityResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSeverityResult) Status ¶
func (r GetSeverityResult) Status() string
Status returns HTTPResponse.Status
func (GetSeverityResult) StatusCode ¶
func (r GetSeverityResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSloAlertPolicyResult ¶
type GetSloAlertPolicyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLOAlertPolicy
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSloAlertPolicyResult ¶
func ParseGetSloAlertPolicyResult(rsp *http.Response) (*GetSloAlertPolicyResult, error)
ParseGetSloAlertPolicyResult parses an HTTP response from a GetSloAlertPolicyWithResponse call
func (GetSloAlertPolicyResult) ContentType ¶
func (r GetSloAlertPolicyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSloAlertPolicyResult) GetBody ¶
func (r GetSloAlertPolicyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSloAlertPolicyResult) GetJSON200 ¶
func (r GetSloAlertPolicyResult) GetJSON200() *SLOAlertPolicy
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSloAlertPolicyResult) GetJSON401 ¶
func (r GetSloAlertPolicyResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSloAlertPolicyResult) GetJSON404 ¶
func (r GetSloAlertPolicyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSloAlertPolicyResult) Status ¶
func (r GetSloAlertPolicyResult) Status() string
Status returns HTTPResponse.Status
func (GetSloAlertPolicyResult) StatusCode ¶
func (r GetSloAlertPolicyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSloBurndownResult ¶
type GetSloBurndownResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLOBurndownResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSloBurndownResult ¶
func ParseGetSloBurndownResult(rsp *http.Response) (*GetSloBurndownResult, error)
ParseGetSloBurndownResult parses an HTTP response from a GetSloBurndownWithResponse call
func (GetSloBurndownResult) ContentType ¶
func (r GetSloBurndownResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSloBurndownResult) GetBody ¶
func (r GetSloBurndownResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSloBurndownResult) GetJSON200 ¶
func (r GetSloBurndownResult) GetJSON200() *SLOBurndownResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSloBurndownResult) GetJSON401 ¶
func (r GetSloBurndownResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSloBurndownResult) GetJSON404 ¶
func (r GetSloBurndownResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSloBurndownResult) Status ¶
func (r GetSloBurndownResult) Status() string
Status returns HTTPResponse.Status
func (GetSloBurndownResult) StatusCode ¶
func (r GetSloBurndownResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSloHistoryParams ¶
type GetSloHistoryParams struct {
// Months How many calendar months to return (default 12, max 60)
Months *int `form:"months,omitempty" json:"months,omitempty"`
}
GetSloHistoryParams defines parameters for GetSloHistory.
type GetSloHistoryResult ¶
type GetSloHistoryResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLOHistoryResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSloHistoryResult ¶
func ParseGetSloHistoryResult(rsp *http.Response) (*GetSloHistoryResult, error)
ParseGetSloHistoryResult parses an HTTP response from a GetSloHistoryWithResponse call
func (GetSloHistoryResult) ContentType ¶
func (r GetSloHistoryResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSloHistoryResult) GetBody ¶
func (r GetSloHistoryResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSloHistoryResult) GetJSON200 ¶
func (r GetSloHistoryResult) GetJSON200() *SLOHistoryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSloHistoryResult) GetJSON401 ¶
func (r GetSloHistoryResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSloHistoryResult) GetJSON404 ¶
func (r GetSloHistoryResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSloHistoryResult) Status ¶
func (r GetSloHistoryResult) Status() string
Status returns HTTPResponse.Status
func (GetSloHistoryResult) StatusCode ¶
func (r GetSloHistoryResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSloResult ¶
type GetSloResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLO
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSloResult ¶
func ParseGetSloResult(rsp *http.Response) (*GetSloResult, error)
ParseGetSloResult parses an HTTP response from a GetSloWithResponse call
func (GetSloResult) ContentType ¶
func (r GetSloResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSloResult) GetBody ¶
func (r GetSloResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSloResult) GetJSON200 ¶
func (r GetSloResult) GetJSON200() *SLO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSloResult) GetJSON401 ¶
func (r GetSloResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSloResult) GetJSON404 ¶
func (r GetSloResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSloResult) Status ¶
func (r GetSloResult) Status() string
Status returns HTTPResponse.Status
func (GetSloResult) StatusCode ¶
func (r GetSloResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSloStatusResult ¶
type GetSloStatusResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLOStatusResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSloStatusResult ¶
func ParseGetSloStatusResult(rsp *http.Response) (*GetSloStatusResult, error)
ParseGetSloStatusResult parses an HTTP response from a GetSloStatusWithResponse call
func (GetSloStatusResult) ContentType ¶
func (r GetSloStatusResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSloStatusResult) GetBody ¶
func (r GetSloStatusResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSloStatusResult) GetJSON200 ¶
func (r GetSloStatusResult) GetJSON200() *SLOStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSloStatusResult) GetJSON401 ¶
func (r GetSloStatusResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSloStatusResult) GetJSON404 ¶
func (r GetSloStatusResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSloStatusResult) Status ¶
func (r GetSloStatusResult) Status() string
Status returns HTTPResponse.Status
func (GetSloStatusResult) StatusCode ¶
func (r GetSloStatusResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageBadgeParams ¶
type GetStatusPageBadgeParams struct {
// Label Custom left-side label (default the page name)
Label *string `form:"label,omitempty" json:"label,omitempty"`
// Style Badge style
Style *GetStatusPageBadgeParamsStyle `form:"style,omitempty" json:"style,omitempty"`
// MinWidth Minimum badge width in pixels (0-800)
MinWidth *int `form:"minWidth,omitempty" json:"minWidth,omitempty"`
// Width Badge width in pixels (60-800)
Width *int `form:"width,omitempty" json:"width,omitempty"`
}
GetStatusPageBadgeParams defines parameters for GetStatusPageBadge.
type GetStatusPageBadgeParamsStyle ¶
type GetStatusPageBadgeParamsStyle string
GetStatusPageBadgeParamsStyle defines parameters for GetStatusPageBadge.
const ( GetStatusPageBadgeParamsStyleFlat GetStatusPageBadgeParamsStyle = "flat" GetStatusPageBadgeParamsStyleFlatSquare GetStatusPageBadgeParamsStyle = "flat-square" )
Defines values for GetStatusPageBadgeParamsStyle.
func (GetStatusPageBadgeParamsStyle) Valid ¶
func (e GetStatusPageBadgeParamsStyle) Valid() bool
Valid indicates whether the value is a known member of the GetStatusPageBadgeParamsStyle enum.
type GetStatusPageBadgeResult ¶
type GetStatusPageBadgeResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *StatusPageLocked
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetStatusPageBadgeResult ¶
func ParseGetStatusPageBadgeResult(rsp *http.Response) (*GetStatusPageBadgeResult, error)
ParseGetStatusPageBadgeResult parses an HTTP response from a GetStatusPageBadgeWithResponse call
func (GetStatusPageBadgeResult) ContentType ¶
func (r GetStatusPageBadgeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageBadgeResult) GetBody ¶
func (r GetStatusPageBadgeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStatusPageBadgeResult) GetJSON401 ¶
func (r GetStatusPageBadgeResult) GetJSON401() *StatusPageLocked
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetStatusPageBadgeResult) GetJSON404 ¶
func (r GetStatusPageBadgeResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetStatusPageBadgeResult) Status ¶
func (r GetStatusPageBadgeResult) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageBadgeResult) StatusCode ¶
func (r GetStatusPageBadgeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageIncidentResult ¶
type GetStatusPageIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentPublication
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetStatusPageIncidentResult ¶
func ParseGetStatusPageIncidentResult(rsp *http.Response) (*GetStatusPageIncidentResult, error)
ParseGetStatusPageIncidentResult parses an HTTP response from a GetStatusPageIncidentWithResponse call
func (GetStatusPageIncidentResult) ContentType ¶
func (r GetStatusPageIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageIncidentResult) GetBody ¶
func (r GetStatusPageIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStatusPageIncidentResult) GetJSON200 ¶
func (r GetStatusPageIncidentResult) GetJSON200() *IncidentPublication
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetStatusPageIncidentResult) GetJSON401 ¶
func (r GetStatusPageIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetStatusPageIncidentResult) GetJSON404 ¶
func (r GetStatusPageIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetStatusPageIncidentResult) Status ¶
func (r GetStatusPageIncidentResult) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageIncidentResult) StatusCode ¶
func (r GetStatusPageIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageParams ¶
type GetStatusPageParams struct {
// With Comma-separated related data to include (e.g. "sections")
With *string `form:"with,omitempty" json:"with,omitempty"`
}
GetStatusPageParams defines parameters for GetStatusPage.
type GetStatusPageResult ¶
type GetStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPage
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetStatusPageResult ¶
func ParseGetStatusPageResult(rsp *http.Response) (*GetStatusPageResult, error)
ParseGetStatusPageResult parses an HTTP response from a GetStatusPageWithResponse call
func (GetStatusPageResult) ContentType ¶
func (r GetStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageResult) GetBody ¶
func (r GetStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStatusPageResult) GetJSON200 ¶
func (r GetStatusPageResult) GetJSON200() *StatusPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetStatusPageResult) GetJSON401 ¶
func (r GetStatusPageResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetStatusPageResult) GetJSON404 ¶
func (r GetStatusPageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetStatusPageResult) Status ¶
func (r GetStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageResult) StatusCode ¶
func (r GetStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusPageSectionResult ¶
type GetStatusPageSectionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageSection
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetStatusPageSectionResult ¶
func ParseGetStatusPageSectionResult(rsp *http.Response) (*GetStatusPageSectionResult, error)
ParseGetStatusPageSectionResult parses an HTTP response from a GetStatusPageSectionWithResponse call
func (GetStatusPageSectionResult) ContentType ¶
func (r GetStatusPageSectionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusPageSectionResult) GetBody ¶
func (r GetStatusPageSectionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStatusPageSectionResult) GetJSON200 ¶
func (r GetStatusPageSectionResult) GetJSON200() *StatusPageSection
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetStatusPageSectionResult) GetJSON401 ¶
func (r GetStatusPageSectionResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetStatusPageSectionResult) GetJSON404 ¶
func (r GetStatusPageSectionResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetStatusPageSectionResult) Status ¶
func (r GetStatusPageSectionResult) Status() string
Status returns HTTPResponse.Status
func (GetStatusPageSectionResult) StatusCode ¶
func (r GetStatusPageSectionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStatusUpdateResult ¶
type GetStatusUpdateResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusUpdate
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetStatusUpdateResult ¶
func ParseGetStatusUpdateResult(rsp *http.Response) (*GetStatusUpdateResult, error)
ParseGetStatusUpdateResult parses an HTTP response from a GetStatusUpdateWithResponse call
func (GetStatusUpdateResult) ContentType ¶
func (r GetStatusUpdateResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStatusUpdateResult) GetBody ¶
func (r GetStatusUpdateResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStatusUpdateResult) GetJSON200 ¶
func (r GetStatusUpdateResult) GetJSON200() *StatusUpdate
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetStatusUpdateResult) GetJSON401 ¶
func (r GetStatusUpdateResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetStatusUpdateResult) GetJSON404 ¶
func (r GetStatusUpdateResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetStatusUpdateResult) Status ¶
func (r GetStatusUpdateResult) Status() string
Status returns HTTPResponse.Status
func (GetStatusUpdateResult) StatusCode ¶
func (r GetStatusUpdateResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSupportThreadResult ¶
type GetSupportThreadResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SupportThread
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSupportThreadResult ¶
func ParseGetSupportThreadResult(rsp *http.Response) (*GetSupportThreadResult, error)
ParseGetSupportThreadResult parses an HTTP response from a GetSupportThreadWithResponse call
func (GetSupportThreadResult) ContentType ¶
func (r GetSupportThreadResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSupportThreadResult) GetBody ¶
func (r GetSupportThreadResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSupportThreadResult) GetJSON200 ¶
func (r GetSupportThreadResult) GetJSON200() *SupportThread
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSupportThreadResult) GetJSON401 ¶
func (r GetSupportThreadResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSupportThreadResult) GetJSON403 ¶
func (r GetSupportThreadResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSupportThreadResult) GetJSON404 ¶
func (r GetSupportThreadResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSupportThreadResult) Status ¶
func (r GetSupportThreadResult) Status() string
Status returns HTTPResponse.Status
func (GetSupportThreadResult) StatusCode ¶
func (r GetSupportThreadResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSystemCheckJobResult ¶
type GetSystemCheckJobResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckJobResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSystemCheckJobResult ¶
func ParseGetSystemCheckJobResult(rsp *http.Response) (*GetSystemCheckJobResult, error)
ParseGetSystemCheckJobResult parses an HTTP response from a GetSystemCheckJobWithResponse call
func (GetSystemCheckJobResult) ContentType ¶
func (r GetSystemCheckJobResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSystemCheckJobResult) GetBody ¶
func (r GetSystemCheckJobResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSystemCheckJobResult) GetJSON200 ¶
func (r GetSystemCheckJobResult) GetJSON200() *CheckJobResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSystemCheckJobResult) GetJSON404 ¶
func (r GetSystemCheckJobResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSystemCheckJobResult) Status ¶
func (r GetSystemCheckJobResult) Status() string
Status returns HTTPResponse.Status
func (GetSystemCheckJobResult) StatusCode ¶
func (r GetSystemCheckJobResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSystemJobChainResult ¶
type GetSystemJobChainResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminJobListResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSystemJobChainResult ¶
func ParseGetSystemJobChainResult(rsp *http.Response) (*GetSystemJobChainResult, error)
ParseGetSystemJobChainResult parses an HTTP response from a GetSystemJobChainWithResponse call
func (GetSystemJobChainResult) ContentType ¶
func (r GetSystemJobChainResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSystemJobChainResult) GetBody ¶
func (r GetSystemJobChainResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSystemJobChainResult) GetJSON200 ¶
func (r GetSystemJobChainResult) GetJSON200() *AdminJobListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSystemJobChainResult) GetJSON404 ¶
func (r GetSystemJobChainResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSystemJobChainResult) Status ¶
func (r GetSystemJobChainResult) Status() string
Status returns HTTPResponse.Status
func (GetSystemJobChainResult) StatusCode ¶
func (r GetSystemJobChainResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSystemJobResult ¶
type GetSystemJobResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminJobResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSystemJobResult ¶
func ParseGetSystemJobResult(rsp *http.Response) (*GetSystemJobResult, error)
ParseGetSystemJobResult parses an HTTP response from a GetSystemJobWithResponse call
func (GetSystemJobResult) ContentType ¶
func (r GetSystemJobResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSystemJobResult) GetBody ¶
func (r GetSystemJobResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSystemJobResult) GetJSON200 ¶
func (r GetSystemJobResult) GetJSON200() *AdminJobResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSystemJobResult) GetJSON404 ¶
func (r GetSystemJobResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSystemJobResult) Status ¶
func (r GetSystemJobResult) Status() string
Status returns HTTPResponse.Status
func (GetSystemJobResult) StatusCode ¶
func (r GetSystemJobResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSystemJobStatsResult ¶
type GetSystemJobStatsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobsStatsResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseGetSystemJobStatsResult ¶
func ParseGetSystemJobStatsResult(rsp *http.Response) (*GetSystemJobStatsResult, error)
ParseGetSystemJobStatsResult parses an HTTP response from a GetSystemJobStatsWithResponse call
func (GetSystemJobStatsResult) ContentType ¶
func (r GetSystemJobStatsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSystemJobStatsResult) GetBody ¶
func (r GetSystemJobStatsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSystemJobStatsResult) GetJSON200 ¶
func (r GetSystemJobStatsResult) GetJSON200() *JobsStatsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSystemJobStatsResult) GetJSON401 ¶
func (r GetSystemJobStatsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSystemJobStatsResult) GetJSON403 ¶
func (r GetSystemJobStatsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSystemJobStatsResult) Status ¶
func (r GetSystemJobStatsResult) Status() string
Status returns HTTPResponse.Status
func (GetSystemJobStatsResult) StatusCode ¶
func (r GetSystemJobStatsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSystemParameterResult ¶
type GetSystemParameterResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SystemParameter
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseGetSystemParameterResult ¶
func ParseGetSystemParameterResult(rsp *http.Response) (*GetSystemParameterResult, error)
ParseGetSystemParameterResult parses an HTTP response from a GetSystemParameterWithResponse call
func (GetSystemParameterResult) ContentType ¶
func (r GetSystemParameterResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSystemParameterResult) GetBody ¶
func (r GetSystemParameterResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSystemParameterResult) GetJSON200 ¶
func (r GetSystemParameterResult) GetJSON200() *SystemParameter
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSystemParameterResult) GetJSON401 ¶
func (r GetSystemParameterResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (GetSystemParameterResult) GetJSON403 ¶
func (r GetSystemParameterResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (GetSystemParameterResult) GetJSON404 ¶
func (r GetSystemParameterResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetSystemParameterResult) Status ¶
func (r GetSystemParameterResult) Status() string
Status returns HTTPResponse.Status
func (GetSystemParameterResult) StatusCode ¶
func (r GetSystemParameterResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetVersionResult ¶
type GetVersionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VersionResponse
}
func ParseGetVersionResult ¶
func ParseGetVersionResult(rsp *http.Response) (*GetVersionResult, error)
ParseGetVersionResult parses an HTTP response from a GetVersionWithResponse call
func (GetVersionResult) ContentType ¶
func (r GetVersionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetVersionResult) GetBody ¶
func (r GetVersionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetVersionResult) GetJSON200 ¶
func (r GetVersionResult) GetJSON200() *VersionResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetVersionResult) Status ¶
func (r GetVersionResult) Status() string
Status returns HTTPResponse.Status
func (GetVersionResult) StatusCode ¶
func (r GetVersionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthResponse ¶
type HealthResponse struct {
// Fault Name of the structural database fault that made this node unhealthy (e.g. undefined_table). Present only with status "unhealthy", which is also served with HTTP 503; the node is shutting down because no retry can recover the condition.
Fault *string `json:"fault,omitempty"`
Node *struct {
Region *string `json:"region,omitempty"`
Role *string `json:"role,omitempty"`
} `json:"node,omitempty"`
Status *HealthResponseStatus `json:"status,omitempty"`
}
HealthResponse defines model for HealthResponse.
type HealthResponseStatus ¶
type HealthResponseStatus string
HealthResponseStatus defines model for HealthResponse.Status.
const ( HealthResponseStatusOk HealthResponseStatus = "ok" HealthResponseStatusUnhealthy HealthResponseStatus = "unhealthy" )
Defines values for HealthResponseStatus.
func (HealthResponseStatus) Valid ¶
func (e HealthResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthResponseStatus enum.
type HeartbeatOptions ¶
HeartbeatOptions carries the optional inputs for a heartbeat ping.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IdentityUserUidPath ¶
type IdentityUserUidPath = openapi_types.UUID
IdentityUserUidPath defines model for IdentityUserUidPath.
type IncidentAckRequest ¶
type IncidentAckRequest struct {
Note *string `json:"note,omitempty"`
}
IncidentAckRequest Optional note recorded with the acknowledge/resolve action.
type IncidentActor ¶
type IncidentActor struct {
// Name Human label to render — the SolidPing user's name or email, or the chat username / email address / phone number recorded on the event. Never empty; falls back to `Unknown` when nothing is recoverable.
Name string `json:"name"`
// UserUid SolidPing user the action is credited to. Absent for chat and phone actors with no platform account.
UserUid *openapi_types.UUID `json:"userUid,omitempty"`
// Via Channel the action came from. Absent for actions recorded before the channel was captured.
Via *IncidentActorVia `json:"via,omitempty"`
}
IncidentActor Display identity of whoever performed an incident action, for the surfaces that must name a human rather than a UUID.
type IncidentActorVia ¶
type IncidentActorVia string
IncidentActorVia Channel the action came from. Absent for actions recorded before the channel was captured.
const ( IncidentActorViaAuto IncidentActorVia = "auto" IncidentActorViaDiscord IncidentActorVia = "discord" IncidentActorViaEmail IncidentActorVia = "email" IncidentActorViaManual IncidentActorVia = "manual" IncidentActorViaPhone IncidentActorVia = "phone" IncidentActorViaSlack IncidentActorVia = "slack" IncidentActorViaTelegram IncidentActorVia = "telegram" IncidentActorViaWeb IncidentActorVia = "web" )
Defines values for IncidentActorVia.
func (IncidentActorVia) Valid ¶
func (e IncidentActorVia) Valid() bool
Valid indicates whether the value is a known member of the IncidentActorVia enum.
type IncidentAttachment ¶
type IncidentAttachment struct {
// CapturedAt When the probe took the capture. For a screenshot this is a moment AFTER failure detection, not the failing frame itself; for a traceroute it is when the sweep STARTED, which is always after the failing result was already reported.
CapturedAt *time.Time `json:"capturedAt,omitempty"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
CreatedAt time.Time `json:"createdAt"`
// DownloadUrl RELATIVE, short-lived signed URL (`/pub/files/<uid>?exp=…&sig=…`). Relative so it resolves against whichever host served the dashboard — SolidPing answers on several. Re-signed on every fetch of the incident; do not cache it.
DownloadUrl string `json:"downloadUrl"`
// Kind Attachment kind. `screenshot` is a PNG of what a failing browser check's page looked like; `traceroute` is a JSON MTR-style path capture (`nettrace.Capture`: mode, hops with address/PTR/loss and min/avg/max RTT) taken after a network-reachability failure opened the incident. Fetch and parse the JSON from `downloadUrl` — it is never inlined into this payload.
Kind IncidentAttachmentKind `json:"kind"`
// MimeType Content type as SNIFFED at write time from the bytes themselves, not as declared by the uploader.
MimeType string `json:"mimeType"`
Name string `json:"name"`
// Region Probing region, stamped server-side from the persisted result row.
Region *string `json:"region,omitempty"`
Size int64 `json:"size"`
// Trigger What caused the capture to be kept.
Trigger *IncidentAttachmentTrigger `json:"trigger,omitempty"`
// Uid The `files` row uid.
Uid openapi_types.UUID `json:"uid"`
}
IncidentAttachment One stored evidence blob hanging off an incident. The bytes are fetched through `downloadUrl`, never inlined.
type IncidentAttachmentKind ¶
type IncidentAttachmentKind string
IncidentAttachmentKind Attachment kind. `screenshot` is a PNG of what a failing browser check's page looked like; `traceroute` is a JSON MTR-style path capture (`nettrace.Capture`: mode, hops with address/PTR/loss and min/avg/max RTT) taken after a network-reachability failure opened the incident. Fetch and parse the JSON from `downloadUrl` — it is never inlined into this payload.
const ( IncidentAttachmentKindScreenshot IncidentAttachmentKind = "screenshot" IncidentAttachmentKindTraceroute IncidentAttachmentKind = "traceroute" )
Defines values for IncidentAttachmentKind.
func (IncidentAttachmentKind) Valid ¶
func (e IncidentAttachmentKind) Valid() bool
Valid indicates whether the value is a known member of the IncidentAttachmentKind enum.
type IncidentAttachmentTrigger ¶
type IncidentAttachmentTrigger string
IncidentAttachmentTrigger What caused the capture to be kept.
const ( IncidentAttachmentTriggerAgentUpload IncidentAttachmentTrigger = "agent-upload" IncidentAttachmentTriggerIncidentOpen IncidentAttachmentTrigger = "incident-open" IncidentAttachmentTriggerIncidentReopen IncidentAttachmentTrigger = "incident-reopen" )
Defines values for IncidentAttachmentTrigger.
func (IncidentAttachmentTrigger) Valid ¶
func (e IncidentAttachmentTrigger) Valid() bool
Valid indicates whether the value is a known member of the IncidentAttachmentTrigger enum.
type IncidentCheck ¶
type IncidentCheck struct {
Config *map[string]interface{} `json:"config,omitempty"`
Slug *string `json:"slug,omitempty"`
Type *string `json:"type,omitempty"`
}
IncidentCheck Embedded check details for incidents
type IncidentCommentRequest ¶
type IncidentCommentRequest struct {
// Text Comment body, plain text, non-empty after trimming.
Text string `json:"text"`
}
IncidentCommentRequest A free-text comment to append to the incident timeline.
type IncidentDetail ¶
type IncidentDetail struct {
AcknowledgedAt *time.Time `json:"acknowledgedAt,omitempty"`
// AcknowledgedBy UID of the SolidPing user credited with the acknowledgment.
//
// **Present only when the acker maps to a platform account** — the dashboard, a magic link whose recipient address matches a user, or a linked Telegram chat. A Slack, Discord or phone acknowledgment leaves this null, because those people have no `users` row. Read `acknowledgedByActor` to render an attribution; this field alone says "nobody" for the majority of real acknowledgments.
AcknowledgedBy *openapi_types.UUID `json:"acknowledgedBy,omitempty"`
// AcknowledgedByActor Resolved, display-ready identity of the acker: a name to render and the channel it came from. Derived from the `users` row when `acknowledgedBy` is set, and from the `incident.acknowledged` event payload otherwise.
//
// **Returned by the DETAIL endpoint and by `POST .../ack` only.** The list endpoint omits it — resolving it costs a user lookup and an event lookup per incident, which a 100-row page cannot afford.
AcknowledgedByActor *IncidentActor `json:"acknowledgedByActor,omitempty"`
// Attachments Evidence blobs attached to this incident (spec 2026-08-21-01). Present on the DETAIL endpoint only — the list endpoint never populates it. Today the only kind is `screenshot`: the PNG a browser check captured when the incident opened or reopened, for checks with the browser `screenshot` option enabled.
//
// **Operator-only, exactly like `details`.** Each entry carries a short-lived SIGNED download URL, so it is never serialized onto a status page or a subscriber payload.
Attachments *[]IncidentAttachment `json:"attachments,omitempty"`
// Check Embedded check details for incidents
Check *IncidentCheck `json:"check,omitempty"`
CheckName *string `json:"checkName,omitempty"`
CheckSlug *string `json:"checkSlug,omitempty"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
Description *string `json:"description,omitempty"`
// Details Snapshot of the failing result captured at incident open/reopen: `failure_reason` (string), `first_result` (object — resultUid/status/region/duration/periodStart/output), and, after a relapse, `last_failure` (same shape as `first_result`).
//
// `failureResponse` (object) is present only for HTTP checks with `capture_failure_response` enabled that failed AFTER receiving a response: what the probe saw at the incident's current onset — `url`, `statusLine`, `statusCode`, `headers` (sensitive values replaced with `[redacted]`; request headers are never captured), `body` (16 KiB cap, with `truncated` and the original `contentLength`), `contentType`, `bodyBytes`, `bodySha256`, `binary` (true when only metadata was kept), `capturedAt`, `remoteAddr` and `region`. It is overwritten on reopen, and dropped when the new onset has no capture. **This block is operator-only — it is never serialized onto a status page or a subscriber payload.**
Details *map[string]interface{} `json:"details,omitempty"`
EscalatedAt *time.Time `json:"escalatedAt,omitempty"`
FailureCount *int `json:"failureCount,omitempty"`
// FlapLevel The check's flap count at the moment this incident opened or last reopened — a snapshot, not a live value. 0 (omitted) means it opened at the base level, not escalated by the adaptive-recovery flapping layer.
FlapLevel *int `json:"flapLevel,omitempty"`
// Number Short per-organization incident reference, rendered as `#42` in the dashboard, Slack and Telegram. Assigned at creation, never reused.
Number *int64 `json:"number,omitempty"`
ResolvedAt *time.Time `json:"resolvedAt,omitempty"`
StartedAt *time.Time `json:"startedAt,omitempty"`
State *IncidentDetailState `json:"state,omitempty"`
Title *string `json:"title,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
IncidentDetail defines model for IncidentDetail.
type IncidentDetailState ¶
type IncidentDetailState string
IncidentDetailState defines model for IncidentDetail.State.
const ( IncidentDetailStateActive IncidentDetailState = "active" IncidentDetailStateResolved IncidentDetailState = "resolved" )
Defines values for IncidentDetailState.
func (IncidentDetailState) Valid ¶
func (e IncidentDetailState) Valid() bool
Valid indicates whether the value is a known member of the IncidentDetailState enum.
type IncidentListResponse ¶
type IncidentListResponse struct {
Data *[]IncidentDetail `json:"data,omitempty"`
Pagination *CursorPagination `json:"pagination,omitempty"`
}
IncidentListResponse defines model for IncidentListResponse.
type IncidentPublication ¶
type IncidentPublication struct {
AffectedResources *[]string `json:"affectedResources,omitempty"`
// AutoCreated True when the auto-publish pipeline minted it. It gates group CONSOLIDATION only — the automation never appends "also affecting X" notes to a narrative a person wrote. Candidacy for auto-resolve and relapse reopen is decided by `incidentUid` instead: a publication linked to an incident follows the page's `autoResolve` policy whether a machine or a person created it, and one that tracks no incident is never touched by either.
AutoCreated bool `json:"autoCreated"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// HumanTouched True once a person edited the publication or posted an update on it. This flag is the whole basis of the `if_untouched` auto-resolve policy. Publishing an incident onto a page does not set it.
HumanTouched bool `json:"humanTouched"`
// IncidentUid The internal incident this publication tracks. Absent for a hand-authored publication, which tracks nothing.
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
PublishedAt time.Time `json:"publishedAt"`
ResolvedAt *time.Time `json:"resolvedAt,omitempty"`
Severity *IncidentPublicationSeverity `json:"severity,omitempty"`
// Stale True when the publication is still open on the public page while the internal incident it tracks has already resolved. Always false for a resolved publication and for a hand-authored one that tracks no incident.
Stale *bool `json:"stale,omitempty"`
State IncidentPublicationState `json:"state"`
StatusPageUid openapi_types.UUID `json:"statusPageUid"`
Title string `json:"title"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
Updates *[]PublicationUpdate `json:"updates,omitempty"`
}
IncidentPublication The operator-facing view of a publication.
type IncidentPublicationListResponse ¶
type IncidentPublicationListResponse struct {
Data []IncidentPublication `json:"data"`
}
IncidentPublicationListResponse defines model for IncidentPublicationListResponse.
type IncidentPublicationSeverity ¶
type IncidentPublicationSeverity string
IncidentPublicationSeverity defines model for IncidentPublication.Severity.
const ( IncidentPublicationSeverityCritical IncidentPublicationSeverity = "critical" IncidentPublicationSeverityMajor IncidentPublicationSeverity = "major" IncidentPublicationSeverityMinor IncidentPublicationSeverity = "minor" )
Defines values for IncidentPublicationSeverity.
func (IncidentPublicationSeverity) Valid ¶
func (e IncidentPublicationSeverity) Valid() bool
Valid indicates whether the value is a known member of the IncidentPublicationSeverity enum.
type IncidentPublicationState ¶
type IncidentPublicationState string
IncidentPublicationState defines model for IncidentPublication.State.
const ( IncidentPublicationStateIdentified IncidentPublicationState = "identified" IncidentPublicationStateInvestigating IncidentPublicationState = "investigating" IncidentPublicationStateMonitoring IncidentPublicationState = "monitoring" IncidentPublicationStateResolved IncidentPublicationState = "resolved" )
Defines values for IncidentPublicationState.
func (IncidentPublicationState) Valid ¶
func (e IncidentPublicationState) Valid() bool
Valid indicates whether the value is a known member of the IncidentPublicationState enum.
type IncidentSnoozeRequest ¶
type IncidentSnoozeRequest struct {
// Duration Go duration string, e.g. "1h", "30m"
Duration *string `json:"duration,omitempty"`
Reason *string `json:"reason,omitempty"`
Until *time.Time `json:"until,omitempty"`
}
IncidentSnoozeRequest Snooze target. Provide either an absolute `until` timestamp or a relative `duration` (e.g. "1h", "30m").
type IncidentUidNamedPath ¶
type IncidentUidNamedPath = openapi_types.UUID
IncidentUidNamedPath defines model for IncidentUidNamedPath.
type IncidentUidPath ¶
type IncidentUidPath = openapi_types.UUID
IncidentUidPath defines model for IncidentUidPath.
type IntegrationIdentity ¶
type IntegrationIdentity struct {
DisplayName *string `json:"displayName,omitempty"`
Email string `json:"email"`
// ExternalId Provider-side identifier (Slack user id) rendered as <@id>
ExternalId *string `json:"externalId,omitempty"`
Name *string `json:"name,omitempty"`
// Source auto = email auto-match; manual = an admin picked it. A re-sync never overwrites manual.
Source *IntegrationIdentitySource `json:"source,omitempty"`
// Status matched = the member has an identity on this integration; notFound = their email resolved to nobody in the workspace; ambiguous = the match collided with another member and was deliberately not written.
Status IntegrationIdentityStatus `json:"status"`
UserUid openapi_types.UUID `json:"userUid"`
}
IntegrationIdentity defines model for IntegrationIdentity.
type IntegrationIdentityListResponse ¶
type IntegrationIdentityListResponse struct {
Data []IntegrationIdentity `json:"data"`
}
IntegrationIdentityListResponse defines model for IntegrationIdentityListResponse.
type IntegrationIdentitySource ¶
type IntegrationIdentitySource string
IntegrationIdentitySource auto = email auto-match; manual = an admin picked it. A re-sync never overwrites manual.
const ( IntegrationIdentitySourceAuto IntegrationIdentitySource = "auto" IntegrationIdentitySourceManual IntegrationIdentitySource = "manual" )
Defines values for IntegrationIdentitySource.
func (IntegrationIdentitySource) Valid ¶
func (e IntegrationIdentitySource) Valid() bool
Valid indicates whether the value is a known member of the IntegrationIdentitySource enum.
type IntegrationIdentityStatus ¶
type IntegrationIdentityStatus string
IntegrationIdentityStatus matched = the member has an identity on this integration; notFound = their email resolved to nobody in the workspace; ambiguous = the match collided with another member and was deliberately not written.
const ( IntegrationIdentityStatusAmbiguous IntegrationIdentityStatus = "ambiguous" IntegrationIdentityStatusMatched IntegrationIdentityStatus = "matched" IntegrationIdentityStatusNotFound IntegrationIdentityStatus = "notFound" )
Defines values for IntegrationIdentityStatus.
func (IntegrationIdentityStatus) Valid ¶
func (e IntegrationIdentityStatus) Valid() bool
Valid indicates whether the value is a known member of the IntegrationIdentityStatus enum.
type IntegrationIdentitySyncResponse ¶
type IntegrationIdentitySyncResponse struct {
AmbiguousCount int `json:"ambiguousCount"`
Data []IntegrationIdentity `json:"data"`
MatchedCount int `json:"matchedCount"`
NotFoundCount int `json:"notFoundCount"`
}
IntegrationIdentitySyncResponse defines model for IntegrationIdentitySyncResponse.
type InvitationUidPath ¶
type InvitationUidPath = openapi_types.UUID
InvitationUidPath defines model for InvitationUidPath.
type InviteInfoResponse ¶
type InviteInfoResponse struct {
// Email Masked email address the invitation was sent to
Email *string `json:"email,omitempty"`
OrgName *string `json:"orgName,omitempty"`
OrgSlug *string `json:"orgSlug,omitempty"`
Role *InviteInfoResponseRole `json:"role,omitempty"`
}
InviteInfoResponse defines model for InviteInfoResponse.
type InviteInfoResponseRole ¶
type InviteInfoResponseRole string
InviteInfoResponseRole defines model for InviteInfoResponse.Role.
const ( InviteInfoResponseRoleAdmin InviteInfoResponseRole = "admin" InviteInfoResponseRoleUser InviteInfoResponseRole = "user" InviteInfoResponseRoleViewer InviteInfoResponseRole = "viewer" )
Defines values for InviteInfoResponseRole.
func (InviteInfoResponseRole) Valid ¶
func (e InviteInfoResponseRole) Valid() bool
Valid indicates whether the value is a known member of the InviteInfoResponseRole enum.
type InviteListItem ¶
type InviteListItem struct {
CreatedAt time.Time `json:"createdAt"`
Email openapi_types.Email `json:"email"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Role string `json:"role"`
Uid openapi_types.UUID `json:"uid"`
}
InviteListItem defines model for InviteListItem.
type InviteListResponse ¶
type InviteListResponse struct {
Data *[]InviteListItem `json:"data,omitempty"`
}
InviteListResponse defines model for InviteListResponse.
type InviteResponse ¶
type InviteResponse struct {
Email openapi_types.Email `json:"email"`
// EmailSent Whether the invitation email was queued for delivery — NOT confirmation it reached an inbox, since delivery is async. False when email sending is disabled on this instance, or when enqueueing the job failed; the invite link (inviteUrl) is then the only channel.
EmailSent bool `json:"emailSent"`
ExpiresAt time.Time `json:"expiresAt"`
InviteUrl string `json:"inviteUrl"`
Role string `json:"role"`
Token string `json:"token"`
Uid openapi_types.UUID `json:"uid"`
}
InviteResponse defines model for InviteResponse.
type Job ¶
type Job struct {
CompletedAt *time.Time `json:"completedAt,omitempty"`
Config *map[string]interface{} `json:"config,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
OrganizationUid *openapi_types.UUID `json:"organizationUid,omitempty"`
Result *map[string]interface{} `json:"result,omitempty"`
StartedAt *time.Time `json:"startedAt,omitempty"`
Status *JobStatus `json:"status,omitempty"`
Type *string `json:"type,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
Job defines model for Job.
type JobListResponse ¶
type JobListResponse struct {
Data *[]Job `json:"data,omitempty"`
}
JobListResponse defines model for JobListResponse.
type JobQueueStats ¶
type JobQueueStats struct {
Failed24h *int `json:"failed24h,omitempty"`
Pending *int `json:"pending,omitempty"`
Running *int `json:"running,omitempty"`
}
JobQueueStats Background-jobs queue counts.
type JobResponse ¶
type JobResponse struct {
Data *Job `json:"data,omitempty"`
}
JobResponse defines model for JobResponse.
type JobStatus ¶
type JobStatus string
JobStatus defines model for Job.Status.
type JobsStats ¶
type JobsStats struct {
// Checks Check-schedule counts derived from lease state.
Checks *CheckScheduleStats `json:"checks,omitempty"`
// Jobs Background-jobs queue counts.
Jobs *JobQueueStats `json:"jobs,omitempty"`
}
JobsStats defines model for JobsStats.
type JobsStatsResponse ¶
type JobsStatsResponse struct {
Data *JobsStats `json:"data,omitempty"`
}
JobsStatsResponse defines model for JobsStatsResponse.
type KioskTokenQuery ¶
type KioskTokenQuery = string
KioskTokenQuery defines model for KioskTokenQuery.
type LabelSuggestion ¶
LabelSuggestion defines model for LabelSuggestion.
type LabelSuggestionListResponse ¶
type LabelSuggestionListResponse struct {
Data *[]LabelSuggestion `json:"data,omitempty"`
}
LabelSuggestionListResponse defines model for LabelSuggestionListResponse.
type LaneLoadResponse ¶
type LaneLoadResponse struct {
Data []WorkerLaneLoad `json:"data"`
}
LaneLoadResponse defines model for LaneLoadResponse.
type LaneLoadStats ¶
type LaneLoadStats struct {
// CostEwmaSumMs Sum of the jobs' cost EWMAs (ms) — wall-clock cost of one full pass.
CostEwmaSumMs float32 `json:"costEwmaSumMs"`
// DelayEwmaSumMs Sum of the jobs' start-lateness EWMAs (ms) — grows when the lane runs behind.
DelayEwmaSumMs float32 `json:"delayEwmaSumMs"`
// DutySumPct Sum of per-job duty cycles (100 × cost EWMA / period). 100 ≈ one permanently occupied runner slot; compare against the worker's pool capacity to judge overload.
DutySumPct float32 `json:"dutySumPct"`
// Jobs Enabled check jobs in this lane the worker is eligible to claim.
Jobs int `json:"jobs"`
}
LaneLoadStats One lane's offered load for a worker.
type LastResult ¶
type LastResult struct {
// DurationMs Response time in milliseconds
DurationMs *float32 `json:"durationMs,omitempty"`
// Metrics Performance metrics (e.g., response time, DNS time)
Metrics *map[string]interface{} `json:"metrics,omitempty"`
// Output Diagnostic output and error messages
Output *map[string]interface{} `json:"output,omitempty"`
// Status Result status, mirroring every value `resultStatusString` can return: `up` and `warning` both count as available (`warning` is "up, but something to report"), `degraded` only appears on aggregated rollup rows, `down`/`timeout`/`error` are genuine failures, `created` is an attempt that has not been executed yet, and `unknown` covers a missing or unrecognised raw status. `abandoned` is server-minted by the abandoned-result reaper when nothing was ever reported for an attempt (a worker crashed, restarted, or lost its lease). It is terminal but is excluded from every availability calculation, so it must be rendered as a neutral "not counted" state, never as a failure.
Status *LastResultStatus `json:"status,omitempty"`
// Timestamp When the check was executed
Timestamp *time.Time `json:"timestamp,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
LastResult Full last-execution result. Present only on the check DETAIL response (GET/POST/PUT/PATCH by uid/slug) — the detail page renders output, metrics, and the SSL-chain card from these fields. List responses (GET /checks) use the slimmer LastResultListItem instead, which omits output/metrics: no list consumer (checks table, org dashboard, status dashboard) reads them, and they can be large (SSL cert chains, DNSBL details).
type LastResultListItem ¶
type LastResultListItem struct {
// DurationMs Response time in milliseconds
DurationMs *float32 `json:"durationMs,omitempty"`
// Status Result status, mirroring every value `resultStatusString` can return: `up` and `warning` both count as available (`warning` is "up, but something to report"), `degraded` only appears on aggregated rollup rows, `down`/`timeout`/`error` are genuine failures, `created` is an attempt that has not been executed yet, and `unknown` covers a missing or unrecognised raw status. `abandoned` is server-minted by the abandoned-result reaper when nothing was ever reported for an attempt (a worker crashed, restarted, or lost its lease). It is terminal but is excluded from every availability calculation, so it must be rendered as a neutral "not counted" state, never as a failure.
Status *LastResultListItemStatus `json:"status,omitempty"`
// Timestamp When the check was executed
Timestamp *time.Time `json:"timestamp,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
LastResultListItem Slim last-execution result used on list responses (GET /checks) — {uid, status, timestamp, durationMs} only. See LastResult for the full detail-response shape.
type LastResultListItemStatus ¶
type LastResultListItemStatus string
LastResultListItemStatus Result status, mirroring every value `resultStatusString` can return: `up` and `warning` both count as available (`warning` is "up, but something to report"), `degraded` only appears on aggregated rollup rows, `down`/`timeout`/`error` are genuine failures, `created` is an attempt that has not been executed yet, and `unknown` covers a missing or unrecognised raw status. `abandoned` is server-minted by the abandoned-result reaper when nothing was ever reported for an attempt (a worker crashed, restarted, or lost its lease). It is terminal but is excluded from every availability calculation, so it must be rendered as a neutral "not counted" state, never as a failure.
const ( LastResultListItemStatusAbandoned LastResultListItemStatus = "abandoned" LastResultListItemStatusCreated LastResultListItemStatus = "created" LastResultListItemStatusDegraded LastResultListItemStatus = "degraded" LastResultListItemStatusDown LastResultListItemStatus = "down" LastResultListItemStatusError LastResultListItemStatus = "error" LastResultListItemStatusTimeout LastResultListItemStatus = "timeout" LastResultListItemStatusUnknown LastResultListItemStatus = "unknown" LastResultListItemStatusUp LastResultListItemStatus = "up" LastResultListItemStatusWarning LastResultListItemStatus = "warning" )
Defines values for LastResultListItemStatus.
func (LastResultListItemStatus) Valid ¶
func (e LastResultListItemStatus) Valid() bool
Valid indicates whether the value is a known member of the LastResultListItemStatus enum.
type LastResultStatus ¶
type LastResultStatus string
LastResultStatus Result status, mirroring every value `resultStatusString` can return: `up` and `warning` both count as available (`warning` is "up, but something to report"), `degraded` only appears on aggregated rollup rows, `down`/`timeout`/`error` are genuine failures, `created` is an attempt that has not been executed yet, and `unknown` covers a missing or unrecognised raw status. `abandoned` is server-minted by the abandoned-result reaper when nothing was ever reported for an attempt (a worker crashed, restarted, or lost its lease). It is terminal but is excluded from every availability calculation, so it must be rendered as a neutral "not counted" state, never as a failure.
const ( LastResultStatusAbandoned LastResultStatus = "abandoned" LastResultStatusCreated LastResultStatus = "created" LastResultStatusDegraded LastResultStatus = "degraded" LastResultStatusDown LastResultStatus = "down" LastResultStatusError LastResultStatus = "error" LastResultStatusTimeout LastResultStatus = "timeout" LastResultStatusUnknown LastResultStatus = "unknown" LastResultStatusUp LastResultStatus = "up" LastResultStatusWarning LastResultStatus = "warning" )
Defines values for LastResultStatus.
func (LastResultStatus) Valid ¶
func (e LastResultStatus) Valid() bool
Valid indicates whether the value is a known member of the LastResultStatus enum.
type LimitsConcurrency ¶
type LimitsConcurrency struct {
// CallerInFlight In-flight requests for the caller. Present only when concurrency limiting is enabled.
CallerInFlight *int `json:"callerInFlight,omitempty"`
Enabled bool `json:"enabled"`
Max *int `json:"max,omitempty"`
}
LimitsConcurrency Concurrency section of the limits response.
type LimitsRateLimit ¶
type LimitsRateLimit struct {
Burst *int `json:"burst,omitempty"`
// CallerRemaining Tokens remaining in the caller's bucket. Present only when rate limiting is enabled.
CallerRemaining *float64 `json:"callerRemaining,omitempty"`
Enabled bool `json:"enabled"`
RequestsPerMinute *int `json:"requestsPerMinute,omitempty"`
}
LimitsRateLimit Rate-limit section of the limits response.
type LimitsResponse ¶
type LimitsResponse struct {
// CallerBucket Which bucket the caller's traffic is accounted against — "ip" or "token".
CallerBucket string `json:"callerBucket"`
// CallerIp Client IP the limiter resolved for this request (respecting trusted proxies).
CallerIp string `json:"callerIp"`
// Concurrency Concurrency section of the limits response.
Concurrency LimitsConcurrency `json:"concurrency"`
// RateLimit Rate-limit section of the limits response.
RateLimit LimitsRateLimit `json:"rateLimit"`
}
LimitsResponse defines model for LimitsResponse.
type ListAdminEntitlementsParams ¶
type ListAdminEntitlementsParams struct {
// Q Case-insensitive substring match on the org slug or name
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Limit Page size (1-200, default 50)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListAdminEntitlementsParams defines parameters for ListAdminEntitlements.
type ListAdminEntitlementsResult ¶
type ListAdminEntitlementsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminEntitlementsListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListAdminEntitlementsResult ¶
func ParseListAdminEntitlementsResult(rsp *http.Response) (*ListAdminEntitlementsResult, error)
ParseListAdminEntitlementsResult parses an HTTP response from a ListAdminEntitlementsWithResponse call
func (ListAdminEntitlementsResult) ContentType ¶
func (r ListAdminEntitlementsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminEntitlementsResult) GetBody ¶
func (r ListAdminEntitlementsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminEntitlementsResult) GetJSON200 ¶
func (r ListAdminEntitlementsResult) GetJSON200() *AdminEntitlementsListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminEntitlementsResult) GetJSON401 ¶
func (r ListAdminEntitlementsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListAdminEntitlementsResult) GetJSON403 ¶
func (r ListAdminEntitlementsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListAdminEntitlementsResult) Status ¶
func (r ListAdminEntitlementsResult) Status() string
Status returns HTTPResponse.Status
func (ListAdminEntitlementsResult) StatusCode ¶
func (r ListAdminEntitlementsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdminJobsParams ¶
type ListAdminJobsParams struct {
// Status Filter by job status
Status *JobStatusQuery `form:"status,omitempty" json:"status,omitempty"`
// Type Filter by job type
Type *JobTypeQuery `form:"type,omitempty" json:"type,omitempty"`
// Limit Maximum number of rows to return (1-200)
Limit *JobLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of rows to skip
Offset *JobOffsetQuery `form:"offset,omitempty" json:"offset,omitempty"`
}
ListAdminJobsParams defines parameters for ListAdminJobs.
type ListAdminJobsResult ¶
type ListAdminJobsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminJobListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListAdminJobsResult ¶
func ParseListAdminJobsResult(rsp *http.Response) (*ListAdminJobsResult, error)
ParseListAdminJobsResult parses an HTTP response from a ListAdminJobsWithResponse call
func (ListAdminJobsResult) ContentType ¶
func (r ListAdminJobsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAdminJobsResult) GetBody ¶
func (r ListAdminJobsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAdminJobsResult) GetJSON200 ¶
func (r ListAdminJobsResult) GetJSON200() *AdminJobListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAdminJobsResult) GetJSON401 ¶
func (r ListAdminJobsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListAdminJobsResult) GetJSON403 ¶
func (r ListAdminJobsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListAdminJobsResult) Status ¶
func (r ListAdminJobsResult) Status() string
Status returns HTTPResponse.Status
func (ListAdminJobsResult) StatusCode ¶
func (r ListAdminJobsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAllTokensParams ¶
type ListAllTokensParams struct {
// Type Filter by token type
Type *string `form:"type,omitempty" json:"type,omitempty"`
}
ListAllTokensParams defines parameters for ListAllTokens.
type ListAllTokensResult ¶
type ListAllTokensResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TokenListResponse
}
func ParseListAllTokensResult ¶
func ParseListAllTokensResult(rsp *http.Response) (*ListAllTokensResult, error)
ParseListAllTokensResult parses an HTTP response from a ListAllTokensWithResponse call
func (ListAllTokensResult) ContentType ¶
func (r ListAllTokensResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAllTokensResult) GetBody ¶
func (r ListAllTokensResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAllTokensResult) GetJSON200 ¶
func (r ListAllTokensResult) GetJSON200() *TokenListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAllTokensResult) Status ¶
func (r ListAllTokensResult) Status() string
Status returns HTTPResponse.Status
func (ListAllTokensResult) StatusCode ¶
func (r ListAllTokensResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAuthProvidersResult ¶
type ListAuthProvidersResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AuthProvidersResponse
}
func ParseListAuthProvidersResult ¶
func ParseListAuthProvidersResult(rsp *http.Response) (*ListAuthProvidersResult, error)
ParseListAuthProvidersResult parses an HTTP response from a ListAuthProvidersWithResponse call
func (ListAuthProvidersResult) ContentType ¶
func (r ListAuthProvidersResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAuthProvidersResult) GetBody ¶
func (r ListAuthProvidersResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListAuthProvidersResult) GetJSON200 ¶
func (r ListAuthProvidersResult) GetJSON200() *AuthProvidersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListAuthProvidersResult) Status ¶
func (r ListAuthProvidersResult) Status() string
Status returns HTTPResponse.Status
func (ListAuthProvidersResult) StatusCode ¶
func (r ListAuthProvidersResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListChannelsParams ¶
type ListChannelsParams struct {
// Type Filter by channel type (e.g., "slack", "webhook")
Type *string `form:"type,omitempty" json:"type,omitempty"`
}
ListChannelsParams defines parameters for ListChannels.
type ListChannelsResult ¶
type ListChannelsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChannelListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListChannelsResult ¶
func ParseListChannelsResult(rsp *http.Response) (*ListChannelsResult, error)
ParseListChannelsResult parses an HTTP response from a ListChannelsWithResponse call
func (ListChannelsResult) ContentType ¶
func (r ListChannelsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListChannelsResult) GetBody ¶
func (r ListChannelsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListChannelsResult) GetJSON200 ¶
func (r ListChannelsResult) GetJSON200() *ChannelListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListChannelsResult) GetJSON401 ¶
func (r ListChannelsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListChannelsResult) GetJSON404 ¶
func (r ListChannelsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListChannelsResult) Status ¶
func (r ListChannelsResult) Status() string
Status returns HTTPResponse.Status
func (ListChannelsResult) StatusCode ¶
func (r ListChannelsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCheckChannelsResult ¶
type ListCheckChannelsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckChannelListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListCheckChannelsResult ¶
func ParseListCheckChannelsResult(rsp *http.Response) (*ListCheckChannelsResult, error)
ParseListCheckChannelsResult parses an HTTP response from a ListCheckChannelsWithResponse call
func (ListCheckChannelsResult) ContentType ¶
func (r ListCheckChannelsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCheckChannelsResult) GetBody ¶
func (r ListCheckChannelsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCheckChannelsResult) GetJSON200 ¶
func (r ListCheckChannelsResult) GetJSON200() *CheckChannelListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCheckChannelsResult) GetJSON401 ¶
func (r ListCheckChannelsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCheckChannelsResult) GetJSON404 ¶
func (r ListCheckChannelsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListCheckChannelsResult) Status ¶
func (r ListCheckChannelsResult) Status() string
Status returns HTTPResponse.Status
func (ListCheckChannelsResult) StatusCode ¶
func (r ListCheckChannelsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCheckDependenciesResult ¶
type ListCheckDependenciesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PerCheckDependenciesResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListCheckDependenciesResult ¶
func ParseListCheckDependenciesResult(rsp *http.Response) (*ListCheckDependenciesResult, error)
ParseListCheckDependenciesResult parses an HTTP response from a ListCheckDependenciesWithResponse call
func (ListCheckDependenciesResult) ContentType ¶
func (r ListCheckDependenciesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCheckDependenciesResult) GetBody ¶
func (r ListCheckDependenciesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCheckDependenciesResult) GetJSON200 ¶
func (r ListCheckDependenciesResult) GetJSON200() *PerCheckDependenciesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCheckDependenciesResult) GetJSON404 ¶
func (r ListCheckDependenciesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListCheckDependenciesResult) Status ¶
func (r ListCheckDependenciesResult) Status() string
Status returns HTTPResponse.Status
func (ListCheckDependenciesResult) StatusCode ¶
func (r ListCheckDependenciesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCheckEventsParams ¶
type ListCheckEventsParams struct {
// Cursor Cursor for pagination
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Size Results per page (default 20, max 100)
Size *int `form:"size,omitempty" json:"size,omitempty"`
}
ListCheckEventsParams defines parameters for ListCheckEvents.
type ListCheckEventsResult ¶
type ListCheckEventsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EventListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListCheckEventsResult ¶
func ParseListCheckEventsResult(rsp *http.Response) (*ListCheckEventsResult, error)
ParseListCheckEventsResult parses an HTTP response from a ListCheckEventsWithResponse call
func (ListCheckEventsResult) ContentType ¶
func (r ListCheckEventsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCheckEventsResult) GetBody ¶
func (r ListCheckEventsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCheckEventsResult) GetJSON200 ¶
func (r ListCheckEventsResult) GetJSON200() *EventListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCheckEventsResult) GetJSON401 ¶
func (r ListCheckEventsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCheckEventsResult) GetJSON404 ¶
func (r ListCheckEventsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListCheckEventsResult) Status ¶
func (r ListCheckEventsResult) Status() string
Status returns HTTPResponse.Status
func (ListCheckEventsResult) StatusCode ¶
func (r ListCheckEventsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCheckGroupsResult ¶
type ListCheckGroupsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckGroupListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListCheckGroupsResult ¶
func ParseListCheckGroupsResult(rsp *http.Response) (*ListCheckGroupsResult, error)
ParseListCheckGroupsResult parses an HTTP response from a ListCheckGroupsWithResponse call
func (ListCheckGroupsResult) ContentType ¶
func (r ListCheckGroupsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCheckGroupsResult) GetBody ¶
func (r ListCheckGroupsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCheckGroupsResult) GetJSON200 ¶
func (r ListCheckGroupsResult) GetJSON200() *CheckGroupListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCheckGroupsResult) GetJSON401 ¶
func (r ListCheckGroupsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCheckGroupsResult) GetJSON404 ¶
func (r ListCheckGroupsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListCheckGroupsResult) Status ¶
func (r ListCheckGroupsResult) Status() string
Status returns HTTPResponse.Status
func (ListCheckGroupsResult) StatusCode ¶
func (r ListCheckGroupsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCheckJobsParams ¶
type ListCheckJobsParams struct {
// Limit Maximum number of rows to return (1-200)
Limit *JobLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of rows to skip
Offset *JobOffsetQuery `form:"offset,omitempty" json:"offset,omitempty"`
}
ListCheckJobsParams defines parameters for ListCheckJobs.
type ListCheckJobsResult ¶
type ListCheckJobsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckJobListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListCheckJobsResult ¶
func ParseListCheckJobsResult(rsp *http.Response) (*ListCheckJobsResult, error)
ParseListCheckJobsResult parses an HTTP response from a ListCheckJobsWithResponse call
func (ListCheckJobsResult) ContentType ¶
func (r ListCheckJobsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCheckJobsResult) GetBody ¶
func (r ListCheckJobsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCheckJobsResult) GetJSON200 ¶
func (r ListCheckJobsResult) GetJSON200() *CheckJobListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCheckJobsResult) GetJSON401 ¶
func (r ListCheckJobsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListCheckJobsResult) GetJSON403 ¶
func (r ListCheckJobsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListCheckJobsResult) Status ¶
func (r ListCheckJobsResult) Status() string
Status returns HTTPResponse.Status
func (ListCheckJobsResult) StatusCode ¶
func (r ListCheckJobsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCheckTypeSamplesParams ¶
type ListCheckTypeSamplesParams struct {
// Type Filter samples to a single check type
Type *string `form:"type,omitempty" json:"type,omitempty"`
}
ListCheckTypeSamplesParams defines parameters for ListCheckTypeSamples.
type ListCheckTypeSamplesResult ¶
type ListCheckTypeSamplesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckTypeSamplesListResponse
}
func ParseListCheckTypeSamplesResult ¶
func ParseListCheckTypeSamplesResult(rsp *http.Response) (*ListCheckTypeSamplesResult, error)
ParseListCheckTypeSamplesResult parses an HTTP response from a ListCheckTypeSamplesWithResponse call
func (ListCheckTypeSamplesResult) ContentType ¶
func (r ListCheckTypeSamplesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCheckTypeSamplesResult) GetBody ¶
func (r ListCheckTypeSamplesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCheckTypeSamplesResult) GetJSON200 ¶
func (r ListCheckTypeSamplesResult) GetJSON200() *CheckTypeSamplesListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCheckTypeSamplesResult) Status ¶
func (r ListCheckTypeSamplesResult) Status() string
Status returns HTTPResponse.Status
func (ListCheckTypeSamplesResult) StatusCode ¶
func (r ListCheckTypeSamplesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCheckTypesResult ¶
type ListCheckTypesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckTypeListResponse
}
func ParseListCheckTypesResult ¶
func ParseListCheckTypesResult(rsp *http.Response) (*ListCheckTypesResult, error)
ParseListCheckTypesResult parses an HTTP response from a ListCheckTypesWithResponse call
func (ListCheckTypesResult) ContentType ¶
func (r ListCheckTypesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCheckTypesResult) GetBody ¶
func (r ListCheckTypesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCheckTypesResult) GetJSON200 ¶
func (r ListCheckTypesResult) GetJSON200() *CheckTypeListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCheckTypesResult) Status ¶
func (r ListCheckTypesResult) Status() string
Status returns HTTPResponse.Status
func (ListCheckTypesResult) StatusCode ¶
func (r ListCheckTypesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListChecksParams ¶
type ListChecksParams struct {
// Labels Filter by labels (format key1:value1,key2:value2 for AND logic)
Labels *string `form:"labels,omitempty" json:"labels,omitempty"`
// With Comma-separated list of additional data to include: "last_result" (the check's newest raw result) and "last_status_change" (when the derived check status last changed — served from the check row itself, so it costs no extra query and is omitted for checks that have never transitioned).
With *string `form:"with,omitempty" json:"with,omitempty"`
// Internal Filter by internal status. "false" (default) shows only non-internal checks, "true" shows only internal checks, "all" shows all checks.
Internal *ListChecksParamsInternal `form:"internal,omitempty" json:"internal,omitempty"`
// Sort Opt-in ordering. "group" orders by group sortOrder ascending with ungrouped checks last, then created_at descending within a bucket — matching the dashboard's display order. "targetHost" orders by the derived targetHost ascending (case-sensitive, byte/codepoint order — e.g. "Zebra.example.com" sorts before "api.example.com"), checks with no targetHost last, then name ascending as a tiebreaker — lets a by-host view paginate consistently server-side. Omitted keeps the default created_at descending ordering. Any other value is a validation error.
Sort *ListChecksParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
}
ListChecksParams defines parameters for ListChecks.
type ListChecksParamsInternal ¶
type ListChecksParamsInternal string
ListChecksParamsInternal defines parameters for ListChecks.
const ( ListChecksParamsInternalAll ListChecksParamsInternal = "all" ListChecksParamsInternalFalse ListChecksParamsInternal = "false" ListChecksParamsInternalTrue ListChecksParamsInternal = "true" )
Defines values for ListChecksParamsInternal.
func (ListChecksParamsInternal) Valid ¶
func (e ListChecksParamsInternal) Valid() bool
Valid indicates whether the value is a known member of the ListChecksParamsInternal enum.
type ListChecksParamsSort ¶
type ListChecksParamsSort string
ListChecksParamsSort defines parameters for ListChecks.
const ( ListChecksParamsSortGroup ListChecksParamsSort = "group" ListChecksParamsSortTargetHost ListChecksParamsSort = "targetHost" )
Defines values for ListChecksParamsSort.
func (ListChecksParamsSort) Valid ¶
func (e ListChecksParamsSort) Valid() bool
Valid indicates whether the value is a known member of the ListChecksParamsSort enum.
type ListChecksResult ¶
type ListChecksResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckListResponse
}
func ParseListChecksResult ¶
func ParseListChecksResult(rsp *http.Response) (*ListChecksResult, error)
ParseListChecksResult parses an HTTP response from a ListChecksWithResponse call
func (ListChecksResult) ContentType ¶
func (r ListChecksResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListChecksResult) GetBody ¶
func (r ListChecksResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListChecksResult) GetJSON200 ¶
func (r ListChecksResult) GetJSON200() *CheckListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListChecksResult) Status ¶
func (r ListChecksResult) Status() string
Status returns HTTPResponse.Status
func (ListChecksResult) StatusCode ¶
func (r ListChecksResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDiscoveredChecksParams ¶
type ListDiscoveredChecksParams struct {
// JobUid Filter to one scan's checks
JobUid *string `form:"jobUid,omitempty" json:"jobUid,omitempty"`
// Group Narrow to one group (groupKey)
Group *string `form:"group,omitempty" json:"group,omitempty"`
// Source Comma-separated discovery sources (e.g. "lan,freebox")
Source *string `form:"source,omitempty" json:"source,omitempty"`
// Promoted Filter by promotion state
Promoted *bool `form:"promoted,omitempty" json:"promoted,omitempty"`
}
ListDiscoveredChecksParams defines parameters for ListDiscoveredChecks.
type ListDiscoveredChecksResult ¶
type ListDiscoveredChecksResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]DiscoveredCheck `json:"data,omitempty"`
}
}
func ParseListDiscoveredChecksResult ¶
func ParseListDiscoveredChecksResult(rsp *http.Response) (*ListDiscoveredChecksResult, error)
ParseListDiscoveredChecksResult parses an HTTP response from a ListDiscoveredChecksWithResponse call
func (ListDiscoveredChecksResult) ContentType ¶
func (r ListDiscoveredChecksResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDiscoveredChecksResult) GetBody ¶
func (r ListDiscoveredChecksResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDiscoveredChecksResult) GetJSON200 ¶
func (r ListDiscoveredChecksResult) GetJSON200() *struct { Data *[]DiscoveredCheck `json:"data,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDiscoveredChecksResult) Status ¶
func (r ListDiscoveredChecksResult) Status() string
Status returns HTTPResponse.Status
func (ListDiscoveredChecksResult) StatusCode ¶
func (r ListDiscoveredChecksResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDiscoveryScansResult ¶
type ListDiscoveryScansResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]DiscoveryScan `json:"data,omitempty"`
}
}
func ParseListDiscoveryScansResult ¶
func ParseListDiscoveryScansResult(rsp *http.Response) (*ListDiscoveryScansResult, error)
ParseListDiscoveryScansResult parses an HTTP response from a ListDiscoveryScansWithResponse call
func (ListDiscoveryScansResult) ContentType ¶
func (r ListDiscoveryScansResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDiscoveryScansResult) GetBody ¶
func (r ListDiscoveryScansResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDiscoveryScansResult) GetJSON200 ¶
func (r ListDiscoveryScansResult) GetJSON200() *struct { Data *[]DiscoveryScan `json:"data,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDiscoveryScansResult) Status ¶
func (r ListDiscoveryScansResult) Status() string
Status returns HTTPResponse.Status
func (ListDiscoveryScansResult) StatusCode ¶
func (r ListDiscoveryScansResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDiscoveryTypesResult ¶
type ListDiscoveryTypesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *struct {
Data *[]DiscoveryType `json:"data,omitempty"`
}
}
func ParseListDiscoveryTypesResult ¶
func ParseListDiscoveryTypesResult(rsp *http.Response) (*ListDiscoveryTypesResult, error)
ParseListDiscoveryTypesResult parses an HTTP response from a ListDiscoveryTypesWithResponse call
func (ListDiscoveryTypesResult) ContentType ¶
func (r ListDiscoveryTypesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDiscoveryTypesResult) GetBody ¶
func (r ListDiscoveryTypesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDiscoveryTypesResult) GetJSON200 ¶
func (r ListDiscoveryTypesResult) GetJSON200() *struct { Data *[]DiscoveryType `json:"data,omitempty"` }
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDiscoveryTypesResult) Status ¶
func (r ListDiscoveryTypesResult) Status() string
Status returns HTTPResponse.Status
func (ListDiscoveryTypesResult) StatusCode ¶
func (r ListDiscoveryTypesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEmailSuppressionsResult ¶
type ListEmailSuppressionsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EmailSuppressionListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListEmailSuppressionsResult ¶
func ParseListEmailSuppressionsResult(rsp *http.Response) (*ListEmailSuppressionsResult, error)
ParseListEmailSuppressionsResult parses an HTTP response from a ListEmailSuppressionsWithResponse call
func (ListEmailSuppressionsResult) ContentType ¶
func (r ListEmailSuppressionsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListEmailSuppressionsResult) GetBody ¶
func (r ListEmailSuppressionsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListEmailSuppressionsResult) GetJSON200 ¶
func (r ListEmailSuppressionsResult) GetJSON200() *EmailSuppressionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListEmailSuppressionsResult) GetJSON401 ¶
func (r ListEmailSuppressionsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListEmailSuppressionsResult) GetJSON403 ¶
func (r ListEmailSuppressionsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListEmailSuppressionsResult) GetJSON404 ¶
func (r ListEmailSuppressionsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListEmailSuppressionsResult) Status ¶
func (r ListEmailSuppressionsResult) Status() string
Status returns HTTPResponse.Status
func (ListEmailSuppressionsResult) StatusCode ¶
func (r ListEmailSuppressionsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEntitlementsAuditsParams ¶
type ListEntitlementsAuditsParams struct {
// Limit Maximum results (1-200, default 50)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListEntitlementsAuditsParams defines parameters for ListEntitlementsAudits.
type ListEntitlementsAuditsResult ¶
type ListEntitlementsAuditsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EntitlementsAuditListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListEntitlementsAuditsResult ¶
func ParseListEntitlementsAuditsResult(rsp *http.Response) (*ListEntitlementsAuditsResult, error)
ParseListEntitlementsAuditsResult parses an HTTP response from a ListEntitlementsAuditsWithResponse call
func (ListEntitlementsAuditsResult) ContentType ¶
func (r ListEntitlementsAuditsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListEntitlementsAuditsResult) GetBody ¶
func (r ListEntitlementsAuditsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListEntitlementsAuditsResult) GetJSON200 ¶
func (r ListEntitlementsAuditsResult) GetJSON200() *EntitlementsAuditListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListEntitlementsAuditsResult) GetJSON401 ¶
func (r ListEntitlementsAuditsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListEntitlementsAuditsResult) GetJSON403 ¶
func (r ListEntitlementsAuditsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListEntitlementsAuditsResult) GetJSON404 ¶
func (r ListEntitlementsAuditsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListEntitlementsAuditsResult) Status ¶
func (r ListEntitlementsAuditsResult) Status() string
Status returns HTTPResponse.Status
func (ListEntitlementsAuditsResult) StatusCode ¶
func (r ListEntitlementsAuditsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEscalationPoliciesResult ¶
type ListEscalationPoliciesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EscalationPolicyListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListEscalationPoliciesResult ¶
func ParseListEscalationPoliciesResult(rsp *http.Response) (*ListEscalationPoliciesResult, error)
ParseListEscalationPoliciesResult parses an HTTP response from a ListEscalationPoliciesWithResponse call
func (ListEscalationPoliciesResult) ContentType ¶
func (r ListEscalationPoliciesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListEscalationPoliciesResult) GetBody ¶
func (r ListEscalationPoliciesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListEscalationPoliciesResult) GetJSON200 ¶
func (r ListEscalationPoliciesResult) GetJSON200() *EscalationPolicyListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListEscalationPoliciesResult) GetJSON401 ¶
func (r ListEscalationPoliciesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListEscalationPoliciesResult) GetJSON404 ¶
func (r ListEscalationPoliciesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListEscalationPoliciesResult) Status ¶
func (r ListEscalationPoliciesResult) Status() string
Status returns HTTPResponse.Status
func (ListEscalationPoliciesResult) StatusCode ¶
func (r ListEscalationPoliciesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEventsParams ¶
type ListEventsParams struct {
// EventType Filter by event type (comma-separated)
EventType *string `form:"eventType,omitempty" json:"eventType,omitempty"`
// CheckUid Filter by check UID
CheckUid *string `form:"checkUid,omitempty" json:"checkUid,omitempty"`
// IncidentUid Filter by incident UID
IncidentUid *string `form:"incidentUid,omitempty" json:"incidentUid,omitempty"`
// Type Filter by event-type FAMILY (comma-separated prefixes, e.g. `auth,member`). Distinct from `eventType`, which matches exactly. The `auth` family is only returned to org admins and owners.
Type *string `form:"type,omitempty" json:"type,omitempty"`
// ActorUserUid Filter to the events caused by one user. `actorUid` is accepted as an alias.
ActorUserUid *openapi_types.UUID `form:"actorUserUid,omitempty" json:"actorUserUid,omitempty"`
// TargetType Filter to one kind of acted-on object (`integration`, `member`, `escalation_policy`, …), matched against the payload's `target_type`.
TargetType *string `form:"targetType,omitempty" json:"targetType,omitempty"`
// TargetUid Filter to the events about one object, matched EXACTLY against the payload's `target_uid`.
TargetUid *string `form:"targetUid,omitempty" json:"targetUid,omitempty"`
// Target Free-text target filter: matches an exact `target_uid`, or a case-insensitive substring of the `target_name` captured on the event. This is what the dashboard's "target name or UID" box sends.
Target *string `form:"target,omitempty" json:"target,omitempty"`
// SourceIp Filter to one client address. Honoured for org admins and owners ONLY; for anyone else it is silently ignored rather than rejected, so it cannot be used as an oracle for a column they are not allowed to read.
SourceIp *string `form:"sourceIp,omitempty" json:"sourceIp,omitempty"`
// Since Only events created at or after this RFC3339 timestamp
Since *time.Time `form:"since,omitempty" json:"since,omitempty"`
// Until Only events created strictly before this RFC3339 timestamp
Until *time.Time `form:"until,omitempty" json:"until,omitempty"`
// Cursor Cursor for pagination
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Size Results per page (default 20, max 100)
Size *int `form:"size,omitempty" json:"size,omitempty"`
}
ListEventsParams defines parameters for ListEvents.
type ListEventsResult ¶
type ListEventsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EventListResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListEventsResult ¶
func ParseListEventsResult(rsp *http.Response) (*ListEventsResult, error)
ParseListEventsResult parses an HTTP response from a ListEventsWithResponse call
func (ListEventsResult) ContentType ¶
func (r ListEventsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListEventsResult) GetBody ¶
func (r ListEventsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListEventsResult) GetJSON200 ¶
func (r ListEventsResult) GetJSON200() *EventListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListEventsResult) GetJSON400 ¶
func (r ListEventsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListEventsResult) GetJSON401 ¶
func (r ListEventsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListEventsResult) GetJSON404 ¶
func (r ListEventsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListEventsResult) Status ¶
func (r ListEventsResult) Status() string
Status returns HTTPResponse.Status
func (ListEventsResult) StatusCode ¶
func (r ListEventsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFilesParams ¶
type ListFilesParams struct {
// Q Filter by filename substring
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Limit Maximum results (1-200, default 50)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Result offset
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListFilesParams defines parameters for ListFiles.
type ListFilesResult ¶
type ListFilesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FileListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListFilesResult ¶
func ParseListFilesResult(rsp *http.Response) (*ListFilesResult, error)
ParseListFilesResult parses an HTTP response from a ListFilesWithResponse call
func (ListFilesResult) ContentType ¶
func (r ListFilesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListFilesResult) GetBody ¶
func (r ListFilesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListFilesResult) GetJSON200 ¶
func (r ListFilesResult) GetJSON200() *FileListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListFilesResult) GetJSON401 ¶
func (r ListFilesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListFilesResult) GetJSON403 ¶
func (r ListFilesResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListFilesResult) GetJSON404 ¶
func (r ListFilesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListFilesResult) Status ¶
func (r ListFilesResult) Status() string
Status returns HTTPResponse.Status
func (ListFilesResult) StatusCode ¶
func (r ListFilesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentEventsParams ¶
type ListIncidentEventsParams struct {
// Cursor Cursor for pagination
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Size Results per page (default 20, max 100)
Size *int `form:"size,omitempty" json:"size,omitempty"`
}
ListIncidentEventsParams defines parameters for ListIncidentEvents.
type ListIncidentEventsResult ¶
type ListIncidentEventsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EventListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListIncidentEventsResult ¶
func ParseListIncidentEventsResult(rsp *http.Response) (*ListIncidentEventsResult, error)
ParseListIncidentEventsResult parses an HTTP response from a ListIncidentEventsWithResponse call
func (ListIncidentEventsResult) ContentType ¶
func (r ListIncidentEventsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIncidentEventsResult) GetBody ¶
func (r ListIncidentEventsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListIncidentEventsResult) GetJSON200 ¶
func (r ListIncidentEventsResult) GetJSON200() *EventListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListIncidentEventsResult) GetJSON401 ¶
func (r ListIncidentEventsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListIncidentEventsResult) GetJSON404 ¶
func (r ListIncidentEventsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListIncidentEventsResult) Status ¶
func (r ListIncidentEventsResult) Status() string
Status returns HTTPResponse.Status
func (ListIncidentEventsResult) StatusCode ¶
func (r ListIncidentEventsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentNotificationsParams ¶
type ListIncidentNotificationsParams struct {
// Status Filter by delivery status (e.g. sent, failed, skipped)
Status *NotificationStatusQuery `form:"status,omitempty" json:"status,omitempty"`
// UserUid Filter by target user UID
UserUid *NotificationUserUidQuery `form:"userUid,omitempty" json:"userUid,omitempty"`
// ConnectionUid Filter by connection (channel) UID
ConnectionUid *NotificationConnectionUidQuery `form:"connectionUid,omitempty" json:"connectionUid,omitempty"`
// Limit Maximum rows to return (default 100)
Limit *NotificationLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
// Before Only rows created strictly before this RFC3339 timestamp
Before *NotificationBeforeQuery `form:"before,omitempty" json:"before,omitempty"`
}
ListIncidentNotificationsParams defines parameters for ListIncidentNotifications.
type ListIncidentNotificationsResult ¶
type ListIncidentNotificationsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListIncidentNotificationsResult ¶
func ParseListIncidentNotificationsResult(rsp *http.Response) (*ListIncidentNotificationsResult, error)
ParseListIncidentNotificationsResult parses an HTTP response from a ListIncidentNotificationsWithResponse call
func (ListIncidentNotificationsResult) ContentType ¶
func (r ListIncidentNotificationsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIncidentNotificationsResult) GetBody ¶
func (r ListIncidentNotificationsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListIncidentNotificationsResult) GetJSON200 ¶
func (r ListIncidentNotificationsResult) GetJSON200() *NotificationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListIncidentNotificationsResult) GetJSON401 ¶
func (r ListIncidentNotificationsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListIncidentNotificationsResult) GetJSON404 ¶
func (r ListIncidentNotificationsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListIncidentNotificationsResult) Status ¶
func (r ListIncidentNotificationsResult) Status() string
Status returns HTTPResponse.Status
func (ListIncidentNotificationsResult) StatusCode ¶
func (r ListIncidentNotificationsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentPublicationsResult ¶
type ListIncidentPublicationsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentPublicationListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListIncidentPublicationsResult ¶
func ParseListIncidentPublicationsResult(rsp *http.Response) (*ListIncidentPublicationsResult, error)
ParseListIncidentPublicationsResult parses an HTTP response from a ListIncidentPublicationsWithResponse call
func (ListIncidentPublicationsResult) ContentType ¶
func (r ListIncidentPublicationsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIncidentPublicationsResult) GetBody ¶
func (r ListIncidentPublicationsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListIncidentPublicationsResult) GetJSON200 ¶
func (r ListIncidentPublicationsResult) GetJSON200() *IncidentPublicationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListIncidentPublicationsResult) GetJSON401 ¶
func (r ListIncidentPublicationsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListIncidentPublicationsResult) GetJSON404 ¶
func (r ListIncidentPublicationsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListIncidentPublicationsResult) Status ¶
func (r ListIncidentPublicationsResult) Status() string
Status returns HTTPResponse.Status
func (ListIncidentPublicationsResult) StatusCode ¶
func (r ListIncidentPublicationsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIncidentsParams ¶
type ListIncidentsParams struct {
// CheckUid Filter by check UID or slug (comma-separated for multiple)
CheckUid *string `form:"checkUid,omitempty" json:"checkUid,omitempty"`
// State Filter by state (comma-separated, e.g., "active,resolved")
State *string `form:"state,omitempty" json:"state,omitempty"`
// Cursor Cursor for pagination
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Size Results per page (default 20, max 100)
Size *int `form:"size,omitempty" json:"size,omitempty"`
// With Comma-separated optional fields to include: "check", "members" (members also adds checkGroupSlug). Both are opt-in — the default response includes neither and costs no extra query for them.
With *string `form:"with,omitempty" json:"with,omitempty"`
}
ListIncidentsParams defines parameters for ListIncidents.
type ListIncidentsResult ¶
type ListIncidentsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListIncidentsResult ¶
func ParseListIncidentsResult(rsp *http.Response) (*ListIncidentsResult, error)
ParseListIncidentsResult parses an HTTP response from a ListIncidentsWithResponse call
func (ListIncidentsResult) ContentType ¶
func (r ListIncidentsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIncidentsResult) GetBody ¶
func (r ListIncidentsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListIncidentsResult) GetJSON200 ¶
func (r ListIncidentsResult) GetJSON200() *IncidentListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListIncidentsResult) GetJSON401 ¶
func (r ListIncidentsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListIncidentsResult) GetJSON404 ¶
func (r ListIncidentsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListIncidentsResult) Status ¶
func (r ListIncidentsResult) Status() string
Status returns HTTPResponse.Status
func (ListIncidentsResult) StatusCode ¶
func (r ListIncidentsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIntegrationIdentitiesResult ¶
type ListIntegrationIdentitiesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IntegrationIdentityListResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListIntegrationIdentitiesResult ¶
func ParseListIntegrationIdentitiesResult(rsp *http.Response) (*ListIntegrationIdentitiesResult, error)
ParseListIntegrationIdentitiesResult parses an HTTP response from a ListIntegrationIdentitiesWithResponse call
func (ListIntegrationIdentitiesResult) ContentType ¶
func (r ListIntegrationIdentitiesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIntegrationIdentitiesResult) GetBody ¶
func (r ListIntegrationIdentitiesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListIntegrationIdentitiesResult) GetJSON200 ¶
func (r ListIntegrationIdentitiesResult) GetJSON200() *IntegrationIdentityListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListIntegrationIdentitiesResult) GetJSON400 ¶
func (r ListIntegrationIdentitiesResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListIntegrationIdentitiesResult) GetJSON401 ¶
func (r ListIntegrationIdentitiesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListIntegrationIdentitiesResult) GetJSON404 ¶
func (r ListIntegrationIdentitiesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListIntegrationIdentitiesResult) Status ¶
func (r ListIntegrationIdentitiesResult) Status() string
Status returns HTTPResponse.Status
func (ListIntegrationIdentitiesResult) StatusCode ¶
func (r ListIntegrationIdentitiesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInvitationsResult ¶
type ListInvitationsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *InviteListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListInvitationsResult ¶
func ParseListInvitationsResult(rsp *http.Response) (*ListInvitationsResult, error)
ParseListInvitationsResult parses an HTTP response from a ListInvitationsWithResponse call
func (ListInvitationsResult) ContentType ¶
func (r ListInvitationsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListInvitationsResult) GetBody ¶
func (r ListInvitationsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListInvitationsResult) GetJSON200 ¶
func (r ListInvitationsResult) GetJSON200() *InviteListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListInvitationsResult) GetJSON401 ¶
func (r ListInvitationsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListInvitationsResult) GetJSON403 ¶
func (r ListInvitationsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListInvitationsResult) Status ¶
func (r ListInvitationsResult) Status() string
Status returns HTTPResponse.Status
func (ListInvitationsResult) StatusCode ¶
func (r ListInvitationsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListJobsParams ¶
type ListJobsParams struct {
// Type Filter by job type
Type *string `form:"type,omitempty" json:"type,omitempty"`
// Status Filter by job status
Status *string `form:"status,omitempty" json:"status,omitempty"`
}
ListJobsParams defines parameters for ListJobs.
type ListJobsResult ¶
type ListJobsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *JobListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
}
func ParseListJobsResult ¶
func ParseListJobsResult(rsp *http.Response) (*ListJobsResult, error)
ParseListJobsResult parses an HTTP response from a ListJobsWithResponse call
func (ListJobsResult) ContentType ¶
func (r ListJobsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListJobsResult) GetBody ¶
func (r ListJobsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListJobsResult) GetJSON200 ¶
func (r ListJobsResult) GetJSON200() *JobListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListJobsResult) GetJSON401 ¶
func (r ListJobsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListJobsResult) Status ¶
func (r ListJobsResult) Status() string
Status returns HTTPResponse.Status
func (ListJobsResult) StatusCode ¶
func (r ListJobsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLabelsParams ¶
type ListLabelsParams struct {
// Key When set, list distinct values for this key instead of keys
Key *string `form:"key,omitempty" json:"key,omitempty"`
// Q Prefix filter on the returned keys/values
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Limit Maximum results (1-200)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListLabelsParams defines parameters for ListLabels.
type ListLabelsResult ¶
type ListLabelsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LabelSuggestionListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListLabelsResult ¶
func ParseListLabelsResult(rsp *http.Response) (*ListLabelsResult, error)
ParseListLabelsResult parses an HTTP response from a ListLabelsWithResponse call
func (ListLabelsResult) ContentType ¶
func (r ListLabelsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListLabelsResult) GetBody ¶
func (r ListLabelsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListLabelsResult) GetJSON200 ¶
func (r ListLabelsResult) GetJSON200() *LabelSuggestionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListLabelsResult) GetJSON401 ¶
func (r ListLabelsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListLabelsResult) GetJSON404 ¶
func (r ListLabelsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListLabelsResult) Status ¶
func (r ListLabelsResult) Status() string
Status returns HTTPResponse.Status
func (ListLabelsResult) StatusCode ¶
func (r ListLabelsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMaintenanceWindowChecksResult ¶
type ListMaintenanceWindowChecksResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MaintenanceWindowCheckListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListMaintenanceWindowChecksResult ¶
func ParseListMaintenanceWindowChecksResult(rsp *http.Response) (*ListMaintenanceWindowChecksResult, error)
ParseListMaintenanceWindowChecksResult parses an HTTP response from a ListMaintenanceWindowChecksWithResponse call
func (ListMaintenanceWindowChecksResult) ContentType ¶
func (r ListMaintenanceWindowChecksResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMaintenanceWindowChecksResult) GetBody ¶
func (r ListMaintenanceWindowChecksResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMaintenanceWindowChecksResult) GetJSON200 ¶
func (r ListMaintenanceWindowChecksResult) GetJSON200() *MaintenanceWindowCheckListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMaintenanceWindowChecksResult) GetJSON401 ¶
func (r ListMaintenanceWindowChecksResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListMaintenanceWindowChecksResult) GetJSON404 ¶
func (r ListMaintenanceWindowChecksResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListMaintenanceWindowChecksResult) Status ¶
func (r ListMaintenanceWindowChecksResult) Status() string
Status returns HTTPResponse.Status
func (ListMaintenanceWindowChecksResult) StatusCode ¶
func (r ListMaintenanceWindowChecksResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMaintenanceWindowsParams ¶
type ListMaintenanceWindowsParams struct {
// Status Filter by lifecycle status (active, upcoming, past)
Status *string `form:"status,omitempty" json:"status,omitempty"`
// Limit Maximum results (1-100)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListMaintenanceWindowsParams defines parameters for ListMaintenanceWindows.
type ListMaintenanceWindowsResult ¶
type ListMaintenanceWindowsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MaintenanceWindowListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListMaintenanceWindowsResult ¶
func ParseListMaintenanceWindowsResult(rsp *http.Response) (*ListMaintenanceWindowsResult, error)
ParseListMaintenanceWindowsResult parses an HTTP response from a ListMaintenanceWindowsWithResponse call
func (ListMaintenanceWindowsResult) ContentType ¶
func (r ListMaintenanceWindowsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMaintenanceWindowsResult) GetBody ¶
func (r ListMaintenanceWindowsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMaintenanceWindowsResult) GetJSON200 ¶
func (r ListMaintenanceWindowsResult) GetJSON200() *MaintenanceWindowListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMaintenanceWindowsResult) GetJSON401 ¶
func (r ListMaintenanceWindowsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListMaintenanceWindowsResult) GetJSON404 ¶
func (r ListMaintenanceWindowsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListMaintenanceWindowsResult) Status ¶
func (r ListMaintenanceWindowsResult) Status() string
Status returns HTTPResponse.Status
func (ListMaintenanceWindowsResult) StatusCode ¶
func (r ListMaintenanceWindowsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMemberCoverageResult ¶
type ListMemberCoverageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MemberCoverageListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListMemberCoverageResult ¶
func ParseListMemberCoverageResult(rsp *http.Response) (*ListMemberCoverageResult, error)
ParseListMemberCoverageResult parses an HTTP response from a ListMemberCoverageWithResponse call
func (ListMemberCoverageResult) ContentType ¶
func (r ListMemberCoverageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMemberCoverageResult) GetBody ¶
func (r ListMemberCoverageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMemberCoverageResult) GetJSON200 ¶
func (r ListMemberCoverageResult) GetJSON200() *MemberCoverageListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMemberCoverageResult) GetJSON401 ¶
func (r ListMemberCoverageResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListMemberCoverageResult) GetJSON403 ¶
func (r ListMemberCoverageResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListMemberCoverageResult) GetJSON404 ¶
func (r ListMemberCoverageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListMemberCoverageResult) Status ¶
func (r ListMemberCoverageResult) Status() string
Status returns HTTPResponse.Status
func (ListMemberCoverageResult) StatusCode ¶
func (r ListMemberCoverageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMembersResult ¶
type ListMembersResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MemberListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListMembersResult ¶
func ParseListMembersResult(rsp *http.Response) (*ListMembersResult, error)
ParseListMembersResult parses an HTTP response from a ListMembersWithResponse call
func (ListMembersResult) ContentType ¶
func (r ListMembersResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMembersResult) GetBody ¶
func (r ListMembersResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMembersResult) GetJSON200 ¶
func (r ListMembersResult) GetJSON200() *MemberListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMembersResult) GetJSON401 ¶
func (r ListMembersResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListMembersResult) GetJSON404 ¶
func (r ListMembersResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListMembersResult) Status ¶
func (r ListMembersResult) Status() string
Status returns HTTPResponse.Status
func (ListMembersResult) StatusCode ¶
func (r ListMembersResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMyMembershipRequestsResult ¶
type ListMyMembershipRequestsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MembershipRequestListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
}
func ParseListMyMembershipRequestsResult ¶
func ParseListMyMembershipRequestsResult(rsp *http.Response) (*ListMyMembershipRequestsResult, error)
ParseListMyMembershipRequestsResult parses an HTTP response from a ListMyMembershipRequestsWithResponse call
func (ListMyMembershipRequestsResult) ContentType ¶
func (r ListMyMembershipRequestsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMyMembershipRequestsResult) GetBody ¶
func (r ListMyMembershipRequestsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMyMembershipRequestsResult) GetJSON200 ¶
func (r ListMyMembershipRequestsResult) GetJSON200() *MembershipRequestListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMyMembershipRequestsResult) GetJSON401 ¶
func (r ListMyMembershipRequestsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListMyMembershipRequestsResult) Status ¶
func (r ListMyMembershipRequestsResult) Status() string
Status returns HTTPResponse.Status
func (ListMyMembershipRequestsResult) StatusCode ¶
func (r ListMyMembershipRequestsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMyNotificationRoutesResult ¶
type ListMyNotificationRoutesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationRouteListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListMyNotificationRoutesResult ¶
func ParseListMyNotificationRoutesResult(rsp *http.Response) (*ListMyNotificationRoutesResult, error)
ParseListMyNotificationRoutesResult parses an HTTP response from a ListMyNotificationRoutesWithResponse call
func (ListMyNotificationRoutesResult) ContentType ¶
func (r ListMyNotificationRoutesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMyNotificationRoutesResult) GetBody ¶
func (r ListMyNotificationRoutesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMyNotificationRoutesResult) GetJSON200 ¶
func (r ListMyNotificationRoutesResult) GetJSON200() *NotificationRouteListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMyNotificationRoutesResult) GetJSON401 ¶
func (r ListMyNotificationRoutesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListMyNotificationRoutesResult) GetJSON404 ¶
func (r ListMyNotificationRoutesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListMyNotificationRoutesResult) Status ¶
func (r ListMyNotificationRoutesResult) Status() string
Status returns HTTPResponse.Status
func (ListMyNotificationRoutesResult) StatusCode ¶
func (r ListMyNotificationRoutesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMyNotificationsParams ¶
type ListMyNotificationsParams struct {
// Status Filter by delivery status (e.g. sent, failed, skipped)
Status *NotificationStatusQuery `form:"status,omitempty" json:"status,omitempty"`
// ConnectionUid Filter by connection (channel) UID
ConnectionUid *NotificationConnectionUidQuery `form:"connectionUid,omitempty" json:"connectionUid,omitempty"`
// Limit Maximum rows to return (default 100)
Limit *NotificationLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
// Before Only rows created strictly before this RFC3339 timestamp
Before *NotificationBeforeQuery `form:"before,omitempty" json:"before,omitempty"`
}
ListMyNotificationsParams defines parameters for ListMyNotifications.
type ListMyNotificationsResult ¶
type ListMyNotificationsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListMyNotificationsResult ¶
func ParseListMyNotificationsResult(rsp *http.Response) (*ListMyNotificationsResult, error)
ParseListMyNotificationsResult parses an HTTP response from a ListMyNotificationsWithResponse call
func (ListMyNotificationsResult) ContentType ¶
func (r ListMyNotificationsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMyNotificationsResult) GetBody ¶
func (r ListMyNotificationsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListMyNotificationsResult) GetJSON200 ¶
func (r ListMyNotificationsResult) GetJSON200() *NotificationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListMyNotificationsResult) GetJSON401 ¶
func (r ListMyNotificationsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListMyNotificationsResult) GetJSON404 ¶
func (r ListMyNotificationsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListMyNotificationsResult) Status ¶
func (r ListMyNotificationsResult) Status() string
Status returns HTTPResponse.Status
func (ListMyNotificationsResult) StatusCode ¶
func (r ListMyNotificationsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListNotificationsParams ¶
type ListNotificationsParams struct {
// ConnectionUid Connection (channel) UID to filter by
ConnectionUid string `form:"connectionUid" json:"connectionUid"`
// Limit Maximum rows to return (default 10, max 50)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListNotificationsParams defines parameters for ListNotifications.
type ListNotificationsResult ¶
type ListNotificationsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationListResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListNotificationsResult ¶
func ParseListNotificationsResult(rsp *http.Response) (*ListNotificationsResult, error)
ParseListNotificationsResult parses an HTTP response from a ListNotificationsWithResponse call
func (ListNotificationsResult) ContentType ¶
func (r ListNotificationsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListNotificationsResult) GetBody ¶
func (r ListNotificationsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListNotificationsResult) GetJSON200 ¶
func (r ListNotificationsResult) GetJSON200() *NotificationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListNotificationsResult) GetJSON400 ¶
func (r ListNotificationsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListNotificationsResult) GetJSON401 ¶
func (r ListNotificationsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListNotificationsResult) GetJSON404 ¶
func (r ListNotificationsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListNotificationsResult) Status ¶
func (r ListNotificationsResult) Status() string
Status returns HTTPResponse.Status
func (ListNotificationsResult) StatusCode ¶
func (r ListNotificationsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOncallOverridesParams ¶
type ListOncallOverridesParams struct {
// From Only overrides ending after this instant (RFC3339)
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
// Until Only overrides starting before this instant (RFC3339)
Until *time.Time `form:"until,omitempty" json:"until,omitempty"`
}
ListOncallOverridesParams defines parameters for ListOncallOverrides.
type ListOncallOverridesResult ¶
type ListOncallOverridesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OncallOverrideListResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListOncallOverridesResult ¶
func ParseListOncallOverridesResult(rsp *http.Response) (*ListOncallOverridesResult, error)
ParseListOncallOverridesResult parses an HTTP response from a ListOncallOverridesWithResponse call
func (ListOncallOverridesResult) ContentType ¶
func (r ListOncallOverridesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOncallOverridesResult) GetBody ¶
func (r ListOncallOverridesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOncallOverridesResult) GetJSON200 ¶
func (r ListOncallOverridesResult) GetJSON200() *OncallOverrideListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOncallOverridesResult) GetJSON400 ¶
func (r ListOncallOverridesResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListOncallOverridesResult) GetJSON401 ¶
func (r ListOncallOverridesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListOncallOverridesResult) GetJSON404 ¶
func (r ListOncallOverridesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListOncallOverridesResult) Status ¶
func (r ListOncallOverridesResult) Status() string
Status returns HTTPResponse.Status
func (ListOncallOverridesResult) StatusCode ¶
func (r ListOncallOverridesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOncallSchedulesResult ¶
type ListOncallSchedulesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OncallScheduleListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListOncallSchedulesResult ¶
func ParseListOncallSchedulesResult(rsp *http.Response) (*ListOncallSchedulesResult, error)
ParseListOncallSchedulesResult parses an HTTP response from a ListOncallSchedulesWithResponse call
func (ListOncallSchedulesResult) ContentType ¶
func (r ListOncallSchedulesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOncallSchedulesResult) GetBody ¶
func (r ListOncallSchedulesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOncallSchedulesResult) GetJSON200 ¶
func (r ListOncallSchedulesResult) GetJSON200() *OncallScheduleListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOncallSchedulesResult) GetJSON401 ¶
func (r ListOncallSchedulesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListOncallSchedulesResult) GetJSON404 ¶
func (r ListOncallSchedulesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListOncallSchedulesResult) Status ¶
func (r ListOncallSchedulesResult) Status() string
Status returns HTTPResponse.Status
func (ListOncallSchedulesResult) StatusCode ¶
func (r ListOncallSchedulesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrgMembershipRequestsParams ¶
type ListOrgMembershipRequestsParams struct {
// Status Filter by status (pending, approved, rejected, canceled)
Status *ListOrgMembershipRequestsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
ListOrgMembershipRequestsParams defines parameters for ListOrgMembershipRequests.
type ListOrgMembershipRequestsParamsStatus ¶
type ListOrgMembershipRequestsParamsStatus string
ListOrgMembershipRequestsParamsStatus defines parameters for ListOrgMembershipRequests.
const ( ListOrgMembershipRequestsParamsStatusApproved ListOrgMembershipRequestsParamsStatus = "approved" ListOrgMembershipRequestsParamsStatusCanceled ListOrgMembershipRequestsParamsStatus = "canceled" ListOrgMembershipRequestsParamsStatusPending ListOrgMembershipRequestsParamsStatus = "pending" ListOrgMembershipRequestsParamsStatusRejected ListOrgMembershipRequestsParamsStatus = "rejected" )
Defines values for ListOrgMembershipRequestsParamsStatus.
func (ListOrgMembershipRequestsParamsStatus) Valid ¶
func (e ListOrgMembershipRequestsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListOrgMembershipRequestsParamsStatus enum.
type ListOrgMembershipRequestsResult ¶
type ListOrgMembershipRequestsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MembershipRequestAdminListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListOrgMembershipRequestsResult ¶
func ParseListOrgMembershipRequestsResult(rsp *http.Response) (*ListOrgMembershipRequestsResult, error)
ParseListOrgMembershipRequestsResult parses an HTTP response from a ListOrgMembershipRequestsWithResponse call
func (ListOrgMembershipRequestsResult) ContentType ¶
func (r ListOrgMembershipRequestsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOrgMembershipRequestsResult) GetBody ¶
func (r ListOrgMembershipRequestsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOrgMembershipRequestsResult) GetJSON200 ¶
func (r ListOrgMembershipRequestsResult) GetJSON200() *MembershipRequestAdminListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOrgMembershipRequestsResult) GetJSON401 ¶
func (r ListOrgMembershipRequestsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListOrgMembershipRequestsResult) GetJSON403 ¶
func (r ListOrgMembershipRequestsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListOrgMembershipRequestsResult) GetJSON404 ¶
func (r ListOrgMembershipRequestsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListOrgMembershipRequestsResult) Status ¶
func (r ListOrgMembershipRequestsResult) Status() string
Status returns HTTPResponse.Status
func (ListOrgMembershipRequestsResult) StatusCode ¶
func (r ListOrgMembershipRequestsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrgResultsParams ¶
type ListOrgResultsParams struct {
// CheckUid Filter by check UID or slug (comma-separated for multiple)
CheckUid *string `form:"checkUid,omitempty" json:"checkUid,omitempty"`
// CheckType Filter by check type (comma-separated for multiple)
CheckType *string `form:"checkType,omitempty" json:"checkType,omitempty"`
// Status Filter by status (comma-separated for multiple)
Status *string `form:"status,omitempty" json:"status,omitempty"`
// Region Filter by region (comma-separated for multiple)
Region *string `form:"region,omitempty" json:"region,omitempty"`
// PeriodType Filter by period type (comma-separated for multiple). Both useful indexes on `results` are partial and split on `period_type = 'raw'`, so a single request naming raw AND a rollup tier is served by neither and sequentially scans the table — ask for one side per request. A raw-only request is additionally clamped server-side to the raw-retention band (see the `window` object on the response); rows older than that were deleted by the aggregation job, so nothing is lost.
PeriodType *string `form:"periodType,omitempty" json:"periodType,omitempty"`
// PeriodStartAfter RFC3339 timestamp. Filters on `period_start >= value`. For a raw-only request the server may move this forward to the raw-retention boundary; the effective value is echoed in the response's `window` object.
PeriodStartAfter *time.Time `form:"periodStartAfter,omitempty" json:"periodStartAfter,omitempty"`
// PeriodEndBefore RFC3339 timestamp. Despite the name it filters on `period_start < value`, NOT on `period_end` — an aggregated bucket that starts inside the window and ends outside it IS returned. That is deliberate and charting depends on it: a partially visible bucket should still be drawn.
PeriodEndBefore *time.Time `form:"periodEndBefore,omitempty" json:"periodEndBefore,omitempty"`
// Cursor Cursor for pagination
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Results per page (default 100, max 1000)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Size Deprecated alias for `limit`.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Size *int `form:"size,omitempty" json:"size,omitempty"`
// With Comma-separated optional fields to include. durationAvgMs and durationP95Ms are populated on aggregated rollup rows (hour/day/ month) from the stored duration_avg/duration_p95 columns; both are absent on raw rows, which don't store them.
With *string `form:"with,omitempty" json:"with,omitempty"`
}
ListOrgResultsParams defines parameters for ListOrgResults.
type ListOrgResultsResult ¶
type ListOrgResultsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgResultListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListOrgResultsResult ¶
func ParseListOrgResultsResult(rsp *http.Response) (*ListOrgResultsResult, error)
ParseListOrgResultsResult parses an HTTP response from a ListOrgResultsWithResponse call
func (ListOrgResultsResult) ContentType ¶
func (r ListOrgResultsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOrgResultsResult) GetBody ¶
func (r ListOrgResultsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOrgResultsResult) GetJSON200 ¶
func (r ListOrgResultsResult) GetJSON200() *OrgResultListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOrgResultsResult) GetJSON401 ¶
func (r ListOrgResultsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListOrgResultsResult) GetJSON404 ¶
func (r ListOrgResultsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListOrgResultsResult) Status ¶
func (r ListOrgResultsResult) Status() string
Status returns HTTPResponse.Status
func (ListOrgResultsResult) StatusCode ¶
func (r ListOrgResultsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrgTokensParams ¶
type ListOrgTokensParams struct {
// Type Filter by token type
Type *string `form:"type,omitempty" json:"type,omitempty"`
}
ListOrgTokensParams defines parameters for ListOrgTokens.
type ListOrgTokensResult ¶
type ListOrgTokensResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TokenListResponse
}
func ParseListOrgTokensResult ¶
func ParseListOrgTokensResult(rsp *http.Response) (*ListOrgTokensResult, error)
ParseListOrgTokensResult parses an HTTP response from a ListOrgTokensWithResponse call
func (ListOrgTokensResult) ContentType ¶
func (r ListOrgTokensResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOrgTokensResult) GetBody ¶
func (r ListOrgTokensResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListOrgTokensResult) GetJSON200 ¶
func (r ListOrgTokensResult) GetJSON200() *TokenListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListOrgTokensResult) Status ¶
func (r ListOrgTokensResult) Status() string
Status returns HTTPResponse.Status
func (ListOrgTokensResult) StatusCode ¶
func (r ListOrgTokensResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRegionsResult ¶
type ListRegionsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgRegionListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListRegionsResult ¶
func ParseListRegionsResult(rsp *http.Response) (*ListRegionsResult, error)
ParseListRegionsResult parses an HTTP response from a ListRegionsWithResponse call
func (ListRegionsResult) ContentType ¶
func (r ListRegionsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRegionsResult) GetBody ¶
func (r ListRegionsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRegionsResult) GetJSON200 ¶
func (r ListRegionsResult) GetJSON200() *OrgRegionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRegionsResult) GetJSON401 ¶
func (r ListRegionsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListRegionsResult) GetJSON404 ¶
func (r ListRegionsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListRegionsResult) Status ¶
func (r ListRegionsResult) Status() string
Status returns HTTPResponse.Status
func (ListRegionsResult) StatusCode ¶
func (r ListRegionsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListReportSchedulesResult ¶
type ListReportSchedulesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReportScheduleListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListReportSchedulesResult ¶
func ParseListReportSchedulesResult(rsp *http.Response) (*ListReportSchedulesResult, error)
ParseListReportSchedulesResult parses an HTTP response from a ListReportSchedulesWithResponse call
func (ListReportSchedulesResult) ContentType ¶
func (r ListReportSchedulesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListReportSchedulesResult) GetBody ¶
func (r ListReportSchedulesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListReportSchedulesResult) GetJSON200 ¶
func (r ListReportSchedulesResult) GetJSON200() *ReportScheduleListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListReportSchedulesResult) GetJSON401 ¶
func (r ListReportSchedulesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListReportSchedulesResult) GetJSON404 ¶
func (r ListReportSchedulesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListReportSchedulesResult) Status ¶
func (r ListReportSchedulesResult) Status() string
Status returns HTTPResponse.Status
func (ListReportSchedulesResult) StatusCode ¶
func (r ListReportSchedulesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSeveritiesResult ¶
type ListSeveritiesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SeverityListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListSeveritiesResult ¶
func ParseListSeveritiesResult(rsp *http.Response) (*ListSeveritiesResult, error)
ParseListSeveritiesResult parses an HTTP response from a ListSeveritiesWithResponse call
func (ListSeveritiesResult) ContentType ¶
func (r ListSeveritiesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSeveritiesResult) GetBody ¶
func (r ListSeveritiesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSeveritiesResult) GetJSON200 ¶
func (r ListSeveritiesResult) GetJSON200() *SeverityListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSeveritiesResult) GetJSON401 ¶
func (r ListSeveritiesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSeveritiesResult) GetJSON404 ¶
func (r ListSeveritiesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListSeveritiesResult) Status ¶
func (r ListSeveritiesResult) Status() string
Status returns HTTPResponse.Status
func (ListSeveritiesResult) StatusCode ¶
func (r ListSeveritiesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSloAlertPoliciesResult ¶
type ListSloAlertPoliciesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLOAlertPolicyListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListSloAlertPoliciesResult ¶
func ParseListSloAlertPoliciesResult(rsp *http.Response) (*ListSloAlertPoliciesResult, error)
ParseListSloAlertPoliciesResult parses an HTTP response from a ListSloAlertPoliciesWithResponse call
func (ListSloAlertPoliciesResult) ContentType ¶
func (r ListSloAlertPoliciesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSloAlertPoliciesResult) GetBody ¶
func (r ListSloAlertPoliciesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSloAlertPoliciesResult) GetJSON200 ¶
func (r ListSloAlertPoliciesResult) GetJSON200() *SLOAlertPolicyListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSloAlertPoliciesResult) GetJSON401 ¶
func (r ListSloAlertPoliciesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSloAlertPoliciesResult) GetJSON404 ¶
func (r ListSloAlertPoliciesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListSloAlertPoliciesResult) Status ¶
func (r ListSloAlertPoliciesResult) Status() string
Status returns HTTPResponse.Status
func (ListSloAlertPoliciesResult) StatusCode ¶
func (r ListSloAlertPoliciesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSlosParams ¶
type ListSlosParams struct {
// CheckUid Restrict to objectives scoped directly to this check
CheckUid *string `form:"checkUid,omitempty" json:"checkUid,omitempty"`
// Limit Maximum results (1-200)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListSlosParams defines parameters for ListSlos.
type ListSlosResult ¶
type ListSlosResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLOListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListSlosResult ¶
func ParseListSlosResult(rsp *http.Response) (*ListSlosResult, error)
ParseListSlosResult parses an HTTP response from a ListSlosWithResponse call
func (ListSlosResult) ContentType ¶
func (r ListSlosResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSlosResult) GetBody ¶
func (r ListSlosResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSlosResult) GetJSON200 ¶
func (r ListSlosResult) GetJSON200() *SLOListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSlosResult) GetJSON401 ¶
func (r ListSlosResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSlosResult) GetJSON404 ¶
func (r ListSlosResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListSlosResult) Status ¶
func (r ListSlosResult) Status() string
Status returns HTTPResponse.Status
func (ListSlosResult) StatusCode ¶
func (r ListSlosResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPageIncidentsParams ¶
type ListStatusPageIncidentsParams struct {
State *ListStatusPageIncidentsParamsState `form:"state,omitempty" json:"state,omitempty"`
// Active When "true", returns only publications that are not resolved.
Active *bool `form:"active,omitempty" json:"active,omitempty"`
// Stale When "true", returns only publications that are still open on the public page while the internal incident they track has already resolved. Combine with `active=true` for the operator's "needs closing by hand" feed.
Stale *bool `form:"stale,omitempty" json:"stale,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListStatusPageIncidentsParams defines parameters for ListStatusPageIncidents.
type ListStatusPageIncidentsParamsState ¶
type ListStatusPageIncidentsParamsState string
ListStatusPageIncidentsParamsState defines parameters for ListStatusPageIncidents.
const ( ListStatusPageIncidentsParamsStateIdentified ListStatusPageIncidentsParamsState = "identified" ListStatusPageIncidentsParamsStateInvestigating ListStatusPageIncidentsParamsState = "investigating" ListStatusPageIncidentsParamsStateMonitoring ListStatusPageIncidentsParamsState = "monitoring" ListStatusPageIncidentsParamsStateResolved ListStatusPageIncidentsParamsState = "resolved" )
Defines values for ListStatusPageIncidentsParamsState.
func (ListStatusPageIncidentsParamsState) Valid ¶
func (e ListStatusPageIncidentsParamsState) Valid() bool
Valid indicates whether the value is a known member of the ListStatusPageIncidentsParamsState enum.
type ListStatusPageIncidentsResult ¶
type ListStatusPageIncidentsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentPublicationListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListStatusPageIncidentsResult ¶
func ParseListStatusPageIncidentsResult(rsp *http.Response) (*ListStatusPageIncidentsResult, error)
ParseListStatusPageIncidentsResult parses an HTTP response from a ListStatusPageIncidentsWithResponse call
func (ListStatusPageIncidentsResult) ContentType ¶
func (r ListStatusPageIncidentsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPageIncidentsResult) GetBody ¶
func (r ListStatusPageIncidentsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStatusPageIncidentsResult) GetJSON200 ¶
func (r ListStatusPageIncidentsResult) GetJSON200() *IncidentPublicationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStatusPageIncidentsResult) GetJSON401 ¶
func (r ListStatusPageIncidentsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListStatusPageIncidentsResult) GetJSON404 ¶
func (r ListStatusPageIncidentsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListStatusPageIncidentsResult) Status ¶
func (r ListStatusPageIncidentsResult) Status() string
Status returns HTTPResponse.Status
func (ListStatusPageIncidentsResult) StatusCode ¶
func (r ListStatusPageIncidentsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPageResourcesResult ¶
type ListStatusPageResourcesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageResourceListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListStatusPageResourcesResult ¶
func ParseListStatusPageResourcesResult(rsp *http.Response) (*ListStatusPageResourcesResult, error)
ParseListStatusPageResourcesResult parses an HTTP response from a ListStatusPageResourcesWithResponse call
func (ListStatusPageResourcesResult) ContentType ¶
func (r ListStatusPageResourcesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPageResourcesResult) GetBody ¶
func (r ListStatusPageResourcesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStatusPageResourcesResult) GetJSON200 ¶
func (r ListStatusPageResourcesResult) GetJSON200() *StatusPageResourceListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStatusPageResourcesResult) GetJSON401 ¶
func (r ListStatusPageResourcesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListStatusPageResourcesResult) GetJSON404 ¶
func (r ListStatusPageResourcesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListStatusPageResourcesResult) Status ¶
func (r ListStatusPageResourcesResult) Status() string
Status returns HTTPResponse.Status
func (ListStatusPageResourcesResult) StatusCode ¶
func (r ListStatusPageResourcesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPageSectionsResult ¶
type ListStatusPageSectionsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageSectionListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListStatusPageSectionsResult ¶
func ParseListStatusPageSectionsResult(rsp *http.Response) (*ListStatusPageSectionsResult, error)
ParseListStatusPageSectionsResult parses an HTTP response from a ListStatusPageSectionsWithResponse call
func (ListStatusPageSectionsResult) ContentType ¶
func (r ListStatusPageSectionsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPageSectionsResult) GetBody ¶
func (r ListStatusPageSectionsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStatusPageSectionsResult) GetJSON200 ¶
func (r ListStatusPageSectionsResult) GetJSON200() *StatusPageSectionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStatusPageSectionsResult) GetJSON401 ¶
func (r ListStatusPageSectionsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListStatusPageSectionsResult) GetJSON404 ¶
func (r ListStatusPageSectionsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListStatusPageSectionsResult) Status ¶
func (r ListStatusPageSectionsResult) Status() string
Status returns HTTPResponse.Status
func (ListStatusPageSectionsResult) StatusCode ¶
func (r ListStatusPageSectionsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPageSubscribersResult ¶
type ListStatusPageSubscribersResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageSubscriberListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListStatusPageSubscribersResult ¶
func ParseListStatusPageSubscribersResult(rsp *http.Response) (*ListStatusPageSubscribersResult, error)
ParseListStatusPageSubscribersResult parses an HTTP response from a ListStatusPageSubscribersWithResponse call
func (ListStatusPageSubscribersResult) ContentType ¶
func (r ListStatusPageSubscribersResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPageSubscribersResult) GetBody ¶
func (r ListStatusPageSubscribersResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStatusPageSubscribersResult) GetJSON200 ¶
func (r ListStatusPageSubscribersResult) GetJSON200() *StatusPageSubscriberListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStatusPageSubscribersResult) GetJSON401 ¶
func (r ListStatusPageSubscribersResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListStatusPageSubscribersResult) GetJSON404 ¶
func (r ListStatusPageSubscribersResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListStatusPageSubscribersResult) Status ¶
func (r ListStatusPageSubscribersResult) Status() string
Status returns HTTPResponse.Status
func (ListStatusPageSubscribersResult) StatusCode ¶
func (r ListStatusPageSubscribersResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusPagesResult ¶
type ListStatusPagesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListStatusPagesResult ¶
func ParseListStatusPagesResult(rsp *http.Response) (*ListStatusPagesResult, error)
ParseListStatusPagesResult parses an HTTP response from a ListStatusPagesWithResponse call
func (ListStatusPagesResult) ContentType ¶
func (r ListStatusPagesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusPagesResult) GetBody ¶
func (r ListStatusPagesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStatusPagesResult) GetJSON200 ¶
func (r ListStatusPagesResult) GetJSON200() *StatusPageListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStatusPagesResult) GetJSON401 ¶
func (r ListStatusPagesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListStatusPagesResult) GetJSON404 ¶
func (r ListStatusPagesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListStatusPagesResult) Status ¶
func (r ListStatusPagesResult) Status() string
Status returns HTTPResponse.Status
func (ListStatusPagesResult) StatusCode ¶
func (r ListStatusPagesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStatusUpdatesParams ¶
type ListStatusUpdatesParams struct {
// StatusPage Filter by status page UID
StatusPage *string `form:"statusPage,omitempty" json:"statusPage,omitempty"`
// Section Filter by section UID
Section *string `form:"section,omitempty" json:"section,omitempty"`
// Check Filter by check UID
Check *string `form:"check,omitempty" json:"check,omitempty"`
// Incident Filter by incident UID
Incident *string `form:"incident,omitempty" json:"incident,omitempty"`
// Limit Maximum results (1-200)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Result offset
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
ListStatusUpdatesParams defines parameters for ListStatusUpdates.
type ListStatusUpdatesResult ¶
type ListStatusUpdatesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusUpdateListResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListStatusUpdatesResult ¶
func ParseListStatusUpdatesResult(rsp *http.Response) (*ListStatusUpdatesResult, error)
ParseListStatusUpdatesResult parses an HTTP response from a ListStatusUpdatesWithResponse call
func (ListStatusUpdatesResult) ContentType ¶
func (r ListStatusUpdatesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListStatusUpdatesResult) GetBody ¶
func (r ListStatusUpdatesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListStatusUpdatesResult) GetJSON200 ¶
func (r ListStatusUpdatesResult) GetJSON200() *StatusUpdateListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListStatusUpdatesResult) GetJSON400 ¶
func (r ListStatusUpdatesResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListStatusUpdatesResult) GetJSON401 ¶
func (r ListStatusUpdatesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListStatusUpdatesResult) GetJSON404 ¶
func (r ListStatusUpdatesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListStatusUpdatesResult) Status ¶
func (r ListStatusUpdatesResult) Status() string
Status returns HTTPResponse.Status
func (ListStatusUpdatesResult) StatusCode ¶
func (r ListStatusUpdatesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSupportMessagesParams ¶
type ListSupportMessagesParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListSupportMessagesParams defines parameters for ListSupportMessages.
type ListSupportMessagesResult ¶
type ListSupportMessagesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SupportMessageListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListSupportMessagesResult ¶
func ParseListSupportMessagesResult(rsp *http.Response) (*ListSupportMessagesResult, error)
ParseListSupportMessagesResult parses an HTTP response from a ListSupportMessagesWithResponse call
func (ListSupportMessagesResult) ContentType ¶
func (r ListSupportMessagesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSupportMessagesResult) GetBody ¶
func (r ListSupportMessagesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSupportMessagesResult) GetJSON200 ¶
func (r ListSupportMessagesResult) GetJSON200() *SupportMessageListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSupportMessagesResult) GetJSON401 ¶
func (r ListSupportMessagesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSupportMessagesResult) GetJSON403 ¶
func (r ListSupportMessagesResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListSupportMessagesResult) GetJSON404 ¶
func (r ListSupportMessagesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListSupportMessagesResult) Status ¶
func (r ListSupportMessagesResult) Status() string
Status returns HTTPResponse.Status
func (ListSupportMessagesResult) StatusCode ¶
func (r ListSupportMessagesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSupportThreadsParams ¶
type ListSupportThreadsParams struct {
Status *ListSupportThreadsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Channel *ListSupportThreadsParamsChannel `form:"channel,omitempty" json:"channel,omitempty"`
// Q Case-insensitive substring match on subject or channel identity
Q *string `form:"q,omitempty" json:"q,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListSupportThreadsParams defines parameters for ListSupportThreads.
type ListSupportThreadsParamsChannel ¶
type ListSupportThreadsParamsChannel string
ListSupportThreadsParamsChannel defines parameters for ListSupportThreads.
const ( ListSupportThreadsParamsChannelDiscord ListSupportThreadsParamsChannel = "discord" ListSupportThreadsParamsChannelEmail ListSupportThreadsParamsChannel = "email" ListSupportThreadsParamsChannelSlack ListSupportThreadsParamsChannel = "slack" ListSupportThreadsParamsChannelSms ListSupportThreadsParamsChannel = "sms" ListSupportThreadsParamsChannelTelegram ListSupportThreadsParamsChannel = "telegram" ListSupportThreadsParamsChannelWhatsapp ListSupportThreadsParamsChannel = "whatsapp" )
Defines values for ListSupportThreadsParamsChannel.
func (ListSupportThreadsParamsChannel) Valid ¶
func (e ListSupportThreadsParamsChannel) Valid() bool
Valid indicates whether the value is a known member of the ListSupportThreadsParamsChannel enum.
type ListSupportThreadsParamsStatus ¶
type ListSupportThreadsParamsStatus string
ListSupportThreadsParamsStatus defines parameters for ListSupportThreads.
const ( ListSupportThreadsParamsStatusClosed ListSupportThreadsParamsStatus = "closed" ListSupportThreadsParamsStatusOpen ListSupportThreadsParamsStatus = "open" ListSupportThreadsParamsStatusPending ListSupportThreadsParamsStatus = "pending" )
Defines values for ListSupportThreadsParamsStatus.
func (ListSupportThreadsParamsStatus) Valid ¶
func (e ListSupportThreadsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListSupportThreadsParamsStatus enum.
type ListSupportThreadsResult ¶
type ListSupportThreadsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SupportThreadListResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListSupportThreadsResult ¶
func ParseListSupportThreadsResult(rsp *http.Response) (*ListSupportThreadsResult, error)
ParseListSupportThreadsResult parses an HTTP response from a ListSupportThreadsWithResponse call
func (ListSupportThreadsResult) ContentType ¶
func (r ListSupportThreadsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSupportThreadsResult) GetBody ¶
func (r ListSupportThreadsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSupportThreadsResult) GetJSON200 ¶
func (r ListSupportThreadsResult) GetJSON200() *SupportThreadListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSupportThreadsResult) GetJSON400 ¶
func (r ListSupportThreadsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ListSupportThreadsResult) GetJSON401 ¶
func (r ListSupportThreadsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSupportThreadsResult) GetJSON403 ¶
func (r ListSupportThreadsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListSupportThreadsResult) Status ¶
func (r ListSupportThreadsResult) Status() string
Status returns HTTPResponse.Status
func (ListSupportThreadsResult) StatusCode ¶
func (r ListSupportThreadsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSystemCheckJobsParams ¶
type ListSystemCheckJobsParams struct {
// Limit Maximum number of rows to return (1-200)
Limit *JobLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of rows to skip
Offset *JobOffsetQuery `form:"offset,omitempty" json:"offset,omitempty"`
}
ListSystemCheckJobsParams defines parameters for ListSystemCheckJobs.
type ListSystemCheckJobsResult ¶
type ListSystemCheckJobsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckJobListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListSystemCheckJobsResult ¶
func ParseListSystemCheckJobsResult(rsp *http.Response) (*ListSystemCheckJobsResult, error)
ParseListSystemCheckJobsResult parses an HTTP response from a ListSystemCheckJobsWithResponse call
func (ListSystemCheckJobsResult) ContentType ¶
func (r ListSystemCheckJobsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSystemCheckJobsResult) GetBody ¶
func (r ListSystemCheckJobsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSystemCheckJobsResult) GetJSON200 ¶
func (r ListSystemCheckJobsResult) GetJSON200() *CheckJobListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSystemCheckJobsResult) GetJSON401 ¶
func (r ListSystemCheckJobsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSystemCheckJobsResult) GetJSON403 ¶
func (r ListSystemCheckJobsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListSystemCheckJobsResult) Status ¶
func (r ListSystemCheckJobsResult) Status() string
Status returns HTTPResponse.Status
func (ListSystemCheckJobsResult) StatusCode ¶
func (r ListSystemCheckJobsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSystemJobsParams ¶
type ListSystemJobsParams struct {
// Status Filter by job status
Status *JobStatusQuery `form:"status,omitempty" json:"status,omitempty"`
// Type Filter by job type
Type *JobTypeQuery `form:"type,omitempty" json:"type,omitempty"`
// Limit Maximum number of rows to return (1-200)
Limit *JobLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of rows to skip
Offset *JobOffsetQuery `form:"offset,omitempty" json:"offset,omitempty"`
}
ListSystemJobsParams defines parameters for ListSystemJobs.
type ListSystemJobsResult ¶
type ListSystemJobsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminJobListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListSystemJobsResult ¶
func ParseListSystemJobsResult(rsp *http.Response) (*ListSystemJobsResult, error)
ParseListSystemJobsResult parses an HTTP response from a ListSystemJobsWithResponse call
func (ListSystemJobsResult) ContentType ¶
func (r ListSystemJobsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSystemJobsResult) GetBody ¶
func (r ListSystemJobsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSystemJobsResult) GetJSON200 ¶
func (r ListSystemJobsResult) GetJSON200() *AdminJobListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSystemJobsResult) GetJSON401 ¶
func (r ListSystemJobsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSystemJobsResult) GetJSON403 ¶
func (r ListSystemJobsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListSystemJobsResult) Status ¶
func (r ListSystemJobsResult) Status() string
Status returns HTTPResponse.Status
func (ListSystemJobsResult) StatusCode ¶
func (r ListSystemJobsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSystemParametersResult ¶
type ListSystemParametersResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SystemParameterListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseListSystemParametersResult ¶
func ParseListSystemParametersResult(rsp *http.Response) (*ListSystemParametersResult, error)
ParseListSystemParametersResult parses an HTTP response from a ListSystemParametersWithResponse call
func (ListSystemParametersResult) ContentType ¶
func (r ListSystemParametersResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSystemParametersResult) GetBody ¶
func (r ListSystemParametersResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSystemParametersResult) GetJSON200 ¶
func (r ListSystemParametersResult) GetJSON200() *SystemParameterListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSystemParametersResult) GetJSON401 ¶
func (r ListSystemParametersResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListSystemParametersResult) GetJSON403 ¶
func (r ListSystemParametersResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListSystemParametersResult) Status ¶
func (r ListSystemParametersResult) Status() string
Status returns HTTPResponse.Status
func (ListSystemParametersResult) StatusCode ¶
func (r ListSystemParametersResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUserNotificationsParams ¶
type ListUserNotificationsParams struct {
// Status Filter by delivery status (e.g. sent, failed, skipped)
Status *NotificationStatusQuery `form:"status,omitempty" json:"status,omitempty"`
// ConnectionUid Filter by connection (channel) UID
ConnectionUid *NotificationConnectionUidQuery `form:"connectionUid,omitempty" json:"connectionUid,omitempty"`
// Limit Maximum rows to return (default 100)
Limit *NotificationLimitQuery `form:"limit,omitempty" json:"limit,omitempty"`
// Before Only rows created strictly before this RFC3339 timestamp
Before *NotificationBeforeQuery `form:"before,omitempty" json:"before,omitempty"`
}
ListUserNotificationsParams defines parameters for ListUserNotifications.
type ListUserNotificationsResult ¶
type ListUserNotificationsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseListUserNotificationsResult ¶
func ParseListUserNotificationsResult(rsp *http.Response) (*ListUserNotificationsResult, error)
ParseListUserNotificationsResult parses an HTTP response from a ListUserNotificationsWithResponse call
func (ListUserNotificationsResult) ContentType ¶
func (r ListUserNotificationsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListUserNotificationsResult) GetBody ¶
func (r ListUserNotificationsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListUserNotificationsResult) GetJSON200 ¶
func (r ListUserNotificationsResult) GetJSON200() *NotificationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListUserNotificationsResult) GetJSON401 ¶
func (r ListUserNotificationsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ListUserNotificationsResult) GetJSON403 ¶
func (r ListUserNotificationsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ListUserNotificationsResult) GetJSON404 ¶
func (r ListUserNotificationsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListUserNotificationsResult) Status ¶
func (r ListUserNotificationsResult) Status() string
Status returns HTTPResponse.Status
func (ListUserNotificationsResult) StatusCode ¶
func (r ListUserNotificationsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoginJSONRequestBody ¶
type LoginJSONRequestBody = LoginRequest
LoginJSONRequestBody defines body for Login for application/json ContentType.
type LoginRequest ¶
type LoginRequest struct {
Email openapi_types.Email `json:"email"`
// Org Organization slug (optional, defaults to user's most recent org)
Org *string `json:"org,omitempty"`
Password string `json:"password"`
}
LoginRequest defines model for LoginRequest.
type LoginResponse ¶
type LoginResponse struct {
AccessToken *string `json:"accessToken,omitempty"`
ExpiresIn *int `json:"expiresIn,omitempty"`
// LoginAction Indicates how the frontend should handle the login result
LoginAction *LoginResponseLoginAction `json:"loginAction,omitempty"`
Organization *OrganizationSummary `json:"organization,omitempty"`
// Organizations Available organizations for the user
Organizations *[]OrganizationMemberSummary `json:"organizations,omitempty"`
RefreshToken *string `json:"refreshToken,omitempty"`
User *UserSummary `json:"user,omitempty"`
}
LoginResponse defines model for LoginResponse.
type LoginResponseLoginAction ¶
type LoginResponseLoginAction string
LoginResponseLoginAction Indicates how the frontend should handle the login result
const ( LoginResponseLoginActionEmpty LoginResponseLoginAction = "" LoginResponseLoginActionNoOrg LoginResponseLoginAction = "noOrg" LoginResponseLoginActionOrgChoice LoginResponseLoginAction = "orgChoice" LoginResponseLoginActionOrgRedirect LoginResponseLoginAction = "orgRedirect" )
Defines values for LoginResponseLoginAction.
func (LoginResponseLoginAction) Valid ¶
func (e LoginResponseLoginAction) Valid() bool
Valid indicates whether the value is a known member of the LoginResponseLoginAction enum.
type LoginResult ¶
type LoginResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoginResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
}
func ParseLoginResult ¶
func ParseLoginResult(rsp *http.Response) (*LoginResult, error)
ParseLoginResult parses an HTTP response from a LoginWithResponse call
func (LoginResult) ContentType ¶
func (r LoginResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoginResult) GetBody ¶
func (r LoginResult) GetBody() []byte
GetBody returns the raw response body bytes
func (LoginResult) GetJSON200 ¶
func (r LoginResult) GetJSON200() *LoginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LoginResult) GetJSON401 ¶
func (r LoginResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (LoginResult) StatusCode ¶
func (r LoginResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogoutJSONRequestBody ¶
type LogoutJSONRequestBody = LogoutRequest
LogoutJSONRequestBody defines body for Logout for application/json ContentType.
type LogoutRequest ¶
type LogoutRequest struct {
DeleteAllTokens *bool `json:"deleteAllTokens,omitempty"`
}
LogoutRequest defines model for LogoutRequest.
type LogoutResponse ¶
type LogoutResponse struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
TokensDeleted *int `json:"tokensDeleted,omitempty"`
}
LogoutResponse defines model for LogoutResponse.
type LogoutResult ¶
type LogoutResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LogoutResponse
}
func ParseLogoutResult ¶
func ParseLogoutResult(rsp *http.Response) (*LogoutResult, error)
ParseLogoutResult parses an HTTP response from a LogoutWithResponse call
func (LogoutResult) ContentType ¶
func (r LogoutResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LogoutResult) GetBody ¶
func (r LogoutResult) GetBody() []byte
GetBody returns the raw response body bytes
func (LogoutResult) GetJSON200 ¶
func (r LogoutResult) GetJSON200() *LogoutResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LogoutResult) Status ¶
func (r LogoutResult) Status() string
Status returns HTTPResponse.Status
func (LogoutResult) StatusCode ¶
func (r LogoutResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MaintenanceWindow ¶
type MaintenanceWindow struct {
CreatedAt time.Time `json:"createdAt"`
CreatedBy *string `json:"createdBy,omitempty"`
Description *string `json:"description,omitempty"`
EndAt time.Time `json:"endAt"`
NextOccurrences []MaintenanceWindowOccurrence `json:"nextOccurrences"`
// Recurrence One of: none, daily, weekly, monthly
Recurrence string `json:"recurrence"`
RecurrenceEnd *time.Time `json:"recurrenceEnd,omitempty"`
StartAt time.Time `json:"startAt"`
// Status Server-computed lifecycle: active, upcoming, past
Status string `json:"status"`
Title string `json:"title"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt time.Time `json:"updatedAt"`
}
MaintenanceWindow defines model for MaintenanceWindow.
type MaintenanceWindowCheck ¶
type MaintenanceWindowCheck struct {
CheckGroupUid *openapi_types.UUID `json:"checkGroupUid,omitempty"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
Uid openapi_types.UUID `json:"uid"`
}
MaintenanceWindowCheck defines model for MaintenanceWindowCheck.
type MaintenanceWindowCheckListResponse ¶
type MaintenanceWindowCheckListResponse struct {
Data *[]MaintenanceWindowCheck `json:"data,omitempty"`
}
MaintenanceWindowCheckListResponse defines model for MaintenanceWindowCheckListResponse.
type MaintenanceWindowListResponse ¶
type MaintenanceWindowListResponse struct {
Data *[]MaintenanceWindow `json:"data,omitempty"`
}
MaintenanceWindowListResponse defines model for MaintenanceWindowListResponse.
type MaintenanceWindowOccurrence ¶
type MaintenanceWindowOccurrence struct {
EndAt time.Time `json:"endAt"`
StartAt time.Time `json:"startAt"`
}
MaintenanceWindowOccurrence defines model for MaintenanceWindowOccurrence.
type MaintenanceWindowUidPath ¶
type MaintenanceWindowUidPath = openapi_types.UUID
MaintenanceWindowUidPath defines model for MaintenanceWindowUidPath.
type MeResponse ¶
type MeResponse struct {
Organization *OrganizationSummary `json:"organization,omitempty"`
Organizations *[]OrganizationMemberSummary `json:"organizations,omitempty"`
User *UserSummary `json:"user,omitempty"`
}
MeResponse defines model for MeResponse.
type Member ¶
type Member struct {
AvatarUrl *string `json:"avatarUrl,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Email *openapi_types.Email `json:"email,omitempty"`
JoinedAt *time.Time `json:"joinedAt,omitempty"`
Name *string `json:"name,omitempty"`
Role *MemberRole `json:"role,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
UserUid *openapi_types.UUID `json:"userUid,omitempty"`
}
Member defines model for Member.
type MemberChannelCoverage ¶
type MemberChannelCoverage struct {
Enabled bool `json:"enabled"`
// Type Contact channel type (email, phone, whatsapp, telegram, webpush, …)
Type string `json:"type"`
Verified bool `json:"verified"`
}
MemberChannelCoverage defines model for MemberChannelCoverage.
type MemberCoverage ¶
type MemberCoverage struct {
Channels []MemberChannelCoverage `json:"channels"`
Email string `json:"email"`
// EmailFallbackOnly True when no enabled AND verified channel other than email exists — escalation can still reach this member, but only by email.
EmailFallbackOnly bool `json:"emailFallbackOnly"`
Name *string `json:"name,omitempty"`
Role string `json:"role"`
UserUid openapi_types.UUID `json:"userUid"`
}
MemberCoverage defines model for MemberCoverage.
type MemberCoverageListResponse ¶
type MemberCoverageListResponse struct {
Data []MemberCoverage `json:"data"`
}
MemberCoverageListResponse defines model for MemberCoverageListResponse.
type MemberListResponse ¶
type MemberListResponse struct {
Data *[]Member `json:"data,omitempty"`
}
MemberListResponse defines model for MemberListResponse.
type MemberRole ¶
type MemberRole string
MemberRole defines model for Member.Role.
const ( MemberRoleAdmin MemberRole = "admin" MemberRoleOwner MemberRole = "owner" MemberRoleUser MemberRole = "user" MemberRoleViewer MemberRole = "viewer" )
Defines values for MemberRole.
func (MemberRole) Valid ¶
func (e MemberRole) Valid() bool
Valid indicates whether the value is a known member of the MemberRole enum.
type MemberUidPath ¶
type MemberUidPath = openapi_types.UUID
MemberUidPath defines model for MemberUidPath.
type MembershipRequestAdminListResponse ¶
type MembershipRequestAdminListResponse struct {
Data *[]MembershipRequestAdminView `json:"data,omitempty"`
}
MembershipRequestAdminListResponse defines model for MembershipRequestAdminListResponse.
type MembershipRequestAdminView ¶
type MembershipRequestAdminView struct {
CreatedAt time.Time `json:"createdAt"`
DecidedAt *time.Time `json:"decidedAt,omitempty"`
DecisionReason *string `json:"decisionReason,omitempty"`
Message *string `json:"message,omitempty"`
Status MembershipRequestAdminViewStatus `json:"status"`
Uid openapi_types.UUID `json:"uid"`
User MembershipRequestUser `json:"user"`
}
MembershipRequestAdminView defines model for MembershipRequestAdminView.
type MembershipRequestAdminViewStatus ¶
type MembershipRequestAdminViewStatus string
MembershipRequestAdminViewStatus defines model for MembershipRequestAdminView.Status.
const ( MembershipRequestAdminViewStatusApproved MembershipRequestAdminViewStatus = "approved" MembershipRequestAdminViewStatusCanceled MembershipRequestAdminViewStatus = "canceled" MembershipRequestAdminViewStatusPending MembershipRequestAdminViewStatus = "pending" MembershipRequestAdminViewStatusRejected MembershipRequestAdminViewStatus = "rejected" )
Defines values for MembershipRequestAdminViewStatus.
func (MembershipRequestAdminViewStatus) Valid ¶
func (e MembershipRequestAdminViewStatus) Valid() bool
Valid indicates whether the value is a known member of the MembershipRequestAdminViewStatus enum.
type MembershipRequestListResponse ¶
type MembershipRequestListResponse struct {
Data *[]MembershipRequestSummary `json:"data,omitempty"`
}
MembershipRequestListResponse defines model for MembershipRequestListResponse.
type MembershipRequestSummary ¶
type MembershipRequestSummary struct {
CreatedAt time.Time `json:"createdAt"`
DecidedAt *time.Time `json:"decidedAt,omitempty"`
DecisionReason *string `json:"decisionReason,omitempty"`
Message *string `json:"message,omitempty"`
Organization OrganizationRef `json:"organization"`
Status MembershipRequestSummaryStatus `json:"status"`
Uid openapi_types.UUID `json:"uid"`
}
MembershipRequestSummary defines model for MembershipRequestSummary.
type MembershipRequestSummaryStatus ¶
type MembershipRequestSummaryStatus string
MembershipRequestSummaryStatus defines model for MembershipRequestSummary.Status.
const ( MembershipRequestSummaryStatusApproved MembershipRequestSummaryStatus = "approved" MembershipRequestSummaryStatusCanceled MembershipRequestSummaryStatus = "canceled" MembershipRequestSummaryStatusPending MembershipRequestSummaryStatus = "pending" MembershipRequestSummaryStatusRejected MembershipRequestSummaryStatus = "rejected" )
Defines values for MembershipRequestSummaryStatus.
func (MembershipRequestSummaryStatus) Valid ¶
func (e MembershipRequestSummaryStatus) Valid() bool
Valid indicates whether the value is a known member of the MembershipRequestSummaryStatus enum.
type MembershipRequestUidPath ¶
type MembershipRequestUidPath = openapi_types.UUID
MembershipRequestUidPath defines model for MembershipRequestUidPath.
type MembershipRequestUser ¶
type MembershipRequestUser struct {
AvatarUrl *string `json:"avatarUrl,omitempty"`
Email openapi_types.Email `json:"email"`
Name *string `json:"name,omitempty"`
Role *string `json:"role,omitempty"`
Uid openapi_types.UUID `json:"uid"`
}
MembershipRequestUser defines model for MembershipRequestUser.
type MemoryBuild ¶
type MemoryBuild struct {
CgoEnabled *bool `json:"cgoEnabled,omitempty"`
GoVersion *string `json:"goVersion,omitempty"`
SqliteDriver *string `json:"sqliteDriver,omitempty"`
}
MemoryBuild Build facts relevant to off-heap accounting.
type MemoryCgroup ¶
type MemoryCgroup struct {
AnonBytes *int64 `json:"anonBytes,omitempty"`
CurrentBytes *int64 `json:"currentBytes,omitempty"`
FileBytes *int64 `json:"fileBytes,omitempty"`
FileMappedBytes *int64 `json:"fileMappedBytes,omitempty"`
KernelBytes *int64 `json:"kernelBytes,omitempty"`
// MaxBytes Hard limit; 0 means unlimited.
MaxBytes *int64 `json:"maxBytes,omitempty"`
PeakBytes *int64 `json:"peakBytes,omitempty"`
Present *bool `json:"present,omitempty"`
ShmemBytes *int64 `json:"shmemBytes,omitempty"`
SlabBytes *int64 `json:"slabBytes,omitempty"`
SockBytes *int64 `json:"sockBytes,omitempty"`
// UnreclaimableBytes anon + kernel — what the kernel cannot reclaim, and therefore what an OOM kill is decided on. The primary metric of the memory bench harness.
UnreclaimableBytes *int64 `json:"unreclaimableBytes,omitempty"`
// Version 2 for the unified hierarchy, 1 for the legacy controller, 0 when absent.
Version *int `json:"version,omitempty"`
}
MemoryCgroup The container's own memory accounting, read from inside the process (the image is distroless, so nothing else can read it). Absent outside a container.
type MemoryDerived ¶
type MemoryDerived struct {
// GoResidentBytes (runtime total − heap released), the subtrahend above.
GoResidentBytes *int64 `json:"goResidentBytes,omitempty"`
// OffHeapBytes RssAnon − (runtime total − heap released): resident anonymous memory the Go runtime does not account for (a cgo allocator's arena, foreign mmaps). Signed — a small negative value means the runtime holds address space that is not resident.
OffHeapBytes *int64 `json:"offHeapBytes,omitempty"`
// OffHeapKnown False when RssAnon was unavailable; offHeapBytes is then meaningless rather than zero.
OffHeapKnown *bool `json:"offHeapKnown,omitempty"`
}
MemoryDerived defines model for MemoryDerived.
type MemoryProcStatus ¶
type MemoryProcStatus struct {
Present *bool `json:"present,omitempty"`
// RssAnonBytes Resident anonymous memory — the only RSS component an OOM kill can be caused by.
RssAnonBytes *int64 `json:"rssAnonBytes,omitempty"`
// RssFileBytes Resident file-backed memory (mapped binary/rodata), reclaimable.
RssFileBytes *int64 `json:"rssFileBytes,omitempty"`
RssShmemBytes *int64 `json:"rssShmemBytes,omitempty"`
// Threads OS threads; each costs an anonymous stack the Go heap profiler does not show.
Threads *int `json:"threads,omitempty"`
// VmHwmBytes Peak resident set size since process start (VmHWM).
VmHwmBytes *int64 `json:"vmHwmBytes,omitempty"`
}
MemoryProcStatus /proc/self/status. Linux-only; `present` is false everywhere else and the values are then meaningless zeros.
type MemoryProcess ¶
type MemoryProcess struct {
// RssBytes process_resident_memory_bytes — anon + file + shmem, unsplit.
RssBytes *int64 `json:"rssBytes,omitempty"`
// Smaps /proc/self/smaps_rollup. Linux-only.
Smaps *MemorySmapsRollup `json:"smaps,omitempty"`
// Status /proc/self/status. Linux-only; `present` is false everywhere else and the values are then meaningless zeros.
Status *MemoryProcStatus `json:"status,omitempty"`
}
MemoryProcess OS-level process memory.
type MemoryRuntime ¶
type MemoryRuntime struct {
// Classes The runtime/metrics `/memory/classes/*` breakdown plus `/gc/heap/live`. Unlike MemStats it accounts for every byte the runtime obtained from the OS, which is what makes the off-heap subtraction meaningful.
Classes *MemoryRuntimeClasses `json:"classes,omitempty"`
GcCpuFraction *float64 `json:"gcCpuFraction,omitempty"`
GcPauseTotalNs *int64 `json:"gcPauseTotalNs,omitempty"`
GoMaxProcs *int `json:"goMaxProcs,omitempty"`
// GoMemLimitBytes Effective GOMEMLIMIT soft cap; 0 means unlimited.
GoMemLimitBytes *int64 `json:"goMemLimitBytes,omitempty"`
HeapAllocBytes *int64 `json:"heapAllocBytes,omitempty"`
HeapInuseBytes *int64 `json:"heapInuseBytes,omitempty"`
HeapObjects *int64 `json:"heapObjects,omitempty"`
NextGcBytes *int64 `json:"nextGcBytes,omitempty"`
NumGc *int64 `json:"numGc,omitempty"`
NumGoroutine *int `json:"numGoroutine,omitempty"`
StackInuseBytes *int64 `json:"stackInuseBytes,omitempty"`
SysBytes *int64 `json:"sysBytes,omitempty"`
}
MemoryRuntime runtime.MemStats / goroutine slice of the memory snapshot.
type MemoryRuntimeClasses ¶
type MemoryRuntimeClasses struct {
HeapFreeBytes *int64 `json:"heapFreeBytes,omitempty"`
HeapLiveBytes *int64 `json:"heapLiveBytes,omitempty"`
HeapObjectsBytes *int64 `json:"heapObjectsBytes,omitempty"`
HeapReleasedBytes *int64 `json:"heapReleasedBytes,omitempty"`
HeapUnusedBytes *int64 `json:"heapUnusedBytes,omitempty"`
MetadataBytes *int64 `json:"metadataBytes,omitempty"`
OsStacksBytes *int64 `json:"osStacksBytes,omitempty"`
OtherBytes *int64 `json:"otherBytes,omitempty"`
ProfilingBucketsBytes *int64 `json:"profilingBucketsBytes,omitempty"`
TotalBytes *int64 `json:"totalBytes,omitempty"`
}
MemoryRuntimeClasses The runtime/metrics `/memory/classes/*` breakdown plus `/gc/heap/live`. Unlike MemStats it accounts for every byte the runtime obtained from the OS, which is what makes the off-heap subtraction meaningful.
type MemorySample ¶
type MemorySample struct {
GcForced *bool `json:"gcForced,omitempty"`
Mode *MemorySampleMode `json:"mode,omitempty"`
TakenAt *time.Time `json:"takenAt,omitempty"`
}
MemorySample How this reading was taken, so two numbers are never compared across modes.
type MemorySampleMode ¶
type MemorySampleMode string
MemorySampleMode defines model for MemorySample.Mode.
const ( MemorySampleModeFloor MemorySampleMode = "floor" MemorySampleModeSteady MemorySampleMode = "steady" )
Defines values for MemorySampleMode.
func (MemorySampleMode) Valid ¶
func (e MemorySampleMode) Valid() bool
Valid indicates whether the value is a known member of the MemorySampleMode enum.
type MemorySmapsRollup ¶
type MemorySmapsRollup struct {
Present *bool `json:"present,omitempty"`
PrivateCleanBytes *int64 `json:"privateCleanBytes,omitempty"`
PrivateDirtyBytes *int64 `json:"privateDirtyBytes,omitempty"`
PssBytes *int64 `json:"pssBytes,omitempty"`
SharedCleanBytes *int64 `json:"sharedCleanBytes,omitempty"`
}
MemorySmapsRollup /proc/self/smaps_rollup. Linux-only.
type MemorySnapshot ¶
type MemorySnapshot struct {
// Build Build facts relevant to off-heap accounting.
Build *MemoryBuild `json:"build,omitempty"`
// Cgroup The container's own memory accounting, read from inside the process (the image is distroless, so nothing else can read it). Absent outside a container.
Cgroup *MemoryCgroup `json:"cgroup,omitempty"`
Derived *MemoryDerived `json:"derived,omitempty"`
// Process OS-level process memory.
Process *MemoryProcess `json:"process,omitempty"`
// Runtime runtime.MemStats / goroutine slice of the memory snapshot.
Runtime *MemoryRuntime `json:"runtime,omitempty"`
// Sample How this reading was taken, so two numbers are never compared across modes.
Sample *MemorySample `json:"sample,omitempty"`
// Subsystems Cardinalities of the suspect subsystems.
Subsystems *MemorySubsystems `json:"subsystems,omitempty"`
}
MemorySnapshot defines model for MemorySnapshot.
type MemorySnapshotResponse ¶
type MemorySnapshotResponse struct {
Data MemorySnapshot `json:"data"`
}
MemorySnapshotResponse defines model for MemorySnapshotResponse.
type MemorySubsystems ¶
type MemorySubsystems struct {
DekCacheEntries *int `json:"dekCacheEntries,omitempty"`
EventListeners *int `json:"eventListeners,omitempty"`
RateLimitEntries *int `json:"rateLimitEntries,omitempty"`
}
MemorySubsystems Cardinalities of the suspect subsystems.
type MessageResponse ¶
type MessageResponse struct {
Message *string `json:"message,omitempty"`
}
MessageResponse defines model for MessageResponse.
type MigrateRegionJSONRequestBody ¶
type MigrateRegionJSONRequestBody = RegionMigrationRequest
MigrateRegionJSONRequestBody defines body for MigrateRegion for application/json ContentType.
type MigrateRegionResult ¶
type MigrateRegionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RegionMigrationReport
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseMigrateRegionResult ¶
func ParseMigrateRegionResult(rsp *http.Response) (*MigrateRegionResult, error)
ParseMigrateRegionResult parses an HTTP response from a MigrateRegionWithResponse call
func (MigrateRegionResult) ContentType ¶
func (r MigrateRegionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MigrateRegionResult) GetBody ¶
func (r MigrateRegionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (MigrateRegionResult) GetJSON200 ¶
func (r MigrateRegionResult) GetJSON200() *RegionMigrationReport
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (MigrateRegionResult) GetJSON401 ¶
func (r MigrateRegionResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (MigrateRegionResult) GetJSON403 ¶
func (r MigrateRegionResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (MigrateRegionResult) GetJSON422 ¶
func (r MigrateRegionResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (MigrateRegionResult) Status ¶
func (r MigrateRegionResult) Status() string
Status returns HTTPResponse.Status
func (MigrateRegionResult) StatusCode ¶
func (r MigrateRegionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Notification ¶
type Notification struct {
ChannelType *string `json:"channelType,omitempty"`
Connection *NotificationConnection `json:"connection,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Error *string `json:"error,omitempty"`
EventType *string `json:"eventType,omitempty"`
Incident *NotificationIncident `json:"incident,omitempty"`
IncidentUid *string `json:"incidentUid,omitempty"`
MessageId *string `json:"messageId,omitempty"`
RepeatIndex *int `json:"repeatIndex,omitempty"`
SentAt *time.Time `json:"sentAt,omitempty"`
SkipReason *string `json:"skipReason,omitempty"`
Source *string `json:"source,omitempty"`
Status *string `json:"status,omitempty"`
StepUid *string `json:"stepUid,omitempty"`
Uid *string `json:"uid,omitempty"`
User *NotificationUser `json:"user,omitempty"`
}
Notification A single notification delivery audit row.
type NotificationBeforeQuery ¶
NotificationBeforeQuery defines model for NotificationBeforeQuery.
type NotificationConnection ¶
type NotificationConnection struct {
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
}
NotificationConnection defines model for NotificationConnection.
type NotificationConnectionUidQuery ¶
type NotificationConnectionUidQuery = string
NotificationConnectionUidQuery defines model for NotificationConnectionUidQuery.
type NotificationContact ¶
type NotificationContact struct {
Label string `json:"label"`
Type string `json:"type"`
Uid string `json:"uid"`
Value string `json:"value"`
VerifiedAt *time.Time `json:"verifiedAt,omitempty"`
}
NotificationContact defines model for NotificationContact.
type NotificationDetail ¶
type NotificationDetail struct {
CancelledAt *time.Time `json:"cancelledAt,omitempty"`
ChannelType *string `json:"channelType,omitempty"`
Connection *NotificationConnection `json:"connection,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// DeliveryDetails Structured per-attempt delivery artifacts
DeliveryDetails *map[string]interface{} `json:"deliveryDetails,omitempty"`
Error *string `json:"error,omitempty"`
EventType *string `json:"eventType,omitempty"`
FailedAt *time.Time `json:"failedAt,omitempty"`
Incident *NotificationIncident `json:"incident,omitempty"`
IncidentUid *string `json:"incidentUid,omitempty"`
JobUid *string `json:"jobUid,omitempty"`
MessageId *string `json:"messageId,omitempty"`
RepeatIndex *int `json:"repeatIndex,omitempty"`
SentAt *time.Time `json:"sentAt,omitempty"`
SkipReason *string `json:"skipReason,omitempty"`
Source *string `json:"source,omitempty"`
Status *string `json:"status,omitempty"`
StepUid *string `json:"stepUid,omitempty"`
Uid *string `json:"uid,omitempty"`
User *NotificationUser `json:"user,omitempty"`
}
NotificationDetail A notification delivery row with the extra lifecycle fields.
type NotificationIncident ¶
type NotificationIncident struct {
StartedAt *time.Time `json:"startedAt,omitempty"`
State *string `json:"state,omitempty"`
Title *string `json:"title,omitempty"`
Uid *string `json:"uid,omitempty"`
}
NotificationIncident defines model for NotificationIncident.
type NotificationLimitQuery ¶
type NotificationLimitQuery = int
NotificationLimitQuery defines model for NotificationLimitQuery.
type NotificationListResponse ¶
type NotificationListResponse struct {
Data *[]Notification `json:"data,omitempty"`
}
NotificationListResponse defines model for NotificationListResponse.
type NotificationRoute ¶
type NotificationRoute struct {
Contact NotificationContact `json:"contact"`
CreatedAt time.Time `json:"createdAt"`
Enabled bool `json:"enabled"`
Position int `json:"position"`
Uid string `json:"uid"`
}
NotificationRoute defines model for NotificationRoute.
type NotificationRouteListResponse ¶
type NotificationRouteListResponse struct {
Data *[]NotificationRoute `json:"data,omitempty"`
SlackSuggestion *NotificationSlackSuggestion `json:"slackSuggestion,omitempty"`
}
NotificationRouteListResponse defines model for NotificationRouteListResponse.
type NotificationSlackSuggestion ¶
type NotificationSlackSuggestion struct {
ChannelUid *string `json:"channelUid,omitempty"`
SlackUserId *string `json:"slackUserId,omitempty"`
WorkspaceName *string `json:"workspaceName,omitempty"`
}
NotificationSlackSuggestion defines model for NotificationSlackSuggestion.
type NotificationStatusQuery ¶
type NotificationStatusQuery = string
NotificationStatusQuery defines model for NotificationStatusQuery.
type NotificationUidPath ¶
type NotificationUidPath = string
NotificationUidPath defines model for NotificationUidPath.
type NotificationUser ¶
type NotificationUser struct {
Name *string `json:"name,omitempty"`
Uid *string `json:"uid,omitempty"`
}
NotificationUser defines model for NotificationUser.
type NotificationUserUidQuery ¶
type NotificationUserUidQuery = string
NotificationUserUidQuery defines model for NotificationUserUidQuery.
type OncallIcalFeedResponse ¶
OncallIcalFeedResponse defines model for OncallIcalFeedResponse.
type OncallOverride ¶
type OncallOverride struct {
CreatedAt time.Time `json:"CreatedAt"`
CreatedByUID *openapi_types.UUID `json:"CreatedByUID,omitempty"`
EndAt time.Time `json:"EndAt"`
Reason *string `json:"Reason,omitempty"`
ScheduleUID openapi_types.UUID `json:"ScheduleUID"`
StartAt time.Time `json:"StartAt"`
UID openapi_types.UUID `json:"UID"`
UserUID openapi_types.UUID `json:"UserUID"`
}
OncallOverride On-call schedule override. Property names are PascalCase to match the current API wire format emitted by the handler.
type OncallOverrideListResponse ¶
type OncallOverrideListResponse struct {
Data *[]OncallOverride `json:"data,omitempty"`
}
OncallOverrideListResponse defines model for OncallOverrideListResponse.
type OncallOverrideUidPath ¶
type OncallOverrideUidPath = openapi_types.UUID
OncallOverrideUidPath defines model for OncallOverrideUidPath.
type OncallPreviewResponse ¶
type OncallPreviewResponse struct {
Data *[]OncallPreviewSlot `json:"data,omitempty"`
}
OncallPreviewResponse defines model for OncallPreviewResponse.
type OncallPreviewSlot ¶
type OncallPreviewSlot struct {
From time.Time `json:"from"`
To time.Time `json:"to"`
UserUid openapi_types.UUID `json:"userUid"`
}
OncallPreviewSlot defines model for OncallPreviewSlot.
type OncallSchedule ¶
type OncallSchedule struct {
CreatedAt time.Time `json:"createdAt"`
CurrentlyOnCall *OncallUserRef `json:"currentlyOnCall,omitempty"`
Description *string `json:"description,omitempty"`
// HandoffTime Handoff time of day in HH:MM (24h)
HandoffTime string `json:"handoffTime"`
// HandoffWeekday 0 (Mon) .. 6 (Sun); only set for weekly rotation
HandoffWeekday *int `json:"handoffWeekday,omitempty"`
IcalEnabled bool `json:"icalEnabled"`
Name string `json:"name"`
// RotationType One of: daily, weekly
RotationType string `json:"rotationType"`
StartAt time.Time `json:"startAt"`
Timezone string `json:"timezone"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt time.Time `json:"updatedAt"`
UserUids *[]openapi_types.UUID `json:"userUids,omitempty"`
}
OncallSchedule defines model for OncallSchedule.
type OncallScheduleListResponse ¶
type OncallScheduleListResponse struct {
Data *[]OncallSchedule `json:"data,omitempty"`
}
OncallScheduleListResponse defines model for OncallScheduleListResponse.
type OncallScheduleUidPath ¶
type OncallScheduleUidPath = openapi_types.UUID
OncallScheduleUidPath defines model for OncallScheduleUidPath.
type OncallUserRef ¶
type OncallUserRef struct {
Email string `json:"email"`
Name string `json:"name"`
Uid openapi_types.UUID `json:"uid"`
}
OncallUserRef defines model for OncallUserRef.
type OrgDependencyGraphResponse ¶
type OrgDependencyGraphResponse struct {
Data *struct {
Edges *[]DependencyGraphEdge `json:"edges,omitempty"`
Nodes *[]DependencyGraphNode `json:"nodes,omitempty"`
} `json:"data,omitempty"`
}
OrgDependencyGraphResponse defines model for OrgDependencyGraphResponse.
type OrgLogoResponse ¶
type OrgLogoResponse struct {
LogoUrl *string `json:"logoUrl"`
Name string `json:"name"`
Slug string `json:"slug"`
Uid openapi_types.UUID `json:"uid"`
}
OrgLogoResponse defines model for OrgLogoResponse.
type OrgProfileResponse ¶
type OrgProfileResponse struct {
// AccessToken Access token scoped to the new slug. Present only when the slug changed — the caller's previous token is scoped to the old slug and is refused against the new one.
AccessToken *string `json:"accessToken,omitempty"`
// ExpiresIn Access token lifetime in seconds
ExpiresIn *int `json:"expiresIn,omitempty"`
LogoUrl *string `json:"logoUrl"`
Name string `json:"name"`
// PreviousSlug The slug that was just freed by a rename. It keeps redirecting to `slug` until another organization claims it. Absent when the slug did not change.
PreviousSlug *string `json:"previousSlug,omitempty"`
RefreshToken *string `json:"refreshToken,omitempty"`
// Slug The organization's current slug.
Slug string `json:"slug"`
TokenType *string `json:"tokenType,omitempty"`
Uid openapi_types.UUID `json:"uid"`
}
OrgProfileResponse defines model for OrgProfileResponse.
type OrgRegionListResponse ¶
type OrgRegionListResponse struct {
Data *[]Region `json:"data,omitempty"`
DefaultRegions *[]string `json:"defaultRegions,omitempty"`
}
OrgRegionListResponse defines model for OrgRegionListResponse.
type OrgResponse ¶
type OrgResponse struct {
// AccessToken Access token scoped to the new organization
AccessToken string `json:"accessToken"`
// ExpiresIn Access token lifetime in seconds
ExpiresIn int `json:"expiresIn"`
// LogoUrl The organization's logo: an absolute http(s) URL, or a relative `/pub/assets/{fileUid}` path for an uploaded image. Null when the organization has no logo.
LogoUrl *string `json:"logoUrl,omitempty"`
Name string `json:"name"`
RefreshToken string `json:"refreshToken"`
Slug string `json:"slug"`
TokenType string `json:"tokenType"`
Uid openapi_types.UUID `json:"uid"`
}
OrgResponse defines model for OrgResponse.
type OrgResult ¶
type OrgResult struct {
// AvailabilityPct Availability percentage for aggregated periods, derived from successfulChecks / totalChecks × 100 (with=availabilityPct).
AvailabilityPct *float32 `json:"availabilityPct,omitempty"`
// CheckName Check name (with=checkName)
CheckName *string `json:"checkName,omitempty"`
// CheckSlug Check slug (with=checkSlug)
CheckSlug *string `json:"checkSlug,omitempty"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
// DurationAvgMs Average duration in milliseconds, from the stored aggregate (with=durationAvgMs). Populated on aggregated rollup rows (hour/day/month); absent on raw rows, which don't store it.
DurationAvgMs *float32 `json:"durationAvgMs,omitempty"`
// DurationMaxMs Maximum duration in milliseconds (with=durationMaxMs)
DurationMaxMs *float32 `json:"durationMaxMs,omitempty"`
// DurationMinMs Minimum duration in milliseconds (with=durationMinMs)
DurationMinMs *float32 `json:"durationMinMs,omitempty"`
// DurationMs Duration in milliseconds (with=durationMs)
DurationMs *float32 `json:"durationMs,omitempty"`
// DurationP95Ms 95th-percentile duration in milliseconds, from the stored aggregate (with=durationP95Ms). Populated on aggregated rollup rows (hour/day/month); absent on raw rows, which don't store it.
DurationP95Ms *float32 `json:"durationP95Ms,omitempty"`
// Metrics Performance metrics (with=metrics)
Metrics *map[string]interface{} `json:"metrics,omitempty"`
// Output Diagnostic output (with=output). Free-form and check-type specific. For passive checks (heartbeat, email), rows written by the scheduler rather than by an inbound signal carry `evaluation: true` plus `lastSignalAt` / `lastSignalResultUid`; see the "Two kinds of result rows" section of the Heartbeat documentation (/docs/features/check-types#heartbeat).
Output *map[string]interface{} `json:"output,omitempty"`
PeriodEnd *time.Time `json:"periodEnd,omitempty"`
PeriodStart *time.Time `json:"periodStart,omitempty"`
PeriodType *string `json:"periodType,omitempty"`
// Region Region identifier (with=region)
Region *string `json:"region,omitempty"`
// Status Result status, mirroring every value `statusIntToString` can return: `up` and `warning` both count as available, `degraded` only appears on aggregated rollup rows, `down` covers every genuine failure (the raw `timeout` and `error` statuses are both reported as `down` here), `created` and `running` are attempts that have not been finalized, and `unknown` covers a missing or unrecognised raw status. `abandoned` marks an attempt nothing was ever reported for (see LastResult.status): terminal, excluded from availability, and never rendered as a failure. It is filterable on its own via `?status=abandoned`, and is deliberately NOT part of `?status=down`.
Status *OrgResultStatus `json:"status,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
OrgResult defines model for OrgResult.
type OrgResultListResponse ¶
type OrgResultListResponse struct {
Data *[]OrgResult `json:"data,omitempty"`
// Pagination Cursor pagination for the results endpoint only — deliberately no `total`. `results` is the largest table in the system, and an unbounded COUNT(*) on every page load is too expensive to compute (see the Results section of the API wiki). Page forward with `cursor` until it comes back empty.
Pagination *ResultsCursorPagination `json:"pagination,omitempty"`
// Window The time window the server actually queried. A raw-only request is clamped to the raw-retention band, so this is not always the window that was asked for. Always present — `clamped: false` is an answer, letting a client tell a clamp from a genuinely empty range and size a follow-up request. Additive and optional to read.
Window *ResultsWindow `json:"window,omitempty"`
}
OrgResultListResponse defines model for OrgResultListResponse.
type OrgResultStatus ¶
type OrgResultStatus string
OrgResultStatus Result status, mirroring every value `statusIntToString` can return: `up` and `warning` both count as available, `degraded` only appears on aggregated rollup rows, `down` covers every genuine failure (the raw `timeout` and `error` statuses are both reported as `down` here), `created` and `running` are attempts that have not been finalized, and `unknown` covers a missing or unrecognised raw status. `abandoned` marks an attempt nothing was ever reported for (see LastResult.status): terminal, excluded from availability, and never rendered as a failure. It is filterable on its own via `?status=abandoned`, and is deliberately NOT part of `?status=down`.
const ( OrgResultStatusAbandoned OrgResultStatus = "abandoned" OrgResultStatusCreated OrgResultStatus = "created" OrgResultStatusDegraded OrgResultStatus = "degraded" OrgResultStatusDown OrgResultStatus = "down" OrgResultStatusRunning OrgResultStatus = "running" OrgResultStatusUnknown OrgResultStatus = "unknown" OrgResultStatusUp OrgResultStatus = "up" OrgResultStatusWarning OrgResultStatus = "warning" )
Defines values for OrgResultStatus.
func (OrgResultStatus) Valid ¶
func (e OrgResultStatus) Valid() bool
Valid indicates whether the value is a known member of the OrgResultStatus enum.
type OrgSettingsResponse ¶
type OrgSettingsResponse struct {
// DefaultEscalationPolicyUid Org-wide fallback escalation policy for checks that resolve to no policy of their own (check → group → org default → none). Omitted when unset (legacy behavior).
DefaultEscalationPolicyUid *openapi_types.UUID `json:"defaultEscalationPolicyUid,omitempty"`
// InheritingCheckCount How many live checks currently resolve to no policy of their own — the blast radius of setting or changing the org default.
InheritingCheckCount int `json:"inheritingCheckCount"`
// RegistrationEmailPattern Auto-join email regex; empty when unset
RegistrationEmailPattern string `json:"registrationEmailPattern"`
// SessionMaxDurationSeconds Org-level session max duration override in seconds; omitted when inherited
SessionMaxDurationSeconds *int `json:"sessionMaxDurationSeconds,omitempty"`
// TracerouteOnFailure Organization default for path-trace-on-failure. Applies to every check whose own `tracerouteOnFailure` is `inherit`. True when the organization has never set it.
TracerouteOnFailure bool `json:"tracerouteOnFailure"`
}
OrgSettingsResponse defines model for OrgSettingsResponse.
type OrganizationMemberSummary ¶
type OrganizationMemberSummary struct {
Name *string `json:"name,omitempty"`
Role *OrganizationMemberSummaryRole `json:"role,omitempty"`
Slug *string `json:"slug,omitempty"`
}
OrganizationMemberSummary defines model for OrganizationMemberSummary.
type OrganizationMemberSummaryRole ¶
type OrganizationMemberSummaryRole string
OrganizationMemberSummaryRole defines model for OrganizationMemberSummary.Role.
const ( OrganizationMemberSummaryRoleAdmin OrganizationMemberSummaryRole = "admin" OrganizationMemberSummaryRoleOwner OrganizationMemberSummaryRole = "owner" OrganizationMemberSummaryRoleUser OrganizationMemberSummaryRole = "user" OrganizationMemberSummaryRoleViewer OrganizationMemberSummaryRole = "viewer" )
Defines values for OrganizationMemberSummaryRole.
func (OrganizationMemberSummaryRole) Valid ¶
func (e OrganizationMemberSummaryRole) Valid() bool
Valid indicates whether the value is a known member of the OrganizationMemberSummaryRole enum.
type OrganizationRef ¶
type OrganizationRef struct {
Name string `json:"name"`
Slug string `json:"slug"`
Uid openapi_types.UUID `json:"uid"`
}
OrganizationRef defines model for OrganizationRef.
type OrganizationSummary ¶
type OrganizationSummary struct {
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
OrganizationSummary defines model for OrganizationSummary.
type PatchEntitlementsJSONRequestBody ¶
type PatchEntitlementsJSONRequestBody = SetEntitlementsRequest
PatchEntitlementsJSONRequestBody defines body for PatchEntitlements for application/json ContentType.
type PatchEntitlementsResult ¶
type PatchEntitlementsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EntitlementsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParsePatchEntitlementsResult ¶
func ParsePatchEntitlementsResult(rsp *http.Response) (*PatchEntitlementsResult, error)
ParsePatchEntitlementsResult parses an HTTP response from a PatchEntitlementsWithResponse call
func (PatchEntitlementsResult) ContentType ¶
func (r PatchEntitlementsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PatchEntitlementsResult) GetBody ¶
func (r PatchEntitlementsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (PatchEntitlementsResult) GetJSON200 ¶
func (r PatchEntitlementsResult) GetJSON200() *EntitlementsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PatchEntitlementsResult) GetJSON400 ¶
func (r PatchEntitlementsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PatchEntitlementsResult) GetJSON401 ¶
func (r PatchEntitlementsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PatchEntitlementsResult) GetJSON403 ¶
func (r PatchEntitlementsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PatchEntitlementsResult) GetJSON404 ¶
func (r PatchEntitlementsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PatchEntitlementsResult) Status ¶
func (r PatchEntitlementsResult) Status() string
Status returns HTTPResponse.Status
func (PatchEntitlementsResult) StatusCode ¶
func (r PatchEntitlementsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PerCheckDependencies ¶
type PerCheckDependencies struct {
DependsOn []DependencyEdge `json:"dependsOn"`
DependedOnBy []DependencyEdge `json:"dependedOnBy"`
}
PerCheckDependencies is the data payload for ListCheckDependencies.
type PerCheckDependenciesResponse ¶
type PerCheckDependenciesResponse struct {
Data *struct {
DependedOnBy *[]Dependency `json:"dependedOnBy,omitempty"`
DependsOn *[]Dependency `json:"dependsOn,omitempty"`
// Warnings Soft configuration lint over this check's hard `dependsOn` edges. Advisory only — never a validation error, and never a reason a write is rejected. Always present (possibly empty).
Warnings *[]DependencyWarning `json:"warnings,omitempty"`
} `json:"data,omitempty"`
}
PerCheckDependenciesResponse defines model for PerCheckDependenciesResponse.
type PeriodIncidents ¶
type PeriodIncidents struct {
// AverageSeconds Average incident duration.
AverageSeconds *int64 `json:"averageSeconds,omitempty"`
// Count Number of incidents that started in the window.
Count *int `json:"count,omitempty"`
// LongestSeconds Longest single incident, clamped to the window.
LongestSeconds *int64 `json:"longestSeconds,omitempty"`
// TotalDowntimeSeconds Sum of clamped incident durations.
TotalDowntimeSeconds *int64 `json:"totalDowntimeSeconds,omitempty"`
}
PeriodIncidents Confirmed-outage (wall-clock) stats for the window, built from incidents whose started_at falls inside it, clamped to the window edges (an unresolved incident runs to now).
type PollDeviceTokenJSONRequestBody ¶
type PollDeviceTokenJSONRequestBody = DeviceTokenRequest
PollDeviceTokenJSONRequestBody defines body for PollDeviceToken for application/json ContentType.
type PollDeviceTokenResult ¶
type PollDeviceTokenResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeviceTokenResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *DeviceTokenError
}
func ParsePollDeviceTokenResult ¶
func ParsePollDeviceTokenResult(rsp *http.Response) (*PollDeviceTokenResult, error)
ParsePollDeviceTokenResult parses an HTTP response from a PollDeviceTokenWithResponse call
func (PollDeviceTokenResult) ContentType ¶
func (r PollDeviceTokenResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PollDeviceTokenResult) GetBody ¶
func (r PollDeviceTokenResult) GetBody() []byte
GetBody returns the raw response body bytes
func (PollDeviceTokenResult) GetJSON200 ¶
func (r PollDeviceTokenResult) GetJSON200() *DeviceTokenResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PollDeviceTokenResult) GetJSON400 ¶
func (r PollDeviceTokenResult) GetJSON400() *DeviceTokenError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PollDeviceTokenResult) Status ¶
func (r PollDeviceTokenResult) Status() string
Status returns HTTPResponse.Status
func (PollDeviceTokenResult) StatusCode ¶
func (r PollDeviceTokenResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewOncallScheduleParams ¶
type PreviewOncallScheduleParams struct {
// From Window start (RFC3339). Defaults to now.
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
// Days Window length in days (1-365, default 14)
Days *int `form:"days,omitempty" json:"days,omitempty"`
}
PreviewOncallScheduleParams defines parameters for PreviewOncallSchedule.
type PreviewOncallScheduleResult ¶
type PreviewOncallScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OncallPreviewResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParsePreviewOncallScheduleResult ¶
func ParsePreviewOncallScheduleResult(rsp *http.Response) (*PreviewOncallScheduleResult, error)
ParsePreviewOncallScheduleResult parses an HTTP response from a PreviewOncallScheduleWithResponse call
func (PreviewOncallScheduleResult) ContentType ¶
func (r PreviewOncallScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreviewOncallScheduleResult) GetBody ¶
func (r PreviewOncallScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (PreviewOncallScheduleResult) GetJSON200 ¶
func (r PreviewOncallScheduleResult) GetJSON200() *OncallPreviewResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PreviewOncallScheduleResult) GetJSON400 ¶
func (r PreviewOncallScheduleResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (PreviewOncallScheduleResult) GetJSON401 ¶
func (r PreviewOncallScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PreviewOncallScheduleResult) GetJSON404 ¶
func (r PreviewOncallScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PreviewOncallScheduleResult) Status ¶
func (r PreviewOncallScheduleResult) Status() string
Status returns HTTPResponse.Status
func (PreviewOncallScheduleResult) StatusCode ¶
func (r PreviewOncallScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PromoteChecksRequest ¶
type PromoteChecksRequest struct {
// Overrides Optional adjustments applied to every created check
Overrides *struct {
Name *string `json:"name,omitempty"`
// Period ISO 8601 duration (e.g. PT1M)
Period *string `json:"period,omitempty"`
} `json:"overrides,omitempty"`
// Uids The discovered-check UIDs to promote (a group's UIDs promote the whole group)
Uids []string `json:"uids"`
}
PromoteChecksRequest defines model for PromoteChecksRequest.
type PromoteDiscoveredChecksJSONRequestBody ¶
type PromoteDiscoveredChecksJSONRequestBody = PromoteChecksRequest
PromoteDiscoveredChecksJSONRequestBody defines body for PromoteDiscoveredChecks for application/json ContentType.
type PromoteDiscoveredChecksResult ¶
type PromoteDiscoveredChecksResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
Data *[]Check `json:"data,omitempty"`
}
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
}
func ParsePromoteDiscoveredChecksResult ¶
func ParsePromoteDiscoveredChecksResult(rsp *http.Response) (*PromoteDiscoveredChecksResult, error)
ParsePromoteDiscoveredChecksResult parses an HTTP response from a PromoteDiscoveredChecksWithResponse call
func (PromoteDiscoveredChecksResult) ContentType ¶
func (r PromoteDiscoveredChecksResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PromoteDiscoveredChecksResult) GetBody ¶
func (r PromoteDiscoveredChecksResult) GetBody() []byte
GetBody returns the raw response body bytes
func (PromoteDiscoveredChecksResult) GetJSON201 ¶
func (r PromoteDiscoveredChecksResult) GetJSON201() *struct { Data *[]Check `json:"data,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PromoteDiscoveredChecksResult) GetJSON403 ¶
func (r PromoteDiscoveredChecksResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (PromoteDiscoveredChecksResult) GetJSON404 ¶
func (r PromoteDiscoveredChecksResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PromoteDiscoveredChecksResult) GetJSON409 ¶
func (r PromoteDiscoveredChecksResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PromoteDiscoveredChecksResult) Status ¶
func (r PromoteDiscoveredChecksResult) Status() string
Status returns HTTPResponse.Status
func (PromoteDiscoveredChecksResult) StatusCode ¶
func (r PromoteDiscoveredChecksResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PublicConfigResponse ¶
type PublicConfigResponse struct {
Posthog *PublicPostHogConfig `json:"posthog,omitempty"`
// Telegram Instance-level Telegram capability flag. The dashboard reads it to
// decide whether to offer the "Connect Telegram" action and the
// `telegram` severity channel. The bot token and the webhook secret are
// never exposed here; the bot *username* is public by nature (anyone can
// find the bot in Telegram) and the browser needs it to build the connect
// deep link.
Telegram *PublicTelegramConfig `json:"telegram,omitempty"`
// Whatsapp Instance-level WhatsApp capability flag. The dashboard reads it to
// decide whether to offer the WhatsApp notification-contact type and the
// `whatsapp` severity channel. No credential, phone-number id, WABA id or
// template name is ever exposed here.
Whatsapp *PublicWhatsAppConfig `json:"whatsapp,omitempty"`
}
PublicConfigResponse Browser-safe public configuration. Designed as a general-purpose blob: future public feature flags are added as sibling properties rather than as new endpoints.
type PublicIncident ¶
type PublicIncident struct {
// AffectedResources Public display names of the page resources this incident covers. Resolved by walking the PAGE's own resources, so it can only ever contain names the page already renders.
AffectedResources *[]string `json:"affectedResources,omitempty"`
ResolvedAt *time.Time `json:"resolvedAt,omitempty"`
// Severity Display-only public badge. Absent when the operator set none.
Severity *PublicIncidentSeverity `json:"severity,omitempty"`
StartedAt time.Time `json:"startedAt"`
State PublicIncidentState `json:"state"`
Title string `json:"title"`
Uid openapi_types.UUID `json:"uid"`
Updates *[]PublicIncidentUpdate `json:"updates,omitempty"`
}
PublicIncident One customer-facing incident on a status page — the PUBLICATION, not the internal incident. The operational `incidents` row carries ack/snooze metadata, an auto-generated title built from the check slug, and probe diagnostics; none of that has a field here.
type PublicIncidentListResponse ¶
type PublicIncidentListResponse struct {
Data []PublicIncident `json:"data"`
}
PublicIncidentListResponse defines model for PublicIncidentListResponse.
type PublicIncidentSeverity ¶
type PublicIncidentSeverity string
PublicIncidentSeverity Display-only public badge. Absent when the operator set none.
const ( PublicIncidentSeverityCritical PublicIncidentSeverity = "critical" PublicIncidentSeverityMajor PublicIncidentSeverity = "major" PublicIncidentSeverityMinor PublicIncidentSeverity = "minor" )
Defines values for PublicIncidentSeverity.
func (PublicIncidentSeverity) Valid ¶
func (e PublicIncidentSeverity) Valid() bool
Valid indicates whether the value is a known member of the PublicIncidentSeverity enum.
type PublicIncidentState ¶
type PublicIncidentState string
PublicIncidentState defines model for PublicIncident.State.
const ( PublicIncidentStateIdentified PublicIncidentState = "identified" PublicIncidentStateInvestigating PublicIncidentState = "investigating" PublicIncidentStateMonitoring PublicIncidentState = "monitoring" PublicIncidentStateResolved PublicIncidentState = "resolved" )
Defines values for PublicIncidentState.
func (PublicIncidentState) Valid ¶
func (e PublicIncidentState) Valid() bool
Valid indicates whether the value is a known member of the PublicIncidentState enum.
type PublicIncidentUpdate ¶
type PublicIncidentUpdate struct {
BodyMarkdown string `json:"bodyMarkdown"`
Kind PublicIncidentUpdateKind `json:"kind"`
PublishedAt time.Time `json:"publishedAt"`
Title string `json:"title"`
Uid openapi_types.UUID `json:"uid"`
}
PublicIncidentUpdate defines model for PublicIncidentUpdate.
type PublicIncidentUpdateKind ¶
type PublicIncidentUpdateKind string
PublicIncidentUpdateKind defines model for PublicIncidentUpdate.Kind.
const ( PublicIncidentUpdateKindIdentified PublicIncidentUpdateKind = "identified" PublicIncidentUpdateKindInfo PublicIncidentUpdateKind = "info" PublicIncidentUpdateKindInvestigating PublicIncidentUpdateKind = "investigating" PublicIncidentUpdateKindMaintenance PublicIncidentUpdateKind = "maintenance" PublicIncidentUpdateKindMonitoring PublicIncidentUpdateKind = "monitoring" PublicIncidentUpdateKindResolved PublicIncidentUpdateKind = "resolved" )
Defines values for PublicIncidentUpdateKind.
func (PublicIncidentUpdateKind) Valid ¶
func (e PublicIncidentUpdateKind) Valid() bool
Valid indicates whether the value is a known member of the PublicIncidentUpdateKind enum.
type PublicPostHogConfig ¶
type PublicPostHogConfig struct {
// Enabled Resolved enablement, i.e. `posthog.enabled == true` **and** a
// non-empty `posthog.project_api_key`. False on any deployment that
// has not explicitly configured a project key.
Enabled bool `json:"enabled"`
// Host PostHog ingestion host. Present **only** when `enabled` is true;
// omitted entirely otherwise.
//
//
// Example: https://eu.i.posthog.com
Host *string `json:"host,omitempty"`
// ProjectApiKey Public `phc_…` browser ingestion key. Present **only** when
// `enabled` is true; omitted entirely otherwise.
ProjectApiKey *string `json:"projectApiKey,omitempty"`
}
PublicPostHogConfig defines model for PublicPostHogConfig.
type PublicTelegramConfig ¶
type PublicTelegramConfig struct {
// BotUsername The bot's @username without the leading '@'. Present only when
// `enabled` is true.
//
//
// Example: solidping_bot
BotUsername *string `json:"botUsername,omitempty"`
// Enabled Resolved enablement, i.e. `telegram.enabled == true` **and** a
// non-empty bot token **and** a non-empty bot username. False on any
// deployment that has not configured a bot.
Enabled bool `json:"enabled"`
}
PublicTelegramConfig Instance-level Telegram capability flag. The dashboard reads it to decide whether to offer the "Connect Telegram" action and the `telegram` severity channel. The bot token and the webhook secret are never exposed here; the bot *username* is public by nature (anyone can find the bot in Telegram) and the browser needs it to build the connect deep link.
type PublicWhatsAppConfig ¶
type PublicWhatsAppConfig struct {
// Enabled Resolved enablement, i.e. `whatsapp.enabled == true` **and** a
// non-empty access token **and** a non-empty phone-number id. False
// on any deployment that has not configured a WABA.
Enabled bool `json:"enabled"`
}
PublicWhatsAppConfig Instance-level WhatsApp capability flag. The dashboard reads it to decide whether to offer the WhatsApp notification-contact type and the `whatsapp` severity channel. No credential, phone-number id, WABA id or template name is ever exposed here.
type PublicationUidPath ¶
type PublicationUidPath = openapi_types.UUID
PublicationUidPath defines model for PublicationUidPath.
type PublicationUpdate ¶
type PublicationUpdate struct {
// AuthorUid Absent for updates generated by the auto-publish pipeline — a machine post has no author, and attributing it to a human would be a lie the UI then renders.
AuthorUid *openapi_types.UUID `json:"authorUid,omitempty"`
BodyMarkdown string `json:"bodyMarkdown"`
Kind PublicationUpdateKind `json:"kind"`
PublishedAt time.Time `json:"publishedAt"`
Title string `json:"title"`
Uid openapi_types.UUID `json:"uid"`
}
PublicationUpdate defines model for PublicationUpdate.
type PublicationUpdateKind ¶
type PublicationUpdateKind string
PublicationUpdateKind defines model for PublicationUpdate.Kind.
const ( PublicationUpdateKindIdentified PublicationUpdateKind = "identified" PublicationUpdateKindInfo PublicationUpdateKind = "info" PublicationUpdateKindInvestigating PublicationUpdateKind = "investigating" PublicationUpdateKindMaintenance PublicationUpdateKind = "maintenance" PublicationUpdateKindMonitoring PublicationUpdateKind = "monitoring" PublicationUpdateKindResolved PublicationUpdateKind = "resolved" )
Defines values for PublicationUpdateKind.
func (PublicationUpdateKind) Valid ¶
func (e PublicationUpdateKind) Valid() bool
Valid indicates whether the value is a known member of the PublicationUpdateKind enum.
type PublishIncidentJSONRequestBody ¶
type PublishIncidentJSONRequestBody = PublishIncidentRequest
PublishIncidentJSONRequestBody defines body for PublishIncident for application/json ContentType.
type PublishIncidentRequest ¶
type PublishIncidentRequest struct {
Severity *PublishIncidentRequestSeverity `json:"severity,omitempty"`
StatusPageUid openapi_types.UUID `json:"statusPageUid"`
// Title Templated from the page's public resource name when omitted. The incident's internal title is never used — it is built from the check slug.
Title *string `json:"title,omitempty"`
}
PublishIncidentRequest defines model for PublishIncidentRequest.
type PublishIncidentRequestSeverity ¶
type PublishIncidentRequestSeverity string
PublishIncidentRequestSeverity defines model for PublishIncidentRequest.Severity.
const ( PublishIncidentRequestSeverityCritical PublishIncidentRequestSeverity = "critical" PublishIncidentRequestSeverityMajor PublishIncidentRequestSeverity = "major" PublishIncidentRequestSeverityMinor PublishIncidentRequestSeverity = "minor" )
Defines values for PublishIncidentRequestSeverity.
func (PublishIncidentRequestSeverity) Valid ¶
func (e PublishIncidentRequestSeverity) Valid() bool
Valid indicates whether the value is a known member of the PublishIncidentRequestSeverity enum.
type PublishIncidentResult ¶
type PublishIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *IncidentPublication
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParsePublishIncidentResult ¶
func ParsePublishIncidentResult(rsp *http.Response) (*PublishIncidentResult, error)
ParsePublishIncidentResult parses an HTTP response from a PublishIncidentWithResponse call
func (PublishIncidentResult) ContentType ¶
func (r PublishIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PublishIncidentResult) GetBody ¶
func (r PublishIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (PublishIncidentResult) GetJSON201 ¶
func (r PublishIncidentResult) GetJSON201() *IncidentPublication
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (PublishIncidentResult) GetJSON401 ¶
func (r PublishIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (PublishIncidentResult) GetJSON404 ¶
func (r PublishIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (PublishIncidentResult) GetJSON409 ¶
func (r PublishIncidentResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (PublishIncidentResult) Status ¶
func (r PublishIncidentResult) Status() string
Status returns HTTPResponse.Status
func (PublishIncidentResult) StatusCode ¶
func (r PublishIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefreshRequest ¶
type RefreshRequest struct {
RefreshToken string `json:"refreshToken"`
}
RefreshRequest defines model for RefreshRequest.
type RefreshResponse ¶
type RefreshResponse struct {
AccessToken *string `json:"accessToken,omitempty"`
ExpiresIn *int `json:"expiresIn,omitempty"`
}
RefreshResponse defines model for RefreshResponse.
type RefreshTokenJSONRequestBody ¶
type RefreshTokenJSONRequestBody = RefreshRequest
RefreshTokenJSONRequestBody defines body for RefreshToken for application/json ContentType.
type RefreshTokenResult ¶
type RefreshTokenResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RefreshResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
}
func ParseRefreshTokenResult ¶
func ParseRefreshTokenResult(rsp *http.Response) (*RefreshTokenResult, error)
ParseRefreshTokenResult parses an HTTP response from a RefreshTokenWithResponse call
func (RefreshTokenResult) ContentType ¶
func (r RefreshTokenResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RefreshTokenResult) GetBody ¶
func (r RefreshTokenResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RefreshTokenResult) GetJSON200 ¶
func (r RefreshTokenResult) GetJSON200() *RefreshResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RefreshTokenResult) GetJSON401 ¶
func (r RefreshTokenResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RefreshTokenResult) Status ¶
func (r RefreshTokenResult) Status() string
Status returns HTTPResponse.Status
func (RefreshTokenResult) StatusCode ¶
func (r RefreshTokenResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Region ¶
type Region struct {
// Capabilities What a region's LIVE workers report they can do. Derived from worker heartbeats at read time, never configured. Additive: a client that ignores this object behaves exactly as before it existed.
Capabilities *RegionCapabilities `json:"capabilities,omitempty"`
Emoji string `json:"emoji"`
Name string `json:"name"`
// Private True for an org-private location served by deported agents.
Private *bool `json:"private,omitempty"`
Slug string `json:"slug"`
}
Region defines model for Region.
type RegionCapabilities ¶
type RegionCapabilities struct {
// Browser Whether `browser` checks can actually run in this region, i.e. whether its live workers have a Chrome to drive — a reachable remote CDP endpoint, or a local Chrome/Chromium binary. Same three states and the same any-not-all rule as the families above; `unknown` (no live worker, or agents predating the probe) is a real state and MUST NOT be rendered as `no`. Advisory only: it drives a creation-time warning and never gates scheduling.
Browser *RegionCapabilitiesBrowser `json:"browser,omitempty"`
// Ipv4 Whether checks pinned to `ipVersion: ipv4` can leave this region. Same three states and the same any-not-all rule as `ipv6` below; `unknown` is a real state and MUST NOT be rendered as `no`.
Ipv4 *RegionCapabilitiesIpv4 `json:"ipv4,omitempty"`
// Ipv6 Whether checks pinned to `ipVersion: ipv6` can leave this region. `yes` when at least one live worker there reports IPv6 egress (any-not-all: a job runs on one worker). `no` when live workers reported and none has it. `unknown` when nothing live has reported — no live worker, or only workers predating the capability report. `unknown` is a real state and MUST NOT be rendered as `no`. The value is a hint with a heartbeat of lag: it never gates execution, and the run-time egress pre-flight is the authority.
Ipv6 *RegionCapabilitiesIpv6 `json:"ipv6,omitempty"`
}
RegionCapabilities What a region's LIVE workers report they can do. Derived from worker heartbeats at read time, never configured. Additive: a client that ignores this object behaves exactly as before it existed.
type RegionCapabilitiesBrowser ¶
type RegionCapabilitiesBrowser string
RegionCapabilitiesBrowser Whether `browser` checks can actually run in this region, i.e. whether its live workers have a Chrome to drive — a reachable remote CDP endpoint, or a local Chrome/Chromium binary. Same three states and the same any-not-all rule as the families above; `unknown` (no live worker, or agents predating the probe) is a real state and MUST NOT be rendered as `no`. Advisory only: it drives a creation-time warning and never gates scheduling.
const ( RegionCapabilitiesBrowserNo RegionCapabilitiesBrowser = "no" RegionCapabilitiesBrowserUnknown RegionCapabilitiesBrowser = "unknown" RegionCapabilitiesBrowserYes RegionCapabilitiesBrowser = "yes" )
Defines values for RegionCapabilitiesBrowser.
func (RegionCapabilitiesBrowser) Valid ¶
func (e RegionCapabilitiesBrowser) Valid() bool
Valid indicates whether the value is a known member of the RegionCapabilitiesBrowser enum.
type RegionCapabilitiesIpv4 ¶
type RegionCapabilitiesIpv4 string
RegionCapabilitiesIpv4 Whether checks pinned to `ipVersion: ipv4` can leave this region. Same three states and the same any-not-all rule as `ipv6` below; `unknown` is a real state and MUST NOT be rendered as `no`.
const ( RegionCapabilitiesIpv4No RegionCapabilitiesIpv4 = "no" RegionCapabilitiesIpv4Unknown RegionCapabilitiesIpv4 = "unknown" RegionCapabilitiesIpv4Yes RegionCapabilitiesIpv4 = "yes" )
Defines values for RegionCapabilitiesIpv4.
func (RegionCapabilitiesIpv4) Valid ¶
func (e RegionCapabilitiesIpv4) Valid() bool
Valid indicates whether the value is a known member of the RegionCapabilitiesIpv4 enum.
type RegionCapabilitiesIpv6 ¶
type RegionCapabilitiesIpv6 string
RegionCapabilitiesIpv6 Whether checks pinned to `ipVersion: ipv6` can leave this region. `yes` when at least one live worker there reports IPv6 egress (any-not-all: a job runs on one worker). `no` when live workers reported and none has it. `unknown` when nothing live has reported — no live worker, or only workers predating the capability report. `unknown` is a real state and MUST NOT be rendered as `no`. The value is a hint with a heartbeat of lag: it never gates execution, and the run-time egress pre-flight is the authority.
const ( RegionCapabilitiesIpv6No RegionCapabilitiesIpv6 = "no" RegionCapabilitiesIpv6Unknown RegionCapabilitiesIpv6 = "unknown" RegionCapabilitiesIpv6Yes RegionCapabilitiesIpv6 = "yes" )
Defines values for RegionCapabilitiesIpv6.
func (RegionCapabilitiesIpv6) Valid ¶
func (e RegionCapabilitiesIpv6) Valid() bool
Valid indicates whether the value is a known member of the RegionCapabilitiesIpv6 enum.
type RegionHealthReport ¶
type RegionHealthReport struct {
GeneratedAt time.Time `json:"generatedAt"`
// GhostCount Count of rows where `ghost` is true.
GhostCount int `json:"ghostCount"`
Regions []RegionHealthRow `json:"regions"`
}
RegionHealthReport defines model for RegionHealthReport.
type RegionHealthRow ¶
type RegionHealthRow struct {
// ChecksReferencing Distinct, non-deleted checks whose `regions` array names this slug.
ChecksReferencing int `json:"checksReferencing"`
// Declared Whether the slug is present in the `regions` system parameter.
Declared bool `json:"declared"`
// Ghost `(jobs > 0 || checksReferencing > 0) && liveWorkers == 0` — work assigned to a slug nothing live can serve.
Ghost bool `json:"ghost"`
// Jobs check_jobs rows carrying this slug. NULL-region jobs are never counted.
Jobs int `json:"jobs"`
// JobsOverdue Subset of `jobs` whose `scheduledAt` has already passed.
JobsOverdue int `json:"jobsOverdue"`
// LastWorkerSeenAt Max `lastActiveAt` across every matching worker, including soft-deleted ones — dates when the region went dark.
LastWorkerSeenAt *time.Time `json:"lastWorkerSeenAt"`
// LiveWorkers Non-deleted workers within the liveness window whose announced region has this slug as a prefix.
LiveWorkers int `json:"liveWorkers"`
// OldestOverdueAt Earliest `scheduledAt` among the overdue jobs, null when there are none.
OldestOverdueAt *time.Time `json:"oldestOverdueAt"`
Slug string `json:"slug"`
}
RegionHealthRow defines model for RegionHealthRow.
type RegionMigrationReport ¶
type RegionMigrationReport struct {
// ByOrg checksUpdated split by organization slug.
ByOrg map[string]int `json:"byOrg"`
// ChecksUpdated Checks the migration touches: their `regions` array was rewritten, they owned a job stranded under `from`, or both.
ChecksUpdated int `json:"checksUpdated"`
DryRun bool `json:"dryRun"`
From string `json:"from"`
// JobsDeleted `from` jobs removed without a replacement — the check does not declare `to`, is disabled, or already owns a `to` job (the unique `(checkUid, region)` case, where the correct job is kept).
JobsDeleted int `json:"jobsDeleted"`
// JobsReassigned Stranded `from` jobs that come back to life under `to`.
JobsReassigned int `json:"jobsReassigned"`
// OverdueRecovered Reassigned jobs whose `scheduledAt` was already in the past — the stranded backlog that starts running again.
OverdueRecovered int `json:"overdueRecovered"`
To string `json:"to"`
}
RegionMigrationReport defines model for RegionMigrationReport.
type RegionMigrationRequest ¶
type RegionMigrationRequest struct {
// DryRun When true, returns the full report without writing anything. The numbers are computed from the same pre-state the real run uses, so a dry run and the apply that follows it agree.
DryRun *bool `json:"dryRun,omitempty"`
// From The region slug to migrate away from. Need NOT be a declared region — a slug that no longer exists anywhere is the normal case.
//
//
// Example: default
From string `json:"from"`
// To The region slug to migrate to. Must be declared in the `regions` system parameter or served by a live worker.
//
//
// Example: gravelines
To string `json:"to"`
}
RegionMigrationRequest defines model for RegionMigrationRequest.
type RegisterJSONRequestBody ¶
type RegisterJSONRequestBody = RegisterRequest
RegisterJSONRequestBody defines body for Register for application/json ContentType.
type RegisterRequest ¶
type RegisterRequest struct {
Email openapi_types.Email `json:"email"`
Name *string `json:"name,omitempty"`
Password string `json:"password"`
}
RegisterRequest defines model for RegisterRequest.
type RegisterResult ¶
type RegisterResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
}
func ParseRegisterResult ¶
func ParseRegisterResult(rsp *http.Response) (*RegisterResult, error)
ParseRegisterResult parses an HTTP response from a RegisterWithResponse call
func (RegisterResult) ContentType ¶
func (r RegisterResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RegisterResult) GetBody ¶
func (r RegisterResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RegisterResult) GetJSON200 ¶
func (r RegisterResult) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RegisterResult) GetJSON400 ¶
func (r RegisterResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (RegisterResult) Status ¶
func (r RegisterResult) Status() string
Status returns HTTPResponse.Status
func (RegisterResult) StatusCode ¶
func (r RegisterResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RejectMembershipRequestJSONRequestBody ¶
type RejectMembershipRequestJSONRequestBody = RejectMembershipRequestRequest
RejectMembershipRequestJSONRequestBody defines body for RejectMembershipRequest for application/json ContentType.
type RejectMembershipRequestRequest ¶
type RejectMembershipRequestRequest struct {
// Reason Optional reason shown to the requester
Reason *string `json:"reason,omitempty"`
}
RejectMembershipRequestRequest defines model for RejectMembershipRequestRequest.
type RejectMembershipRequestResult ¶
type RejectMembershipRequestResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRejectMembershipRequestResult ¶
func ParseRejectMembershipRequestResult(rsp *http.Response) (*RejectMembershipRequestResult, error)
ParseRejectMembershipRequestResult parses an HTTP response from a RejectMembershipRequestWithResponse call
func (RejectMembershipRequestResult) ContentType ¶
func (r RejectMembershipRequestResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RejectMembershipRequestResult) GetBody ¶
func (r RejectMembershipRequestResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RejectMembershipRequestResult) GetJSON401 ¶
func (r RejectMembershipRequestResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RejectMembershipRequestResult) GetJSON403 ¶
func (r RejectMembershipRequestResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (RejectMembershipRequestResult) GetJSON404 ¶
func (r RejectMembershipRequestResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RejectMembershipRequestResult) Status ¶
func (r RejectMembershipRequestResult) Status() string
Status returns HTTPResponse.Status
func (RejectMembershipRequestResult) StatusCode ¶
func (r RejectMembershipRequestResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReleaseAdminEntitlementsResult ¶
type ReleaseAdminEntitlementsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminEntitlementsWriteResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseReleaseAdminEntitlementsResult ¶
func ParseReleaseAdminEntitlementsResult(rsp *http.Response) (*ReleaseAdminEntitlementsResult, error)
ParseReleaseAdminEntitlementsResult parses an HTTP response from a ReleaseAdminEntitlementsWithResponse call
func (ReleaseAdminEntitlementsResult) ContentType ¶
func (r ReleaseAdminEntitlementsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReleaseAdminEntitlementsResult) GetBody ¶
func (r ReleaseAdminEntitlementsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ReleaseAdminEntitlementsResult) GetJSON200 ¶
func (r ReleaseAdminEntitlementsResult) GetJSON200() *AdminEntitlementsWriteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ReleaseAdminEntitlementsResult) GetJSON401 ¶
func (r ReleaseAdminEntitlementsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ReleaseAdminEntitlementsResult) GetJSON403 ¶
func (r ReleaseAdminEntitlementsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ReleaseAdminEntitlementsResult) GetJSON404 ¶
func (r ReleaseAdminEntitlementsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ReleaseAdminEntitlementsResult) Status ¶
func (r ReleaseAdminEntitlementsResult) Status() string
Status returns HTTPResponse.Status
func (ReleaseAdminEntitlementsResult) StatusCode ¶
func (r ReleaseAdminEntitlementsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveCheckChannelResult ¶
type RemoveCheckChannelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRemoveCheckChannelResult ¶
func ParseRemoveCheckChannelResult(rsp *http.Response) (*RemoveCheckChannelResult, error)
ParseRemoveCheckChannelResult parses an HTTP response from a RemoveCheckChannelWithResponse call
func (RemoveCheckChannelResult) ContentType ¶
func (r RemoveCheckChannelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveCheckChannelResult) GetBody ¶
func (r RemoveCheckChannelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveCheckChannelResult) GetJSON401 ¶
func (r RemoveCheckChannelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RemoveCheckChannelResult) GetJSON404 ¶
func (r RemoveCheckChannelResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RemoveCheckChannelResult) Status ¶
func (r RemoveCheckChannelResult) Status() string
Status returns HTTPResponse.Status
func (RemoveCheckChannelResult) StatusCode ¶
func (r RemoveCheckChannelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveMemberResult ¶
type RemoveMemberResult struct {
Body []byte
HTTPResponse *http.Response
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
}
func ParseRemoveMemberResult ¶
func ParseRemoveMemberResult(rsp *http.Response) (*RemoveMemberResult, error)
ParseRemoveMemberResult parses an HTTP response from a RemoveMemberWithResponse call
func (RemoveMemberResult) ContentType ¶
func (r RemoveMemberResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveMemberResult) GetBody ¶
func (r RemoveMemberResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveMemberResult) GetJSON403 ¶
func (r RemoveMemberResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (RemoveMemberResult) GetJSON404 ¶
func (r RemoveMemberResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RemoveMemberResult) GetJSON409 ¶
func (r RemoveMemberResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (RemoveMemberResult) Status ¶
func (r RemoveMemberResult) Status() string
Status returns HTTPResponse.Status
func (RemoveMemberResult) StatusCode ¶
func (r RemoveMemberResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveMyNotificationContactResult ¶
type RemoveMyNotificationContactResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRemoveMyNotificationContactResult ¶
func ParseRemoveMyNotificationContactResult(rsp *http.Response) (*RemoveMyNotificationContactResult, error)
ParseRemoveMyNotificationContactResult parses an HTTP response from a RemoveMyNotificationContactWithResponse call
func (RemoveMyNotificationContactResult) ContentType ¶
func (r RemoveMyNotificationContactResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveMyNotificationContactResult) GetBody ¶
func (r RemoveMyNotificationContactResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveMyNotificationContactResult) GetJSON401 ¶
func (r RemoveMyNotificationContactResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RemoveMyNotificationContactResult) GetJSON404 ¶
func (r RemoveMyNotificationContactResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RemoveMyNotificationContactResult) Status ¶
func (r RemoveMyNotificationContactResult) Status() string
Status returns HTTPResponse.Status
func (RemoveMyNotificationContactResult) StatusCode ¶
func (r RemoveMyNotificationContactResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveStatusPageSubscriberResult ¶
type RemoveStatusPageSubscriberResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRemoveStatusPageSubscriberResult ¶
func ParseRemoveStatusPageSubscriberResult(rsp *http.Response) (*RemoveStatusPageSubscriberResult, error)
ParseRemoveStatusPageSubscriberResult parses an HTTP response from a RemoveStatusPageSubscriberWithResponse call
func (RemoveStatusPageSubscriberResult) ContentType ¶
func (r RemoveStatusPageSubscriberResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RemoveStatusPageSubscriberResult) GetBody ¶
func (r RemoveStatusPageSubscriberResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RemoveStatusPageSubscriberResult) GetJSON401 ¶
func (r RemoveStatusPageSubscriberResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RemoveStatusPageSubscriberResult) GetJSON404 ¶
func (r RemoveStatusPageSubscriberResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RemoveStatusPageSubscriberResult) Status ¶
func (r RemoveStatusPageSubscriberResult) Status() string
Status returns HTTPResponse.Status
func (RemoveStatusPageSubscriberResult) StatusCode ¶
func (r RemoveStatusPageSubscriberResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReorderStatusPageResourcesJSONRequestBody ¶
type ReorderStatusPageResourcesJSONRequestBody = ReorderUidsRequest
ReorderStatusPageResourcesJSONRequestBody defines body for ReorderStatusPageResources for application/json ContentType.
type ReorderStatusPageResourcesResult ¶
type ReorderStatusPageResourcesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseReorderStatusPageResourcesResult ¶
func ParseReorderStatusPageResourcesResult(rsp *http.Response) (*ReorderStatusPageResourcesResult, error)
ParseReorderStatusPageResourcesResult parses an HTTP response from a ReorderStatusPageResourcesWithResponse call
func (ReorderStatusPageResourcesResult) ContentType ¶
func (r ReorderStatusPageResourcesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReorderStatusPageResourcesResult) GetBody ¶
func (r ReorderStatusPageResourcesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ReorderStatusPageResourcesResult) GetJSON400 ¶
func (r ReorderStatusPageResourcesResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ReorderStatusPageResourcesResult) GetJSON401 ¶
func (r ReorderStatusPageResourcesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ReorderStatusPageResourcesResult) GetJSON404 ¶
func (r ReorderStatusPageResourcesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ReorderStatusPageResourcesResult) Status ¶
func (r ReorderStatusPageResourcesResult) Status() string
Status returns HTTPResponse.Status
func (ReorderStatusPageResourcesResult) StatusCode ¶
func (r ReorderStatusPageResourcesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReorderStatusPageSectionsJSONRequestBody ¶
type ReorderStatusPageSectionsJSONRequestBody = ReorderUidsRequest
ReorderStatusPageSectionsJSONRequestBody defines body for ReorderStatusPageSections for application/json ContentType.
type ReorderStatusPageSectionsResult ¶
type ReorderStatusPageSectionsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseReorderStatusPageSectionsResult ¶
func ParseReorderStatusPageSectionsResult(rsp *http.Response) (*ReorderStatusPageSectionsResult, error)
ParseReorderStatusPageSectionsResult parses an HTTP response from a ReorderStatusPageSectionsWithResponse call
func (ReorderStatusPageSectionsResult) ContentType ¶
func (r ReorderStatusPageSectionsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReorderStatusPageSectionsResult) GetBody ¶
func (r ReorderStatusPageSectionsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ReorderStatusPageSectionsResult) GetJSON400 ¶
func (r ReorderStatusPageSectionsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ReorderStatusPageSectionsResult) GetJSON401 ¶
func (r ReorderStatusPageSectionsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ReorderStatusPageSectionsResult) GetJSON404 ¶
func (r ReorderStatusPageSectionsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ReorderStatusPageSectionsResult) Status ¶
func (r ReorderStatusPageSectionsResult) Status() string
Status returns HTTPResponse.Status
func (ReorderStatusPageSectionsResult) StatusCode ¶
func (r ReorderStatusPageSectionsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReorderUidsRequest ¶
type ReorderUidsRequest struct {
Uids []openapi_types.UUID `json:"uids"`
}
ReorderUidsRequest defines model for ReorderUidsRequest.
type ReportSchedule ¶
type ReportSchedule struct {
CheckGroupUids *[]string `json:"checkGroupUids,omitempty"`
CheckUids *[]string `json:"checkUids,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
Frequency *ReportScheduleFrequency `json:"frequency,omitempty"`
IncludeSlos *bool `json:"includeSlos,omitempty"`
LastPeriodStart *time.Time `json:"lastPeriodStart,omitempty"`
LastRunAt *time.Time `json:"lastRunAt,omitempty"`
Name *string `json:"name,omitempty"`
// Recipients PII — returned only to the organization's own admins.
Recipients *[]string `json:"recipients,omitempty"`
Timezone *string `json:"timezone,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
ReportSchedule defines model for ReportSchedule.
type ReportScheduleFrequency ¶
type ReportScheduleFrequency string
ReportScheduleFrequency defines model for ReportSchedule.Frequency.
const ( ReportScheduleFrequencyMonthly ReportScheduleFrequency = "monthly" ReportScheduleFrequencyWeekly ReportScheduleFrequency = "weekly" )
Defines values for ReportScheduleFrequency.
func (ReportScheduleFrequency) Valid ¶
func (e ReportScheduleFrequency) Valid() bool
Valid indicates whether the value is a known member of the ReportScheduleFrequency enum.
type ReportScheduleListResponse ¶
type ReportScheduleListResponse struct {
Data *[]ReportSchedule `json:"data,omitempty"`
}
ReportScheduleListResponse defines model for ReportScheduleListResponse.
type ReportScheduleUidPath ¶
type ReportScheduleUidPath = openapi_types.UUID
ReportScheduleUidPath defines model for ReportScheduleUidPath.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestPasswordResetJSONRequestBody ¶
type RequestPasswordResetJSONRequestBody = RequestPasswordResetRequest
RequestPasswordResetJSONRequestBody defines body for RequestPasswordReset for application/json ContentType.
type RequestPasswordResetRequest ¶
type RequestPasswordResetRequest struct {
Email openapi_types.Email `json:"email"`
}
RequestPasswordResetRequest defines model for RequestPasswordResetRequest.
type RequestPasswordResetResult ¶
type RequestPasswordResetResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *TooManyRequests
}
func ParseRequestPasswordResetResult ¶
func ParseRequestPasswordResetResult(rsp *http.Response) (*RequestPasswordResetResult, error)
ParseRequestPasswordResetResult parses an HTTP response from a RequestPasswordResetWithResponse call
func (RequestPasswordResetResult) ContentType ¶
func (r RequestPasswordResetResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RequestPasswordResetResult) GetBody ¶
func (r RequestPasswordResetResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RequestPasswordResetResult) GetJSON200 ¶
func (r RequestPasswordResetResult) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RequestPasswordResetResult) GetJSON429 ¶
func (r RequestPasswordResetResult) GetJSON429() *TooManyRequests
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (RequestPasswordResetResult) Status ¶
func (r RequestPasswordResetResult) Status() string
Status returns HTTPResponse.Status
func (RequestPasswordResetResult) StatusCode ¶
func (r RequestPasswordResetResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResendSupportMessageResult ¶
type ResendSupportMessageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SupportMessage
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *SupportMessage
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParseResendSupportMessageResult ¶
func ParseResendSupportMessageResult(rsp *http.Response) (*ResendSupportMessageResult, error)
ParseResendSupportMessageResult parses an HTTP response from a ResendSupportMessageWithResponse call
func (ResendSupportMessageResult) ContentType ¶
func (r ResendSupportMessageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResendSupportMessageResult) GetBody ¶
func (r ResendSupportMessageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ResendSupportMessageResult) GetJSON200 ¶
func (r ResendSupportMessageResult) GetJSON200() *SupportMessage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResendSupportMessageResult) GetJSON202 ¶
func (r ResendSupportMessageResult) GetJSON202() *SupportMessage
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ResendSupportMessageResult) GetJSON401 ¶
func (r ResendSupportMessageResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ResendSupportMessageResult) GetJSON403 ¶
func (r ResendSupportMessageResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (ResendSupportMessageResult) GetJSON404 ¶
func (r ResendSupportMessageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ResendSupportMessageResult) GetJSON409 ¶
func (r ResendSupportMessageResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (ResendSupportMessageResult) Status ¶
func (r ResendSupportMessageResult) Status() string
Status returns HTTPResponse.Status
func (ResendSupportMessageResult) StatusCode ¶
func (r ResendSupportMessageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResetPasswordJSONRequestBody ¶
type ResetPasswordJSONRequestBody = ResetPasswordRequest
ResetPasswordJSONRequestBody defines body for ResetPassword for application/json ContentType.
type ResetPasswordRequest ¶
type ResetPasswordRequest struct {
Password string `json:"password"`
// Token Password reset token from the emailed link
Token string `json:"token"`
}
ResetPasswordRequest defines model for ResetPasswordRequest.
type ResetPasswordResult ¶
type ResetPasswordResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MessageResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON410 the response for an HTTP 410 `application/json` response
JSON410 *Error
}
func ParseResetPasswordResult ¶
func ParseResetPasswordResult(rsp *http.Response) (*ResetPasswordResult, error)
ParseResetPasswordResult parses an HTTP response from a ResetPasswordWithResponse call
func (ResetPasswordResult) ContentType ¶
func (r ResetPasswordResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResetPasswordResult) GetBody ¶
func (r ResetPasswordResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ResetPasswordResult) GetJSON200 ¶
func (r ResetPasswordResult) GetJSON200() *MessageResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResetPasswordResult) GetJSON400 ¶
func (r ResetPasswordResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (ResetPasswordResult) GetJSON410 ¶
func (r ResetPasswordResult) GetJSON410() *Error
GetJSON410 returns the response for an HTTP 410 `application/json` response
func (ResetPasswordResult) Status ¶
func (r ResetPasswordResult) Status() string
Status returns HTTPResponse.Status
func (ResetPasswordResult) StatusCode ¶
func (r ResetPasswordResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResolveIncidentJSONRequestBody ¶
type ResolveIncidentJSONRequestBody = IncidentAckRequest
ResolveIncidentJSONRequestBody defines body for ResolveIncident for application/json ContentType.
type ResolveIncidentResult ¶
type ResolveIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseResolveIncidentResult ¶
func ParseResolveIncidentResult(rsp *http.Response) (*ResolveIncidentResult, error)
ParseResolveIncidentResult parses an HTTP response from a ResolveIncidentWithResponse call
func (ResolveIncidentResult) ContentType ¶
func (r ResolveIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResolveIncidentResult) GetBody ¶
func (r ResolveIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ResolveIncidentResult) GetJSON200 ¶
func (r ResolveIncidentResult) GetJSON200() *IncidentDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResolveIncidentResult) GetJSON401 ¶
func (r ResolveIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ResolveIncidentResult) GetJSON404 ¶
func (r ResolveIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ResolveIncidentResult) Status ¶
func (r ResolveIncidentResult) Status() string
Status returns HTTPResponse.Status
func (ResolveIncidentResult) StatusCode ¶
func (r ResolveIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResourceUidPath ¶
type ResourceUidPath = openapi_types.UUID
ResourceUidPath defines model for ResourceUidPath.
type RespondToDeviceConsentJSONRequestBody ¶
type RespondToDeviceConsentJSONRequestBody = DeviceConsentRequest
RespondToDeviceConsentJSONRequestBody defines body for RespondToDeviceConsent for application/json ContentType.
type RespondToDeviceConsentResult ¶
type RespondToDeviceConsentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeviceConsentResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRespondToDeviceConsentResult ¶
func ParseRespondToDeviceConsentResult(rsp *http.Response) (*RespondToDeviceConsentResult, error)
ParseRespondToDeviceConsentResult parses an HTTP response from a RespondToDeviceConsentWithResponse call
func (RespondToDeviceConsentResult) ContentType ¶
func (r RespondToDeviceConsentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RespondToDeviceConsentResult) GetBody ¶
func (r RespondToDeviceConsentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RespondToDeviceConsentResult) GetJSON200 ¶
func (r RespondToDeviceConsentResult) GetJSON200() *DeviceConsentResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RespondToDeviceConsentResult) GetJSON404 ¶
func (r RespondToDeviceConsentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RespondToDeviceConsentResult) Status ¶
func (r RespondToDeviceConsentResult) Status() string
Status returns HTTPResponse.Status
func (RespondToDeviceConsentResult) StatusCode ¶
func (r RespondToDeviceConsentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResultFallbackInfo ¶
type ResultFallbackInfo struct {
Reason *ResultFallbackInfoReason `json:"reason,omitempty"`
// RequestedAt Timestamp embedded in the requested UUIDv7 UID.
RequestedAt *time.Time `json:"requestedAt,omitempty"`
// RequestedUid The originally requested (now-deleted) raw result UID.
RequestedUid *openapi_types.UUID `json:"requestedUid,omitempty"`
}
ResultFallbackInfo Present when the requested raw result UID had already been rolled up into an aggregation; describes the substitution.
type ResultFallbackInfoReason ¶
type ResultFallbackInfoReason string
ResultFallbackInfoReason defines model for ResultFallbackInfo.Reason.
const ( ResultFallbackInfoReasonRolledUpToDay ResultFallbackInfoReason = "rolled_up_to_day" ResultFallbackInfoReasonRolledUpToHour ResultFallbackInfoReason = "rolled_up_to_hour" ResultFallbackInfoReasonRolledUpToMonth ResultFallbackInfoReason = "rolled_up_to_month" )
Defines values for ResultFallbackInfoReason.
func (ResultFallbackInfoReason) Valid ¶
func (e ResultFallbackInfoReason) Valid() bool
Valid indicates whether the value is a known member of the ResultFallbackInfoReason enum.
type ResultsCursorPagination ¶
type ResultsCursorPagination struct {
// Cursor Cursor for next page (empty if no more results)
Cursor *string `json:"cursor,omitempty"`
Size *int `json:"size,omitempty"`
}
ResultsCursorPagination Cursor pagination for the results endpoint only — deliberately no `total`. `results` is the largest table in the system, and an unbounded COUNT(*) on every page load is too expensive to compute (see the Results section of the API wiki). Page forward with `cursor` until it comes back empty.
type ResultsWindow ¶
type ResultsWindow struct {
// Clamped True when the server moved `periodStartAfter` forward from the requested value.
Clamped *bool `json:"clamped,omitempty"`
// PeriodEndBefore Effective `period_start <` bound (not `period_end` — see the query parameter description); absent when unbounded.
PeriodEndBefore *time.Time `json:"periodEndBefore,omitempty"`
// PeriodStartAfter Effective `period_start >=` bound; absent when unbounded.
PeriodStartAfter *time.Time `json:"periodStartAfter,omitempty"`
}
ResultsWindow The time window the server actually queried. A raw-only request is clamped to the raw-retention band, so this is not always the window that was asked for. Always present — `clamped: false` is an answer, letting a client tell a clamp from a genuinely empty range and size a follow-up request. Additive and optional to read.
type RevokeStatusPageKioskTokenResult ¶
type RevokeStatusPageKioskTokenResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRevokeStatusPageKioskTokenResult ¶
func ParseRevokeStatusPageKioskTokenResult(rsp *http.Response) (*RevokeStatusPageKioskTokenResult, error)
ParseRevokeStatusPageKioskTokenResult parses an HTTP response from a RevokeStatusPageKioskTokenWithResponse call
func (RevokeStatusPageKioskTokenResult) ContentType ¶
func (r RevokeStatusPageKioskTokenResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeStatusPageKioskTokenResult) GetBody ¶
func (r RevokeStatusPageKioskTokenResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeStatusPageKioskTokenResult) GetJSON401 ¶
func (r RevokeStatusPageKioskTokenResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RevokeStatusPageKioskTokenResult) GetJSON404 ¶
func (r RevokeStatusPageKioskTokenResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RevokeStatusPageKioskTokenResult) Status ¶
func (r RevokeStatusPageKioskTokenResult) Status() string
Status returns HTTPResponse.Status
func (RevokeStatusPageKioskTokenResult) StatusCode ¶
func (r RevokeStatusPageKioskTokenResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RevokeTokenResult ¶
type RevokeTokenResult struct {
Body []byte
HTTPResponse *http.Response
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRevokeTokenResult ¶
func ParseRevokeTokenResult(rsp *http.Response) (*RevokeTokenResult, error)
ParseRevokeTokenResult parses an HTTP response from a RevokeTokenWithResponse call
func (RevokeTokenResult) ContentType ¶
func (r RevokeTokenResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeTokenResult) GetBody ¶
func (r RevokeTokenResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RevokeTokenResult) GetJSON404 ¶
func (r RevokeTokenResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RevokeTokenResult) Status ¶
func (r RevokeTokenResult) Status() string
Status returns HTTPResponse.Status
func (RevokeTokenResult) StatusCode ¶
func (r RevokeTokenResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateChannelSecretResult ¶
type RotateChannelSecretResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Channel
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRotateChannelSecretResult ¶
func ParseRotateChannelSecretResult(rsp *http.Response) (*RotateChannelSecretResult, error)
ParseRotateChannelSecretResult parses an HTTP response from a RotateChannelSecretWithResponse call
func (RotateChannelSecretResult) ContentType ¶
func (r RotateChannelSecretResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RotateChannelSecretResult) GetBody ¶
func (r RotateChannelSecretResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RotateChannelSecretResult) GetJSON200 ¶
func (r RotateChannelSecretResult) GetJSON200() *Channel
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RotateChannelSecretResult) GetJSON400 ¶
func (r RotateChannelSecretResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (RotateChannelSecretResult) GetJSON401 ¶
func (r RotateChannelSecretResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RotateChannelSecretResult) GetJSON404 ¶
func (r RotateChannelSecretResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RotateChannelSecretResult) Status ¶
func (r RotateChannelSecretResult) Status() string
Status returns HTTPResponse.Status
func (RotateChannelSecretResult) StatusCode ¶
func (r RotateChannelSecretResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateHeartbeatTokenResult ¶
type RotateHeartbeatTokenResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Check
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRotateHeartbeatTokenResult ¶
func ParseRotateHeartbeatTokenResult(rsp *http.Response) (*RotateHeartbeatTokenResult, error)
ParseRotateHeartbeatTokenResult parses an HTTP response from a RotateHeartbeatTokenWithResponse call
func (RotateHeartbeatTokenResult) ContentType ¶
func (r RotateHeartbeatTokenResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RotateHeartbeatTokenResult) GetBody ¶
func (r RotateHeartbeatTokenResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RotateHeartbeatTokenResult) GetJSON200 ¶
func (r RotateHeartbeatTokenResult) GetJSON200() *Check
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RotateHeartbeatTokenResult) GetJSON400 ¶
func (r RotateHeartbeatTokenResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (RotateHeartbeatTokenResult) GetJSON401 ¶
func (r RotateHeartbeatTokenResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RotateHeartbeatTokenResult) GetJSON404 ¶
func (r RotateHeartbeatTokenResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RotateHeartbeatTokenResult) Status ¶
func (r RotateHeartbeatTokenResult) Status() string
Status returns HTTPResponse.Status
func (RotateHeartbeatTokenResult) StatusCode ¶
func (r RotateHeartbeatTokenResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateOncallIcalFeedResult ¶
type RotateOncallIcalFeedResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OncallIcalFeedResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseRotateOncallIcalFeedResult ¶
func ParseRotateOncallIcalFeedResult(rsp *http.Response) (*RotateOncallIcalFeedResult, error)
ParseRotateOncallIcalFeedResult parses an HTTP response from a RotateOncallIcalFeedWithResponse call
func (RotateOncallIcalFeedResult) ContentType ¶
func (r RotateOncallIcalFeedResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RotateOncallIcalFeedResult) GetBody ¶
func (r RotateOncallIcalFeedResult) GetBody() []byte
GetBody returns the raw response body bytes
func (RotateOncallIcalFeedResult) GetJSON200 ¶
func (r RotateOncallIcalFeedResult) GetJSON200() *OncallIcalFeedResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RotateOncallIcalFeedResult) GetJSON401 ¶
func (r RotateOncallIcalFeedResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (RotateOncallIcalFeedResult) GetJSON404 ¶
func (r RotateOncallIcalFeedResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (RotateOncallIcalFeedResult) Status ¶
func (r RotateOncallIcalFeedResult) Status() string
Status returns HTTPResponse.Status
func (RotateOncallIcalFeedResult) StatusCode ¶
func (r RotateOncallIcalFeedResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SLO ¶
type SLO struct {
// Burning True while at least one burn-rate alert policy on this objective has an open incident. Derived from the incident rows, never stored.
Burning *bool `json:"burning,omitempty"`
CheckGroupName *string `json:"checkGroupName,omitempty"`
// CheckGroupUid Set when the objective is scoped to one check group
CheckGroupUid *string `json:"checkGroupUid,omitempty"`
CheckName *string `json:"checkName,omitempty"`
// CheckUid Set when the objective is scoped to one check
CheckUid *string `json:"checkUid,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ExcludeMaintenance *bool `json:"excludeMaintenance,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
TargetPct *float64 `json:"targetPct,omitempty"`
// Timezone IANA zone the calendar month is resolved in
Timezone *string `json:"timezone,omitempty"`
Uid *string `json:"uid,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
SLO defines model for SLO.
type SLOAlertPolicy ¶
type SLOAlertPolicy struct {
Enabled *bool `json:"enabled,omitempty"`
// Firing An open burn incident exists for this policy.
Firing *bool `json:"firing,omitempty"`
FiringSince *time.Time `json:"firingSince,omitempty"`
IncidentNumber *int64 `json:"incidentNumber,omitempty"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
// Kind Built-in identity. Not writable.
Kind *SLOAlertPolicyKind `json:"kind,omitempty"`
LastEvaluatedAt *time.Time `json:"lastEvaluatedAt,omitempty"`
// LongBurnRate Null when the window carries no countable probe. Never 0.
LongBurnRate *float64 `json:"longBurnRate,omitempty"`
LongConclusive *bool `json:"longConclusive,omitempty"`
LongSamples *int `json:"longSamples,omitempty"`
// LongWindowSeconds Significance window. Stored, never derived.
LongWindowSeconds *int `json:"longWindowSeconds,omitempty"`
// MinSamples Per-window probe floor. Below it the window is inconclusive: it does not fire, and it does not count as below-threshold for auto-resolve.
MinSamples *int `json:"minSamples,omitempty"`
// OverThresholdNow Both windows are conclusively over the threshold right now.
OverThresholdNow *bool `json:"overThresholdNow,omitempty"`
// ResolvingSince Hysteresis anchor: both windows have been below threshold since this instant, and the incident auto-resolves once that has held for a full short window.
ResolvingSince *time.Time `json:"resolvingSince,omitempty"`
Severity *SLOAlertPolicySeverity `json:"severity,omitempty"`
ShortBurnRate *float64 `json:"shortBurnRate,omitempty"`
ShortConclusive *bool `json:"shortConclusive,omitempty"`
ShortSamples *int `json:"shortSamples,omitempty"`
// ShortWindowSeconds Confirmation window. Must be <= longWindowSeconds.
ShortWindowSeconds *int `json:"shortWindowSeconds,omitempty"`
SloUid *openapi_types.UUID `json:"sloUid,omitempty"`
// Threshold Burn-rate multiple both windows must exceed. 1.0 spends the calendar budget exactly by period end.
Threshold *float64 `json:"threshold,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
SLOAlertPolicy One built-in multiwindow burn-rate alert policy. An alert fires only when BOTH windows exceed the threshold: the long window proves the burn is significant, the short one proves it is still happening.
type SLOAlertPolicyKind ¶
type SLOAlertPolicyKind string
SLOAlertPolicyKind Built-in identity. Not writable.
const ( SLOAlertPolicyKindFast SLOAlertPolicyKind = "fast" SLOAlertPolicyKindSlow SLOAlertPolicyKind = "slow" )
Defines values for SLOAlertPolicyKind.
func (SLOAlertPolicyKind) Valid ¶
func (e SLOAlertPolicyKind) Valid() bool
Valid indicates whether the value is a known member of the SLOAlertPolicyKind enum.
type SLOAlertPolicyListResponse ¶
type SLOAlertPolicyListResponse struct {
Data *[]SLOAlertPolicy `json:"data,omitempty"`
}
SLOAlertPolicyListResponse defines model for SLOAlertPolicyListResponse.
type SLOAlertPolicySeverity ¶
type SLOAlertPolicySeverity string
SLOAlertPolicySeverity defines model for SLOAlertPolicy.Severity.
const ( SLOAlertPolicySeverityCritical SLOAlertPolicySeverity = "critical" SLOAlertPolicySeverityWarning SLOAlertPolicySeverity = "warning" )
Defines values for SLOAlertPolicySeverity.
func (SLOAlertPolicySeverity) Valid ¶
func (e SLOAlertPolicySeverity) Valid() bool
Valid indicates whether the value is a known member of the SLOAlertPolicySeverity enum.
type SLOAlertPolicyUidPath ¶
type SLOAlertPolicyUidPath = openapi_types.UUID
SLOAlertPolicyUidPath defines model for SLOAlertPolicyUidPath.
type SLOBurndownPoint ¶
type SLOBurndownPoint struct {
// At End of the step, exclusive, in UTC.
At *time.Time `json:"at,omitempty"`
AttainmentPct *float64 `json:"attainmentPct,omitempty"`
// BudgetRemainingSeconds Negative once the budget is overspent.
BudgetRemainingSeconds *int64 `json:"budgetRemainingSeconds,omitempty"`
HasData *bool `json:"hasData,omitempty"`
// IdealRemainingSeconds The pace that spends the budget exactly over the window, drawn against the response-level `budgetTotalSeconds` so the two series stay comparable.
IdealRemainingSeconds *int64 `json:"idealRemainingSeconds,omitempty"`
}
SLOBurndownPoint defines model for SLOBurndownPoint.
type SLOBurndownResponse ¶
type SLOBurndownResponse struct {
// BudgetTotalSeconds The window's whole allowance, evaluated once. Every point's `budgetRemainingSeconds` is this value minus the consumption accrued up to it, and every point's `idealRemainingSeconds` is this value decayed linearly.
BudgetTotalSeconds *int64 `json:"budgetTotalSeconds,omitempty"`
Data *[]SLOBurndownPoint `json:"data,omitempty"`
TargetPct *float64 `json:"targetPct,omitempty"`
Window *SLOWindow `json:"window,omitempty"`
}
SLOBurndownResponse defines model for SLOBurndownResponse.
type SLOHistoryResponse ¶
type SLOHistoryResponse struct {
Data *[]SLOStatusRow `json:"data,omitempty"`
}
SLOHistoryResponse defines model for SLOHistoryResponse.
type SLOListResponse ¶
type SLOListResponse struct {
Data *[]SLO `json:"data,omitempty"`
}
SLOListResponse defines model for SLOListResponse.
type SLOStatusResponse ¶
type SLOStatusResponse struct {
Current *SLOStatusRow `json:"current,omitempty"`
Incidents *struct {
AverageSeconds *int64 `json:"averageSeconds,omitempty"`
Count *int `json:"count,omitempty"`
LongestSeconds *int64 `json:"longestSeconds,omitempty"`
TotalDowntimeSeconds *int64 `json:"totalDowntimeSeconds,omitempty"`
} `json:"incidents,omitempty"`
Slo *SLO `json:"slo,omitempty"`
}
SLOStatusResponse defines model for SLOStatusResponse.
type SLOStatusRow ¶
type SLOStatusRow struct {
// AttainmentPct null when the window carries no countable probe. No data is NOT 100% — the same rule the availability API follows.
AttainmentPct *float64 `json:"attainmentPct,omitempty"`
BudgetConsumedSeconds *int64 `json:"budgetConsumedSeconds,omitempty"`
// BudgetRemainingSeconds Negative when the budget is overspent.
BudgetRemainingSeconds *int64 `json:"budgetRemainingSeconds,omitempty"`
BudgetTotalSeconds *int64 `json:"budgetTotalSeconds,omitempty"`
// BurnRate Observed error rate divided by allowed error rate.
BurnRate *float64 `json:"burnRate,omitempty"`
// ElapsedSeconds The part of monitoredSeconds already elapsed; the consumption basis.
ElapsedSeconds *int64 `json:"elapsedSeconds,omitempty"`
ExcludedMaintenanceSeconds *int64 `json:"excludedMaintenanceSeconds,omitempty"`
HasData *bool `json:"hasData,omitempty"`
// MonitoredSeconds The whole window's monitorable duration; the budget basis.
MonitoredSeconds *int64 `json:"monitoredSeconds,omitempty"`
Partial *bool `json:"partial,omitempty"`
ProjectedExhaustionAt *time.Time `json:"projectedExhaustionAt,omitempty"`
State *SLOStatusRowState `json:"state,omitempty"`
SuccessfulChecks *int `json:"successfulChecks,omitempty"`
TargetPct *float64 `json:"targetPct,omitempty"`
TotalChecks *int `json:"totalChecks,omitempty"`
Window *SLOWindow `json:"window,omitempty"`
}
SLOStatusRow defines model for SLOStatusRow.
type SLOStatusRowState ¶
type SLOStatusRowState string
SLOStatusRowState defines model for SLOStatusRow.State.
const ( SLOStatusRowStateAtRisk SLOStatusRowState = "at_risk" SLOStatusRowStateBreached SLOStatusRowState = "breached" SLOStatusRowStateHealthy SLOStatusRowState = "healthy" SLOStatusRowStateUnknown SLOStatusRowState = "unknown" )
Defines values for SLOStatusRowState.
func (SLOStatusRowState) Valid ¶
func (e SLOStatusRowState) Valid() bool
Valid indicates whether the value is a known member of the SLOStatusRowState enum.
type SLOWindow ¶
type SLOWindow struct {
End *time.Time `json:"end,omitempty"`
Label *string `json:"label,omitempty"`
Start *time.Time `json:"start,omitempty"`
}
SLOWindow defines model for SLOWindow.
type ScanJobUidPath ¶
type ScanJobUidPath = openapi_types.UUID
ScanJobUidPath defines model for ScanJobUidPath.
type SendMemberPagingNudgeResult ¶
type SendMemberPagingNudgeResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseSendMemberPagingNudgeResult ¶
func ParseSendMemberPagingNudgeResult(rsp *http.Response) (*SendMemberPagingNudgeResult, error)
ParseSendMemberPagingNudgeResult parses an HTTP response from a SendMemberPagingNudgeWithResponse call
func (SendMemberPagingNudgeResult) ContentType ¶
func (r SendMemberPagingNudgeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SendMemberPagingNudgeResult) GetBody ¶
func (r SendMemberPagingNudgeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SendMemberPagingNudgeResult) GetJSON400 ¶
func (r SendMemberPagingNudgeResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SendMemberPagingNudgeResult) GetJSON401 ¶
func (r SendMemberPagingNudgeResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SendMemberPagingNudgeResult) GetJSON403 ¶
func (r SendMemberPagingNudgeResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SendMemberPagingNudgeResult) GetJSON404 ¶
func (r SendMemberPagingNudgeResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SendMemberPagingNudgeResult) Status ¶
func (r SendMemberPagingNudgeResult) Status() string
Status returns HTTPResponse.Status
func (SendMemberPagingNudgeResult) StatusCode ¶
func (r SendMemberPagingNudgeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendTestEmailJSONRequestBody ¶
type SendTestEmailJSONRequestBody = TestEmailRequest
SendTestEmailJSONRequestBody defines body for SendTestEmail for application/json ContentType.
type SendTestEmailResult ¶
type SendTestEmailResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TestEmailResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseSendTestEmailResult ¶
func ParseSendTestEmailResult(rsp *http.Response) (*SendTestEmailResult, error)
ParseSendTestEmailResult parses an HTTP response from a SendTestEmailWithResponse call
func (SendTestEmailResult) ContentType ¶
func (r SendTestEmailResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SendTestEmailResult) GetBody ¶
func (r SendTestEmailResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SendTestEmailResult) GetJSON200 ¶
func (r SendTestEmailResult) GetJSON200() *TestEmailResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SendTestEmailResult) GetJSON401 ¶
func (r SendTestEmailResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SendTestEmailResult) GetJSON403 ¶
func (r SendTestEmailResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SendTestEmailResult) Status ¶
func (r SendTestEmailResult) Status() string
Status returns HTTPResponse.Status
func (SendTestEmailResult) StatusCode ¶
func (r SendTestEmailResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetAdminEntitlementsJSONRequestBody ¶
type SetAdminEntitlementsJSONRequestBody = SetEntitlementsRequest
SetAdminEntitlementsJSONRequestBody defines body for SetAdminEntitlements for application/json ContentType.
type SetAdminEntitlementsResult ¶
type SetAdminEntitlementsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AdminEntitlementsWriteResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseSetAdminEntitlementsResult ¶
func ParseSetAdminEntitlementsResult(rsp *http.Response) (*SetAdminEntitlementsResult, error)
ParseSetAdminEntitlementsResult parses an HTTP response from a SetAdminEntitlementsWithResponse call
func (SetAdminEntitlementsResult) ContentType ¶
func (r SetAdminEntitlementsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetAdminEntitlementsResult) GetBody ¶
func (r SetAdminEntitlementsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SetAdminEntitlementsResult) GetJSON200 ¶
func (r SetAdminEntitlementsResult) GetJSON200() *AdminEntitlementsWriteResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetAdminEntitlementsResult) GetJSON401 ¶
func (r SetAdminEntitlementsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetAdminEntitlementsResult) GetJSON403 ¶
func (r SetAdminEntitlementsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SetAdminEntitlementsResult) GetJSON404 ¶
func (r SetAdminEntitlementsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SetAdminEntitlementsResult) GetJSON422 ¶
func (r SetAdminEntitlementsResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SetAdminEntitlementsResult) Status ¶
func (r SetAdminEntitlementsResult) Status() string
Status returns HTTPResponse.Status
func (SetAdminEntitlementsResult) StatusCode ¶
func (r SetAdminEntitlementsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetCheckChannelsJSONRequestBody ¶
type SetCheckChannelsJSONRequestBody = SetCheckChannelsRequest
SetCheckChannelsJSONRequestBody defines body for SetCheckChannels for application/json ContentType.
type SetCheckChannelsRequest ¶
type SetCheckChannelsRequest struct {
ConnectionUids []openapi_types.UUID `json:"connectionUids"`
}
SetCheckChannelsRequest defines model for SetCheckChannelsRequest.
type SetCheckChannelsResult ¶
type SetCheckChannelsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseSetCheckChannelsResult ¶
func ParseSetCheckChannelsResult(rsp *http.Response) (*SetCheckChannelsResult, error)
ParseSetCheckChannelsResult parses an HTTP response from a SetCheckChannelsWithResponse call
func (SetCheckChannelsResult) ContentType ¶
func (r SetCheckChannelsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetCheckChannelsResult) GetBody ¶
func (r SetCheckChannelsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SetCheckChannelsResult) GetJSON400 ¶
func (r SetCheckChannelsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SetCheckChannelsResult) GetJSON401 ¶
func (r SetCheckChannelsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetCheckChannelsResult) GetJSON404 ¶
func (r SetCheckChannelsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SetCheckChannelsResult) Status ¶
func (r SetCheckChannelsResult) Status() string
Status returns HTTPResponse.Status
func (SetCheckChannelsResult) StatusCode ¶
func (r SetCheckChannelsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetEntitlementsJSONRequestBody ¶
type SetEntitlementsJSONRequestBody = SetEntitlementsRequest
SetEntitlementsJSONRequestBody defines body for SetEntitlements for application/json ContentType.
type SetEntitlementsRequest ¶
type SetEntitlementsRequest struct {
DisplayEmoji *string `json:"displayEmoji,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
ExternalRef *string `json:"externalRef,omitempty"`
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// Limits Per-org numeric limits; null/absent means unlimited
Limits *EntitlementLimits `json:"limits,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Source IGNORED for user-driven writes — the server decides the source, because it is an authorization outcome rather than a label. A superadmin write records `admin`, any other authenticated caller records `org-admin`, and a trusted service defaults to `billing-service`.
Source *string `json:"source,omitempty"`
}
SetEntitlementsRequest defines model for SetEntitlementsRequest.
type SetEntitlementsResult ¶
type SetEntitlementsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EntitlementsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseSetEntitlementsResult ¶
func ParseSetEntitlementsResult(rsp *http.Response) (*SetEntitlementsResult, error)
ParseSetEntitlementsResult parses an HTTP response from a SetEntitlementsWithResponse call
func (SetEntitlementsResult) ContentType ¶
func (r SetEntitlementsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetEntitlementsResult) GetBody ¶
func (r SetEntitlementsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SetEntitlementsResult) GetJSON200 ¶
func (r SetEntitlementsResult) GetJSON200() *EntitlementsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetEntitlementsResult) GetJSON400 ¶
func (r SetEntitlementsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SetEntitlementsResult) GetJSON401 ¶
func (r SetEntitlementsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetEntitlementsResult) GetJSON403 ¶
func (r SetEntitlementsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SetEntitlementsResult) GetJSON404 ¶
func (r SetEntitlementsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SetEntitlementsResult) Status ¶
func (r SetEntitlementsResult) Status() string
Status returns HTTPResponse.Status
func (SetEntitlementsResult) StatusCode ¶
func (r SetEntitlementsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetIntegrationIdentityJSONRequestBody ¶
type SetIntegrationIdentityJSONRequestBody = SetIntegrationIdentityRequest
SetIntegrationIdentityJSONRequestBody defines body for SetIntegrationIdentity for application/json ContentType.
type SetIntegrationIdentityRequest ¶
type SetIntegrationIdentityRequest struct {
DisplayName *string `json:"displayName,omitempty"`
// ExternalId Workspace user id to map this member to
ExternalId string `json:"externalId"`
}
SetIntegrationIdentityRequest defines model for SetIntegrationIdentityRequest.
type SetIntegrationIdentityResult ¶
type SetIntegrationIdentityResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IntegrationIdentity
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseSetIntegrationIdentityResult ¶
func ParseSetIntegrationIdentityResult(rsp *http.Response) (*SetIntegrationIdentityResult, error)
ParseSetIntegrationIdentityResult parses an HTTP response from a SetIntegrationIdentityWithResponse call
func (SetIntegrationIdentityResult) ContentType ¶
func (r SetIntegrationIdentityResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetIntegrationIdentityResult) GetBody ¶
func (r SetIntegrationIdentityResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SetIntegrationIdentityResult) GetJSON200 ¶
func (r SetIntegrationIdentityResult) GetJSON200() *IntegrationIdentity
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetIntegrationIdentityResult) GetJSON400 ¶
func (r SetIntegrationIdentityResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SetIntegrationIdentityResult) GetJSON401 ¶
func (r SetIntegrationIdentityResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetIntegrationIdentityResult) GetJSON403 ¶
func (r SetIntegrationIdentityResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SetIntegrationIdentityResult) GetJSON404 ¶
func (r SetIntegrationIdentityResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SetIntegrationIdentityResult) Status ¶
func (r SetIntegrationIdentityResult) Status() string
Status returns HTTPResponse.Status
func (SetIntegrationIdentityResult) StatusCode ¶
func (r SetIntegrationIdentityResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetMaintenanceWindowChecksJSONRequestBody ¶
type SetMaintenanceWindowChecksJSONRequestBody = SetMaintenanceWindowChecksRequest
SetMaintenanceWindowChecksJSONRequestBody defines body for SetMaintenanceWindowChecks for application/json ContentType.
type SetMaintenanceWindowChecksRequest ¶
type SetMaintenanceWindowChecksRequest struct {
CheckGroupUids *[]openapi_types.UUID `json:"checkGroupUids,omitempty"`
CheckUids *[]openapi_types.UUID `json:"checkUids,omitempty"`
}
SetMaintenanceWindowChecksRequest defines model for SetMaintenanceWindowChecksRequest.
type SetMaintenanceWindowChecksResult ¶
type SetMaintenanceWindowChecksResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseSetMaintenanceWindowChecksResult ¶
func ParseSetMaintenanceWindowChecksResult(rsp *http.Response) (*SetMaintenanceWindowChecksResult, error)
ParseSetMaintenanceWindowChecksResult parses an HTTP response from a SetMaintenanceWindowChecksWithResponse call
func (SetMaintenanceWindowChecksResult) ContentType ¶
func (r SetMaintenanceWindowChecksResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetMaintenanceWindowChecksResult) GetBody ¶
func (r SetMaintenanceWindowChecksResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SetMaintenanceWindowChecksResult) GetJSON400 ¶
func (r SetMaintenanceWindowChecksResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SetMaintenanceWindowChecksResult) GetJSON401 ¶
func (r SetMaintenanceWindowChecksResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetMaintenanceWindowChecksResult) GetJSON404 ¶
func (r SetMaintenanceWindowChecksResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SetMaintenanceWindowChecksResult) Status ¶
func (r SetMaintenanceWindowChecksResult) Status() string
Status returns HTTPResponse.Status
func (SetMaintenanceWindowChecksResult) StatusCode ¶
func (r SetMaintenanceWindowChecksResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetSystemParameterJSONRequestBody ¶
type SetSystemParameterJSONRequestBody = SetSystemParameterRequest
SetSystemParameterJSONRequestBody defines body for SetSystemParameter for application/json ContentType.
type SetSystemParameterRequest ¶
type SetSystemParameterRequest struct {
// Secret Whether this is a secret parameter (optional, defaults to false)
Secret *bool `json:"secret,omitempty"`
// Value The parameter value to set
Value interface{} `json:"value,omitempty"`
}
SetSystemParameterRequest defines model for SetSystemParameterRequest.
type SetSystemParameterResult ¶
type SetSystemParameterResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SystemParameter
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseSetSystemParameterResult ¶
func ParseSetSystemParameterResult(rsp *http.Response) (*SetSystemParameterResult, error)
ParseSetSystemParameterResult parses an HTTP response from a SetSystemParameterWithResponse call
func (SetSystemParameterResult) ContentType ¶
func (r SetSystemParameterResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SetSystemParameterResult) GetBody ¶
func (r SetSystemParameterResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SetSystemParameterResult) GetJSON200 ¶
func (r SetSystemParameterResult) GetJSON200() *SystemParameter
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SetSystemParameterResult) GetJSON401 ¶
func (r SetSystemParameterResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SetSystemParameterResult) GetJSON403 ¶
func (r SetSystemParameterResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SetSystemParameterResult) Status ¶
func (r SetSystemParameterResult) Status() string
Status returns HTTPResponse.Status
func (SetSystemParameterResult) StatusCode ¶
func (r SetSystemParameterResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Severity ¶
type Severity struct {
Channels []string `json:"channels"`
CreatedAt time.Time `json:"createdAt"`
Description *string `json:"description,omitempty"`
IsDefault bool `json:"isDefault"`
Name string `json:"name"`
Slug string `json:"slug"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt time.Time `json:"updatedAt"`
}
Severity defines model for Severity.
type SeverityListResponse ¶
type SeverityListResponse struct {
Data *[]Severity `json:"data,omitempty"`
}
SeverityListResponse defines model for SeverityListResponse.
type SeverityUidPath ¶
type SeverityUidPath = string
SeverityUidPath defines model for SeverityUidPath.
type SnoozeIncidentJSONRequestBody ¶
type SnoozeIncidentJSONRequestBody = IncidentSnoozeRequest
SnoozeIncidentJSONRequestBody defines body for SnoozeIncident for application/json ContentType.
type SnoozeIncidentResult ¶
type SnoozeIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentDetail
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseSnoozeIncidentResult ¶
func ParseSnoozeIncidentResult(rsp *http.Response) (*SnoozeIncidentResult, error)
ParseSnoozeIncidentResult parses an HTTP response from a SnoozeIncidentWithResponse call
func (SnoozeIncidentResult) ContentType ¶
func (r SnoozeIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SnoozeIncidentResult) GetBody ¶
func (r SnoozeIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SnoozeIncidentResult) GetJSON200 ¶
func (r SnoozeIncidentResult) GetJSON200() *IncidentDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SnoozeIncidentResult) GetJSON400 ¶
func (r SnoozeIncidentResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SnoozeIncidentResult) GetJSON401 ¶
func (r SnoozeIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SnoozeIncidentResult) GetJSON404 ¶
func (r SnoozeIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SnoozeIncidentResult) Status ¶
func (r SnoozeIncidentResult) Status() string
Status returns HTTPResponse.Status
func (SnoozeIncidentResult) StatusCode ¶
func (r SnoozeIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SolidPingClient ¶
type SolidPingClient struct {
*ClientWithResponses
// contains filtered or unexported fields
}
SolidPingClient wraps the generated OpenAPI client.
func (*SolidPingClient) AddCheckDependency ¶
func (c *SolidPingClient) AddCheckDependency( ctx context.Context, org, child string, body CreateDependencyBody, ) (*DependencyEdge, error)
AddCheckDependency creates one parent edge for a child check.
func (*SolidPingClient) ApplyChecks ¶
func (c *SolidPingClient) ApplyChecks( ctx context.Context, org string, body []byte, contentType string, opts ApplyOptions, ) (json.RawMessage, error)
ApplyChecks posts a manifest (JSON or YAML bytes) to the apply endpoint with the given options. contentType selects the parse path server-side.
func (*SolidPingClient) CreateToken ¶
func (c *SolidPingClient) CreateToken( ctx context.Context, org, name string, expiresAt *time.Time, ) (*CreateTokenResponse, error)
CreateToken creates a new Personal Access Token scoped to an org.
func (*SolidPingClient) DeleteCheckDependency ¶
func (c *SolidPingClient) DeleteCheckDependency( ctx context.Context, org, child, depUID string, ) error
DeleteCheckDependency removes one edge by uid.
func (*SolidPingClient) ExportChecks ¶
func (c *SolidPingClient) ExportChecks(ctx context.Context, org string) (json.RawMessage, error)
ExportChecks fetches the org's checks as a raw export document (JSON bytes), returned verbatim so the CLI can write it to a file unchanged.
func (*SolidPingClient) GetOnCallICalFeed ¶
GetOnCallICalFeed fetches the public iCal (text/calendar) feed for an on-call schedule by its feed secret. This is an unauthenticated route that returns raw VCALENDAR text, not JSON, so it uses a bespoke reader rather than the generated client.
func (*SolidPingClient) GetTokens ¶
func (c *SolidPingClient) GetTokens(ctx context.Context) (*TokenListResponse, error)
GetTokens lists all tokens for the current user across all orgs.
func (*SolidPingClient) ImportChecks ¶
func (c *SolidPingClient) ImportChecks( ctx context.Context, org string, body []byte, contentType string, dryRun bool, ) (json.RawMessage, error)
ImportChecks posts an export document to the import endpoint. dryRun previews without mutating. contentType selects the server's parse path (JSON or YAML) and is sent verbatim as the request Content-Type; the body itself is sent unmodified.
func (*SolidPingClient) ListCheckDependencies ¶
func (c *SolidPingClient) ListCheckDependencies( ctx context.Context, org, check string, ) (*PerCheckDependencies, error)
ListCheckDependencies returns the parents and children of a check.
func (*SolidPingClient) Login ¶
func (c *SolidPingClient) Login(ctx context.Context, org string, email, password string) (*LoginResponse, error)
Login performs email/password authentication. Org is optional.
func (*SolidPingClient) Logout ¶
func (c *SolidPingClient) Logout(ctx context.Context, deleteAllTokens bool) (*LogoutResponse, error)
Logout logs out the current session.
func (*SolidPingClient) Me ¶
func (c *SolidPingClient) Me(ctx context.Context) (*MeResponse, error)
Me gets the current user information.
func (*SolidPingClient) RawPutCheckBySlug ¶
func (c *SolidPingClient) RawPutCheckBySlug( ctx context.Context, org, slug string, body map[string]any, ) (int, error)
RawPutCheckBySlug PUTs a free-form payload to /checks/{slug}. Used by the CLI to apply dependsOn together with the existing check config — the generated UpsertCheckRequest doesn't yet expose dependsOn.
func (*SolidPingClient) Refresh ¶
func (c *SolidPingClient) Refresh(ctx context.Context, refreshToken string) (*RefreshResponse, error)
Refresh refreshes the access token using a refresh token.
func (*SolidPingClient) RevokeToken ¶
func (c *SolidPingClient) RevokeToken(ctx context.Context, tokenUID string) error
RevokeToken revokes a token by UID.
func (*SolidPingClient) SendHeartbeat ¶
func (c *SolidPingClient) SendHeartbeat( ctx context.Context, org, identifier string, opts HeartbeatOptions, ) error
SendHeartbeat posts a heartbeat ping for the given org + identifier. This is a public ingestion route: the per-check heartbeat token (when configured) is passed as the `token` query parameter, not as the bearer token.
func (*SolidPingClient) SessionRequiresPasswordChange ¶
func (c *SolidPingClient) SessionRequiresPasswordChange(ctx context.Context) (bool, error)
SessionRequiresPasswordChange reports whether the account behind the client's current token must rotate its password before it can be used.
It reads GET /api/v1/auth/me — deliberately, because that is one of the three endpoints a flagged session can still reach, so this probe never trips the gate it is asking about. Hand-written against rawRequest rather than the generated Me(): pkg/client/client_generated.go is regenerated once per batch (wiki/conventions/generated-client.md), so a typed field added to openapi.yaml today is not available to compile against today.
func (*SolidPingClient) SetToken ¶
func (c *SolidPingClient) SetToken(token string)
SetToken sets the authentication token for the client.
func (*SolidPingClient) SwitchOrg ¶
func (c *SolidPingClient) SwitchOrg(ctx context.Context, orgSlug string) (*LoginResponse, error)
SwitchOrg switches to a different organization.
type StartDeviceAuthorizationJSONRequestBody ¶
type StartDeviceAuthorizationJSONRequestBody = DeviceAuthorizationRequest
StartDeviceAuthorizationJSONRequestBody defines body for StartDeviceAuthorization for application/json ContentType.
type StartDeviceAuthorizationResult ¶
type StartDeviceAuthorizationResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeviceAuthorizationResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseStartDeviceAuthorizationResult ¶
func ParseStartDeviceAuthorizationResult(rsp *http.Response) (*StartDeviceAuthorizationResult, error)
ParseStartDeviceAuthorizationResult parses an HTTP response from a StartDeviceAuthorizationWithResponse call
func (StartDeviceAuthorizationResult) ContentType ¶
func (r StartDeviceAuthorizationResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartDeviceAuthorizationResult) GetBody ¶
func (r StartDeviceAuthorizationResult) GetBody() []byte
GetBody returns the raw response body bytes
func (StartDeviceAuthorizationResult) GetJSON200 ¶
func (r StartDeviceAuthorizationResult) GetJSON200() *DeviceAuthorizationResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (StartDeviceAuthorizationResult) GetJSON422 ¶
func (r StartDeviceAuthorizationResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (StartDeviceAuthorizationResult) Status ¶
func (r StartDeviceAuthorizationResult) Status() string
Status returns HTTPResponse.Status
func (StartDeviceAuthorizationResult) StatusCode ¶
func (r StartDeviceAuthorizationResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartDiscoveryScanJSONRequestBody ¶
type StartDiscoveryScanJSONRequestBody = StartDiscoveryScanRequest
StartDiscoveryScanJSONRequestBody defines body for StartDiscoveryScan for application/json ContentType.
type StartDiscoveryScanRequest ¶
type StartDiscoveryScanRequest struct {
// Parameters Type-specific parameters. LAN -> {cidrs, ports?, concurrency?, timeout?};
// Freebox -> {channelUid}; Container -> {hosts, timeout?};
// Kubernetes -> {clusterUid, namespaces?, timeout?}.
//
//
// Example: {"cidrs":["192.168.1.0/24"]}
Parameters *map[string]interface{} `json:"parameters,omitempty"`
// Type A registered discovery type (see /discovery/types)
//
// Example: lan
Type string `json:"type"`
}
StartDiscoveryScanRequest defines model for StartDiscoveryScanRequest.
type StartDiscoveryScanResult ¶
type StartDiscoveryScanResult struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *struct {
// Data A discovery scan job. Its UID is the scan UID.
Data *DiscoveryScan `json:"data,omitempty"`
// Progress Uniform progress view for any scan. Non-chunked scans report totalChunks=1.
Progress *DiscoveryScanProgress `json:"progress,omitempty"`
}
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *Error
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *Error
}
func ParseStartDiscoveryScanResult ¶
func ParseStartDiscoveryScanResult(rsp *http.Response) (*StartDiscoveryScanResult, error)
ParseStartDiscoveryScanResult parses an HTTP response from a StartDiscoveryScanWithResponse call
func (StartDiscoveryScanResult) ContentType ¶
func (r StartDiscoveryScanResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StartDiscoveryScanResult) GetBody ¶
func (r StartDiscoveryScanResult) GetBody() []byte
GetBody returns the raw response body bytes
func (StartDiscoveryScanResult) GetJSON201 ¶
func (r StartDiscoveryScanResult) GetJSON201() *struct { // Data A discovery scan job. Its UID is the scan UID. Data *DiscoveryScan `json:"data,omitempty"` // Progress Uniform progress view for any scan. Non-chunked scans report totalChunks=1. Progress *DiscoveryScanProgress `json:"progress,omitempty"` }
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (StartDiscoveryScanResult) GetJSON400 ¶
func (r StartDiscoveryScanResult) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (StartDiscoveryScanResult) GetJSON403 ¶
func (r StartDiscoveryScanResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (StartDiscoveryScanResult) GetJSON404 ¶
func (r StartDiscoveryScanResult) GetJSON404() *Error
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (StartDiscoveryScanResult) GetJSON409 ¶
func (r StartDiscoveryScanResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (StartDiscoveryScanResult) GetJSON422 ¶
func (r StartDiscoveryScanResult) GetJSON422() *Error
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (StartDiscoveryScanResult) Status ¶
func (r StartDiscoveryScanResult) Status() string
Status returns HTTPResponse.Status
func (StartDiscoveryScanResult) StatusCode ¶
func (r StartDiscoveryScanResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StatusCounts ¶
type StatusCounts struct {
Degraded int `json:"degraded"`
Down int `json:"down"`
Maintenance int `json:"maintenance"`
Operational int `json:"operational"`
Unknown int `json:"unknown"`
}
StatusCounts Tallies the page's resources per overallStatus category.
type StatusPage ¶
type StatusPage struct {
// ActiveIncidents Currently-open incident publications for this page. Same population rule as overallStatus (public view paths only). Every field on them is operator-authored or templated from the page's own public resource names — probe output, error strings and results.output never reach this payload.
ActiveIncidents *[]PublicIncident `json:"activeIncidents,omitempty"`
// AutoPublish Whether incidents affecting this page's resources are published automatically as public incidents. FALSE on every page that existed before this feature shipped (the migration deliberately did not opt anyone in retroactively); TRUE by default on pages created since.
AutoPublish *bool `json:"autoPublish,omitempty"`
// AutoPublishDelaySeconds Debounce before an incident becomes public. 0 publishes immediately; an incident that resolves inside this window is never published at all.
AutoPublishDelaySeconds *int `json:"autoPublishDelaySeconds,omitempty"`
// AutoResolve What an auto-created publication does when its incident resolves. "if_untouched" (the default) resolves it only while nobody has edited it; once a human owns the narrative the automation posts a "component recovered" note and leaves the final resolve to them.
AutoResolve *StatusPageAutoResolve `json:"autoResolve,omitempty"`
AvailabilityThresholds AvailabilityThresholds `json:"availabilityThresholds"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// CustomCss Operator-authored CSS the public status page injects as a <style> text node, overriding its CSS custom properties (--brand, --background, --card, --border, the status colors, .dark). Unlike the custom-domain fields this IS returned on the public view — the public renderer is its consumer. Max 64 KB, @import rejected.
CustomCss *string `json:"customCss,omitempty"`
// CustomDomain Customer-owned hostname the page is served on (punycode/ASCII). Present only on the authenticated org endpoints, never on the public view.
CustomDomain *string `json:"customDomain,omitempty"`
// CustomDomainCertStatus TLS certificate state for the custom domain when the server terminates TLS itself (config acme.enabled). "none" = nothing issued yet (issuance is on-demand, on the first HTTPS request), "issued" = a certificate is in storage, "error" = the last issuance attempt failed (see the server log). Omitted when in-server TLS is disabled or the domain is not verified yet. Authenticated endpoints only.
CustomDomainCertStatus *StatusPageCustomDomainCertStatus `json:"customDomainCertStatus,omitempty"`
// CustomDomainDegradedSince When the domain entered "grace". Absent otherwise. Authenticated endpoints only.
CustomDomainDegradedSince *time.Time `json:"customDomainDegradedSince,omitempty"`
// CustomDomainLastCheck One-line diagnostic from the last DNS re-check: the verification mode used, the CNAME target expected, what DNS actually returned, and the lookup error if any. Exists so a failing verification is diagnosable from the API instead of by correlating server logs with manual dig runs. Authenticated endpoints only.
CustomDomainLastCheck *string `json:"customDomainLastCheck,omitempty"`
// CustomDomainRecords The DNS records the customer must create. Since v0.8.0 this is exactly ONE entry: the routing CNAME. Its value is the installation CNAME target in "shared" mode, or the page-specific "<token>.cname.<target>" host in "token" mode (server.custom_domain_cname_mode). The TXT ownership challenge was removed. Authenticated endpoints only.
CustomDomainRecords *[]DnsRecord `json:"customDomainRecords,omitempty"`
// CustomDomainState Custom-domain lifecycle state (spec 2026-08-23-03). "grace" is the one customDomainStatus cannot express: the page is STILL served, but its periodic DNS re-checks are failing and it will stop being served if nothing is done. "demoted" means it already has, and is recoverable — the sweep re-promotes after several consecutive successful checks while a valid certificate is still held. Authenticated endpoints only.
CustomDomainState *StatusPageCustomDomainState `json:"customDomainState,omitempty"`
// CustomDomainStatus Custom-domain verification state. Authenticated endpoints only.
CustomDomainStatus *StatusPageCustomDomainStatus `json:"customDomainStatus,omitempty"`
Description *string `json:"description,omitempty"`
Enabled bool `json:"enabled"`
// FaviconUrl Public path of the page's uploaded favicon, if any.
FaviconUrl *string `json:"faviconUrl,omitempty"`
// HasKioskToken Whether a kiosk (TV mode) token is minted for this page. ADMIN payloads only — the public views strip it, and the token itself is returned exactly once, by the POST that mints it.
HasKioskToken *bool `json:"hasKioskToken,omitempty"`
// HasPassword Whether an unlock password is stored. The hash itself is never serialized.
HasPassword *bool `json:"hasPassword,omitempty"`
// HideBranding On admin payloads: the page's raw white-label opt-in. On the PUBLIC payload: the RESOLVED decision, already ANDed with the org's whiteLabel entitlement.
HideBranding *bool `json:"hideBranding,omitempty"`
HistoryDays int `json:"historyDays"`
// HistoryPeriod History window (24h, 7d, 30d, 90d)
HistoryPeriod string `json:"historyPeriod"`
IsDefault bool `json:"isDefault"`
Language *string `json:"language,omitempty"`
// LogoUrl Public path of the page's uploaded logo, if any.
LogoUrl *string `json:"logoUrl,omitempty"`
Name string `json:"name"`
// OverallAvailabilityPct PAGE-level uptime over the page's own historyPeriod: the arithmetic mean of the per-resource `availability.overallAvailabilityPct` values, with resources that have no data excluded from the mean (never counted as 0 or 100). Omitted when `showAvailability` is false, when no resource has any data, and on the authenticated admin payloads. Public view paths only, like overallStatus.
OverallAvailabilityPct *float64 `json:"overallAvailabilityPct,omitempty"`
// OverallStatus Page-level rollup computed server-side from the live status of every resource on the page, so the public views, the summary endpoint, and the SVG badge always agree. Only populated on the live public view paths (GET /api/v1/status-pages/{org} and GET /api/v1/status-pages/{org}/{slug}) — omitted on the authenticated admin listing, which doesn't load live resource data.
OverallStatus *StatusPageOverallStatus `json:"overallStatus,omitempty"`
RecentUpdates *[]StatusUpdatePublic `json:"recentUpdates,omitempty"`
Sections *[]StatusPageSection `json:"sections,omitempty"`
// Settings Per-page display customization. Typed rather than a free-form map; unknown keys are rejected on write (VALIDATION_ERROR).
Settings *StatusPageSettings `json:"settings,omitempty"`
ShowAvailability bool `json:"showAvailability"`
ShowResponseTime bool `json:"showResponseTime"`
Slug string `json:"slug"`
// StatusCounts Tallies the page's resources per overallStatus category.
StatusCounts *StatusCounts `json:"statusCounts,omitempty"`
Uid openapi_types.UUID `json:"uid"`
// Visibility public = world-readable; private = hidden entirely (public endpoints answer 404); password = shared with a secret (public endpoints answer 401 STATUS_PAGE_LOCKED until unlocked).
Visibility StatusPageVisibility `json:"visibility"`
// WhiteLabelAllowed Whether the org holds the whiteLabel entitlement. Admin payloads only — plan state is never disclosed publicly.
WhiteLabelAllowed *bool `json:"whiteLabelAllowed,omitempty"`
}
StatusPage defines model for StatusPage.
type StatusPageAutoResolve ¶
type StatusPageAutoResolve string
StatusPageAutoResolve What an auto-created publication does when its incident resolves. "if_untouched" (the default) resolves it only while nobody has edited it; once a human owns the narrative the automation posts a "component recovered" note and leaves the final resolve to them.
const ( StatusPageAutoResolveAlways StatusPageAutoResolve = "always" StatusPageAutoResolveIfUntouched StatusPageAutoResolve = "if_untouched" StatusPageAutoResolveNever StatusPageAutoResolve = "never" )
Defines values for StatusPageAutoResolve.
func (StatusPageAutoResolve) Valid ¶
func (e StatusPageAutoResolve) Valid() bool
Valid indicates whether the value is a known member of the StatusPageAutoResolve enum.
type StatusPageCustomDomainCertStatus ¶
type StatusPageCustomDomainCertStatus string
StatusPageCustomDomainCertStatus TLS certificate state for the custom domain when the server terminates TLS itself (config acme.enabled). "none" = nothing issued yet (issuance is on-demand, on the first HTTPS request), "issued" = a certificate is in storage, "error" = the last issuance attempt failed (see the server log). Omitted when in-server TLS is disabled or the domain is not verified yet. Authenticated endpoints only.
const ( StatusPageCustomDomainCertStatusError StatusPageCustomDomainCertStatus = "error" StatusPageCustomDomainCertStatusIssued StatusPageCustomDomainCertStatus = "issued" StatusPageCustomDomainCertStatusNone StatusPageCustomDomainCertStatus = "none" )
Defines values for StatusPageCustomDomainCertStatus.
func (StatusPageCustomDomainCertStatus) Valid ¶
func (e StatusPageCustomDomainCertStatus) Valid() bool
Valid indicates whether the value is a known member of the StatusPageCustomDomainCertStatus enum.
type StatusPageCustomDomainState ¶
type StatusPageCustomDomainState string
StatusPageCustomDomainState Custom-domain lifecycle state (spec 2026-08-23-03). "grace" is the one customDomainStatus cannot express: the page is STILL served, but its periodic DNS re-checks are failing and it will stop being served if nothing is done. "demoted" means it already has, and is recoverable — the sweep re-promotes after several consecutive successful checks while a valid certificate is still held. Authenticated endpoints only.
const ( StatusPageCustomDomainStateActive StatusPageCustomDomainState = "active" StatusPageCustomDomainStateDemoted StatusPageCustomDomainState = "demoted" StatusPageCustomDomainStateGrace StatusPageCustomDomainState = "grace" StatusPageCustomDomainStateNone StatusPageCustomDomainState = "none" StatusPageCustomDomainStatePending StatusPageCustomDomainState = "pending" )
Defines values for StatusPageCustomDomainState.
func (StatusPageCustomDomainState) Valid ¶
func (e StatusPageCustomDomainState) Valid() bool
Valid indicates whether the value is a known member of the StatusPageCustomDomainState enum.
type StatusPageCustomDomainStatus ¶
type StatusPageCustomDomainStatus string
StatusPageCustomDomainStatus Custom-domain verification state. Authenticated endpoints only.
const ( StatusPageCustomDomainStatusUnverified StatusPageCustomDomainStatus = "unverified" StatusPageCustomDomainStatusVerified StatusPageCustomDomainStatus = "verified" )
Defines values for StatusPageCustomDomainStatus.
func (StatusPageCustomDomainStatus) Valid ¶
func (e StatusPageCustomDomainStatus) Valid() bool
Valid indicates whether the value is a known member of the StatusPageCustomDomainStatus enum.
type StatusPageEndpointSubscriber ¶
type StatusPageEndpointSubscriber struct {
Channel StatusPageEndpointSubscriberChannel `json:"channel"`
Confirmed bool `json:"confirmed"`
CreatedAt string `json:"createdAt"`
// Disabled True once repeated delivery failures tripped the circuit breaker. A `statuspage.subscriber.disabled` event records why.
Disabled *bool `json:"disabled,omitempty"`
// Email Absent for a webhook/Slack subscription.
Email *string `json:"email,omitempty"`
// Endpoint MASKED delivery URL, endpoint channels only. The real URL is stored encrypted and is never returned — an incoming-webhook URL is a credential, so a list endpoint that echoed it would turn every read into a credential disclosure.
Endpoint *string `json:"endpoint,omitempty"`
// FailureCount Consecutive delivery failures; reset by a success.
FailureCount *int `json:"failureCount,omitempty"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
// Scope Subscription scope ("page" or "incident")
Scope string `json:"scope"`
// SigningSecret Returned EXACTLY ONCE, on creation. It is stored encrypted and never appears on any other response, so copy it now: without it the HMAC on every delivery is unverifiable.
SigningSecret string `json:"signingSecret"`
Uid openapi_types.UUID `json:"uid"`
}
StatusPageEndpointSubscriber defines model for StatusPageEndpointSubscriber.
type StatusPageEndpointSubscriberChannel ¶
type StatusPageEndpointSubscriberChannel string
StatusPageEndpointSubscriberChannel defines model for StatusPageEndpointSubscriber.Channel.
const ( StatusPageEndpointSubscriberChannelEmail StatusPageEndpointSubscriberChannel = "email" StatusPageEndpointSubscriberChannelSlack StatusPageEndpointSubscriberChannel = "slack" StatusPageEndpointSubscriberChannelWebhook StatusPageEndpointSubscriberChannel = "webhook" )
Defines values for StatusPageEndpointSubscriberChannel.
func (StatusPageEndpointSubscriberChannel) Valid ¶
func (e StatusPageEndpointSubscriberChannel) Valid() bool
Valid indicates whether the value is a known member of the StatusPageEndpointSubscriberChannel enum.
type StatusPageFeedResult ¶
type StatusPageFeedResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *StatusPageLocked
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseStatusPageFeedResult ¶
func ParseStatusPageFeedResult(rsp *http.Response) (*StatusPageFeedResult, error)
ParseStatusPageFeedResult parses an HTTP response from a StatusPageFeedWithResponse call
func (StatusPageFeedResult) ContentType ¶
func (r StatusPageFeedResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (StatusPageFeedResult) GetBody ¶
func (r StatusPageFeedResult) GetBody() []byte
GetBody returns the raw response body bytes
func (StatusPageFeedResult) GetJSON401 ¶
func (r StatusPageFeedResult) GetJSON401() *StatusPageLocked
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (StatusPageFeedResult) GetJSON404 ¶
func (r StatusPageFeedResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (StatusPageFeedResult) Status ¶
func (r StatusPageFeedResult) Status() string
Status returns HTTPResponse.Status
func (StatusPageFeedResult) StatusCode ¶
func (r StatusPageFeedResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StatusPageListResponse ¶
type StatusPageListResponse struct {
Data *[]StatusPage `json:"data,omitempty"`
}
StatusPageListResponse defines model for StatusPageListResponse.
type StatusPageLocked ¶
type StatusPageLocked = Error
StatusPageLocked defines model for StatusPageLocked.
type StatusPageOverallStatus ¶
type StatusPageOverallStatus string
StatusPageOverallStatus Page-level rollup computed server-side from the live status of every resource on the page, so the public views, the summary endpoint, and the SVG badge always agree. Only populated on the live public view paths (GET /api/v1/status-pages/{org} and GET /api/v1/status-pages/{org}/{slug}) — omitted on the authenticated admin listing, which doesn't load live resource data.
const ( StatusPageOverallStatusDegraded StatusPageOverallStatus = "degraded" StatusPageOverallStatusDown StatusPageOverallStatus = "down" StatusPageOverallStatusMaintenance StatusPageOverallStatus = "maintenance" StatusPageOverallStatusOperational StatusPageOverallStatus = "operational" StatusPageOverallStatusUnknown StatusPageOverallStatus = "unknown" )
Defines values for StatusPageOverallStatus.
func (StatusPageOverallStatus) Valid ¶
func (e StatusPageOverallStatus) Valid() bool
Valid indicates whether the value is a known member of the StatusPageOverallStatus enum.
type StatusPageResource ¶
type StatusPageResource struct {
// AutoPublish Per-resource auto-publish override. ABSENT/null means "inherit the page setting", which is NOT the same as an explicit false — a page can therefore be flipped on or off without rewriting every resource's intent.
AutoPublish *bool `json:"autoPublish,omitempty"`
// CheckGroupUid Set when the resource targets a check group.
CheckGroupUid *openapi_types.UUID `json:"checkGroupUid,omitempty"`
// CheckUid Set when the resource targets an individual check.
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Explanation *string `json:"explanation,omitempty"`
// ManagedBySelector True when the row was materialized by the section's selector and is owned by it (spec 2026-08-29-11). Deleting it, re-targeting it, writing its `position`, or reordering it away from the arrangement the reconciler maintains all answer `409 CONFLICT` — those edits would be undone on the next reconcile, and a write that reports success and then silently reverts is worse than a refusal. Change the selector instead, or add the check manually (which always wins, and takes over the managed row in place). Its `publicName`, `explanation` and `autoPublish` stay editable — the reconciler never touches them. Manual resources in the same section remain freely deletable and reorderable.
// Absent means a normal manual resource. AUTHENTICATED responses only — the public payload omits it, because a materialized component renders exactly like a manual one and how it got there is operator context.
ManagedBySelector *bool `json:"managedBySelector,omitempty"`
Position int `json:"position"`
PublicName *string `json:"publicName,omitempty"`
Uid openapi_types.UUID `json:"uid"`
}
StatusPageResource A component displayed on a status page section. It targets either a single check (checkUid) or a whole check group (checkGroupUid) — exactly one is set. A group resource renders as ONE aggregated component: rolled up status, weighted-average availability across its members, and maintenance from a group- or member-targeted window. Its members are never listed publicly.
type StatusPageResourceListResponse ¶
type StatusPageResourceListResponse struct {
Data *[]StatusPageResource `json:"data,omitempty"`
}
StatusPageResourceListResponse defines model for StatusPageResourceListResponse.
type StatusPageSection ¶
type StatusPageSection struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
Name string `json:"name"`
Position int `json:"position"`
Resources *[]StatusPageResource `json:"resources,omitempty"`
// Selector The section's dynamic-membership rule, absent on a hand-curated section. Returned on AUTHENTICATED responses only — the public page payload omits it, since a selector spells out the organization's internal label taxonomy.
Selector *StatusPageSectionSelector `json:"selector,omitempty"`
// SelectorMatchTotal How many checks the selector matches in total. Authenticated responses only.
SelectorMatchTotal *int `json:"selectorMatchTotal,omitempty"`
// SelectorTruncated True when the match count exceeds the per-section cap (200) and the section is therefore showing a stable alphabetical prefix. Authenticated responses only.
SelectorTruncated *bool `json:"selectorTruncated,omitempty"`
Slug string `json:"slug"`
Uid openapi_types.UUID `json:"uid"`
}
StatusPageSection defines model for StatusPageSection.
type StatusPageSectionListResponse ¶
type StatusPageSectionListResponse struct {
Data *[]StatusPageSection `json:"data,omitempty"`
}
StatusPageSectionListResponse defines model for StatusPageSectionListResponse.
type StatusPageSectionSelector ¶
type StatusPageSectionSelector struct {
// All Select every non-internal check in the organization.
All *bool `json:"all,omitempty"`
// Labels Select checks carrying ALL of these exact key=value labels (AND). Values are exact — there is no existence-only ("*") matching.
Labels *map[string]string `json:"labels,omitempty"`
}
StatusPageSectionSelector A section's dynamic-membership rule (spec 2026-08-29-11). Exactly one of `all` / `labels` is set; `{}` and an empty `labels` object are both rejected, because "select everything" has to be typed out rather than implied. Unknown keys are rejected too: a mistyped rule that silently matches nothing forever is the exact failure dynamic sections exist to remove. The system MATERIALIZES the matching checks as real resources (`managedBySelector: true`), so a check created later appears with no manual action, and one that stops matching is removed. Internal checks are never matched. A check already placed MANUALLY anywhere on the same page is skipped — manual placement always wins. On a `public` page this means every current AND future matching check becomes publicly visible. Prefer a label opt-in such as `{"labels": {"public": "true"}}`, which puts the publish decision on the check itself.
type StatusPageSettings ¶
type StatusPageSettings struct {
// Availability Customizes the green/amber/red availability thresholds rendered on a status page's bars. Omitted fields fall back to the platform defaults (thresholdUp 99.9, thresholdDegraded 99.0).
Availability *AvailabilitySettings `json:"availability,omitempty"`
}
StatusPageSettings Per-page display customization. Typed rather than a free-form map; unknown keys are rejected on write (VALIDATION_ERROR).
type StatusPageSubscribeRequest ¶
type StatusPageSubscribeRequest struct {
// Channel Accepted only so a client asking for a non-email channel gets a clear refusal. Public self-serve is email-only.
Channel *StatusPageSubscribeRequestChannel `json:"channel,omitempty"`
Email openapi_types.Email `json:"email"`
// IncidentUid Required when scope is "incident".
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
Scope *StatusPageSubscribeRequestScope `json:"scope,omitempty"`
}
StatusPageSubscribeRequest defines model for StatusPageSubscribeRequest.
type StatusPageSubscribeRequestChannel ¶
type StatusPageSubscribeRequestChannel string
StatusPageSubscribeRequestChannel Accepted only so a client asking for a non-email channel gets a clear refusal. Public self-serve is email-only.
const (
StatusPageSubscribeRequestChannelEmail StatusPageSubscribeRequestChannel = "email"
)
Defines values for StatusPageSubscribeRequestChannel.
func (StatusPageSubscribeRequestChannel) Valid ¶
func (e StatusPageSubscribeRequestChannel) Valid() bool
Valid indicates whether the value is a known member of the StatusPageSubscribeRequestChannel enum.
type StatusPageSubscribeRequestScope ¶
type StatusPageSubscribeRequestScope string
StatusPageSubscribeRequestScope defines model for StatusPageSubscribeRequest.Scope.
const ( StatusPageSubscribeRequestScopeIncident StatusPageSubscribeRequestScope = "incident" StatusPageSubscribeRequestScopePage StatusPageSubscribeRequestScope = "page" )
Defines values for StatusPageSubscribeRequestScope.
func (StatusPageSubscribeRequestScope) Valid ¶
func (e StatusPageSubscribeRequestScope) Valid() bool
Valid indicates whether the value is a known member of the StatusPageSubscribeRequestScope enum.
type StatusPageSubscriber ¶
type StatusPageSubscriber struct {
Channel StatusPageSubscriberChannel `json:"channel"`
Confirmed bool `json:"confirmed"`
CreatedAt string `json:"createdAt"`
// Disabled True once repeated delivery failures tripped the circuit breaker. A `statuspage.subscriber.disabled` event records why.
Disabled *bool `json:"disabled,omitempty"`
// Email Absent for a webhook/Slack subscription.
Email *string `json:"email,omitempty"`
// Endpoint MASKED delivery URL, endpoint channels only. The real URL is stored encrypted and is never returned — an incoming-webhook URL is a credential, so a list endpoint that echoed it would turn every read into a credential disclosure.
Endpoint *string `json:"endpoint,omitempty"`
// FailureCount Consecutive delivery failures; reset by a success.
FailureCount *int `json:"failureCount,omitempty"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
// Scope Subscription scope ("page" or "incident")
Scope string `json:"scope"`
Uid openapi_types.UUID `json:"uid"`
}
StatusPageSubscriber defines model for StatusPageSubscriber.
type StatusPageSubscriberChannel ¶
type StatusPageSubscriberChannel string
StatusPageSubscriberChannel defines model for StatusPageSubscriber.Channel.
const ( StatusPageSubscriberChannelEmail StatusPageSubscriberChannel = "email" StatusPageSubscriberChannelSlack StatusPageSubscriberChannel = "slack" StatusPageSubscriberChannelWebhook StatusPageSubscriberChannel = "webhook" )
Defines values for StatusPageSubscriberChannel.
func (StatusPageSubscriberChannel) Valid ¶
func (e StatusPageSubscriberChannel) Valid() bool
Valid indicates whether the value is a known member of the StatusPageSubscriberChannel enum.
type StatusPageSubscriberListResponse ¶
type StatusPageSubscriberListResponse struct {
Data *[]StatusPageSubscriber `json:"data,omitempty"`
Meta *struct {
Count *int `json:"count,omitempty"`
} `json:"meta,omitempty"`
}
StatusPageSubscriberListResponse defines model for StatusPageSubscriberListResponse.
type StatusPageSummary ¶
type StatusPageSummary struct {
// Counts Tallies the page's resources per overallStatus category.
Counts StatusCounts `json:"counts"`
GeneratedAt time.Time `json:"generatedAt"`
// OverallAvailabilityPct Page-level uptime over the page's historyPeriod — the same number, by the same definition, as the full page view's field of this name. Omitted when the page hides availability or nothing has reported yet.
OverallAvailabilityPct *float64 `json:"overallAvailabilityPct,omitempty"`
Page struct {
Name string `json:"name"`
Slug string `json:"slug"`
// Url The canonical public URL: the verified custom domain when active, otherwise the absolute /status0/{org}/{slug} URL derived from the request host.
Url string `json:"url"`
} `json:"page"`
Status StatusPageSummaryStatus `json:"status"`
}
StatusPageSummary The lightweight "is it up?" public rollup — a cheap alternative to the full status page view (no sections, no per-resource availability/ response-time series).
type StatusPageSummaryStatus ¶
type StatusPageSummaryStatus string
StatusPageSummaryStatus defines model for StatusPageSummary.Status.
const ( StatusPageSummaryStatusDegraded StatusPageSummaryStatus = "degraded" StatusPageSummaryStatusDown StatusPageSummaryStatus = "down" StatusPageSummaryStatusMaintenance StatusPageSummaryStatus = "maintenance" StatusPageSummaryStatusOperational StatusPageSummaryStatus = "operational" StatusPageSummaryStatusUnknown StatusPageSummaryStatus = "unknown" )
Defines values for StatusPageSummaryStatus.
func (StatusPageSummaryStatus) Valid ¶
func (e StatusPageSummaryStatus) Valid() bool
Valid indicates whether the value is a known member of the StatusPageSummaryStatus enum.
type StatusPageUidPath ¶
type StatusPageUidPath = string
StatusPageUidPath defines model for StatusPageUidPath.
type StatusPageUnlockRequest ¶
type StatusPageUnlockRequest struct {
// Password The page password, as given to the visitor by the operator.
Password string `json:"password"`
}
StatusPageUnlockRequest defines model for StatusPageUnlockRequest.
type StatusPageVisibility ¶
type StatusPageVisibility string
StatusPageVisibility public = world-readable; private = hidden entirely (public endpoints answer 404); password = shared with a secret (public endpoints answer 401 STATUS_PAGE_LOCKED until unlocked).
const ( StatusPageVisibilityPassword StatusPageVisibility = "password" StatusPageVisibilityPrivate StatusPageVisibility = "private" StatusPageVisibilityPublic StatusPageVisibility = "public" )
Defines values for StatusPageVisibility.
func (StatusPageVisibility) Valid ¶
func (e StatusPageVisibility) Valid() bool
Valid indicates whether the value is a known member of the StatusPageVisibility enum.
type StatusUpdate ¶
type StatusUpdate struct {
AuthorUid string `json:"authorUid"`
BodyMarkdown string `json:"bodyMarkdown"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
CreatedAt time.Time `json:"createdAt"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
// Kind One of: investigating, identified, monitoring, resolved, maintenance, info
Kind string `json:"kind"`
LinkUrl *string `json:"linkUrl,omitempty"`
PublishedAt time.Time `json:"publishedAt"`
SectionUid *openapi_types.UUID `json:"sectionUid,omitempty"`
StatusPageUid openapi_types.UUID `json:"statusPageUid"`
Title string `json:"title"`
Uid openapi_types.UUID `json:"uid"`
UpdatedAt time.Time `json:"updatedAt"`
}
StatusUpdate defines model for StatusUpdate.
type StatusUpdateListResponse ¶
type StatusUpdateListResponse struct {
Data *[]StatusUpdate `json:"data,omitempty"`
}
StatusUpdateListResponse defines model for StatusUpdateListResponse.
type StatusUpdatePublic ¶
type StatusUpdatePublic struct {
BodyMarkdown string `json:"bodyMarkdown"`
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
Kind string `json:"kind"`
LinkUrl *string `json:"linkUrl,omitempty"`
PublishedAt time.Time `json:"publishedAt"`
SectionUid *openapi_types.UUID `json:"sectionUid,omitempty"`
Title string `json:"title"`
Uid openapi_types.UUID `json:"uid"`
}
StatusUpdatePublic defines model for StatusUpdatePublic.
type StatusUpdateUidPath ¶
type StatusUpdateUidPath = openapi_types.UUID
StatusUpdateUidPath defines model for StatusUpdateUidPath.
type SubscribeToStatusPageJSONRequestBody ¶
type SubscribeToStatusPageJSONRequestBody = StatusPageSubscribeRequest
SubscribeToStatusPageJSONRequestBody defines body for SubscribeToStatusPage for application/json ContentType.
type SubscribeToStatusPageResult ¶
type SubscribeToStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *struct {
Data *struct {
// Status Example: pending_confirmation
Status *string `json:"status,omitempty"`
} `json:"data,omitempty"`
}
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *StatusPageLocked
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseSubscribeToStatusPageResult ¶
func ParseSubscribeToStatusPageResult(rsp *http.Response) (*SubscribeToStatusPageResult, error)
ParseSubscribeToStatusPageResult parses an HTTP response from a SubscribeToStatusPageWithResponse call
func (SubscribeToStatusPageResult) ContentType ¶
func (r SubscribeToStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SubscribeToStatusPageResult) GetBody ¶
func (r SubscribeToStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SubscribeToStatusPageResult) GetJSON202 ¶
func (r SubscribeToStatusPageResult) GetJSON202() *struct { Data *struct { // Status Example: pending_confirmation Status *string `json:"status,omitempty"` } `json:"data,omitempty"` }
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (SubscribeToStatusPageResult) GetJSON401 ¶
func (r SubscribeToStatusPageResult) GetJSON401() *StatusPageLocked
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SubscribeToStatusPageResult) GetJSON404 ¶
func (r SubscribeToStatusPageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SubscribeToStatusPageResult) GetJSON422 ¶
func (r SubscribeToStatusPageResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (SubscribeToStatusPageResult) Status ¶
func (r SubscribeToStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (SubscribeToStatusPageResult) StatusCode ¶
func (r SubscribeToStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SubscriberUidPath ¶
type SubscriberUidPath = openapi_types.UUID
SubscriberUidPath defines model for SubscriberUidPath.
type SupportMessage ¶
type SupportMessage struct {
// AuthorUid The super admin who sent an outbound reply.
AuthorUid *string `json:"authorUid,omitempty"`
// Body Attacker-influenced free text. Never render it as HTML.
Body string `json:"body"`
Channel string `json:"channel"`
CreatedAt time.Time `json:"createdAt"`
Delivery *map[string]interface{} `json:"delivery,omitempty"`
Direction SupportMessageDirection `json:"direction"`
ExternalId *string `json:"externalId,omitempty"`
RawType SupportMessageRawType `json:"rawType"`
ThreadUid string `json:"threadUid"`
// Truncated True when the body exceeded the stored-body cap and was cut.
Truncated *bool `json:"truncated,omitempty"`
Uid string `json:"uid"`
}
SupportMessage defines model for SupportMessage.
type SupportMessageDirection ¶
type SupportMessageDirection string
SupportMessageDirection defines model for SupportMessage.Direction.
const ( SupportMessageDirectionInbound SupportMessageDirection = "inbound" SupportMessageDirectionOutbound SupportMessageDirection = "outbound" )
Defines values for SupportMessageDirection.
func (SupportMessageDirection) Valid ¶
func (e SupportMessageDirection) Valid() bool
Valid indicates whether the value is a known member of the SupportMessageDirection enum.
type SupportMessageListResponse ¶
type SupportMessageListResponse struct {
Data []SupportMessage `json:"data"`
}
SupportMessageListResponse defines model for SupportMessageListResponse.
type SupportMessageRawType ¶
type SupportMessageRawType string
SupportMessageRawType defines model for SupportMessage.RawType.
const ( SupportMessageRawTypeAudio SupportMessageRawType = "audio" SupportMessageRawTypeDocument SupportMessageRawType = "document" SupportMessageRawTypeImage SupportMessageRawType = "image" SupportMessageRawTypeLocation SupportMessageRawType = "location" SupportMessageRawTypeSticker SupportMessageRawType = "sticker" SupportMessageRawTypeText SupportMessageRawType = "text" SupportMessageRawTypeUnsupported SupportMessageRawType = "unsupported" SupportMessageRawTypeVideo SupportMessageRawType = "video" )
Defines values for SupportMessageRawType.
func (SupportMessageRawType) Valid ¶
func (e SupportMessageRawType) Valid() bool
Valid indicates whether the value is a known member of the SupportMessageRawType enum.
type SupportReplyWindow ¶
type SupportReplyWindow struct {
// CostsMoney True for channels billed per reply (SMS).
CostsMoney bool `json:"costsMoney"`
// Expires Whether this channel has a window at all. Only WhatsApp does.
Expires bool `json:"expires"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Open bool `json:"open"`
// Reason Operator-facing explanation of a closed window.
Reason *string `json:"reason,omitempty"`
}
SupportReplyWindow Whether a free-form reply can be sent RIGHT NOW. Derived from the last inbound message's timestamp and the channel's rule at read time, never stored — so it cannot go stale. This is a different axis from `status`: a thread can be open (unanswered) and yet expired (WhatsApp will no longer accept a free-form reply), which is exactly the state an operator most needs to see.
type SupportThread ¶
type SupportThread struct {
// CanReply Whether a reply can be routed back to THIS thread right now. Resolved per thread from local routing state — a stored Slack connection for the thread's workspace, a Discord channel id, an SMS sender for the attributed org — never by calling the provider. A registered adapter is not enough: a Slack workspace whose app was installed outside SolidPing sends messages we capture and holds no token we can answer with, and reports false here.
CanReply *bool `json:"canReply,omitempty"`
// CanReplyReason Why canReply is false, in operator-facing terms. Absent when the thread is answerable. The dashboard renders this in place of the reply box.
CanReplyReason *string `json:"canReplyReason,omitempty"`
Channel SupportThreadChannel `json:"channel"`
// ChannelIdentity E.164 number, Telegram chat id, Slack/Discord user id.
ChannelIdentity string `json:"channelIdentity"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
LastInboundAt *time.Time `json:"lastInboundAt,omitempty"`
LastMessageAt time.Time `json:"lastMessageAt"`
// OrganizationUid Attribution only. Recorded when the sender resolves to a verified user contact; it does NOT grant that organization visibility of the thread.
OrganizationUid *string `json:"organizationUid,omitempty"`
// ReplyWindow Whether a free-form reply can be sent RIGHT NOW. Derived from the last inbound message's timestamp and the channel's rule at read time, never stored — so it cannot go stale. This is a different axis from `status`: a thread can be open (unanswered) and yet expired (WhatsApp will no longer accept a free-form reply), which is exactly the state an operator most needs to see.
ReplyWindow *SupportReplyWindow `json:"replyWindow,omitempty"`
// Status Set by the operator, deliberately. Not the reply window.
Status SupportThreadStatus `json:"status"`
Subject string `json:"subject"`
Uid string `json:"uid"`
UnreadCount int `json:"unreadCount"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UserUid *string `json:"userUid,omitempty"`
}
SupportThread defines model for SupportThread.
type SupportThreadChannel ¶
type SupportThreadChannel string
SupportThreadChannel defines model for SupportThread.Channel.
const ( SupportThreadChannelDiscord SupportThreadChannel = "discord" SupportThreadChannelEmail SupportThreadChannel = "email" SupportThreadChannelSlack SupportThreadChannel = "slack" SupportThreadChannelSms SupportThreadChannel = "sms" SupportThreadChannelTelegram SupportThreadChannel = "telegram" SupportThreadChannelWhatsapp SupportThreadChannel = "whatsapp" )
Defines values for SupportThreadChannel.
func (SupportThreadChannel) Valid ¶
func (e SupportThreadChannel) Valid() bool
Valid indicates whether the value is a known member of the SupportThreadChannel enum.
type SupportThreadListResponse ¶
type SupportThreadListResponse struct {
Data []SupportThread `json:"data"`
}
SupportThreadListResponse defines model for SupportThreadListResponse.
type SupportThreadStatus ¶
type SupportThreadStatus string
SupportThreadStatus Set by the operator, deliberately. Not the reply window.
const ( SupportThreadStatusClosed SupportThreadStatus = "closed" SupportThreadStatusOpen SupportThreadStatus = "open" SupportThreadStatusPending SupportThreadStatus = "pending" )
Defines values for SupportThreadStatus.
func (SupportThreadStatus) Valid ¶
func (e SupportThreadStatus) Valid() bool
Valid indicates whether the value is a known member of the SupportThreadStatus enum.
type SwitchOrgJSONRequestBody ¶
type SwitchOrgJSONRequestBody = SwitchOrgRequest
SwitchOrgJSONRequestBody defines body for SwitchOrg for application/json ContentType.
type SwitchOrgRequest ¶
type SwitchOrgRequest struct {
// Org Target organization slug
Org string `json:"org"`
}
SwitchOrgRequest defines model for SwitchOrgRequest.
type SwitchOrgResult ¶
type SwitchOrgResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoginResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
}
func ParseSwitchOrgResult ¶
func ParseSwitchOrgResult(rsp *http.Response) (*SwitchOrgResult, error)
ParseSwitchOrgResult parses an HTTP response from a SwitchOrgWithResponse call
func (SwitchOrgResult) ContentType ¶
func (r SwitchOrgResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SwitchOrgResult) GetBody ¶
func (r SwitchOrgResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SwitchOrgResult) GetJSON200 ¶
func (r SwitchOrgResult) GetJSON200() *LoginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SwitchOrgResult) GetJSON401 ¶
func (r SwitchOrgResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SwitchOrgResult) Status ¶
func (r SwitchOrgResult) Status() string
Status returns HTTPResponse.Status
func (SwitchOrgResult) StatusCode ¶
func (r SwitchOrgResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyncEmailInboxResult ¶
type SyncEmailInboxResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EmailInboxSyncResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseSyncEmailInboxResult ¶
func ParseSyncEmailInboxResult(rsp *http.Response) (*SyncEmailInboxResult, error)
ParseSyncEmailInboxResult parses an HTTP response from a SyncEmailInboxWithResponse call
func (SyncEmailInboxResult) ContentType ¶
func (r SyncEmailInboxResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SyncEmailInboxResult) GetBody ¶
func (r SyncEmailInboxResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SyncEmailInboxResult) GetJSON200 ¶
func (r SyncEmailInboxResult) GetJSON200() *EmailInboxSyncResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SyncEmailInboxResult) GetJSON401 ¶
func (r SyncEmailInboxResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SyncEmailInboxResult) GetJSON403 ¶
func (r SyncEmailInboxResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SyncEmailInboxResult) Status ¶
func (r SyncEmailInboxResult) Status() string
Status returns HTTPResponse.Status
func (SyncEmailInboxResult) StatusCode ¶
func (r SyncEmailInboxResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SyncIntegrationIdentitiesResult ¶
type SyncIntegrationIdentitiesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IntegrationIdentitySyncResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseSyncIntegrationIdentitiesResult ¶
func ParseSyncIntegrationIdentitiesResult(rsp *http.Response) (*SyncIntegrationIdentitiesResult, error)
ParseSyncIntegrationIdentitiesResult parses an HTTP response from a SyncIntegrationIdentitiesWithResponse call
func (SyncIntegrationIdentitiesResult) ContentType ¶
func (r SyncIntegrationIdentitiesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SyncIntegrationIdentitiesResult) GetBody ¶
func (r SyncIntegrationIdentitiesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (SyncIntegrationIdentitiesResult) GetJSON200 ¶
func (r SyncIntegrationIdentitiesResult) GetJSON200() *IntegrationIdentitySyncResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SyncIntegrationIdentitiesResult) GetJSON400 ¶
func (r SyncIntegrationIdentitiesResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (SyncIntegrationIdentitiesResult) GetJSON401 ¶
func (r SyncIntegrationIdentitiesResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (SyncIntegrationIdentitiesResult) GetJSON403 ¶
func (r SyncIntegrationIdentitiesResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (SyncIntegrationIdentitiesResult) GetJSON404 ¶
func (r SyncIntegrationIdentitiesResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (SyncIntegrationIdentitiesResult) Status ¶
func (r SyncIntegrationIdentitiesResult) Status() string
Status returns HTTPResponse.Status
func (SyncIntegrationIdentitiesResult) StatusCode ¶
func (r SyncIntegrationIdentitiesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SystemParameter ¶
type SystemParameter struct {
// Key Parameter key
Key *string `json:"key,omitempty"`
// Secret Whether this is a secret parameter
Secret *bool `json:"secret,omitempty"`
// UpdatedAt When the parameter was last updated
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
// Value Parameter value (masked with "******" for secrets)
Value interface{} `json:"value,omitempty"`
}
SystemParameter defines model for SystemParameter.
type SystemParameterListResponse ¶
type SystemParameterListResponse struct {
Data *[]SystemParameter `json:"data,omitempty"`
}
SystemParameterListResponse defines model for SystemParameterListResponse.
type TelegramLinkResponse ¶
type TelegramLinkResponse struct {
// ExpiresAt When the token stops working (15 minutes after minting).
ExpiresAt time.Time `json:"expiresAt"`
// Url The t.me deep link to open, carrying the single-use token.
//
// Example: https://t.me/solidping_bot?start=Zm9vYmFyYmF6
Url string `json:"url"`
}
TelegramLinkResponse defines model for TelegramLinkResponse.
type TestChannelResult ¶
type TestChannelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ChannelTestResult
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseTestChannelResult ¶
func ParseTestChannelResult(rsp *http.Response) (*TestChannelResult, error)
ParseTestChannelResult parses an HTTP response from a TestChannelWithResponse call
func (TestChannelResult) ContentType ¶
func (r TestChannelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestChannelResult) GetBody ¶
func (r TestChannelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (TestChannelResult) GetJSON200 ¶
func (r TestChannelResult) GetJSON200() *ChannelTestResult
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TestChannelResult) GetJSON400 ¶
func (r TestChannelResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (TestChannelResult) GetJSON401 ¶
func (r TestChannelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestChannelResult) GetJSON404 ¶
func (r TestChannelResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TestChannelResult) Status ¶
func (r TestChannelResult) Status() string
Status returns HTTPResponse.Status
func (TestChannelResult) StatusCode ¶
func (r TestChannelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestEmailInboxResult ¶
type TestEmailInboxResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EmailInboxTestResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
}
func ParseTestEmailInboxResult ¶
func ParseTestEmailInboxResult(rsp *http.Response) (*TestEmailInboxResult, error)
ParseTestEmailInboxResult parses an HTTP response from a TestEmailInboxWithResponse call
func (TestEmailInboxResult) ContentType ¶
func (r TestEmailInboxResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestEmailInboxResult) GetBody ¶
func (r TestEmailInboxResult) GetBody() []byte
GetBody returns the raw response body bytes
func (TestEmailInboxResult) GetJSON200 ¶
func (r TestEmailInboxResult) GetJSON200() *EmailInboxTestResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TestEmailInboxResult) GetJSON401 ¶
func (r TestEmailInboxResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestEmailInboxResult) GetJSON403 ¶
func (r TestEmailInboxResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (TestEmailInboxResult) Status ¶
func (r TestEmailInboxResult) Status() string
Status returns HTTPResponse.Status
func (TestEmailInboxResult) StatusCode ¶
func (r TestEmailInboxResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestEmailRequest ¶
type TestEmailRequest struct {
// Recipient Destination email address for the test message.
Recipient string `json:"recipient"`
}
TestEmailRequest defines model for TestEmailRequest.
type TestEmailResponse ¶
type TestEmailResponse struct {
// Message Human-readable detail (why it failed, or a success note).
Message string `json:"message"`
// Sent Whether the test email was sent.
Sent bool `json:"sent"`
}
TestEmailResponse defines model for TestEmailResponse.
type TestMyNotificationRouteResult ¶
type TestMyNotificationRouteResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseTestMyNotificationRouteResult ¶
func ParseTestMyNotificationRouteResult(rsp *http.Response) (*TestMyNotificationRouteResult, error)
ParseTestMyNotificationRouteResult parses an HTTP response from a TestMyNotificationRouteWithResponse call
func (TestMyNotificationRouteResult) ContentType ¶
func (r TestMyNotificationRouteResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestMyNotificationRouteResult) GetBody ¶
func (r TestMyNotificationRouteResult) GetBody() []byte
GetBody returns the raw response body bytes
func (TestMyNotificationRouteResult) GetJSON401 ¶
func (r TestMyNotificationRouteResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestMyNotificationRouteResult) GetJSON404 ¶
func (r TestMyNotificationRouteResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TestMyNotificationRouteResult) GetJSON422 ¶
func (r TestMyNotificationRouteResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (TestMyNotificationRouteResult) Status ¶
func (r TestMyNotificationRouteResult) Status() string
Status returns HTTPResponse.Status
func (TestMyNotificationRouteResult) StatusCode ¶
func (r TestMyNotificationRouteResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TestReportScheduleJSONBody ¶
type TestReportScheduleJSONBody struct {
Recipient *openapi_types.Email `json:"recipient,omitempty"`
}
TestReportScheduleJSONBody defines parameters for TestReportSchedule.
type TestReportScheduleJSONRequestBody ¶
type TestReportScheduleJSONRequestBody TestReportScheduleJSONBody
TestReportScheduleJSONRequestBody defines body for TestReportSchedule for application/json ContentType.
type TestReportScheduleResult ¶
type TestReportScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Conflict
}
func ParseTestReportScheduleResult ¶
func ParseTestReportScheduleResult(rsp *http.Response) (*TestReportScheduleResult, error)
ParseTestReportScheduleResult parses an HTTP response from a TestReportScheduleWithResponse call
func (TestReportScheduleResult) ContentType ¶
func (r TestReportScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TestReportScheduleResult) GetBody ¶
func (r TestReportScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (TestReportScheduleResult) GetJSON400 ¶
func (r TestReportScheduleResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (TestReportScheduleResult) GetJSON401 ¶
func (r TestReportScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (TestReportScheduleResult) GetJSON404 ¶
func (r TestReportScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (TestReportScheduleResult) GetJSON409 ¶
func (r TestReportScheduleResult) GetJSON409() *Conflict
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (TestReportScheduleResult) Status ¶
func (r TestReportScheduleResult) Status() string
Status returns HTTPResponse.Status
func (TestReportScheduleResult) StatusCode ¶
func (r TestReportScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Token ¶
type Token struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name *string `json:"name,omitempty"`
// OrgSlug Organization slug the token belongs to
OrgSlug *string `json:"orgSlug,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
Token defines model for Token.
type TokenListResponse ¶
type TokenListResponse struct {
Data *[]Token `json:"data,omitempty"`
}
TokenListResponse defines model for TokenListResponse.
type TokenUidPath ¶
type TokenUidPath = openapi_types.UUID
TokenUidPath defines model for TokenUidPath.
type TooManyRequests ¶
type TooManyRequests = Error
TooManyRequests defines model for TooManyRequests.
type UnacknowledgeIncidentResult ¶
type UnacknowledgeIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUnacknowledgeIncidentResult ¶
func ParseUnacknowledgeIncidentResult(rsp *http.Response) (*UnacknowledgeIncidentResult, error)
ParseUnacknowledgeIncidentResult parses an HTTP response from a UnacknowledgeIncidentWithResponse call
func (UnacknowledgeIncidentResult) ContentType ¶
func (r UnacknowledgeIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnacknowledgeIncidentResult) GetBody ¶
func (r UnacknowledgeIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UnacknowledgeIncidentResult) GetJSON200 ¶
func (r UnacknowledgeIncidentResult) GetJSON200() *IncidentDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UnacknowledgeIncidentResult) GetJSON401 ¶
func (r UnacknowledgeIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnacknowledgeIncidentResult) GetJSON404 ¶
func (r UnacknowledgeIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnacknowledgeIncidentResult) Status ¶
func (r UnacknowledgeIncidentResult) Status() string
Status returns HTTPResponse.Status
func (UnacknowledgeIncidentResult) StatusCode ¶
func (r UnacknowledgeIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnlockDefaultStatusPageJSONRequestBody ¶
type UnlockDefaultStatusPageJSONRequestBody = StatusPageUnlockRequest
UnlockDefaultStatusPageJSONRequestBody defines body for UnlockDefaultStatusPage for application/json ContentType.
type UnlockDefaultStatusPageResult ¶
type UnlockDefaultStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Error
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *TooManyRequests
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *UnlockDefaultStatusPageResult204Headers
}
func ParseUnlockDefaultStatusPageResult ¶
func ParseUnlockDefaultStatusPageResult(rsp *http.Response) (*UnlockDefaultStatusPageResult, error)
ParseUnlockDefaultStatusPageResult parses an HTTP response from a UnlockDefaultStatusPageWithResponse call
func (UnlockDefaultStatusPageResult) ContentType ¶
func (r UnlockDefaultStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnlockDefaultStatusPageResult) GetBody ¶
func (r UnlockDefaultStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UnlockDefaultStatusPageResult) GetJSON401 ¶
func (r UnlockDefaultStatusPageResult) GetJSON401() *Error
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnlockDefaultStatusPageResult) GetJSON404 ¶
func (r UnlockDefaultStatusPageResult) GetJSON404() *Error
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnlockDefaultStatusPageResult) GetJSON422 ¶
func (r UnlockDefaultStatusPageResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UnlockDefaultStatusPageResult) GetJSON429 ¶
func (r UnlockDefaultStatusPageResult) GetJSON429() *TooManyRequests
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UnlockDefaultStatusPageResult) Status ¶
func (r UnlockDefaultStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (UnlockDefaultStatusPageResult) StatusCode ¶
func (r UnlockDefaultStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnlockDefaultStatusPageResult204Headers ¶
type UnlockDefaultStatusPageResult204Headers struct {
SetCookie *string
}
UnlockDefaultStatusPageResult204Headers the declared response headers of an HTTP 204 response for UnlockDefaultStatusPage
type UnlockStatusPageJSONRequestBody ¶
type UnlockStatusPageJSONRequestBody = StatusPageUnlockRequest
UnlockStatusPageJSONRequestBody defines body for UnlockStatusPage for application/json ContentType.
type UnlockStatusPageResult ¶
type UnlockStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Error
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *TooManyRequests
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *UnlockStatusPageResult204Headers
}
func ParseUnlockStatusPageResult ¶
func ParseUnlockStatusPageResult(rsp *http.Response) (*UnlockStatusPageResult, error)
ParseUnlockStatusPageResult parses an HTTP response from a UnlockStatusPageWithResponse call
func (UnlockStatusPageResult) ContentType ¶
func (r UnlockStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnlockStatusPageResult) GetBody ¶
func (r UnlockStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UnlockStatusPageResult) GetJSON401 ¶
func (r UnlockStatusPageResult) GetJSON401() *Error
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnlockStatusPageResult) GetJSON404 ¶
func (r UnlockStatusPageResult) GetJSON404() *Error
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnlockStatusPageResult) GetJSON422 ¶
func (r UnlockStatusPageResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UnlockStatusPageResult) GetJSON429 ¶
func (r UnlockStatusPageResult) GetJSON429() *TooManyRequests
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (UnlockStatusPageResult) Status ¶
func (r UnlockStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (UnlockStatusPageResult) StatusCode ¶
func (r UnlockStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnlockStatusPageResult204Headers ¶
type UnlockStatusPageResult204Headers struct {
SetCookie *string
}
UnlockStatusPageResult204Headers the declared response headers of an HTTP 204 response for UnlockStatusPage
type UnpublishIncidentResult ¶
type UnpublishIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUnpublishIncidentResult ¶
func ParseUnpublishIncidentResult(rsp *http.Response) (*UnpublishIncidentResult, error)
ParseUnpublishIncidentResult parses an HTTP response from a UnpublishIncidentWithResponse call
func (UnpublishIncidentResult) ContentType ¶
func (r UnpublishIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnpublishIncidentResult) GetBody ¶
func (r UnpublishIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UnpublishIncidentResult) GetJSON401 ¶
func (r UnpublishIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnpublishIncidentResult) GetJSON404 ¶
func (r UnpublishIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnpublishIncidentResult) Status ¶
func (r UnpublishIncidentResult) Status() string
Status returns HTTPResponse.Status
func (UnpublishIncidentResult) StatusCode ¶
func (r UnpublishIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnsnoozeIncidentResult ¶
type UnsnoozeIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentDetail
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUnsnoozeIncidentResult ¶
func ParseUnsnoozeIncidentResult(rsp *http.Response) (*UnsnoozeIncidentResult, error)
ParseUnsnoozeIncidentResult parses an HTTP response from a UnsnoozeIncidentWithResponse call
func (UnsnoozeIncidentResult) ContentType ¶
func (r UnsnoozeIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UnsnoozeIncidentResult) GetBody ¶
func (r UnsnoozeIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UnsnoozeIncidentResult) GetJSON200 ¶
func (r UnsnoozeIncidentResult) GetJSON200() *IncidentDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UnsnoozeIncidentResult) GetJSON401 ¶
func (r UnsnoozeIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UnsnoozeIncidentResult) GetJSON404 ¶
func (r UnsnoozeIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UnsnoozeIncidentResult) Status ¶
func (r UnsnoozeIncidentResult) Status() string
Status returns HTTPResponse.Status
func (UnsnoozeIncidentResult) StatusCode ¶
func (r UnsnoozeIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateChannelJSONRequestBody ¶
type UpdateChannelJSONRequestBody = UpdateChannelRequest
UpdateChannelJSONRequestBody defines body for UpdateChannel for application/json ContentType.
type UpdateChannelRequest ¶
type UpdateChannelRequest struct {
Enabled *bool `json:"enabled,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Name *string `json:"name,omitempty"`
Settings *map[string]interface{} `json:"settings,omitempty"`
}
UpdateChannelRequest defines model for UpdateChannelRequest.
type UpdateChannelResult ¶
type UpdateChannelResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Channel
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateChannelResult ¶
func ParseUpdateChannelResult(rsp *http.Response) (*UpdateChannelResult, error)
ParseUpdateChannelResult parses an HTTP response from a UpdateChannelWithResponse call
func (UpdateChannelResult) ContentType ¶
func (r UpdateChannelResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateChannelResult) GetBody ¶
func (r UpdateChannelResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateChannelResult) GetJSON200 ¶
func (r UpdateChannelResult) GetJSON200() *Channel
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateChannelResult) GetJSON400 ¶
func (r UpdateChannelResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateChannelResult) GetJSON401 ¶
func (r UpdateChannelResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateChannelResult) GetJSON403 ¶
func (r UpdateChannelResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateChannelResult) GetJSON404 ¶
func (r UpdateChannelResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateChannelResult) Status ¶
func (r UpdateChannelResult) Status() string
Status returns HTTPResponse.Status
func (UpdateChannelResult) StatusCode ¶
func (r UpdateChannelResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCheckDependencyJSONRequestBody ¶
type UpdateCheckDependencyJSONRequestBody = UpdateDependencyRequest
UpdateCheckDependencyJSONRequestBody defines body for UpdateCheckDependency for application/json ContentType.
type UpdateCheckDependencyResult ¶
type UpdateCheckDependencyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Dependency
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateCheckDependencyResult ¶
func ParseUpdateCheckDependencyResult(rsp *http.Response) (*UpdateCheckDependencyResult, error)
ParseUpdateCheckDependencyResult parses an HTTP response from a UpdateCheckDependencyWithResponse call
func (UpdateCheckDependencyResult) ContentType ¶
func (r UpdateCheckDependencyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateCheckDependencyResult) GetBody ¶
func (r UpdateCheckDependencyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateCheckDependencyResult) GetJSON200 ¶
func (r UpdateCheckDependencyResult) GetJSON200() *Dependency
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateCheckDependencyResult) GetJSON404 ¶
func (r UpdateCheckDependencyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateCheckDependencyResult) Status ¶
func (r UpdateCheckDependencyResult) Status() string
Status returns HTTPResponse.Status
func (UpdateCheckDependencyResult) StatusCode ¶
func (r UpdateCheckDependencyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCheckGroupJSONRequestBody ¶
type UpdateCheckGroupJSONRequestBody = UpdateCheckGroupRequest
UpdateCheckGroupJSONRequestBody defines body for UpdateCheckGroup for application/json ContentType.
type UpdateCheckGroupRequest ¶
type UpdateCheckGroupRequest struct {
Description *string `json:"description,omitempty"`
// EscalationPolicyUid A UID sets the group policy; an empty string clears it; omit to leave unchanged.
EscalationPolicyUid *string `json:"escalationPolicyUid,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
SortOrder *int `json:"sortOrder,omitempty"`
}
UpdateCheckGroupRequest defines model for UpdateCheckGroupRequest.
type UpdateCheckGroupResult ¶
type UpdateCheckGroupResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CheckGroup
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateCheckGroupResult ¶
func ParseUpdateCheckGroupResult(rsp *http.Response) (*UpdateCheckGroupResult, error)
ParseUpdateCheckGroupResult parses an HTTP response from a UpdateCheckGroupWithResponse call
func (UpdateCheckGroupResult) ContentType ¶
func (r UpdateCheckGroupResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateCheckGroupResult) GetBody ¶
func (r UpdateCheckGroupResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateCheckGroupResult) GetJSON200 ¶
func (r UpdateCheckGroupResult) GetJSON200() *CheckGroup
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateCheckGroupResult) GetJSON400 ¶
func (r UpdateCheckGroupResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateCheckGroupResult) GetJSON401 ¶
func (r UpdateCheckGroupResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateCheckGroupResult) GetJSON404 ¶
func (r UpdateCheckGroupResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateCheckGroupResult) Status ¶
func (r UpdateCheckGroupResult) Status() string
Status returns HTTPResponse.Status
func (UpdateCheckGroupResult) StatusCode ¶
func (r UpdateCheckGroupResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCheckJSONRequestBody ¶
type UpdateCheckJSONRequestBody = UpdateCheckRequest
UpdateCheckJSONRequestBody defines body for UpdateCheck for application/json ContentType.
type UpdateCheckRequest ¶
type UpdateCheckRequest struct {
// CheckGroupUid Group to move this check to; empty string clears it (no group).
CheckGroupUid *string `json:"checkGroupUid,omitempty"`
Config *map[string]interface{} `json:"config,omitempty"`
// Description Optional documentation about the check
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// EscalationPolicyUid Escalation policy for this check. A UID assigns it; an empty string clears it (inherit group → org default → none); omit to leave unchanged. A zero-step policy makes the check explicitly silent.
EscalationPolicyUid *string `json:"escalationPolicyUid,omitempty"`
// FlapBackoffFactor Each flap multiplies the required recovery time by this factor. 1 = off. Omit to leave unchanged.
FlapBackoffFactor *int `json:"flapBackoffFactor,omitempty"`
// FlappingWindowSeconds Flapping (adaptive recovery) window in seconds. 0 = off. Omit to leave unchanged.
FlappingWindowSeconds *int `json:"flappingWindowSeconds,omitempty"`
// Labels Key-value pairs (null = no change, empty object = clear all)
Labels *map[string]string `json:"labels,omitempty"`
// MaxRecoveryMultiplier Cap on the adaptive recovery period (multiple of the base recovery period). Omit to leave unchanged.
MaxRecoveryMultiplier *int `json:"maxRecoveryMultiplier,omitempty"`
Name *string `json:"name,omitempty"`
Period *string `json:"period,omitempty"`
// RegionSpread Optional inter-region scheduling offset (e.g., "00:00:20"). An empty string clears it back to the default of period ÷ region count. Must satisfy 0 <= regionSpread < period.
RegionSpread *string `json:"regionSpread,omitempty"`
Slug *string `json:"slug,omitempty"`
// TracerouteOnFailure Per-check path-trace policy (see the Check schema). `inherit` puts the check back under the organization default. Omit to leave unchanged.
TracerouteOnFailure *UpdateCheckRequestTracerouteOnFailure `json:"tracerouteOnFailure,omitempty"`
}
UpdateCheckRequest defines model for UpdateCheckRequest.
type UpdateCheckRequestTracerouteOnFailure ¶
type UpdateCheckRequestTracerouteOnFailure string
UpdateCheckRequestTracerouteOnFailure Per-check path-trace policy (see the Check schema). `inherit` puts the check back under the organization default. Omit to leave unchanged.
const ( UpdateCheckRequestTracerouteOnFailureInherit UpdateCheckRequestTracerouteOnFailure = "inherit" UpdateCheckRequestTracerouteOnFailureOff UpdateCheckRequestTracerouteOnFailure = "off" UpdateCheckRequestTracerouteOnFailureOn UpdateCheckRequestTracerouteOnFailure = "on" )
Defines values for UpdateCheckRequestTracerouteOnFailure.
func (UpdateCheckRequestTracerouteOnFailure) Valid ¶
func (e UpdateCheckRequestTracerouteOnFailure) Valid() bool
Valid indicates whether the value is a known member of the UpdateCheckRequestTracerouteOnFailure enum.
type UpdateCheckResult ¶
type UpdateCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Check
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *Error
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateCheckResult ¶
func ParseUpdateCheckResult(rsp *http.Response) (*UpdateCheckResult, error)
ParseUpdateCheckResult parses an HTTP response from a UpdateCheckWithResponse call
func (UpdateCheckResult) ContentType ¶
func (r UpdateCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateCheckResult) GetBody ¶
func (r UpdateCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateCheckResult) GetJSON200 ¶
func (r UpdateCheckResult) GetJSON200() *Check
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateCheckResult) GetJSON400 ¶
func (r UpdateCheckResult) GetJSON400() *Error
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateCheckResult) GetJSON404 ¶
func (r UpdateCheckResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateCheckResult) Status ¶
func (r UpdateCheckResult) Status() string
Status returns HTTPResponse.Status
func (UpdateCheckResult) StatusCode ¶
func (r UpdateCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDependencyRequest ¶
type UpdateDependencyRequest struct {
Description *string `json:"description,omitempty"`
Kind *UpdateDependencyRequestKind `json:"kind,omitempty"`
}
UpdateDependencyRequest defines model for UpdateDependencyRequest.
type UpdateDependencyRequestKind ¶
type UpdateDependencyRequestKind string
UpdateDependencyRequestKind defines model for UpdateDependencyRequest.Kind.
const ( UpdateDependencyRequestKindHard UpdateDependencyRequestKind = "hard" UpdateDependencyRequestKindSoft UpdateDependencyRequestKind = "soft" )
Defines values for UpdateDependencyRequestKind.
func (UpdateDependencyRequestKind) Valid ¶
func (e UpdateDependencyRequestKind) Valid() bool
Valid indicates whether the value is a known member of the UpdateDependencyRequestKind enum.
type UpdateEscalationPolicyJSONRequestBody ¶
type UpdateEscalationPolicyJSONRequestBody = UpdateEscalationPolicyRequest
UpdateEscalationPolicyJSONRequestBody defines body for UpdateEscalationPolicy for application/json ContentType.
type UpdateEscalationPolicyRequest ¶
type UpdateEscalationPolicyRequest struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
RepeatAfterSeconds *int `json:"repeatAfterSeconds,omitempty"`
RepeatMax *int `json:"repeatMax,omitempty"`
Steps *[]EscalationStepInput `json:"steps,omitempty"`
}
UpdateEscalationPolicyRequest defines model for UpdateEscalationPolicyRequest.
type UpdateEscalationPolicyResult ¶
type UpdateEscalationPolicyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EscalationPolicy
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateEscalationPolicyResult ¶
func ParseUpdateEscalationPolicyResult(rsp *http.Response) (*UpdateEscalationPolicyResult, error)
ParseUpdateEscalationPolicyResult parses an HTTP response from a UpdateEscalationPolicyWithResponse call
func (UpdateEscalationPolicyResult) ContentType ¶
func (r UpdateEscalationPolicyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateEscalationPolicyResult) GetBody ¶
func (r UpdateEscalationPolicyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateEscalationPolicyResult) GetJSON200 ¶
func (r UpdateEscalationPolicyResult) GetJSON200() *EscalationPolicy
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateEscalationPolicyResult) GetJSON400 ¶
func (r UpdateEscalationPolicyResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateEscalationPolicyResult) GetJSON401 ¶
func (r UpdateEscalationPolicyResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateEscalationPolicyResult) GetJSON404 ¶
func (r UpdateEscalationPolicyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateEscalationPolicyResult) Status ¶
func (r UpdateEscalationPolicyResult) Status() string
Status returns HTTPResponse.Status
func (UpdateEscalationPolicyResult) StatusCode ¶
func (r UpdateEscalationPolicyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIncidentPublicationRequest ¶
type UpdateIncidentPublicationRequest struct {
// Severity One of minor | major | critical, or an empty string to clear the badge.
Severity *string `json:"severity,omitempty"`
State *UpdateIncidentPublicationRequestState `json:"state,omitempty"`
Title *string `json:"title,omitempty"`
}
UpdateIncidentPublicationRequest PATCH semantics. ANY field present stamps human_touched_at, which stops the auto-resolve pipeline from closing the incident behind the operator's back.
type UpdateIncidentPublicationRequestState ¶
type UpdateIncidentPublicationRequestState string
UpdateIncidentPublicationRequestState defines model for UpdateIncidentPublicationRequest.State.
const ( UpdateIncidentPublicationRequestStateIdentified UpdateIncidentPublicationRequestState = "identified" UpdateIncidentPublicationRequestStateInvestigating UpdateIncidentPublicationRequestState = "investigating" UpdateIncidentPublicationRequestStateMonitoring UpdateIncidentPublicationRequestState = "monitoring" UpdateIncidentPublicationRequestStateResolved UpdateIncidentPublicationRequestState = "resolved" )
Defines values for UpdateIncidentPublicationRequestState.
func (UpdateIncidentPublicationRequestState) Valid ¶
func (e UpdateIncidentPublicationRequestState) Valid() bool
Valid indicates whether the value is a known member of the UpdateIncidentPublicationRequestState enum.
type UpdateMaintenanceWindowJSONRequestBody ¶
type UpdateMaintenanceWindowJSONRequestBody = UpdateMaintenanceWindowRequest
UpdateMaintenanceWindowJSONRequestBody defines body for UpdateMaintenanceWindow for application/json ContentType.
type UpdateMaintenanceWindowRequest ¶
type UpdateMaintenanceWindowRequest struct {
Description *string `json:"description,omitempty"`
EndAt *time.Time `json:"endAt,omitempty"`
Recurrence *string `json:"recurrence,omitempty"`
RecurrenceEnd *time.Time `json:"recurrenceEnd,omitempty"`
StartAt *time.Time `json:"startAt,omitempty"`
Title *string `json:"title,omitempty"`
}
UpdateMaintenanceWindowRequest defines model for UpdateMaintenanceWindowRequest.
type UpdateMaintenanceWindowResult ¶
type UpdateMaintenanceWindowResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MaintenanceWindow
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateMaintenanceWindowResult ¶
func ParseUpdateMaintenanceWindowResult(rsp *http.Response) (*UpdateMaintenanceWindowResult, error)
ParseUpdateMaintenanceWindowResult parses an HTTP response from a UpdateMaintenanceWindowWithResponse call
func (UpdateMaintenanceWindowResult) ContentType ¶
func (r UpdateMaintenanceWindowResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMaintenanceWindowResult) GetBody ¶
func (r UpdateMaintenanceWindowResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMaintenanceWindowResult) GetJSON200 ¶
func (r UpdateMaintenanceWindowResult) GetJSON200() *MaintenanceWindow
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateMaintenanceWindowResult) GetJSON400 ¶
func (r UpdateMaintenanceWindowResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateMaintenanceWindowResult) GetJSON401 ¶
func (r UpdateMaintenanceWindowResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateMaintenanceWindowResult) GetJSON404 ¶
func (r UpdateMaintenanceWindowResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateMaintenanceWindowResult) Status ¶
func (r UpdateMaintenanceWindowResult) Status() string
Status returns HTTPResponse.Status
func (UpdateMaintenanceWindowResult) StatusCode ¶
func (r UpdateMaintenanceWindowResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMeJSONRequestBody ¶
type UpdateMeJSONRequestBody = UpdateProfileRequest
UpdateMeJSONRequestBody defines body for UpdateMe for application/json ContentType.
type UpdateMeResult ¶
type UpdateMeResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MeResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
}
func ParseUpdateMeResult ¶
func ParseUpdateMeResult(rsp *http.Response) (*UpdateMeResult, error)
ParseUpdateMeResult parses an HTTP response from a UpdateMeWithResponse call
func (UpdateMeResult) ContentType ¶
func (r UpdateMeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMeResult) GetBody ¶
func (r UpdateMeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMeResult) GetJSON200 ¶
func (r UpdateMeResult) GetJSON200() *MeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateMeResult) GetJSON400 ¶
func (r UpdateMeResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateMeResult) GetJSON401 ¶
func (r UpdateMeResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateMeResult) Status ¶
func (r UpdateMeResult) Status() string
Status returns HTTPResponse.Status
func (UpdateMeResult) StatusCode ¶
func (r UpdateMeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMemberJSONRequestBody ¶
type UpdateMemberJSONRequestBody = UpdateMemberRequest
UpdateMemberJSONRequestBody defines body for UpdateMember for application/json ContentType.
type UpdateMemberRequest ¶
type UpdateMemberRequest struct {
// Role New member role. Granting `owner`, or changing the role of a member who currently IS an owner, requires the caller to be an owner (403 FORBIDDEN otherwise). The organization's last owner can never be demoted (409 CONFLICT) — transfer ownership by promoting a second owner first, then demoting yourself.
Role *UpdateMemberRequestRole `json:"role,omitempty"`
}
UpdateMemberRequest defines model for UpdateMemberRequest.
type UpdateMemberRequestRole ¶
type UpdateMemberRequestRole string
UpdateMemberRequestRole New member role. Granting `owner`, or changing the role of a member who currently IS an owner, requires the caller to be an owner (403 FORBIDDEN otherwise). The organization's last owner can never be demoted (409 CONFLICT) — transfer ownership by promoting a second owner first, then demoting yourself.
const ( UpdateMemberRequestRoleAdmin UpdateMemberRequestRole = "admin" UpdateMemberRequestRoleOwner UpdateMemberRequestRole = "owner" UpdateMemberRequestRoleUser UpdateMemberRequestRole = "user" UpdateMemberRequestRoleViewer UpdateMemberRequestRole = "viewer" )
Defines values for UpdateMemberRequestRole.
func (UpdateMemberRequestRole) Valid ¶
func (e UpdateMemberRequestRole) Valid() bool
Valid indicates whether the value is a known member of the UpdateMemberRequestRole enum.
type UpdateMemberResult ¶
type UpdateMemberResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Member
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
}
func ParseUpdateMemberResult ¶
func ParseUpdateMemberResult(rsp *http.Response) (*UpdateMemberResult, error)
ParseUpdateMemberResult parses an HTTP response from a UpdateMemberWithResponse call
func (UpdateMemberResult) ContentType ¶
func (r UpdateMemberResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMemberResult) GetBody ¶
func (r UpdateMemberResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMemberResult) GetJSON200 ¶
func (r UpdateMemberResult) GetJSON200() *Member
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateMemberResult) GetJSON403 ¶
func (r UpdateMemberResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateMemberResult) GetJSON404 ¶
func (r UpdateMemberResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateMemberResult) GetJSON409 ¶
func (r UpdateMemberResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateMemberResult) Status ¶
func (r UpdateMemberResult) Status() string
Status returns HTTPResponse.Status
func (UpdateMemberResult) StatusCode ¶
func (r UpdateMemberResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateMyNotificationRouteJSONRequestBody ¶
type UpdateMyNotificationRouteJSONRequestBody = UpdateNotificationRouteRequest
UpdateMyNotificationRouteJSONRequestBody defines body for UpdateMyNotificationRoute for application/json ContentType.
type UpdateMyNotificationRouteResult ¶
type UpdateMyNotificationRouteResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationRoute
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateMyNotificationRouteResult ¶
func ParseUpdateMyNotificationRouteResult(rsp *http.Response) (*UpdateMyNotificationRouteResult, error)
ParseUpdateMyNotificationRouteResult parses an HTTP response from a UpdateMyNotificationRouteWithResponse call
func (UpdateMyNotificationRouteResult) ContentType ¶
func (r UpdateMyNotificationRouteResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateMyNotificationRouteResult) GetBody ¶
func (r UpdateMyNotificationRouteResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateMyNotificationRouteResult) GetJSON200 ¶
func (r UpdateMyNotificationRouteResult) GetJSON200() *NotificationRoute
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateMyNotificationRouteResult) GetJSON400 ¶
func (r UpdateMyNotificationRouteResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateMyNotificationRouteResult) GetJSON401 ¶
func (r UpdateMyNotificationRouteResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateMyNotificationRouteResult) GetJSON404 ¶
func (r UpdateMyNotificationRouteResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateMyNotificationRouteResult) Status ¶
func (r UpdateMyNotificationRouteResult) Status() string
Status returns HTTPResponse.Status
func (UpdateMyNotificationRouteResult) StatusCode ¶
func (r UpdateMyNotificationRouteResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateNotificationRouteRequest ¶
type UpdateNotificationRouteRequest struct {
Enabled *bool `json:"enabled,omitempty"`
// RouteUids Full ordered list of route UIDs for a reorder
RouteUids *[]string `json:"routeUids,omitempty"`
}
UpdateNotificationRouteRequest Toggle the enabled flag and/or reorder the full route list.
type UpdateOncallScheduleJSONRequestBody ¶
type UpdateOncallScheduleJSONRequestBody = UpdateOncallScheduleRequest
UpdateOncallScheduleJSONRequestBody defines body for UpdateOncallSchedule for application/json ContentType.
type UpdateOncallScheduleRequest ¶
type UpdateOncallScheduleRequest struct {
Description *string `json:"description,omitempty"`
HandoffTime *string `json:"handoffTime,omitempty"`
HandoffWeekday *int `json:"handoffWeekday,omitempty"`
Name *string `json:"name,omitempty"`
RotationType *string `json:"rotationType,omitempty"`
StartAt *time.Time `json:"startAt,omitempty"`
Timezone *string `json:"timezone,omitempty"`
UserUids *[]openapi_types.UUID `json:"userUids,omitempty"`
}
UpdateOncallScheduleRequest defines model for UpdateOncallScheduleRequest.
type UpdateOncallScheduleResult ¶
type UpdateOncallScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OncallSchedule
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateOncallScheduleResult ¶
func ParseUpdateOncallScheduleResult(rsp *http.Response) (*UpdateOncallScheduleResult, error)
ParseUpdateOncallScheduleResult parses an HTTP response from a UpdateOncallScheduleWithResponse call
func (UpdateOncallScheduleResult) ContentType ¶
func (r UpdateOncallScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOncallScheduleResult) GetBody ¶
func (r UpdateOncallScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOncallScheduleResult) GetJSON200 ¶
func (r UpdateOncallScheduleResult) GetJSON200() *OncallSchedule
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateOncallScheduleResult) GetJSON400 ¶
func (r UpdateOncallScheduleResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateOncallScheduleResult) GetJSON401 ¶
func (r UpdateOncallScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateOncallScheduleResult) GetJSON404 ¶
func (r UpdateOncallScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateOncallScheduleResult) Status ¶
func (r UpdateOncallScheduleResult) Status() string
Status returns HTTPResponse.Status
func (UpdateOncallScheduleResult) StatusCode ¶
func (r UpdateOncallScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrgProfileJSONRequestBody ¶
type UpdateOrgProfileJSONRequestBody = UpdateOrgProfileRequest
UpdateOrgProfileJSONRequestBody defines body for UpdateOrgProfile for application/json ContentType.
type UpdateOrgProfileRequest ¶
type UpdateOrgProfileRequest struct {
// LogoUrl Absolute http(s) URL of the logo. Null or an empty string clears it. Relative paths are rejected — an uploaded logo is set through `POST /api/v1/orgs/{org}/logo`, not here.
LogoUrl *string `json:"logoUrl,omitempty"`
// Name Display name. Must not be blank.
Name *string `json:"name,omitempty"`
// Slug New URL slug, 3-20 characters, lowercase alphanumeric with hyphens. Must not be held by another live organization; a slug held only as another organization's previous slug is claimable.
Slug *string `json:"slug,omitempty"`
}
UpdateOrgProfileRequest All fields are optional. An omitted field is left untouched; `logoUrl` additionally accepts an explicit null (or empty string) meaning "clear the logo".
type UpdateOrgProfileResult ¶
type UpdateOrgProfileResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgProfileResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON409 the response for an HTTP 409 `application/json` response
JSON409 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseUpdateOrgProfileResult ¶
func ParseUpdateOrgProfileResult(rsp *http.Response) (*UpdateOrgProfileResult, error)
ParseUpdateOrgProfileResult parses an HTTP response from a UpdateOrgProfileWithResponse call
func (UpdateOrgProfileResult) ContentType ¶
func (r UpdateOrgProfileResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrgProfileResult) GetBody ¶
func (r UpdateOrgProfileResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrgProfileResult) GetJSON200 ¶
func (r UpdateOrgProfileResult) GetJSON200() *OrgProfileResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateOrgProfileResult) GetJSON401 ¶
func (r UpdateOrgProfileResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateOrgProfileResult) GetJSON403 ¶
func (r UpdateOrgProfileResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateOrgProfileResult) GetJSON404 ¶
func (r UpdateOrgProfileResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateOrgProfileResult) GetJSON409 ¶
func (r UpdateOrgProfileResult) GetJSON409() *Error
GetJSON409 returns the response for an HTTP 409 `application/json` response
func (UpdateOrgProfileResult) GetJSON422 ¶
func (r UpdateOrgProfileResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateOrgProfileResult) Status ¶
func (r UpdateOrgProfileResult) Status() string
Status returns HTTPResponse.Status
func (UpdateOrgProfileResult) StatusCode ¶
func (r UpdateOrgProfileResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateOrgSettingsJSONRequestBody ¶
type UpdateOrgSettingsJSONRequestBody = UpdateOrgSettingsRequest
UpdateOrgSettingsJSONRequestBody defines body for UpdateOrgSettings for application/json ContentType.
type UpdateOrgSettingsRequest ¶
type UpdateOrgSettingsRequest struct {
// DefaultEscalationPolicyUid A UID sets the org default escalation policy (must be a policy in this org); an empty string clears it; omit to leave unchanged.
DefaultEscalationPolicyUid *string `json:"defaultEscalationPolicyUid,omitempty"`
// RegistrationEmailPattern Auto-join email regex; empty string clears it
RegistrationEmailPattern *string `json:"registrationEmailPattern,omitempty"`
// SessionMaxDurationSeconds Session max duration override in seconds; <=0 clears the override
SessionMaxDurationSeconds *int `json:"sessionMaxDurationSeconds,omitempty"`
// TracerouteOnFailure Sets the organization default for path-trace-on-failure. Omit to leave unchanged.
TracerouteOnFailure *bool `json:"tracerouteOnFailure,omitempty"`
}
UpdateOrgSettingsRequest defines model for UpdateOrgSettingsRequest.
type UpdateOrgSettingsResult ¶
type UpdateOrgSettingsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgSettingsResponse
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateOrgSettingsResult ¶
func ParseUpdateOrgSettingsResult(rsp *http.Response) (*UpdateOrgSettingsResult, error)
ParseUpdateOrgSettingsResult parses an HTTP response from a UpdateOrgSettingsWithResponse call
func (UpdateOrgSettingsResult) ContentType ¶
func (r UpdateOrgSettingsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateOrgSettingsResult) GetBody ¶
func (r UpdateOrgSettingsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateOrgSettingsResult) GetJSON200 ¶
func (r UpdateOrgSettingsResult) GetJSON200() *OrgSettingsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateOrgSettingsResult) GetJSON400 ¶
func (r UpdateOrgSettingsResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateOrgSettingsResult) GetJSON401 ¶
func (r UpdateOrgSettingsResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateOrgSettingsResult) GetJSON403 ¶
func (r UpdateOrgSettingsResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateOrgSettingsResult) GetJSON404 ¶
func (r UpdateOrgSettingsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateOrgSettingsResult) Status ¶
func (r UpdateOrgSettingsResult) Status() string
Status returns HTTPResponse.Status
func (UpdateOrgSettingsResult) StatusCode ¶
func (r UpdateOrgSettingsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProfileRequest ¶
type UpdateProfileRequest struct {
// Name New display name for the authenticated user
Name *string `json:"name,omitempty"`
}
UpdateProfileRequest defines model for UpdateProfileRequest.
type UpdateReportScheduleJSONRequestBody ¶
type UpdateReportScheduleJSONRequestBody = UpdateReportScheduleRequest
UpdateReportScheduleJSONRequestBody defines body for UpdateReportSchedule for application/json ContentType.
type UpdateReportScheduleRequest ¶
type UpdateReportScheduleRequest = CreateReportScheduleRequest
UpdateReportScheduleRequest Partial update; every field is optional.
type UpdateReportScheduleResult ¶
type UpdateReportScheduleResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReportSchedule
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateReportScheduleResult ¶
func ParseUpdateReportScheduleResult(rsp *http.Response) (*UpdateReportScheduleResult, error)
ParseUpdateReportScheduleResult parses an HTTP response from a UpdateReportScheduleWithResponse call
func (UpdateReportScheduleResult) ContentType ¶
func (r UpdateReportScheduleResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateReportScheduleResult) GetBody ¶
func (r UpdateReportScheduleResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateReportScheduleResult) GetJSON200 ¶
func (r UpdateReportScheduleResult) GetJSON200() *ReportSchedule
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateReportScheduleResult) GetJSON400 ¶
func (r UpdateReportScheduleResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateReportScheduleResult) GetJSON401 ¶
func (r UpdateReportScheduleResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateReportScheduleResult) GetJSON404 ¶
func (r UpdateReportScheduleResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateReportScheduleResult) Status ¶
func (r UpdateReportScheduleResult) Status() string
Status returns HTTPResponse.Status
func (UpdateReportScheduleResult) StatusCode ¶
func (r UpdateReportScheduleResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSLOAlertPolicyRequest ¶
type UpdateSLOAlertPolicyRequest struct {
Enabled *bool `json:"enabled,omitempty"`
LongWindowSeconds *int `json:"longWindowSeconds,omitempty"`
MinSamples *int `json:"minSamples,omitempty"`
Severity *UpdateSLOAlertPolicyRequestSeverity `json:"severity,omitempty"`
ShortWindowSeconds *int `json:"shortWindowSeconds,omitempty"`
Threshold *float64 `json:"threshold,omitempty"`
}
UpdateSLOAlertPolicyRequest Partial update. Omitted fields are left alone.
type UpdateSLOAlertPolicyRequestSeverity ¶
type UpdateSLOAlertPolicyRequestSeverity string
UpdateSLOAlertPolicyRequestSeverity defines model for UpdateSLOAlertPolicyRequest.Severity.
const ( UpdateSLOAlertPolicyRequestSeverityCritical UpdateSLOAlertPolicyRequestSeverity = "critical" UpdateSLOAlertPolicyRequestSeverityWarning UpdateSLOAlertPolicyRequestSeverity = "warning" )
Defines values for UpdateSLOAlertPolicyRequestSeverity.
func (UpdateSLOAlertPolicyRequestSeverity) Valid ¶
func (e UpdateSLOAlertPolicyRequestSeverity) Valid() bool
Valid indicates whether the value is a known member of the UpdateSLOAlertPolicyRequestSeverity enum.
type UpdateSLORequest ¶
type UpdateSLORequest = CreateSLORequest
UpdateSLORequest Partial update; every field is optional.
type UpdateSeverityJSONRequestBody ¶
type UpdateSeverityJSONRequestBody = UpdateSeverityRequest
UpdateSeverityJSONRequestBody defines body for UpdateSeverity for application/json ContentType.
type UpdateSeverityRequest ¶
type UpdateSeverityRequest struct {
Channels *[]string `json:"channels,omitempty"`
Description *string `json:"description,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Name *string `json:"name,omitempty"`
Slug *string `json:"slug,omitempty"`
}
UpdateSeverityRequest defines model for UpdateSeverityRequest.
type UpdateSeverityResult ¶
type UpdateSeverityResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Severity
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateSeverityResult ¶
func ParseUpdateSeverityResult(rsp *http.Response) (*UpdateSeverityResult, error)
ParseUpdateSeverityResult parses an HTTP response from a UpdateSeverityWithResponse call
func (UpdateSeverityResult) ContentType ¶
func (r UpdateSeverityResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSeverityResult) GetBody ¶
func (r UpdateSeverityResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSeverityResult) GetJSON200 ¶
func (r UpdateSeverityResult) GetJSON200() *Severity
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSeverityResult) GetJSON400 ¶
func (r UpdateSeverityResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateSeverityResult) GetJSON401 ¶
func (r UpdateSeverityResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSeverityResult) GetJSON404 ¶
func (r UpdateSeverityResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSeverityResult) Status ¶
func (r UpdateSeverityResult) Status() string
Status returns HTTPResponse.Status
func (UpdateSeverityResult) StatusCode ¶
func (r UpdateSeverityResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSloAlertPolicyJSONRequestBody ¶
type UpdateSloAlertPolicyJSONRequestBody = UpdateSLOAlertPolicyRequest
UpdateSloAlertPolicyJSONRequestBody defines body for UpdateSloAlertPolicy for application/json ContentType.
type UpdateSloAlertPolicyResult ¶
type UpdateSloAlertPolicyResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLOAlertPolicy
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateSloAlertPolicyResult ¶
func ParseUpdateSloAlertPolicyResult(rsp *http.Response) (*UpdateSloAlertPolicyResult, error)
ParseUpdateSloAlertPolicyResult parses an HTTP response from a UpdateSloAlertPolicyWithResponse call
func (UpdateSloAlertPolicyResult) ContentType ¶
func (r UpdateSloAlertPolicyResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSloAlertPolicyResult) GetBody ¶
func (r UpdateSloAlertPolicyResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSloAlertPolicyResult) GetJSON200 ¶
func (r UpdateSloAlertPolicyResult) GetJSON200() *SLOAlertPolicy
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSloAlertPolicyResult) GetJSON400 ¶
func (r UpdateSloAlertPolicyResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateSloAlertPolicyResult) GetJSON401 ¶
func (r UpdateSloAlertPolicyResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSloAlertPolicyResult) GetJSON404 ¶
func (r UpdateSloAlertPolicyResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSloAlertPolicyResult) Status ¶
func (r UpdateSloAlertPolicyResult) Status() string
Status returns HTTPResponse.Status
func (UpdateSloAlertPolicyResult) StatusCode ¶
func (r UpdateSloAlertPolicyResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSloJSONRequestBody ¶
type UpdateSloJSONRequestBody = UpdateSLORequest
UpdateSloJSONRequestBody defines body for UpdateSlo for application/json ContentType.
type UpdateSloResult ¶
type UpdateSloResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SLO
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateSloResult ¶
func ParseUpdateSloResult(rsp *http.Response) (*UpdateSloResult, error)
ParseUpdateSloResult parses an HTTP response from a UpdateSloWithResponse call
func (UpdateSloResult) ContentType ¶
func (r UpdateSloResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSloResult) GetBody ¶
func (r UpdateSloResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSloResult) GetJSON200 ¶
func (r UpdateSloResult) GetJSON200() *SLO
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSloResult) GetJSON400 ¶
func (r UpdateSloResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateSloResult) GetJSON401 ¶
func (r UpdateSloResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSloResult) GetJSON404 ¶
func (r UpdateSloResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSloResult) Status ¶
func (r UpdateSloResult) Status() string
Status returns HTTPResponse.Status
func (UpdateSloResult) StatusCode ¶
func (r UpdateSloResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusPageIncidentJSONRequestBody ¶
type UpdateStatusPageIncidentJSONRequestBody = UpdateIncidentPublicationRequest
UpdateStatusPageIncidentJSONRequestBody defines body for UpdateStatusPageIncident for application/json ContentType.
type UpdateStatusPageIncidentResult ¶
type UpdateStatusPageIncidentResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IncidentPublication
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateStatusPageIncidentResult ¶
func ParseUpdateStatusPageIncidentResult(rsp *http.Response) (*UpdateStatusPageIncidentResult, error)
ParseUpdateStatusPageIncidentResult parses an HTTP response from a UpdateStatusPageIncidentWithResponse call
func (UpdateStatusPageIncidentResult) ContentType ¶
func (r UpdateStatusPageIncidentResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStatusPageIncidentResult) GetBody ¶
func (r UpdateStatusPageIncidentResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateStatusPageIncidentResult) GetJSON200 ¶
func (r UpdateStatusPageIncidentResult) GetJSON200() *IncidentPublication
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateStatusPageIncidentResult) GetJSON401 ¶
func (r UpdateStatusPageIncidentResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateStatusPageIncidentResult) GetJSON404 ¶
func (r UpdateStatusPageIncidentResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateStatusPageIncidentResult) Status ¶
func (r UpdateStatusPageIncidentResult) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageIncidentResult) StatusCode ¶
func (r UpdateStatusPageIncidentResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusPageJSONRequestBody ¶
type UpdateStatusPageJSONRequestBody = UpdateStatusPageRequest
UpdateStatusPageJSONRequestBody defines body for UpdateStatusPage for application/json ContentType.
type UpdateStatusPageRequest ¶
type UpdateStatusPageRequest struct {
// AutoPublish Turn automatic incident publication on or off for this page. Omit the field to leave it unchanged.
AutoPublish *bool `json:"autoPublish,omitempty"`
// AutoPublishDelaySeconds Debounce before an incident becomes public. 0 is legal and publishes immediately. Omit the field to leave it unchanged; outside 0–86400 is a VALIDATION_ERROR.
AutoPublishDelaySeconds *int `json:"autoPublishDelaySeconds,omitempty"`
// AutoResolve What an auto-created publication does when its incident resolves. Omit the field to leave it unchanged; any other value is a VALIDATION_ERROR.
AutoResolve *UpdateStatusPageRequestAutoResolve `json:"autoResolve,omitempty"`
// CustomCss Set/replace the custom stylesheet, or clear it with an empty string. Omit the field to leave it unchanged. Max 64 KB; @import is rejected (VALIDATION_ERROR).
CustomCss *string `json:"customCss,omitempty"`
// CustomDomain Set/change the custom domain (non-empty), or clear it (null or ""). Omit the field to leave the domain unchanged. Setting a new domain generates a fresh verification token and resets verification.
CustomDomain *string `json:"customDomain,omitempty"`
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
HideBranding *bool `json:"hideBranding,omitempty"`
HistoryDays *int `json:"historyDays,omitempty"`
HistoryPeriod *string `json:"historyPeriod,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
// Password WRITE-ONLY. A non-empty value sets/replaces the unlock password (invalidating every outstanding unlock cookie); "" clears it (refused while visibility is still "password"); omitting it leaves the stored one untouched.
Password *string `json:"password,omitempty"`
// Settings Per-page display customization. Typed rather than a free-form map; unknown keys are rejected on write (VALIDATION_ERROR).
Settings *StatusPageSettings `json:"settings,omitempty"`
ShowAvailability *bool `json:"showAvailability,omitempty"`
ShowResponseTime *bool `json:"showResponseTime,omitempty"`
Slug *string `json:"slug,omitempty"`
Visibility *UpdateStatusPageRequestVisibility `json:"visibility,omitempty"`
}
UpdateStatusPageRequest defines model for UpdateStatusPageRequest.
type UpdateStatusPageRequestAutoResolve ¶
type UpdateStatusPageRequestAutoResolve string
UpdateStatusPageRequestAutoResolve What an auto-created publication does when its incident resolves. Omit the field to leave it unchanged; any other value is a VALIDATION_ERROR.
const ( UpdateStatusPageRequestAutoResolveAlways UpdateStatusPageRequestAutoResolve = "always" UpdateStatusPageRequestAutoResolveIfUntouched UpdateStatusPageRequestAutoResolve = "if_untouched" UpdateStatusPageRequestAutoResolveNever UpdateStatusPageRequestAutoResolve = "never" )
Defines values for UpdateStatusPageRequestAutoResolve.
func (UpdateStatusPageRequestAutoResolve) Valid ¶
func (e UpdateStatusPageRequestAutoResolve) Valid() bool
Valid indicates whether the value is a known member of the UpdateStatusPageRequestAutoResolve enum.
type UpdateStatusPageRequestVisibility ¶
type UpdateStatusPageRequestVisibility string
UpdateStatusPageRequestVisibility defines model for UpdateStatusPageRequest.Visibility.
const ( UpdateStatusPageRequestVisibilityPassword UpdateStatusPageRequestVisibility = "password" UpdateStatusPageRequestVisibilityPrivate UpdateStatusPageRequestVisibility = "private" UpdateStatusPageRequestVisibilityPublic UpdateStatusPageRequestVisibility = "public" )
Defines values for UpdateStatusPageRequestVisibility.
func (UpdateStatusPageRequestVisibility) Valid ¶
func (e UpdateStatusPageRequestVisibility) Valid() bool
Valid indicates whether the value is a known member of the UpdateStatusPageRequestVisibility enum.
type UpdateStatusPageResourceJSONRequestBody ¶
type UpdateStatusPageResourceJSONRequestBody = UpdateStatusPageResourceRequest
UpdateStatusPageResourceJSONRequestBody defines body for UpdateStatusPageResource for application/json ContentType.
type UpdateStatusPageResourceRequest ¶
type UpdateStatusPageResourceRequest struct {
// AutoPublish Per-resource auto-publish override, which is three-state. OMITTING the key leaves the override exactly as it is; sending an explicit `null` RESETS it to "inherit the page setting"; sending true or false pins it. Those are three distinct outcomes, so the server detects key presence on the raw body rather than relying on the decoded value.
AutoPublish *bool `json:"autoPublish,omitempty"`
// CheckGroupUid Switch the resource to target this check group (UID or slug).
CheckGroupUid *string `json:"checkGroupUid,omitempty"`
// CheckUid Switch the resource to target this check (UID or slug).
CheckUid *string `json:"checkUid,omitempty"`
Explanation *string `json:"explanation,omitempty"`
Position *int `json:"position,omitempty"`
PublicName *string `json:"publicName,omitempty"`
}
UpdateStatusPageResourceRequest Supplying checkUid or checkGroupUid switches the resource's target kind; supplying both is a VALIDATION_ERROR naming both fields, and supplying neither leaves the target untouched.
type UpdateStatusPageResourceResult ¶
type UpdateStatusPageResourceResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageResource
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateStatusPageResourceResult ¶
func ParseUpdateStatusPageResourceResult(rsp *http.Response) (*UpdateStatusPageResourceResult, error)
ParseUpdateStatusPageResourceResult parses an HTTP response from a UpdateStatusPageResourceWithResponse call
func (UpdateStatusPageResourceResult) ContentType ¶
func (r UpdateStatusPageResourceResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStatusPageResourceResult) GetBody ¶
func (r UpdateStatusPageResourceResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateStatusPageResourceResult) GetJSON200 ¶
func (r UpdateStatusPageResourceResult) GetJSON200() *StatusPageResource
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateStatusPageResourceResult) GetJSON400 ¶
func (r UpdateStatusPageResourceResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateStatusPageResourceResult) GetJSON401 ¶
func (r UpdateStatusPageResourceResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateStatusPageResourceResult) GetJSON404 ¶
func (r UpdateStatusPageResourceResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateStatusPageResourceResult) Status ¶
func (r UpdateStatusPageResourceResult) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageResourceResult) StatusCode ¶
func (r UpdateStatusPageResourceResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusPageResult ¶
type UpdateStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPage
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateStatusPageResult ¶
func ParseUpdateStatusPageResult(rsp *http.Response) (*UpdateStatusPageResult, error)
ParseUpdateStatusPageResult parses an HTTP response from a UpdateStatusPageWithResponse call
func (UpdateStatusPageResult) ContentType ¶
func (r UpdateStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStatusPageResult) GetBody ¶
func (r UpdateStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateStatusPageResult) GetJSON200 ¶
func (r UpdateStatusPageResult) GetJSON200() *StatusPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateStatusPageResult) GetJSON400 ¶
func (r UpdateStatusPageResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateStatusPageResult) GetJSON401 ¶
func (r UpdateStatusPageResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateStatusPageResult) GetJSON404 ¶
func (r UpdateStatusPageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateStatusPageResult) Status ¶
func (r UpdateStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageResult) StatusCode ¶
func (r UpdateStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusPageSectionJSONRequestBody ¶
type UpdateStatusPageSectionJSONRequestBody = UpdateStatusPageSectionRequest
UpdateStatusPageSectionJSONRequestBody defines body for UpdateStatusPageSection for application/json ContentType.
type UpdateStatusPageSectionRequest ¶
type UpdateStatusPageSectionRequest struct {
Name *string `json:"name,omitempty"`
Position *int `json:"position,omitempty"`
// Selector Three-state. Omit the key to leave the membership rule alone, send an object to replace it, or send `null` to clear it — which turns the section back into a hand-curated one and removes the resources the selector owned.
Selector *StatusPageSectionSelector `json:"selector,omitempty"`
Slug *string `json:"slug,omitempty"`
}
UpdateStatusPageSectionRequest defines model for UpdateStatusPageSectionRequest.
type UpdateStatusPageSectionResult ¶
type UpdateStatusPageSectionResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageSection
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateStatusPageSectionResult ¶
func ParseUpdateStatusPageSectionResult(rsp *http.Response) (*UpdateStatusPageSectionResult, error)
ParseUpdateStatusPageSectionResult parses an HTTP response from a UpdateStatusPageSectionWithResponse call
func (UpdateStatusPageSectionResult) ContentType ¶
func (r UpdateStatusPageSectionResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStatusPageSectionResult) GetBody ¶
func (r UpdateStatusPageSectionResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateStatusPageSectionResult) GetJSON200 ¶
func (r UpdateStatusPageSectionResult) GetJSON200() *StatusPageSection
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateStatusPageSectionResult) GetJSON400 ¶
func (r UpdateStatusPageSectionResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateStatusPageSectionResult) GetJSON401 ¶
func (r UpdateStatusPageSectionResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateStatusPageSectionResult) GetJSON404 ¶
func (r UpdateStatusPageSectionResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateStatusPageSectionResult) Status ¶
func (r UpdateStatusPageSectionResult) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusPageSectionResult) StatusCode ¶
func (r UpdateStatusPageSectionResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStatusUpdateJSONRequestBody ¶
type UpdateStatusUpdateJSONRequestBody = UpdateStatusUpdateRequest
UpdateStatusUpdateJSONRequestBody defines body for UpdateStatusUpdate for application/json ContentType.
type UpdateStatusUpdateRequest ¶
type UpdateStatusUpdateRequest struct {
BodyMarkdown *string `json:"bodyMarkdown,omitempty"`
// CheckUid Set/change the check (must be a resource of the update's status page), or clear it with null. Omit the field to leave it unchanged; "" is a VALIDATION_ERROR (send null to clear). Clearing checkUid does not implicitly clear sectionUid.
CheckUid *openapi_types.UUID `json:"checkUid,omitempty"`
// IncidentUid Set/change the incident, or clear it with null. Omit the field to leave it unchanged; "" is a VALIDATION_ERROR (send null to clear).
IncidentUid *openapi_types.UUID `json:"incidentUid,omitempty"`
Kind *string `json:"kind,omitempty"`
// LinkUrl Set/replace the link URL (must be http/https), or clear it with null or "". Omit the field to leave it unchanged.
LinkUrl *string `json:"linkUrl,omitempty"`
PublishedAt *time.Time `json:"publishedAt,omitempty"`
// SectionUid Set/change the section (must belong to the update's status page), or clear it with null. Omit the field to leave it unchanged; "" is a VALIDATION_ERROR (send null to clear). Clearing sectionUid does not implicitly clear checkUid.
SectionUid *openapi_types.UUID `json:"sectionUid,omitempty"`
Title *string `json:"title,omitempty"`
}
UpdateStatusUpdateRequest defines model for UpdateStatusUpdateRequest.
type UpdateStatusUpdateResult ¶
type UpdateStatusUpdateResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusUpdate
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateStatusUpdateResult ¶
func ParseUpdateStatusUpdateResult(rsp *http.Response) (*UpdateStatusUpdateResult, error)
ParseUpdateStatusUpdateResult parses an HTTP response from a UpdateStatusUpdateWithResponse call
func (UpdateStatusUpdateResult) ContentType ¶
func (r UpdateStatusUpdateResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateStatusUpdateResult) GetBody ¶
func (r UpdateStatusUpdateResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateStatusUpdateResult) GetJSON200 ¶
func (r UpdateStatusUpdateResult) GetJSON200() *StatusUpdate
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateStatusUpdateResult) GetJSON400 ¶
func (r UpdateStatusUpdateResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateStatusUpdateResult) GetJSON401 ¶
func (r UpdateStatusUpdateResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateStatusUpdateResult) GetJSON404 ¶
func (r UpdateStatusUpdateResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateStatusUpdateResult) Status ¶
func (r UpdateStatusUpdateResult) Status() string
Status returns HTTPResponse.Status
func (UpdateStatusUpdateResult) StatusCode ¶
func (r UpdateStatusUpdateResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSupportThreadJSONRequestBody ¶
type UpdateSupportThreadJSONRequestBody = UpdateSupportThreadRequest
UpdateSupportThreadJSONRequestBody defines body for UpdateSupportThread for application/json ContentType.
type UpdateSupportThreadRequest ¶
type UpdateSupportThreadRequest struct {
Status *UpdateSupportThreadRequestStatus `json:"status,omitempty"`
Subject *string `json:"subject,omitempty"`
}
UpdateSupportThreadRequest defines model for UpdateSupportThreadRequest.
type UpdateSupportThreadRequestStatus ¶
type UpdateSupportThreadRequestStatus string
UpdateSupportThreadRequestStatus defines model for UpdateSupportThreadRequest.Status.
const ( UpdateSupportThreadRequestStatusClosed UpdateSupportThreadRequestStatus = "closed" UpdateSupportThreadRequestStatusOpen UpdateSupportThreadRequestStatus = "open" UpdateSupportThreadRequestStatusPending UpdateSupportThreadRequestStatus = "pending" )
Defines values for UpdateSupportThreadRequestStatus.
func (UpdateSupportThreadRequestStatus) Valid ¶
func (e UpdateSupportThreadRequestStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateSupportThreadRequestStatus enum.
type UpdateSupportThreadResult ¶
type UpdateSupportThreadResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SupportThread
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseUpdateSupportThreadResult ¶
func ParseUpdateSupportThreadResult(rsp *http.Response) (*UpdateSupportThreadResult, error)
ParseUpdateSupportThreadResult parses an HTTP response from a UpdateSupportThreadWithResponse call
func (UpdateSupportThreadResult) ContentType ¶
func (r UpdateSupportThreadResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSupportThreadResult) GetBody ¶
func (r UpdateSupportThreadResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSupportThreadResult) GetJSON200 ¶
func (r UpdateSupportThreadResult) GetJSON200() *SupportThread
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSupportThreadResult) GetJSON400 ¶
func (r UpdateSupportThreadResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (UpdateSupportThreadResult) GetJSON401 ¶
func (r UpdateSupportThreadResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UpdateSupportThreadResult) GetJSON403 ¶
func (r UpdateSupportThreadResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UpdateSupportThreadResult) GetJSON404 ¶
func (r UpdateSupportThreadResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateSupportThreadResult) Status ¶
func (r UpdateSupportThreadResult) Status() string
Status returns HTTPResponse.Status
func (UpdateSupportThreadResult) StatusCode ¶
func (r UpdateSupportThreadResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadOrgLogoMultipartBody ¶
type UploadOrgLogoMultipartBody struct {
Logo openapi_types.File `json:"logo"`
}
UploadOrgLogoMultipartBody defines parameters for UploadOrgLogo.
type UploadOrgLogoMultipartRequestBody ¶
type UploadOrgLogoMultipartRequestBody UploadOrgLogoMultipartBody
UploadOrgLogoMultipartRequestBody defines body for UploadOrgLogo for multipart/form-data ContentType.
type UploadOrgLogoResult ¶
type UploadOrgLogoResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrgLogoResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *Forbidden
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
// JSON413 the response for an HTTP 413 `application/json` response
JSON413 *Error
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseUploadOrgLogoResult ¶
func ParseUploadOrgLogoResult(rsp *http.Response) (*UploadOrgLogoResult, error)
ParseUploadOrgLogoResult parses an HTTP response from a UploadOrgLogoWithResponse call
func (UploadOrgLogoResult) ContentType ¶
func (r UploadOrgLogoResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadOrgLogoResult) GetBody ¶
func (r UploadOrgLogoResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UploadOrgLogoResult) GetJSON200 ¶
func (r UploadOrgLogoResult) GetJSON200() *OrgLogoResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UploadOrgLogoResult) GetJSON401 ¶
func (r UploadOrgLogoResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (UploadOrgLogoResult) GetJSON403 ¶
func (r UploadOrgLogoResult) GetJSON403() *Forbidden
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (UploadOrgLogoResult) GetJSON404 ¶
func (r UploadOrgLogoResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UploadOrgLogoResult) GetJSON413 ¶
func (r UploadOrgLogoResult) GetJSON413() *Error
GetJSON413 returns the response for an HTTP 413 `application/json` response
func (UploadOrgLogoResult) GetJSON422 ¶
func (r UploadOrgLogoResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UploadOrgLogoResult) Status ¶
func (r UploadOrgLogoResult) Status() string
Status returns HTTPResponse.Status
func (UploadOrgLogoResult) StatusCode ¶
func (r UploadOrgLogoResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpsertCheckJSONRequestBody ¶
type UpsertCheckJSONRequestBody = UpsertCheckRequest
UpsertCheckJSONRequestBody defines body for UpsertCheck for application/json ContentType.
type UpsertCheckRequest ¶
type UpsertCheckRequest struct {
// Config Check-specific configuration. HTTP checks additionally accept `verifySsl` and `followRedirects` (both booleans, default true) and `capture_failure_response` (boolean, default false) — see the Check schema above for details.
Config map[string]interface{} `json:"config"`
// DependsOn Replaces the full dependsOn set when present. Omit to leave deps
// unchanged; pass `[]` to clear.
DependsOn *[]ExportedDependency `json:"dependsOn,omitempty"`
// Description Optional documentation about the check
Description *string `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// EscalationPolicyUid Escalation policy for this check. Omit or empty to inherit (group → org default → none); a zero-step policy makes it silent.
EscalationPolicyUid *string `json:"escalationPolicyUid,omitempty"`
// Labels Key-value pairs for organizing checks
//
// Example: {"app":"api","env":"prod"}
Labels *map[string]string `json:"labels,omitempty"`
// Name Check name (auto-generated from URL if not provided)
Name *string `json:"name,omitempty"`
Period *string `json:"period,omitempty"`
// TracerouteOnFailure Per-check path-trace policy (see the Check schema). Sent explicitly by import/apply so a manifest that says `inherit` moves a check back off an explicit override rather than leaving it.
TracerouteOnFailure *UpsertCheckRequestTracerouteOnFailure `json:"tracerouteOnFailure,omitempty"`
// Type Check type (auto-inferred from URL if not provided)
Type *UpsertCheckRequestType `json:"type,omitempty"`
}
UpsertCheckRequest defines model for UpsertCheckRequest.
type UpsertCheckRequestTracerouteOnFailure ¶
type UpsertCheckRequestTracerouteOnFailure string
UpsertCheckRequestTracerouteOnFailure Per-check path-trace policy (see the Check schema). Sent explicitly by import/apply so a manifest that says `inherit` moves a check back off an explicit override rather than leaving it.
const ( UpsertCheckRequestTracerouteOnFailureInherit UpsertCheckRequestTracerouteOnFailure = "inherit" UpsertCheckRequestTracerouteOnFailureOff UpsertCheckRequestTracerouteOnFailure = "off" UpsertCheckRequestTracerouteOnFailureOn UpsertCheckRequestTracerouteOnFailure = "on" )
Defines values for UpsertCheckRequestTracerouteOnFailure.
func (UpsertCheckRequestTracerouteOnFailure) Valid ¶
func (e UpsertCheckRequestTracerouteOnFailure) Valid() bool
Valid indicates whether the value is a known member of the UpsertCheckRequestTracerouteOnFailure enum.
type UpsertCheckRequestType ¶
type UpsertCheckRequestType string
UpsertCheckRequestType Check type (auto-inferred from URL if not provided)
const ( UpsertCheckRequestTypeDns UpsertCheckRequestType = "dns" UpsertCheckRequestTypeDomain UpsertCheckRequestType = "domain" UpsertCheckRequestTypeHttp UpsertCheckRequestType = "http" UpsertCheckRequestTypeIcmp UpsertCheckRequestType = "icmp" UpsertCheckRequestTypeSsl UpsertCheckRequestType = "ssl" UpsertCheckRequestTypeTcp UpsertCheckRequestType = "tcp" )
Defines values for UpsertCheckRequestType.
func (UpsertCheckRequestType) Valid ¶
func (e UpsertCheckRequestType) Valid() bool
Valid indicates whether the value is a known member of the UpsertCheckRequestType enum.
type UpsertCheckResult ¶
type UpsertCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Check
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *Check
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseUpsertCheckResult ¶
func ParseUpsertCheckResult(rsp *http.Response) (*UpsertCheckResult, error)
ParseUpsertCheckResult parses an HTTP response from a UpsertCheckWithResponse call
func (UpsertCheckResult) ContentType ¶
func (r UpsertCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpsertCheckResult) GetBody ¶
func (r UpsertCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (UpsertCheckResult) GetJSON200 ¶
func (r UpsertCheckResult) GetJSON200() *Check
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpsertCheckResult) GetJSON201 ¶
func (r UpsertCheckResult) GetJSON201() *Check
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UpsertCheckResult) GetJSON422 ¶
func (r UpsertCheckResult) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpsertCheckResult) Status ¶
func (r UpsertCheckResult) Status() string
Status returns HTTPResponse.Status
func (UpsertCheckResult) StatusCode ¶
func (r UpsertCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UserSummary ¶
type UserSummary struct {
AvatarUrl *string `json:"avatarUrl,omitempty"`
Email *openapi_types.Email `json:"email,omitempty"`
// MustChangePassword True when this account must rotate its password before it can do anything else. The session returned alongside this flag reaches only POST /auth/change-password, GET /auth/me and POST /auth/logout; every other endpoint answers 403 with code PASSWORD_CHANGE_REQUIRED. Omitted when false.
MustChangePassword *bool `json:"mustChangePassword,omitempty"`
Name *string `json:"name,omitempty"`
Role *UserSummaryRole `json:"role,omitempty"`
Uid *openapi_types.UUID `json:"uid,omitempty"`
}
UserSummary defines model for UserSummary.
type UserSummaryRole ¶
type UserSummaryRole string
UserSummaryRole defines model for UserSummary.Role.
const ( UserSummaryRoleAdmin UserSummaryRole = "admin" UserSummaryRoleOwner UserSummaryRole = "owner" UserSummaryRoleUser UserSummaryRole = "user" UserSummaryRoleViewer UserSummaryRole = "viewer" )
Defines values for UserSummaryRole.
func (UserSummaryRole) Valid ¶
func (e UserSummaryRole) Valid() bool
Valid indicates whether the value is a known member of the UserSummaryRole enum.
type ValidateCheckJSONRequestBody ¶
type ValidateCheckJSONRequestBody = ValidateCheckRequest
ValidateCheckJSONRequestBody defines body for ValidateCheck for application/json ContentType.
type ValidateCheckRequest ¶
type ValidateCheckRequest struct {
Config map[string]interface{} `json:"config"`
DependsOn *[]ExportedDependency `json:"dependsOn,omitempty"`
// Enabled Proposed enabled state; absent means enabled. A disabled check is scheduled nowhere and can never push the organization over its checks-per-minute cap.
Enabled *bool `json:"enabled,omitempty"`
// ExcludeCheckUid UID of the check being edited. Its slug is then not reported as a collision with itself, and the checks-per-minute projection replaces its stored row instead of adding a second one. Omit when creating.
ExcludeCheckUid *string `json:"excludeCheckUid,omitempty"`
// Period Proposed execution interval (`HH:MM:SS` or a Go duration). Optional; when absent, neither the per-type period bounds nor the checks-per-minute projection are evaluated.
Period *string `json:"period,omitempty"`
// Regions Proposed region set. Needed by the tunnel region rules, the region-capability hints and the checks-per-minute projection — a check executes once per region per period.
Regions *[]string `json:"regions,omitempty"`
// Slug Proposed slug. Validated for format and, within the organization, for uniqueness against live checks.
Slug *string `json:"slug,omitempty"`
// Type Check type (http, tcp, ping, dns, ssl, ...)
Type string `json:"type"`
}
ValidateCheckRequest defines model for ValidateCheckRequest.
type ValidateCheckResponse ¶
type ValidateCheckResponse struct {
// Fields Every blocking finding, not just the first. Codes in use: `UNSUPPORTED_TYPE`, `INVALID_CONFIG`, `INVALID_PERIOD`, `INVALID_SLUG`, `SLUG_TAKEN`, `INVALID_DEPENDS_ON`. `SLUG_TAKEN` is advisory by nature — the value can be claimed between this answer and the save, so creation still answers 409.
Fields *[]ValidationErrorField `json:"fields,omitempty"`
// Valid False exactly when `fields` is non-empty. Warnings never make a configuration invalid.
Valid bool `json:"valid"`
// Warnings Advisory, per-field notes that do NOT make the configuration invalid — `valid` stays true and the write path accepts it. `REGION_NO_IPV6` / `REGION_NO_BROWSER` report a region whose live workers advertise no IPv6 egress or no headless Chrome; those are deliberately warnings and never rejections, because the advertised capability lags reality and the run-time probe is the authority. `ORG_RATE_OVER_LIMIT` on the `period` field reports that the proposed period/regions would put the organization's scheduled checks-per-minute demand over its `maxChecksPerMinute` cap, so some executions would be skipped; it never blocks, precisely because an over-limit organization has to be able to edit its way back under the cap. Passive check types (heartbeat, email) are exempt from it.
Warnings *[]ValidationErrorField `json:"warnings,omitempty"`
}
ValidateCheckResponse The result of a dry run. Every finding it can compute is reported, not just the first, and each entry carries a `severity` and a machine `code`. The two arrays are the severity split: `fields` blocks, `warnings` advises.
type ValidateCheckResult ¶
type ValidateCheckResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ValidateCheckResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseValidateCheckResult ¶
func ParseValidateCheckResult(rsp *http.Response) (*ValidateCheckResult, error)
ParseValidateCheckResult parses an HTTP response from a ValidateCheckWithResponse call
func (ValidateCheckResult) ContentType ¶
func (r ValidateCheckResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ValidateCheckResult) GetBody ¶
func (r ValidateCheckResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ValidateCheckResult) GetJSON200 ¶
func (r ValidateCheckResult) GetJSON200() *ValidateCheckResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ValidateCheckResult) GetJSON401 ¶
func (r ValidateCheckResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ValidateCheckResult) GetJSON404 ¶
func (r ValidateCheckResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ValidateCheckResult) Status ¶
func (r ValidateCheckResult) Status() string
Status returns HTTPResponse.Status
func (ValidateCheckResult) StatusCode ¶
func (r ValidateCheckResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationError ¶
type ValidationError = Error
ValidationError defines model for ValidationError.
type ValidationErrorField ¶
type ValidationErrorField struct {
// Code Stable machine identifier for the rule that produced this finding (e.g. `SLUG_TAKEN`, `ORG_RATE_OVER_LIMIT`). Absent when the producer has no code to offer, in which case clients fall back to `name` + `message`.
Code *string `json:"code,omitempty"`
// Message Human-readable message for this field
Message string `json:"message"`
// Name Field name the finding is about
Name string `json:"name"`
// Severity How the finding should be treated. ABSENT MEANS `error`: the field was added after this shape shipped, and a producer that omits it is always reporting a blocking error. Only `error` findings make a validation response invalid; `warning` and `info` never block.
Severity *ValidationErrorFieldSeverity `json:"severity,omitempty"`
}
ValidationErrorField defines model for ValidationErrorField.
type ValidationErrorFieldSeverity ¶
type ValidationErrorFieldSeverity string
ValidationErrorFieldSeverity How the finding should be treated. ABSENT MEANS `error`: the field was added after this shape shipped, and a producer that omits it is always reporting a blocking error. Only `error` findings make a validation response invalid; `warning` and `info` never block.
const ( ValidationErrorFieldSeverityError ValidationErrorFieldSeverity = "error" ValidationErrorFieldSeverityInfo ValidationErrorFieldSeverity = "info" ValidationErrorFieldSeverityWarning ValidationErrorFieldSeverity = "warning" )
Defines values for ValidationErrorFieldSeverity.
func (ValidationErrorFieldSeverity) Valid ¶
func (e ValidationErrorFieldSeverity) Valid() bool
Valid indicates whether the value is a known member of the ValidationErrorFieldSeverity enum.
type VerifyMyNotificationContactResult ¶
type VerifyMyNotificationContactResult struct {
Body []byte
HTTPResponse *http.Response
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseVerifyMyNotificationContactResult ¶
func ParseVerifyMyNotificationContactResult(rsp *http.Response) (*VerifyMyNotificationContactResult, error)
ParseVerifyMyNotificationContactResult parses an HTTP response from a VerifyMyNotificationContactWithResponse call
func (VerifyMyNotificationContactResult) ContentType ¶
func (r VerifyMyNotificationContactResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyMyNotificationContactResult) GetBody ¶
func (r VerifyMyNotificationContactResult) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyMyNotificationContactResult) GetJSON400 ¶
func (r VerifyMyNotificationContactResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (VerifyMyNotificationContactResult) GetJSON401 ¶
func (r VerifyMyNotificationContactResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (VerifyMyNotificationContactResult) GetJSON404 ¶
func (r VerifyMyNotificationContactResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (VerifyMyNotificationContactResult) Status ¶
func (r VerifyMyNotificationContactResult) Status() string
Status returns HTTPResponse.Status
func (VerifyMyNotificationContactResult) StatusCode ¶
func (r VerifyMyNotificationContactResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyStatusPageCustomDomainResult ¶
type VerifyStatusPageCustomDomainResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPage
// JSON400 the response for an HTTP 400 `application/json` response
JSON400 *ValidationError
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *Unauthorized
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseVerifyStatusPageCustomDomainResult ¶
func ParseVerifyStatusPageCustomDomainResult(rsp *http.Response) (*VerifyStatusPageCustomDomainResult, error)
ParseVerifyStatusPageCustomDomainResult parses an HTTP response from a VerifyStatusPageCustomDomainWithResponse call
func (VerifyStatusPageCustomDomainResult) ContentType ¶
func (r VerifyStatusPageCustomDomainResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyStatusPageCustomDomainResult) GetBody ¶
func (r VerifyStatusPageCustomDomainResult) GetBody() []byte
GetBody returns the raw response body bytes
func (VerifyStatusPageCustomDomainResult) GetJSON200 ¶
func (r VerifyStatusPageCustomDomainResult) GetJSON200() *StatusPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VerifyStatusPageCustomDomainResult) GetJSON400 ¶
func (r VerifyStatusPageCustomDomainResult) GetJSON400() *ValidationError
GetJSON400 returns the response for an HTTP 400 `application/json` response
func (VerifyStatusPageCustomDomainResult) GetJSON401 ¶
func (r VerifyStatusPageCustomDomainResult) GetJSON401() *Unauthorized
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (VerifyStatusPageCustomDomainResult) GetJSON404 ¶
func (r VerifyStatusPageCustomDomainResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (VerifyStatusPageCustomDomainResult) Status ¶
func (r VerifyStatusPageCustomDomainResult) Status() string
Status returns HTTPResponse.Status
func (VerifyStatusPageCustomDomainResult) StatusCode ¶
func (r VerifyStatusPageCustomDomainResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VersionResponse ¶
type VersionResponse struct {
Commit *string `json:"commit,omitempty"`
DeploymentMode *VersionResponseDeploymentMode `json:"deploymentMode,omitempty"`
GitTime *string `json:"gitTime,omitempty"`
RunMode *string `json:"runMode,omitempty"`
Version *string `json:"version,omitempty"`
}
VersionResponse defines model for VersionResponse.
type VersionResponseDeploymentMode ¶
type VersionResponseDeploymentMode string
VersionResponseDeploymentMode defines model for VersionResponse.DeploymentMode.
const ( VersionResponseDeploymentModeSaas VersionResponseDeploymentMode = "saas" VersionResponseDeploymentModeSelfHosted VersionResponseDeploymentMode = "self-hosted" )
Defines values for VersionResponseDeploymentMode.
func (VersionResponseDeploymentMode) Valid ¶
func (e VersionResponseDeploymentMode) Valid() bool
Valid indicates whether the value is a known member of the VersionResponseDeploymentMode enum.
type ViewDefaultStatusPageParams ¶
type ViewDefaultStatusPageParams struct {
// Kiosk A page's kiosk (TV mode) token. A valid one grants read-only view of this one page: it bypasses the `password` unlock and makes a `private` page viewable, and the response is served `private, no-store` like an unlocked one. An invalid, revoked or absent token behaves IDENTICALLY — 401 STATUS_PAGE_LOCKED or 404 as the page's visibility dictates — so the parameter is never an oracle for whether a page or a token exists. A disabled page stays 404 regardless.
Kiosk *KioskTokenQuery `form:"kiosk,omitempty" json:"kiosk,omitempty"`
}
ViewDefaultStatusPageParams defines parameters for ViewDefaultStatusPage.
type ViewDefaultStatusPageResult ¶
type ViewDefaultStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPage
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *StatusPageLocked
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseViewDefaultStatusPageResult ¶
func ParseViewDefaultStatusPageResult(rsp *http.Response) (*ViewDefaultStatusPageResult, error)
ParseViewDefaultStatusPageResult parses an HTTP response from a ViewDefaultStatusPageWithResponse call
func (ViewDefaultStatusPageResult) ContentType ¶
func (r ViewDefaultStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ViewDefaultStatusPageResult) GetBody ¶
func (r ViewDefaultStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ViewDefaultStatusPageResult) GetJSON200 ¶
func (r ViewDefaultStatusPageResult) GetJSON200() *StatusPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ViewDefaultStatusPageResult) GetJSON401 ¶
func (r ViewDefaultStatusPageResult) GetJSON401() *StatusPageLocked
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ViewDefaultStatusPageResult) GetJSON404 ¶
func (r ViewDefaultStatusPageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ViewDefaultStatusPageResult) Status ¶
func (r ViewDefaultStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (ViewDefaultStatusPageResult) StatusCode ¶
func (r ViewDefaultStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ViewPublicStatusPageIncidentsParams ¶
type ViewPublicStatusPageIncidentsParams struct {
// Active When "true", returns only incidents that are not resolved.
Active *bool `form:"active,omitempty" json:"active,omitempty"`
// Kiosk A page's kiosk (TV mode) token. A valid one grants read-only view of this one page: it bypasses the `password` unlock and makes a `private` page viewable, and the response is served `private, no-store` like an unlocked one. An invalid, revoked or absent token behaves IDENTICALLY — 401 STATUS_PAGE_LOCKED or 404 as the page's visibility dictates — so the parameter is never an oracle for whether a page or a token exists. A disabled page stays 404 regardless.
Kiosk *KioskTokenQuery `form:"kiosk,omitempty" json:"kiosk,omitempty"`
}
ViewPublicStatusPageIncidentsParams defines parameters for ViewPublicStatusPageIncidents.
type ViewPublicStatusPageIncidentsResult ¶
type ViewPublicStatusPageIncidentsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicIncidentListResponse
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *StatusPageLocked
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseViewPublicStatusPageIncidentsResult ¶
func ParseViewPublicStatusPageIncidentsResult(rsp *http.Response) (*ViewPublicStatusPageIncidentsResult, error)
ParseViewPublicStatusPageIncidentsResult parses an HTTP response from a ViewPublicStatusPageIncidentsWithResponse call
func (ViewPublicStatusPageIncidentsResult) ContentType ¶
func (r ViewPublicStatusPageIncidentsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ViewPublicStatusPageIncidentsResult) GetBody ¶
func (r ViewPublicStatusPageIncidentsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ViewPublicStatusPageIncidentsResult) GetJSON200 ¶
func (r ViewPublicStatusPageIncidentsResult) GetJSON200() *PublicIncidentListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ViewPublicStatusPageIncidentsResult) GetJSON401 ¶
func (r ViewPublicStatusPageIncidentsResult) GetJSON401() *StatusPageLocked
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ViewPublicStatusPageIncidentsResult) GetJSON404 ¶
func (r ViewPublicStatusPageIncidentsResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ViewPublicStatusPageIncidentsResult) Status ¶
func (r ViewPublicStatusPageIncidentsResult) Status() string
Status returns HTTPResponse.Status
func (ViewPublicStatusPageIncidentsResult) StatusCode ¶
func (r ViewPublicStatusPageIncidentsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ViewStatusPageParams ¶
type ViewStatusPageParams struct {
// Kiosk A page's kiosk (TV mode) token. A valid one grants read-only view of this one page: it bypasses the `password` unlock and makes a `private` page viewable, and the response is served `private, no-store` like an unlocked one. An invalid, revoked or absent token behaves IDENTICALLY — 401 STATUS_PAGE_LOCKED or 404 as the page's visibility dictates — so the parameter is never an oracle for whether a page or a token exists. A disabled page stays 404 regardless.
Kiosk *KioskTokenQuery `form:"kiosk,omitempty" json:"kiosk,omitempty"`
}
ViewStatusPageParams defines parameters for ViewStatusPage.
type ViewStatusPageResult ¶
type ViewStatusPageResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPage
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *StatusPageLocked
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseViewStatusPageResult ¶
func ParseViewStatusPageResult(rsp *http.Response) (*ViewStatusPageResult, error)
ParseViewStatusPageResult parses an HTTP response from a ViewStatusPageWithResponse call
func (ViewStatusPageResult) ContentType ¶
func (r ViewStatusPageResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ViewStatusPageResult) GetBody ¶
func (r ViewStatusPageResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ViewStatusPageResult) GetJSON200 ¶
func (r ViewStatusPageResult) GetJSON200() *StatusPage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ViewStatusPageResult) GetJSON401 ¶
func (r ViewStatusPageResult) GetJSON401() *StatusPageLocked
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ViewStatusPageResult) GetJSON404 ¶
func (r ViewStatusPageResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ViewStatusPageResult) Status ¶
func (r ViewStatusPageResult) Status() string
Status returns HTTPResponse.Status
func (ViewStatusPageResult) StatusCode ¶
func (r ViewStatusPageResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ViewStatusPageSummaryParams ¶
type ViewStatusPageSummaryParams struct {
// Kiosk A page's kiosk (TV mode) token. A valid one grants read-only view of this one page: it bypasses the `password` unlock and makes a `private` page viewable, and the response is served `private, no-store` like an unlocked one. An invalid, revoked or absent token behaves IDENTICALLY — 401 STATUS_PAGE_LOCKED or 404 as the page's visibility dictates — so the parameter is never an oracle for whether a page or a token exists. A disabled page stays 404 regardless.
Kiosk *KioskTokenQuery `form:"kiosk,omitempty" json:"kiosk,omitempty"`
}
ViewStatusPageSummaryParams defines parameters for ViewStatusPageSummary.
type ViewStatusPageSummaryResult ¶
type ViewStatusPageSummaryResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StatusPageSummary
// JSON401 the response for an HTTP 401 `application/json` response
JSON401 *StatusPageLocked
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NotFound
}
func ParseViewStatusPageSummaryResult ¶
func ParseViewStatusPageSummaryResult(rsp *http.Response) (*ViewStatusPageSummaryResult, error)
ParseViewStatusPageSummaryResult parses an HTTP response from a ViewStatusPageSummaryWithResponse call
func (ViewStatusPageSummaryResult) ContentType ¶
func (r ViewStatusPageSummaryResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ViewStatusPageSummaryResult) GetBody ¶
func (r ViewStatusPageSummaryResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ViewStatusPageSummaryResult) GetJSON200 ¶
func (r ViewStatusPageSummaryResult) GetJSON200() *StatusPageSummary
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ViewStatusPageSummaryResult) GetJSON401 ¶
func (r ViewStatusPageSummaryResult) GetJSON401() *StatusPageLocked
GetJSON401 returns the response for an HTTP 401 `application/json` response
func (ViewStatusPageSummaryResult) GetJSON404 ¶
func (r ViewStatusPageSummaryResult) GetJSON404() *NotFound
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ViewStatusPageSummaryResult) Status ¶
func (r ViewStatusPageSummaryResult) Status() string
Status returns HTTPResponse.Status
func (ViewStatusPageSummaryResult) StatusCode ¶
func (r ViewStatusPageSummaryResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WorkerLaneLoad ¶
type WorkerLaneLoad struct {
// Fast One lane's offered load for a worker.
Fast LaneLoadStats `json:"fast"`
LastActiveAt *time.Time `json:"lastActiveAt,omitempty"`
Name string `json:"name"`
Region *string `json:"region,omitempty"`
// Slow One lane's offered load for a worker.
Slow LaneLoadStats `json:"slow"`
WorkerUid string `json:"workerUid"`
}
WorkerLaneLoad defines model for WorkerLaneLoad.